Re: collegarsi con modem usb huwaei e5251
Inviato: sabato 5 ottobre 2013, 15:32
Ho provato in tutti e due i modi ma niente da fare..

Il forum della comunità italiana di Ubuntu.
https://forum.ubuntu-it.org/
Codice: Seleziona tutto
dmesg | tail
Codice: Seleziona tutto
[ 5456.195412] scsi 14:0:0:0: Direct-Access HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 5456.198423] sr1: scsi-1 drive
[ 5456.199028] sr 13:0:0:0: Attached scsi CD-ROM sr1
[ 5456.199432] sr 13:0:0:0: Attached scsi generic sg2 type 5
[ 5456.200691] sd 14:0:0:0: Attached scsi generic sg3 type 0
[ 5456.203910] sd 14:0:0:0: [sdb] Attached SCSI removable disk
[ 5456.452300] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 5456.454038] ISOFS: changing to secondary root
[ 5507.144064] cdc_ncm: 04-Aug-2011
[ 5507.144127] usbcore: registered new interface driver cdc_ncm
Codice: Seleziona tutto
Bus 001 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Codice: Seleziona tutto
cat /etc/usb_modeswitch.d/12d1:1506
Codice: Seleziona tutto
cat /lib/udev/rules.d/40-usb_modeswitch.rules | grep 12d1
Codice: Seleziona tutto
########################################################
# Huawei E5251
DefaultVendor= 0x12d1
DefaultProduct= 0x1506
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"
Codice: Seleziona tutto
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1009", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="101e", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1030", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1031", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1414", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1449", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14ad", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14b5", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14b7", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14c1", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14c4", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14c5", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14d1", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1505", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1520", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1521", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1523", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1553", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1557", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1d50", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1da1", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="380b", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1506", RUN+="usb_modeswitch '%b/%k'"
Codice: Seleziona tutto
sudo rmmod usb-storage
Codice: Seleziona tutto
sudo modprobe usbserial vendor=0x12d1 product=0x1506
Codice: Seleziona tutto
dmesg | tail
Codice: Seleziona tutto
[ 8779.266292] option 1-10:1.0: GSM modem (1-port) converter detected
[ 8779.266491] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB0
[ 8779.266621] option 1-10:1.1: GSM modem (1-port) converter detected
[ 8779.266984] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB1
[ 8779.267145] option 1-10:1.2: GSM modem (1-port) converter detected
[ 8779.267409] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB2
[ 8779.267629] option 1-10:1.3: GSM modem (1-port) converter detected
[ 8779.269293] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB3
[ 8779.269540] option 1-10:1.4: GSM modem (1-port) converter detected
[ 8779.269708] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB4
lg@lg-M5610-M3610:~$ dmesg | tail
[ 8779.266292] option 1-10:1.0: GSM modem (1-port) converter detected
[ 8779.266491] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB0
[ 8779.266621] option 1-10:1.1: GSM modem (1-port) converter detected
[ 8779.266984] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB1
[ 8779.267145] option 1-10:1.2: GSM modem (1-port) converter detected
[ 8779.267409] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB2
[ 8779.267629] option 1-10:1.3: GSM modem (1-port) converter detected
[ 8779.269293] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB3
[ 8779.269540] option 1-10:1.4: GSM modem (1-port) converter detected
[ 8779.269708] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB4
Codice: Seleziona tutto
sudo umount /dev/sr1
Codice: Seleziona tutto
umount: /dev/sr1: non trovatoCodice: Seleziona tutto
dmesg | tailCodice: Seleziona tutto
[ 67.567160] scsi 10:0:0:0: Direct-Access HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 67.570394] sr1: scsi-1 drive
[ 67.571129] sr 9:0:0:0: Attached scsi CD-ROM sr1
[ 67.571833] sr 9:0:0:0: Attached scsi generic sg6 type 5
[ 67.573319] sd 10:0:0:0: Attached scsi generic sg7 type 0
[ 67.575533] sd 10:0:0:0: [sdf] Attached SCSI removable disk
[ 67.793428] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 67.823315] ISOFS: changing to secondary root
[ 76.170597] option 1-10:1.0: GSM modem (1-port) converter detected
[ 76.170794] usb 1-10: GSM modem (1-port) converter now attached to ttyUSB2
Codice: Seleziona tutto
########################################################
# Huawei E169 and others
#
# Contributor: Dale Lane
DefaultVendor= 0x12d1
DefaultProduct= 0x1506
TargetClass= 0xff
HuaweiMode=1Codice: Seleziona tutto
Bus 001 Device 009: ID 12d1:1c20 Huawei Technologies Co., Ltd.Codice: Seleziona tutto
ls -l /etc/udev/rules.d
Codice: Seleziona tutto
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse
Bus 004 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 006 Device 003: ID 1c9e:6061 OMEGA TECHNOLOGY WL-72B 3.5G MODEM
Bus 001 Device 006: ID 12d1:14fe Huawei Technologies Co., Ltd. Codice: Seleziona tutto
Bus 006 Device 003: ID 1c9e:6061 OMEGA TECHNOLOGY WL-72B 3.5G MODEM
Bus 001 Device 006: ID 12d1:14fe Huawei Technologies Co., Ltd.
Codice: Seleziona tutto
totale 28
-rw-r--r-- 1 root root 230 ott 4 13:12 20-hsdpa.rules
-rw-r--r-- 1 root root 127 ott 6 12:36 50-hsdpa.rules
-rw-r--r-- 1 root root 151 lug 19 22:05 50-libsane-extras.rules
-rw-r--r-- 1 root root 152 lug 19 22:05 50-libsane-extras.rules~
-rw-r--r-- 1 root root 1348 ott 6 13:33 70-persistent-cd.rules
-rw-r--r-- 1 root root 483 feb 22 2013 70-persistent-net.rules
-rw-r--r-- 1 root root 1157 apr 5 2012 README