Hi all,

I have one of these PCMCIA cards to connect to Vodafone UMTS/GPRS that
are apparently build by Qualcomm. There is no official support from
either Vodafone or Qualcomm. Requests to Vodafone only yielded "we
cannot help you" as an answer, Qualcomm did not even bother to
respond.

Thanks to the info put up by Kai Engert at

 http://www.kuix.de/umts/vodafone/

I was able to get things to work more or less, but some problems
remain. The successful part is that I can insert the card, get it to
connect to the network, start PPP on it and exchange data. This seems
to work relatively well.

However, after using it once, the machine has to be turned off, since
the drivers won't unload properly, and after removing and reinserting
the card, it does not work anymore.

So it seems like things are at about 90% for this card.

Here is some more info, hoping that you will be able to find and fix
the problem. When inserting the card, it shows up as a USB HUB:
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 6 (level, low) -> IRQ 6
ohci_hcd 0000:02:00.0: OPTi Inc. 82C861
PCI: Setting latency timer of device 0000:02:00.0 to 64
ohci_hcd 0000:02:00.0: irq 6, pci mem 0x20000000
ohci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 5
ohci_hcd 0000:02:00.0: WARNING: OPTi workarounds unavailable
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ohci_hcd 0000:02:00.0: wakeup
usb 5-1: new full speed USB device using address 2
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbserial_generic 5-1:1.0: Generic converter detected
usb 5-1: Generic converter now attached to ttyUSB0
usbserial_generic 5-1:1.1: Generic converter detected
usb 5-1: Generic converter now attached to ttyUSB1
usbserial_generic 5-1:1.2: Generic converter detected
usb 5-1: Generic converter now attached to ttyUSB2
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
This is my little "init script" that loads the usbserial driver, which
is not found automatically for the card
#!/bin/sh
#

/sbin/modprobe usbserial vendor=0xaf0 product=0x5000

/bin/rm -f /dev/modem

/bin/ln -s /dev/ttyUSB0 /dev/modem

/usr/sbin/chat -e -f /etc/chatscripts/vodafone-init < /dev/modem > /dev/modem

and also sets the PIN with the corresponding chat script:
'' at_opsys=3,2 OK at+cpin=XXXX OK

Afterwards, the card logs into the network, I can use it as described.

This is the corresponding output for lspci -vvv:
0000:02:00.0 USB Controller: OPTi Inc. 82C861 (rev 10) (prog-if 10 [OHCI])
        Subsystem: OPTi Inc. 82C861
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 6
        Region 0: Memory at 20000000 (32-bit, non-prefetchable) [size=4K]

and the output from /pruc/bus/usb/devices:
T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-rc2-plus ohci_hcd
S:  Product=OPTi Inc. 82C861
S:  SerialNumber=0000:02:00.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=0af0 ProdID=5000 Rev= 0.00
S:  Manufacturer=Vodafone
S:  Product=Vodafone Mobile Connect Card - 3G
S:  SerialNumber=Serial Number
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=8a(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=0b(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


As described, regardless of the order of pcmcia/hotplug stop/restart,
physical removal of the card or (attempted) removal of the usbserial
module, I can never get the usbserial module to unload, nor can I
unload the USB HUB module loaded for the card.

Hope this helps finding and fixing the problem,

Regards,
Georg


P.S. For the protocol, this is on a kernel 2.6.9-rc2 and a Debian
GNU/Linux (sarge) machine.

-- 
Georg C. F. Greve                                 <[EMAIL PROTECTED]>
Free Software Foundation Europe                  (http://fsfeurope.org)
GNU Business Network                        (http://mailman.gnubiz.org)
Brave GNU World                            (http://brave-gnu-world.org)

Attachment: pgp4X7I5SpR4z.pgp
Description: PGP signature

Reply via email to