Re: smartlink usb modem 64-bit problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marv,

It seems to be an timer or usb issue.

Now, I can reproduce the situation. At boot appears these messages:
usb 5-2: device not accepting address 2, error -71
hub 5-0:1.0: unable to enumerate USB device on port 2
usb 5-2: new full speed USB device using uhci_hcd and address 4
usb 5-2: configuration #1 chosen from 1 choice

If i dial, it won't work.
At reconnection the modem in the usb port appears these messages:
usbcore: deregistering interface driver ST7554 USB Modem
usb 5-2: USB disconnect, address 4
usb 5-2: new full speed USB device using uhci_hcd and address 5
usb 5-2: configuration #1 chosen from 1 choice

It won't work at all.
I tried to suspend and resume the modem.
$ i=/sys/bus/usb/devices/5-2/power; sudo sh -c "echo suspend > $i/level;
  echo 0 > $i/autosuspend; echo auto > $i/level"

After some time spend on retrying reconnection and suspend/resume the
modem connects. If it connects, then i can dial or redial like in i386,
without any problems, until reboot. The curios is, if i start mprime
before dialing, it seems to connect with less retries.

Regards,

Sebastian

Am Sonntag, den 21.12.2008, 20:14 -0500 schrieb Marvin Stodolsky:
> Sebastian,
> 
>  Carrier Check = mp
> is likely my typo. It should  be
>   Carrier Check = no
> 
> All you have done seems OK technically.
> It seems that the "Carrier Check = no"  is being ignored,
> though I don't know what to do about it.
> 
> Giuseppe
>    Any suggestions?
> 
> MarvS
> 
> 
> On Sun, Dec 21, 2008 at 3:38 PM, Sebastian Felber <sf-freital@xxxxxx> wrote:
> > Me too. slusb64bit.txt says: Carrier Check = mp
> > Trie'd both, don't works.
> >
> > Sebastian
> >
> > Am Sonntag, den 21.12.2008, 10:51 -0500 schrieb Marvin Stodolsky:
> >> RE: > Carrier Check = mp
> >> Don't know what mp does.  Recheck with:
> >> Carrier Check = no
> >>
> >> MarvS
> >>
> >> On Sun, Dec 21, 2008 at 10:37 AM, Sebastian Felber <sf-freital@xxxxxx> wrote:
> >> > Hi,
> >> >
> >> > I did as you said and used the slusb64bit-2.9.11-20070813.tar.gz on
> >> > 2.6.24-19-generic kernel.
> >> >
> >> > Here are the outputs.
> >> >
> >> > $ sudo modprobe slusb debug=3
> >> > [ 1888.421290] Symbol usb_register_driver is being used by a non-GPL
> >> >               module, which will not be allowed in the future
> >> > [ 1888.421295] Please see the file
> >> >               Documentation/feature-removal-schedule.txt in the kernel
> >> >               source tree for more details.
> >> > [ 1888.421393] Symbol usb_deregister is being used by a non-GPL module,
> >> >               which will not be allowed in the future
> >> > [ 1888.421395] Please see the file
> >> >               Documentation/feature-removal-schedule.txt in the kernel
> >> >               source tree for more details.
> >> > [ 1888.422569] ST7554 USB Modem.
> >> > [ 1888.440614] <6>slusb: slusb0 is found.
> >> > [ 1888.440640] usbcore: registered new interface driver ST7554 USB Modem
> >> >
> >> > $ sudo slmodemd -d1 -c GERMANY /dev/slusb0
> >> >
> >> > $ sudo wvdialconf wvtest
> >> > Editing `wvtest'.
> >> >
> >> > Scanning your serial ports for a modem.
> >> >
> >> > Modem Port Scan<*1>: S0   S1   S2   S3
> >> > WvModem<*1>: Cannot get information for serial port.
> >> > ttySL0<*1>: ATQ0 V1 E1 -- OK
> >> > ttySL0<*1>: ATQ0 V1 E1 Z -- OK
> >> > ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
> >> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> >> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> >> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> >> > ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
> >> > ttySL0<*1>: Speed 4800: AT -- OK
> >> > ttySL0<*1>: Speed 9600: AT -- OK
> >> > ttySL0<*1>: Speed 19200: AT -- OK
> >> > ttySL0<*1>: Speed 38400: AT -- OK
> >> > ttySL0<*1>: Speed 57600: AT -- OK
> >> > ttySL0<*1>: Speed 115200: AT -- OK
> >> > ttySL0<*1>: Speed 230400: AT -- OK
> >> > ttySL0<*1>: Speed 460800: AT -- OK
> >> > ttySL0<*1>: Max speed is 460800; that should be safe.
> >> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> >> >
> >> > Found a modem on /dev/ttySL0.
> >> > Modem configuration written to wvtest.
> >> > ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> >> >
> >> > $ modified wvtest
> >> > [Dialer Defaults]
> >> > Init1 = ATZ
> >> > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >> > Modem Type = Analog Modem
> >> > ISDN = 0
> >> > Modem = /dev/ttySL0
> >> > Baud = 460800
> >> > Carrier Check = mp
> >> > Phone = 01920782
> >> > Username = arcor
> >> > Password = internet
> >> >
> >> > $ sudo wvdial --config=wvtest
> >> > --> WvDial: Internet dialer version 1.60
> >> > --> Cannot get information for serial port.
> >> > --> Initializing modem.
> >> > --> Sending: ATZ
> >> > ATZ
> >> > OK
> >> > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >> > ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >> > OK
> >> > --> Modem initialized.
> >> > --> Sending: ATDT01920782
> >> > --> Waiting for carrier.
> >> > ATDT01920782
> >> > --> Timed out while dialing.  Trying again.
> >> > --> Sending: ATDT01920782
> >> > --> Waiting for carrier.
> >> > NO CARRIER
> >> > ATDT01920782
> >> > --> No Carrier!  Trying again.
> >> > --> Sending: ATDT01920782
> >> > --> Waiting for carrier.
> >> > NO CARRIER
> >> > ATDT01920782
> >> > --> No Carrier!  Trying again.
> >> > --> Sending: ATDT01920782
> >> > --> Waiting for carrier.
> >> > NO CARRIER
> >> > until i press CTRL-C
> >> >
> >> > and the debug output of slmodemd
> >> > <126.525061> main: termios changed.
> >> > <126.525068> slusb0: update termios...
> >> > <126.525073> main: pty closed.
> >> > <250.524864> main: termios changed.
> >> > <250.524880> slusb0: update termios...
> >> > <250.524981> slusb0: run cmd: ATZ
> >> > <250.524991> slusb0: modem reset...
> >> > <250.524994> slusb0: modem set state: 1 --> 1...
> >> > <250.524999> slusb0: modem set mode: -> 0...
> >> > <250.525004> slusb0: modem report result: 0 (OK)
> >> > <250.624986> slusb0: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
> >> > <250.624997> slusb0: modem set mode: -> 0...
> >> > <250.625008> slusb0: modem report result: 0 (OK)
> >> > <250.724968> slusb0: run cmd: ATDT01920782
> >> > <250.724973> slusb0: modem dial: T01920782...
> >> > <250.724978> slusb0: modem_dial_start...
> >> > <250.724994> slusb0: modem_start..
> >> > <250.725006> slusb0: modem set state: 1 --> 2...
> >> > <250.725011> slusb0: new state: DP_ESTAB
> >> > <250.725013> main: modemap_ioctl: cmd 8, arg 3...
> >> > <250.725034> slusb0: modem set hook: 0 --> 1...
> >> > <250.725043> main: modemap_ioctl: cmd 2, arg 1...
> >> > <250.726210> main: modemap_ioctl: cmd 11, arg 0...
> >> > <250.726245> main: modemap_ioctl: cmd 4, arg 2580...
> >> > <250.726254> main: modemap_ioctl: cmd 7, arg 30...
> >> > <250.726260> main: modemap_start...
> >> >
> >> > <--- if it work comes something like this
> >> >                   change dp ---> 8
> >> >                   change dp ---> 90
> >> > <--- and other stuff
> >> >
> >> > <310.184884> slusb0: modem_tty_write: hangup...
> >> > <310.184898> slusb0: modem_hup...
> >> > <310.184901> slusb0: modem set state: 2 --> 9...
> >> > <310.184904> slusb0: new state: DP_DISC
> >> > <310.189619> slusb0: modem_stop..
> >> > <310.189625> main: modemap_stop...
> >> > <310.192619> slusb0: modem set hook: 1 --> 0...
> >> > <310.192637> main: modemap_ioctl: cmd 2, arg 0...
> >> > <310.193601> main: modemap_ioctl: cmd 8, arg 0...
> >> > <310.193622> slusb0: modem set state: 9 --> 1...
> >> > <310.193626> slusb0: new state: MODEM_IDLE
> >> > <310.193629> slusb0: modem report result: 3 (NO CARRIER)
> >> > <310.193743> slusb0: run cmd: ATDT01920782
> >> > <310.193748> slusb0: modem dial: T01920782...
> >> > <310.193751> slusb0: modem_dial_start...
> >> > <310.193765> slusb0: modem_start..
> >> > <310.193767> slusb0: modem set state: 1 --> 2...
> >> > <310.193770> slusb0: new state: DP_ESTAB
> >> > <310.193773> main: modemap_ioctl: cmd 8, arg 3...
> >> > <310.193783> slusb0: modem set hook: 0 --> 1...
> >> > <310.193786> main: modemap_ioctl: cmd 2, arg 1...
> >> > <310.194600> main: modemap_ioctl: cmd 11, arg 0...
> >> > <310.194629> main: modemap_ioctl: cmd 4, arg 2580...
> >> > <310.194634> main: modemap_ioctl: cmd 7, arg 30...
> >> > <310.194639> main: modemap_start...
> >> > <310.492880> slusb0: modem_tty_write: hangup...
> >> > <310.492895> slusb0: modem_hup...
> >> > <310.492899> slusb0: modem set state: 2 --> 9...
> >> > <310.492903> slusb0: new state: DP_DISC
> >> > <310.494635> slusb0: modem_stop..
> >> > <310.494643> main: modemap_stop...
> >> > <310.498637> slusb0: modem set hook: 1 --> 0...
> >> > <310.498649> main: modemap_ioctl: cmd 2, arg 0...
> >> > <310.499621> main: modemap_ioctl: cmd 8, arg 0...
> >> > <310.499642> slusb0: modem set state: 9 --> 1...
> >> > <310.499652> slusb0: new state: MODEM_IDLE
> >> > <310.499655> slusb0: modem report result: 3 (NO CARRIER)
> >> > and so on.
> >> >
> >> > Regards,
> >> >
> >> > Sebastian
> >> >
> >> >
> >
> >


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux