New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on dreampi start #2

Open
jial79 opened this Issue Dec 13, 2015 · 18 comments

Comments

Projects
None yet
4 participants
@jial79

jial79 commented Dec 13, 2015

Hi, I have a Raspberry PI Model B+ and I installed the dreampi 0.98 last version

When I start the devide and log in, with the default user/password, and start the dreampi.py script with the command sudo ./dreampi.py --no-daemon, the console give me the next error message attached on the picture.

I'm using a conceptronic C54U usb modem void capable

What' s wrong?

Thanks

imag0561 1

@codepoet80

This comment has been minimized.

Show comment
Hide comment
@codepoet80

codepoet80 Dec 13, 2015

I've seen this error, on one of the modems I tried. Replacing the modem eliminated the error, which suggests it's simply not a supported modem chipset. Your best bet is a Dell-branded RD02-D400. They go for about $8 on eBay, and 4 out of 4 have worked for me.

codepoet80 commented Dec 13, 2015

I've seen this error, on one of the modems I tried. Replacing the modem eliminated the error, which suggests it's simply not a supported modem chipset. Your best bet is a Dell-branded RD02-D400. They go for about $8 on eBay, and 4 out of 4 have worked for me.

@Kazade

This comment has been minimized.

Show comment
Hide comment
@Kazade

Kazade Dec 13, 2015

Owner

Could you try running:

sudo wvdialconf /dev/null

And take a picture of the output for me?

Owner

Kazade commented Dec 13, 2015

Could you try running:

sudo wvdialconf /dev/null

And take a picture of the output for me?

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Dec 14, 2015

Hi, I test the dreampi with the next two conceptronic models, the previous error was with the bigger one (conceptronic c54U C01-020)
imag0569 1
With the command wvdialconf with this modem I get the next screen.
imag0566 1

I test a newer version of the same model (conceptronic C54U C01-021) that is smaller and with this modem I get answer but it freeze at the step showed in the next photo.

imag0571 1
and the message

imag0567 1

Thanks for the help

jial79 commented Dec 14, 2015

Hi, I test the dreampi with the next two conceptronic models, the previous error was with the bigger one (conceptronic c54U C01-020)
imag0569 1
With the command wvdialconf with this modem I get the next screen.
imag0566 1

I test a newer version of the same model (conceptronic C54U C01-021) that is smaller and with this modem I get answer but it freeze at the step showed in the next photo.

imag0571 1
and the message

imag0567 1

Thanks for the help

@codepoet80

This comment has been minimized.

Show comment
Hide comment
@codepoet80

codepoet80 Dec 14, 2015

A temporary hack/fix for the freeze (Kazade is working on a proper fix) is to edit the dreampi.py script.
From the dreampi directory type:
sudo nano dreampi.py

Go to line 254 and change it to be like this:
VALID_RESPONSES = ("OK", "ER", "CO", "VCON")

Then go to line 275 and add a # in front of it, like this:
#if (datetime.now() - start).total_seconds() > timeout:

Then do the same at line 276:
#raise IOError("There was a timeout while waiting for a response from the modem")

Then press ctrl+x to exit, and y to save.
Restart the dreampi script and it should work.

codepoet80 commented Dec 14, 2015

A temporary hack/fix for the freeze (Kazade is working on a proper fix) is to edit the dreampi.py script.
From the dreampi directory type:
sudo nano dreampi.py

Go to line 254 and change it to be like this:
VALID_RESPONSES = ("OK", "ER", "CO", "VCON")

Then go to line 275 and add a # in front of it, like this:
#if (datetime.now() - start).total_seconds() > timeout:

Then do the same at line 276:
#raise IOError("There was a timeout while waiting for a response from the modem")

Then press ctrl+x to exit, and y to save.
Restart the dreampi script and it should work.

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Dec 14, 2015

Thank you codepoet80, I will try the fix

jial79 commented Dec 14, 2015

Thank you codepoet80, I will try the fix

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Dec 18, 2015

I tried the fix that codepoet80 said me and it doesn´t work, the message is similar but instead CONNECT, it shows me CONNE and get freeze with all lights of my modem on.

any idea?
imag0577 1

