Re: UMTS-Stick unter Lenny
Christian Knoke <chrisk@cknoke.de> writes:
> Sven schrieb am 10. Jul um 10:57 Uhr:
>
>> Dann wollte ich mittels gcom die PIN eingeben (gcom -v
>> /dev/ttyUSB). Aber anstatt mich nach der PIN zu fragen, bleibt gcom
>> hängen, bis nach ca. 30s ein Timeout kommt und gcom sagt, daß die
>> SIM-Karte nicht gefunden wurde. Ich habe schon mehrere verschiedene
>> SIM-Karten (Vodafone, Fonic) probiert.
>
> Was sagt denn
>
> cu -l /dev/ttyUSB -s 115200
>
> AT
# cu -l /dev/ttyUSB0 -s 115200
cu: open (/dev/ttyUSB0): Permission denied
cu: /dev/ttyUSB0: Line in use
# fuser /dev/ttyUSB0
# ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Jul 10 16:23 /dev/ttyUSB0
# id
uid=0(root) gid=0(root) groups=0(root)
Sehr eigenartig, würde aber erklären, warum gcom "hängt". (kermit
"hängt" auch, statt eine Fehlermeldung zu bringen.
Ich reiche noch mal die Logs nach. Beim Einstecken des UMTS-Sticks:
[85044.160165] usb 5-5: new high speed USB device using ehci_hcd and address 4
[85044.305337] usb 5-5: New USB device found, idVendor=19d2, idProduct=2000
[85044.305348] usb 5-5: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[85044.305356] usb 5-5: Product: ZTE CDMA Technologies MSM
[85044.305362] usb 5-5: Manufacturer: ZTE,Incorporated
[85044.305368] usb 5-5: SerialNumber: P673A2VDF_MS
[85044.305555] usb 5-5: configuration #1 chosen from 1 choice
[85045.785081] usbcore: registered new interface driver usbserial
[85045.785113] USB Serial support registered for generic
[85045.785176] usbcore: registered new interface driver usbserial_generic
[85045.785182] usbserial: USB Serial Driver core
[85045.817501] USB Serial support registered for GSM modem (1-port)
[85045.817617] option 5-5:1.0: GSM modem (1-port) converter detected
[85045.817769] usb 5-5: GSM modem (1-port) converter now attached to ttyUSB0
[85045.817798] usbcore: registered new interface driver option
[85045.817804] option: v0.7.2:USB Driver for GSM modems
[85045.894804] Initializing USB Mass Storage driver...
[85045.894952] usbcore: registered new interface driver usb-storage
[85045.894959] USB Mass Storage support registered.
Danach blinkt dann die im Stick eingebaute LED rot und langsam
(ca. einmal pro Sekunde, davon länger aus als an). (Ich habe weder auf
Papier noch im Internet gefunden, was das bedeutet.)
Evtl. sind die letzten drei Zeilen etwas eigenartig? Auch hätte ich
erwartet, daß sich die USB-ID ändert, was aber nicht geschieht:
# lsusb
Bus 005 Device 004: ID 19d2:2000 ONDA Communication S.p.A.
Und es wird nur ein Mass Storage Device angezeigt. Mir ist nicht klar,
wie man daraus ein /dev/ttyUSB0 macht...
Sven
# lsusb -v -d 19d2:2000
Bus 005 Device 004: ID 19d2:2000 ONDA Communication S.p.A.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x19d2 ONDA Communication S.p.A.
idProduct 0x2000
bcdDevice 0.00
iManufacturer 2 ZTE,Incorporated
iProduct 1 ZTE CDMA Technologies MSM
iSerial 3 xxxxxxxxxxxx
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Reply to: