piątek, 24 września 2010

Blueconnect Huawei E122 w Ubuntu 10.04

Po podłączeniu modemu gsm zazwyczaj wystarczy zrobic eject /dev/sr1
niestety huawei jest na to odporny :(

Aby go odpalic wystarczy:

$ sudo apt-get install usb-modeswitch usb-modeswitch-data
$ sudo usb_modeswitch -v 12d1 -p 1001 -H 1

teraz networkmanager juz widzi modem, w dmesgu otrzymamy potwierdzenie tego faktu:

[6020235.400753] usb 2-3: USB disconnect, address 28
[6020239.730122] usb 2-3: new high speed USB device using ehci_hcd and address 29
[6020239.881162] usb 2-3: config 1 interface 1 altsetting 0 bulk endpoint 0x85 has invalid maxpacket 256
[6020239.881174] usb 2-3: config 1 interface 1 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 256
[6020239.881183] usb 2-3: config 1 interface 2 altsetting 0 bulk endpoint 0x86 has invalid maxpacket 256
[6020239.881191] usb 2-3: config 1 interface 2 altsetting 0 bulk endpoint 0x6 has invalid maxpacket 256
[6020239.883626] option 2-3:1.0: GSM modem (1-port) converter detected
[6020239.883820] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
[6020239.884534] option 2-3:1.1: GSM modem (1-port) converter detected
[6020239.884700] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
[6020239.885937] option 2-3:1.2: GSM modem (1-port) converter detected
[6020239.886088] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB2
[6020239.887020] scsi69 : usb-storage 2-3:1.3
[6020239.887960] scsi70 : usb-storage 2-3:1.4
[6020240.883984] scsi 69:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[6020240.883995] scsi 70:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[6020240.885180] sd 70:0:0:0: Attached scsi generic sg2 type 0
[6020240.903658] sd 70:0:0:0: [sdb] Attached SCSI removable disk
[6020240.904152] sr1: scsi-1 drive
[6020240.904317] sr 69:0:0:0: Attached scsi CD-ROM sr1
[6020240.904421] sr 69:0:0:0: Attached scsi generic sg3 type 5
[6020251.580164] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[6020251.580193] sr: Sense Key : Hardware Error [current]
[6020251.580203] sr: Add. Sense: No additional sense information

Brak komentarzy:

Prześlij komentarz