jial79 commented Dec 18, 2015

I tried the fix that codepoet80 said me and it doesn´t work, the message is similar but instead CONNECT, it shows me CONNE and get freeze with all lights of my modem on.

any idea?
imag0577 1

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Dec 21, 2015

updated my raspberry with the last version and stills gets freeze when show the connect message. :(. I don´t know if it´s normal. Have do dreampi show any message after? Sorry for the inconveniences but I'm lost with this issue.

Thank you very much

UPDATE: My modem has 2 lights (OH and DATA), when I start raspberry both light stay on all time, like if the modem has a open connection.

jial79 commented Dec 21, 2015

updated my raspberry with the last version and stills gets freeze when show the connect message. :(. I don´t know if it´s normal. Have do dreampi show any message after? Sorry for the inconveniences but I'm lost with this issue.

Thank you very much

UPDATE: My modem has 2 lights (OH and DATA), when I start raspberry both light stay on all time, like if the modem has a open connection.

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Dec 23, 2015

Hi codepoet80, I bought a Dell-branded RD02-D400 modem and it doesn´t work, can you tell me your configuration? dreamcast model version? are you using a voltage inducer? with which components?

Thank you a lot

jial79 commented Dec 23, 2015

Hi codepoet80, I bought a Dell-branded RD02-D400 modem and it doesn´t work, can you tell me your configuration? dreamcast model version? are you using a voltage inducer? with which components?

Thank you a lot

@Kazade

This comment has been minimized.

Show comment
Hide comment
@Kazade
Owner

Kazade commented Dec 23, 2015

@codepoet80

This comment has been minimized.

Show comment
Hide comment
@codepoet80

codepoet80 Dec 23, 2015

I have a DreamPi 2, a US Dreamcast modem, a 9v voltage inducer, and a Dell RD02-D400. On 0.98, with my hack/fix, it works every time. I'm recently experiencing limited intermittent issues on 0.99/1.0, but can still connect most of the time.
@jial79, when you try 1.0, please let us know if the error changes or if you have a different problem.

codepoet80 commented Dec 23, 2015

I have a DreamPi 2, a US Dreamcast modem, a 9v voltage inducer, and a Dell RD02-D400. On 0.98, with my hack/fix, it works every time. I'm recently experiencing limited intermittent issues on 0.99/1.0, but can still connect most of the time.
@jial79, when you try 1.0, please let us know if the error changes or if you have a different problem.

@Neoblast

This comment has been minimized.

Show comment
Hide comment
@Neoblast

Neoblast Jan 19, 2016

Okey, Hi all!

Well, I got the "big modem" that appears in the first photo and I think I'm getting the same error.
Now, it's not that the modem is not compatible because I have it set up and working in a laptop for my dc-pc (I made the planet ring server with that). I could get the info from it.

What would you need to make it work?

Cheers

Neoblast commented Jan 19, 2016

Okey, Hi all!

Well, I got the "big modem" that appears in the first photo and I think I'm getting the same error.
Now, it's not that the modem is not compatible because I have it set up and working in a laptop for my dc-pc (I made the planet ring server with that). I could get the info from it.

What would you need to make it work?

Cheers

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Jan 19, 2016

Hi all, My problem is not solved yet. I'm using a Dreamcast pal with a NTSC Rev A modem, A Dell RD02-D400, Dreampi 1.0. I´m not using a voltage inducer. I try to connect but it returns me a error message. I don´t know where is the issue.

Any idea?? is there any log to track the problem?

Thank you

jial79 commented Jan 19, 2016

Hi all, My problem is not solved yet. I'm using a Dreamcast pal with a NTSC Rev A modem, A Dell RD02-D400, Dreampi 1.0. I´m not using a voltage inducer. I try to connect but it returns me a error message. I don´t know where is the issue.

Any idea?? is there any log to track the problem?

Thank you

@codepoet80

This comment has been minimized.

Show comment
Hide comment
@codepoet80

codepoet80 Jan 19, 2016

You need to use a voltage inducer.
You can't use your modem just because it worked with PCDC, you need one that uses the Conexant chipset that will be recognized and properly instructed by DreamPi/Raspian.

codepoet80 commented Jan 19, 2016

You need to use a voltage inducer.
You can't use your modem just because it worked with PCDC, you need one that uses the Conexant chipset that will be recognized and properly instructed by DreamPi/Raspian.

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Jan 19, 2016

But I thought that A dreamcast modem rev A don´t need voltage inducer. and the pc modem is a dell rd02.d400. Do I need the inducer even the dc modem rev A? Thanks

jial79 commented Jan 19, 2016

But I thought that A dreamcast modem rev A don´t need voltage inducer. and the pc modem is a dell rd02.d400. Do I need the inducer even the dc modem rev A? Thanks

@codepoet80

This comment has been minimized.

Show comment
Hide comment
@codepoet80

codepoet80 Jan 19, 2016

Seems like you will always need a line voltage inducer. Are you running in --no-daemon mode? Do you get a specific error?

codepoet80 commented Jan 19, 2016

Seems like you will always need a line voltage inducer. Are you running in --no-daemon mode? Do you get a specific error?

@jial79

This comment has been minimized.

Show comment
Hide comment
@jial79

jial79 Jan 19, 2016

I tried with no-daemon mode and without login in the raspberry, like kazade said on his web. IN no-daemon, connect with modem and show the same image that I posted before (https://cloud.githubusercontent.com/assets/16272242/11770586/aaa83654-a202-11e5-8961-b55b98a27331.jpg)

In no login mode dreamcast try to connect but in the end fails.

jial79 commented Jan 19, 2016

I tried with no-daemon mode and without login in the raspberry, like kazade said on his web. IN no-daemon, connect with modem and show the same image that I posted before (https://cloud.githubusercontent.com/assets/16272242/11770586/aaa83654-a202-11e5-8961-b55b98a27331.jpg)

In no login mode dreamcast try to connect but in the end fails.

@codepoet80

This comment has been minimized.

Show comment
Hide comment
@codepoet80

codepoet80 Jan 19, 2016

If it just stays on "connect" as shown in your picture, that means it's never hearing the Dreamcast dial. If you don't have line voltage, the Dreamcast will either refuse to dial (depending on the game) or be unable to send audio down the line (often reported as "no carrier" since it doesn't hear a response either)
Your modem choice is good, but you need line voltage.

codepoet80 commented Jan 19, 2016

If it just stays on "connect" as shown in your picture, that means it's never hearing the Dreamcast dial. If you don't have line voltage, the Dreamcast will either refuse to dial (depending on the game) or be unable to send audio down the line (often reported as "no carrier" since it doesn't hear a response either)
Your modem choice is good, but you need line voltage.

@Neoblast

This comment has been minimized.

Show comment
Hide comment
@Neoblast

Neoblast Jan 21, 2016

I bought a new modem, TFM-561U. it has the same conexant chipset for those reported models that do work. But I'm getting the same error. It stays on connect from the first moment. Now, before the connect command, shouldn't there be an ATA to answer the call?

EDIT: I tested the modem with the dc-pc and works perfectly, although the command sequence is a little bit different.

How can I skip the voice dial tone sending and proceed to the answering part directly? I think that could work.

EDIT 2: I tried executing it with --disable-dial-tone and it crashed.
Line 368 in main, line 326 in process, char = modem._serial.read(1).strip()#012 usr/lib/python2.7/dist-packages/serialposix.py line 441 whie len (read) siz #012Keyboardinterrupt

Neoblast commented Jan 21, 2016

I bought a new modem, TFM-561U. it has the same conexant chipset for those reported models that do work. But I'm getting the same error. It stays on connect from the first moment. Now, before the connect command, shouldn't there be an ATA to answer the call?

EDIT: I tested the modem with the dc-pc and works perfectly, although the command sequence is a little bit different.

How can I skip the voice dial tone sending and proceed to the answering part directly? I think that could work.

EDIT 2: I tried executing it with --disable-dial-tone and it crashed.
Line 368 in main, line 326 in process, char = modem._serial.read(1).strip()#012 usr/lib/python2.7/dist-packages/serialposix.py line 441 whie len (read) siz #012Keyboardinterrupt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment