olivetti olicard100: switching, but dialling in fails.
Posted: 07 May 2010, 17:16
Hi there,
Got an olivetti olicard100 device. I somewhere found a note/cmd output telling something about Qualcomm:
QUALCOMM INC.
Revision: 090507_GKPEFPMX_M0.05
The modem does only work once every replug cycle. It's virtually impossible using it w/ linux. Win's working ok.
Might it be that win drivers are setting something magically up? But then, there's the option driver precompiled in the deb package on the zerocd..
uname -a
Linux mypole 2.6.33.2 #15 SMP PREEMPT Wed Apr 28 12:53:16 CEST 2010 i686 GNU/Linux
[151917.718098] usb 1-3: new high speed USB device using ehci_hcd and address 62
[151917.846365] usb 1-3: New USB device found, idVendor=0b3c, idProduct=c700
[151917.846374] usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[151917.846381] usb 1-3: Product: DataCard Device
[151917.846387] usb 1-3: SerialNumber: 1234567890ABCDEF
[151917.878634] Initializing USB Mass Storage driver...
[151917.878718] scsi56 : usb-storage 1-3:1.0
[151917.878853] usbcore: registered new interface driver usb-storage
[151917.878855] USB Mass Storage support registered.
[151922.882508] scsi 56:0:0:0: CD-ROM ConnMgr Storage 2.31 PQ: 0 ANSI: 2
[151922.891896] sr0: scsi-1 drive
[151922.892692] sr 56:0:0:0: Attached scsi CD-ROM sr0
[151922.894331] sr 56:0:0:0: Attached scsi generic sg1 type 5
[151924.494332] ISO 9660 Extensions: Microsoft Joliet Level 1
[151924.497323] ISOFS: changing to secondary root
modules loaded so far: usb_storage.
- device led lit: green
eject /dev/sr0
- until successful registration: led blinks: red
- then: device led blinks: green
[152024.779779] usb 1-3: USB disconnect, address 62
[152025.133120] usb 1-3: new high speed USB device using ehci_hcd and address 63
[152025.263613] usb 1-3: device descriptor read/all, error -71
[152025.315330] hub 1-0:1.0: unable to enumerate USB device on port 3
[152031.734099] usb 1-3: new high speed USB device using ehci_hcd and address 65
[152031.862356] usb 1-3: New USB device found, idVendor=0b3c, idProduct=c000
[152031.862365] usb 1-3: New USB device strings: Mfr=4, Product=3, SerialNumber=5
[152031.862371] usb 1-3: Product: DataCard Device
[152031.862377] usb 1-3: SerialNumber: 1234567890ABCDEF
[152031.916249] usbcore: registered new interface driver usbserial
[152031.916522] USB Serial support registered for generic
[152031.916867] usbcore: registered new interface driver usbserial_generic
[152031.916870] usbserial: USB Serial Driver core
[152031.924646] USB Serial support registered for GSM modem (1-port)
[152031.924680] option 1-3:1.0: GSM modem (1-port) converter detected
[152031.924933] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
[152031.924956] option 1-3:1.1: GSM modem (1-port) converter detected
[152031.925081] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB1
[152031.925102] option 1-3:1.2: GSM modem (1-port) converter detected
[152031.925848] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB2
[152031.925871] option 1-3:1.3: GSM modem (1-port) converter detected
[152031.926040] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB3
[152031.926063] option 1-3:1.4: GSM modem (1-port) converter detected
[152031.926968] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB4
[152031.927285] usbcore: registered new interface driver option
[152031.927288] option: v0.7.2:USB Driver for GSM modems
Now it's getting interesting:
using wvdialconf ttyUSB0 and ttyUSB2 are identifed being active.
- ttyUSB2 is the modem to dial out with
- ttyUSB0 is used to query field strength data etc. this is partly working. but ATs that are "relevant" are rejected..
- neither of them are useful to switch of zerocd behaviour, they just return ERROR.
- dialing on ttyUSB2 is possible only exactly once. Doing so it's of no interest whether the dialling procedure was successful or not. To use the device again, unplug, replug.
- so far so bad.
- dialling w/ whatever wvdial.conf always fails. EXCEPT: during the trials and errors, there was only one single successful dialin. pppd showed a connection and was happy. Only once. Since then, dialling in only worked using windows. Strange enough.
- calls fail to two different providers. So it's not a SIM fault or anything..
- did a usbsnoop on windows, found some 20 possible MessageContents, only tried a couple, no success but one: as with eject, one of the msg contents switches the device into modem mode, still, the modem connection (calling) is not successful.
- searching the net, there seem many olicard100 in use, mostly successfully w/ linux. But there are also quite a couple of distressed users not beeing able to use their umts stick.
- tried several recent distros. no luck.
- the option module only recognised the stick w/ echoing the veid:prid to the new_id procfile
hal-get-property --udi /org/freedesktop/Hal/devices/usb_device_b3c_c000_1234567890ABCDEF_if2 --key info.linux.driver
option
- led's blinking: green, always..
- using the same setup (wvdial.conf, SIM) with another stick it is working.
dialling:
wvdial tre-italia2
--> WvDial: Internet dialer version 1.60
[PAUSE]
--> Cannot get information for serial port.
[PAUSE]
--> Initializing modem.
--> Sending: AT+COPS=1,1,"3 ITA"
AT+COPS=1,1,"3 ITA"
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"ip","tre.it"
AT+CGDCONT=1,"ip","tre.it"
OK
--> Modem initialized.
--> Sending: ATM0L0DT*99#
--> Waiting for carrier.
ATM0L0DT*99#
CONNECT 7200000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri May 7 17:01:47 2010
--> Pid of pppd: 4453
- sometimes pppd is periodically outputting some non-printable chars, other times not.
- debbugging in pppd shows lcp conf req timeouts. Thanks for the fish, why the hell? Increasing timeouts yield to no other result. And, no, iptables doesn't block lcp. Even w/o iptables, there's no more good.
Any comments, ideas?
Thanks
Got an olivetti olicard100 device. I somewhere found a note/cmd output telling something about Qualcomm:
QUALCOMM INC.
Revision: 090507_GKPEFPMX_M0.05
The modem does only work once every replug cycle. It's virtually impossible using it w/ linux. Win's working ok.
Might it be that win drivers are setting something magically up? But then, there's the option driver precompiled in the deb package on the zerocd..
uname -a
Linux mypole 2.6.33.2 #15 SMP PREEMPT Wed Apr 28 12:53:16 CEST 2010 i686 GNU/Linux
[151917.718098] usb 1-3: new high speed USB device using ehci_hcd and address 62
[151917.846365] usb 1-3: New USB device found, idVendor=0b3c, idProduct=c700
[151917.846374] usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[151917.846381] usb 1-3: Product: DataCard Device
[151917.846387] usb 1-3: SerialNumber: 1234567890ABCDEF
[151917.878634] Initializing USB Mass Storage driver...
[151917.878718] scsi56 : usb-storage 1-3:1.0
[151917.878853] usbcore: registered new interface driver usb-storage
[151917.878855] USB Mass Storage support registered.
[151922.882508] scsi 56:0:0:0: CD-ROM ConnMgr Storage 2.31 PQ: 0 ANSI: 2
[151922.891896] sr0: scsi-1 drive
[151922.892692] sr 56:0:0:0: Attached scsi CD-ROM sr0
[151922.894331] sr 56:0:0:0: Attached scsi generic sg1 type 5
[151924.494332] ISO 9660 Extensions: Microsoft Joliet Level 1
[151924.497323] ISOFS: changing to secondary root
modules loaded so far: usb_storage.
- device led lit: green
eject /dev/sr0
- until successful registration: led blinks: red
- then: device led blinks: green
[152024.779779] usb 1-3: USB disconnect, address 62
[152025.133120] usb 1-3: new high speed USB device using ehci_hcd and address 63
[152025.263613] usb 1-3: device descriptor read/all, error -71
[152025.315330] hub 1-0:1.0: unable to enumerate USB device on port 3
[152031.734099] usb 1-3: new high speed USB device using ehci_hcd and address 65
[152031.862356] usb 1-3: New USB device found, idVendor=0b3c, idProduct=c000
[152031.862365] usb 1-3: New USB device strings: Mfr=4, Product=3, SerialNumber=5
[152031.862371] usb 1-3: Product: DataCard Device
[152031.862377] usb 1-3: SerialNumber: 1234567890ABCDEF
[152031.916249] usbcore: registered new interface driver usbserial
[152031.916522] USB Serial support registered for generic
[152031.916867] usbcore: registered new interface driver usbserial_generic
[152031.916870] usbserial: USB Serial Driver core
[152031.924646] USB Serial support registered for GSM modem (1-port)
[152031.924680] option 1-3:1.0: GSM modem (1-port) converter detected
[152031.924933] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
[152031.924956] option 1-3:1.1: GSM modem (1-port) converter detected
[152031.925081] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB1
[152031.925102] option 1-3:1.2: GSM modem (1-port) converter detected
[152031.925848] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB2
[152031.925871] option 1-3:1.3: GSM modem (1-port) converter detected
[152031.926040] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB3
[152031.926063] option 1-3:1.4: GSM modem (1-port) converter detected
[152031.926968] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB4
[152031.927285] usbcore: registered new interface driver option
[152031.927288] option: v0.7.2:USB Driver for GSM modems
Now it's getting interesting:
using wvdialconf ttyUSB0 and ttyUSB2 are identifed being active.
- ttyUSB2 is the modem to dial out with
- ttyUSB0 is used to query field strength data etc. this is partly working. but ATs that are "relevant" are rejected..
- neither of them are useful to switch of zerocd behaviour, they just return ERROR.
- dialing on ttyUSB2 is possible only exactly once. Doing so it's of no interest whether the dialling procedure was successful or not. To use the device again, unplug, replug.
- so far so bad.
- dialling w/ whatever wvdial.conf always fails. EXCEPT: during the trials and errors, there was only one single successful dialin. pppd showed a connection and was happy. Only once. Since then, dialling in only worked using windows. Strange enough.
- calls fail to two different providers. So it's not a SIM fault or anything..
- did a usbsnoop on windows, found some 20 possible MessageContents, only tried a couple, no success but one: as with eject, one of the msg contents switches the device into modem mode, still, the modem connection (calling) is not successful.
- searching the net, there seem many olicard100 in use, mostly successfully w/ linux. But there are also quite a couple of distressed users not beeing able to use their umts stick.
- tried several recent distros. no luck.
- the option module only recognised the stick w/ echoing the veid:prid to the new_id procfile
hal-get-property --udi /org/freedesktop/Hal/devices/usb_device_b3c_c000_1234567890ABCDEF_if2 --key info.linux.driver
option
- led's blinking: green, always..
- using the same setup (wvdial.conf, SIM) with another stick it is working.
dialling:
wvdial tre-italia2
--> WvDial: Internet dialer version 1.60
[PAUSE]
--> Cannot get information for serial port.
[PAUSE]
--> Initializing modem.
--> Sending: AT+COPS=1,1,"3 ITA"
AT+COPS=1,1,"3 ITA"
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"ip","tre.it"
AT+CGDCONT=1,"ip","tre.it"
OK
--> Modem initialized.
--> Sending: ATM0L0DT*99#
--> Waiting for carrier.
ATM0L0DT*99#
CONNECT 7200000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri May 7 17:01:47 2010
--> Pid of pppd: 4453
- sometimes pppd is periodically outputting some non-printable chars, other times not.
- debbugging in pppd shows lcp conf req timeouts. Thanks for the fish, why the hell? Increasing timeouts yield to no other result. And, no, iptables doesn't block lcp. Even w/o iptables, there's no more good.
Any comments, ideas?
Thanks