[FLUG-Tech] Problema con Huawei E1692 e ubuntu 12.04

Franco Vite franco@inventati.org
Mer 31 Lug 2013 11:32:54 CEST


Ciao a tutte/i,

sto battendo il capo con un problema che non mi era mai capitato prima.

PREMESSA

qualche mese fa andai a casa di un'amica per convincerla a passare a
Linux. Portai il mio portatile, lo provò e - in un batter d'occhio -
configurai la sua chiave internet della TIM, di cui nell'Oggetto della
mail, una Huawei E1692.

Dopo un po', convinta, mi chiese consiglio su un portatile super
economico da prendere, e dopo aver letto una buona recensione le
consigliai un Asus X501A:

http://www.lffl.org/2013/06/asus-x501a-notebook-economico-con.html

Al di là che il portatile arrivò e non faceva boot, per cui fummo
costretti a riportarlo in assistenza; e che una volta tornato lo trovai
con ubuntu 11.10 installato, una volta aggiornato alla 12.04 sono
passato a configurarlo - senza problemi di sorta - fino alla fatidica
chiave internet:

non c'è verso di fargliela vedere.

Cioè:

vede l'interfaccia usb, ma non come modem.

Sul pc fisso di casa mia - sempre una ubuntu 12.04, aggiornata tanto
quanto quella del portatile in questione - appena attacco la penna:

Jul 31 11:04:52 casa kernel: [   82.348037] usb 1-3: new high-speed USB
device number 5 using ehci_hcd
Jul 31 11:04:52 casa mtp-probe: checking bus 1, device 5:
"/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
Jul 31 11:04:52 casa kernel: [   82.484618] scsi6 : usb-storage 1-3:1.0
Jul 31 11:04:52 casa kernel: [   82.485120] scsi7 : usb-storage 1-3:1.1
Jul 31 11:04:52 casa mtp-probe: bus: 1, device: 5 was not an MTP device
Jul 31 11:04:53 casa kernel: [   83.486126] scsi 6:0:0:0: CD-ROM
    HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jul 31 11:04:53 casa kernel: [   83.488987] scsi 7:0:0:0: Direct-Access
    HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jul 31 11:04:53 casa kernel: [   83.491726] sr1: scsi-1 drive
Jul 31 11:04:53 casa kernel: [   83.491988] sr 6:0:0:0: Attached scsi
CD-ROM sr1
Jul 31 11:04:53 casa kernel: [   83.492557] sr 6:0:0:0: Attached scsi
generic sg8 type 5
Jul 31 11:04:53 casa kernel: [   83.494482] sd 7:0:0:0: Attached scsi
generic sg9 type 0
Jul 31 11:04:53 casa kernel: [   83.497514] sd 7:0:0:0: [sdh] Attached
SCSI removable disk
Jul 31 11:04:54 casa usb_modeswitch: switching device 12d1:1446 on 001/005
Jul 31 11:04:54 casa kernel: [   83.737824] usb 1-3: USB disconnect,
device number 5
Jul 31 11:04:58 casa kernel: [   88.128040] usb 1-3: new high-speed USB
device number 6 using ehci_hcd
Jul 31 11:04:58 casa mtp-probe: checking bus 1, device 6:
"/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
Jul 31 11:04:58 casa mtp-probe: bus: 1, device: 6 was not an MTP device
Jul 31 11:04:58 casa kernel: [   88.268932] scsi13 : usb-storage 1-3:1.5
Jul 31 11:04:58 casa kernel: [   88.269628] scsi14 : usb-storage 1-3:1.6
Jul 31 11:04:58 casa kernel: [   88.324559] usbcore: registered new
interface driver usbserial
Jul 31 11:04:58 casa kernel: [   88.324576] USB Serial support
registered for generic
Jul 31 11:04:58 casa kernel: [   88.324640] usbcore: registered new
interface driver usbserial_generic
Jul 31 11:04:58 casa kernel: [   88.324642] usbserial: USB Serial Driver
core
Jul 31 11:04:58 casa kernel: [   88.339433] USB Serial support
registered for GSM modem (1-port)
Jul 31 11:04:58 casa kernel: [   88.339767] option 1-3:1.0: GSM modem
(1-port) converter detected
Jul 31 11:04:58 casa kernel: [   88.340241] usb 1-3: GSM modem (1-port)
converter now attached to ttyUSB0
Jul 31 11:04:58 casa kernel: [   88.340291] option 1-3:1.3: GSM modem
(1-port) converter detected
Jul 31 11:04:58 casa kernel: [   88.340532] usb 1-3: GSM modem (1-port)
converter now attached to ttyUSB1
Jul 31 11:04:58 casa kernel: [   88.340554] option 1-3:1.4: GSM modem
(1-port) converter detected
Jul 31 11:04:58 casa kernel: [   88.340734] usb 1-3: GSM modem (1-port)
converter now attached to ttyUSB2
Jul 31 11:04:58 casa kernel: [   88.341175] usbcore: registered new
interface driver option
Jul 31 11:04:58 casa kernel: [   88.341180] option: v0.7.2:USB Driver
for GSM modems
Jul 31 11:04:58 casa kernel: [   88.356034] cdc_ether 1-3:1.1: wwan0:
register 'cdc_ether' at usb-0000:00:1d.7-3, Mobile Broadband Network
Device, 02:50:f3:00:00:00
Jul 31 11:04:58 casa kernel: [   88.356327] usbcore: registered new
interface driver cdc_ether
Jul 31 11:04:58 casa modem-manager[1029]: <info>  (ttyUSB0) opening
serial port...
Jul 31 11:04:58 casa NetworkManager[1039]:    SCPlugin-Ifupdown: devices
added (path:
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.1/net/wwan0, iface:
wwan0)
Jul 31 11:04:58 casa NetworkManager[1039]:    SCPlugin-Ifupdown: device
added (path:
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.1/net/wwan0, iface:
wwan0): no ifupdown configu$
Jul 31 11:04:59 casa kernel: [   89.271995] scsi 13:0:0:0: CD-ROM
     HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jul 31 11:04:59 casa kernel: [   89.272882] scsi 14:0:0:0: Direct-Access
    HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jul 31 11:04:59 casa usb_modeswitch: switched to 12d1:1436 on 001/005
Jul 31 11:04:59 casa kernel: [   89.278351] sr1: scsi-1 drive
Jul 31 11:04:59 casa kernel: [   89.278989] sr 13:0:0:0: Attached scsi
CD-ROM sr1
Jul 31 11:04:59 casa kernel: [   89.279424] sr 13:0:0:0: Attached scsi
generic sg8 type 5
Jul 31 11:04:59 casa kernel: [   89.281327] sd 14:0:0:0: Attached scsi
generic sg9 type 0
Jul 31 11:04:59 casa kernel: [   89.285418] sd 14:0:0:0: [sdh] Attached
SCSI removable disk
Jul 31 11:04:59 casa modem-manager[1029]: <info>  (ttyUSB0) closing
serial port...
Jul 31 11:04:59 casa modem-manager[1029]: <info>  (ttyUSB0) serial port
closed
Jul 31 11:04:59 casa modem-manager[1029]: <info>  (ttyUSB0) opening
serial port...
Jul 31 11:04:59 casa modem-manager[1029]: <info>  (Huawei): GSM modem
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3 claimed port ttyUSB0
Jul 31 11:05:00 casa modem-manager[1029]: <info>  (ttyUSB0) closing
serial port...
Jul 31 11:05:00 casa modem-manager[1029]: <info>  (ttyUSB0) serial port
closed
Jul 31 11:05:00 casa usb_modeswitch[2575]: usb_modeswitch: switched to
12d1:1436 on 1/6
Jul 31 11:05:01 casa modem-manager[1029]: <info>  (ttyUSB1) opening
serial port...
Jul 31 11:05:01 casa modem-manager[1029]: <info>  (ttyUSB2) opening
serial port...
Jul 31 11:05:03 casa modem-manager[1029]: <info>  (ttyUSB2) closing
serial port...
Jul 31 11:05:03 casa modem-manager[1029]: <info>  (ttyUSB2) serial port
closed
Jul 31 11:05:03 casa modem-manager[1029]: <info>  (Huawei): GSM modem
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3 claimed port ttyUSB2
Jul 31 11:05:09 casa modem-manager[1029]: <info>  (ttyUSB1) closing
serial port...
Jul 31 11:05:09 casa modem-manager[1029]: <info>  (ttyUSB1) serial port
closed
Jul 31 11:05:09 casa modem-manager[1029]: <info>  (Huawei): GSM modem
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3 claimed port ttyUSB1
Jul 31 11:05:09 casa NetworkManager[1039]: <warn> (ttyUSB0): failed to
look up interface index
Jul 31 11:05:09 casa NetworkManager[1039]: <info> (ttyUSB0): new
GSM/UMTS device (driver: 'option1' ifindex: 0)
Jul 31 11:05:09 casa NetworkManager[1039]: <info> (ttyUSB0): exported as
/org/freedesktop/NetworkManager/Devices/3
Jul 31 11:05:09 casa NetworkManager[1039]: <info> (ttyUSB0): now managed
Jul 31 11:05:09 casa NetworkManager[1039]: <info> (ttyUSB0): device
state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jul 31 11:05:09 casa NetworkManager[1039]: <info> (ttyUSB0):
deactivating device (reason 'managed') [2]
Jul 31 11:05:09 casa NetworkManager[1039]: nm_system_iface_flush_routes:
assertion `ifindex > 0' failed
Jul 31 11:05:09 casa NetworkManager[1039]:
nm_system_iface_flush_addresses: assertion `ifindex > 0' failed

Ed è pronta a funzionare.

Sul portatile:

Jul 31 11:26:27 irene-X501A1 kernel: [   87.098124] usb 3-1: new
high-speed USB device number 2 using xhci_hcd
Jul 31 11:26:27 irene-X501A1 mtp-probe: checking bus 3, device 2:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Jul 31 11:26:27 irene-X501A1 mtp-probe: bus: 3, device: 2 was not an MTP
device
Jul 31 11:26:27 irene-X501A1 kernel: [   87.145261] Initializing USB
Mass Storage driver...
Jul 31 11:26:27 irene-X501A1 kernel: [   87.145351] scsi4 : usb-storage
3-1:1.0
Jul 31 11:26:27 irene-X501A1 kernel: [   87.145441] scsi5 : usb-storage
3-1:1.1
Jul 31 11:26:27 irene-X501A1 kernel: [   87.145494] usbcore: registered
new interface driver usb-storage
Jul 31 11:26:27 irene-X501A1 kernel: [   87.145495] USB Mass Storage
support registered.
Jul 31 11:26:28 irene-X501A1 kernel: [   88.142685] scsi 4:0:0:0: CD-ROM
           HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jul 31 11:26:28 irene-X501A1 kernel: [   88.144036] scsi 5:0:0:0:
Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jul 31 11:26:28 irene-X501A1 kernel: [   88.146504] sr0: scsi-1 drive
Jul 31 11:26:28 irene-X501A1 kernel: [   88.146513] cdrom: Uniform
CD-ROM driver Revision: 3.20
Jul 31 11:26:28 irene-X501A1 kernel: [   88.146769] sr 4:0:0:0: Attached
scsi CD-ROM sr0
Jul 31 11:26:28 irene-X501A1 kernel: [   88.146845] sr 4:0:0:0: Attached
scsi generic sg1 type 5
Jul 31 11:26:28 irene-X501A1 kernel: [   88.149342] sd 5:0:0:0: Attached
scsi generic sg2 type 0
Jul 31 11:26:28 irene-X501A1 kernel: [   88.151389] sd 5:0:0:0: [sdb]
Attached SCSI removable disk

E stop, il sistema non rileva nessun GSM modem sulle  ttyUSB*

Ho cercato in giro in rete, ovviamente, ed ho letto varie guide, tra cui
questa:

http://www.lffl.org/2011/02/ubuntu-risolviamo-il-problema-con.html

o altre simili, ma nessuno soluzione ha funzionato.

Suggerimenti? Idee? Consigli, prima che sia costretto a dirle di passare
a Windows...

-- 
A monte dei compagni che sbagliano (secondo noi) ci sono, i compagni
assenti, gli indifferenti, gli accidiosi, i nemici latenti e via
seguitando fino ai nemici puri e duri.
Sarebbe opportuno tenerci cari i primi e cercare di conquistarne di
nuovi tra i secondi, invece di promuovere polemiche che servono solo ad
alienarceli tutti.


Maggiori informazioni sulla lista flug-tech