#1 Le 05/09/2012, à 14:39
- hfdragon@wanda
difficultés avec ma clef Huawei E372 récemment achetée
Bonjour,
Je rencontre des difficultés avec ma clef Huawei E372 récemment achetée.
La config est Ubuntu 12.04 sur un Asus ZenBook Prime UX-31A (ports USB3.0)
Le problème : la clef n'est pas reconnue à tout les coups en tant que modem USB.
Au premier branchement, pas de souci, elle est recconue. Ensuite si je la débranche puis rebranche.. elle apparaît dans lsusb, mais visiblement n'est plus reconnue comme modem. C'est le même problème si j'arrête l'ordi et le redémarre après avec la clef branchée : elle est reconnue initialement, mais ne l'est plus après que je l'ai débranchée/rebranchée.
Quand ça marche, lsusb me donne :
Bus 003 Device 004: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Sinon, c'est :
Bus 003 Device 004: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
(Notez la différence de 1 dans le product ID).
Je soupçonne qu'il y ait un problème avec usb_modeswitch, mais n'arrive pas à mettre le doigt dessus, car j'arrive à faire fonctionner la clef sur un autre orid (Dell XPS 16 avec aussi Ubuntu 12.04, mais avec de l'USB2). Ou alors c'est un problème d'USB 3.0 ?
Pour info le log de usb_modeswitch quand ça ne marche pas :
USB_ModeSwitch log from Wed Sep 5 11:53:12 2012
Using global config file: /etc/usb_modeswitch.conf
Raw args from udev: /3-1:1.0
Bus ID for device not given by udev.
Trying to determine it from kernel name (3-1:1.0) ...
Using top device dir /sys/bus/usb/devices/3-1
USB dir exists: /sys/bus/usb/devices/3-1
Warning: USB attribute "serial" not readable.
SCSI dir exists: /sys/bus/usb/devices/3-1
Warning: SCSI attribute "vendor" not readable.
Warning: SCSI attribute "model" not readable.
Warning: SCSI attribute "rev" not readable.
----------------
USB values from sysfs:
idVendor 12d1
idProduct 1505
manufacturer Huawei Technologies
product HUAWEI Mobile
serial (null)
bNumConfigurations 1
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
Searching entries named: /usr/share/usb_modeswitch/12d1:1505*
Searching overriding entries named: /etc/usb_modeswitch.d/12d1:1505*
SCSI attributes not needed, moving on.
Extracting config 12d1:1505 from collection /usr/share/usb_modeswitch/configPack.tar.gz
config: TargetVendor set to 12d1
config: TargetProduct set to 140b,1506,150f
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
! matched, now switching
Command to be run:
/usr/sbin/usb_modeswitch -I -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1 -v 12d1 -p 1505 2>&1
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are expected in the process)
--------------------------------
Reading config file: /run/usb_modeswitch/current_cfg
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.3 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1505
TargetVendor= 0x12d1
TargetProduct= not set
TargetClass= not set
TargetProductList="140b,1506,150f"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Looking for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Found device in default mode, class or configuration (1)
Accessing device 013 on bus 003 ...
Skipping the check for the current configuration
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
Searching for target devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 12d1:1505
found matching vendor ID
searching devices, found USB ID 0b95:7e2b
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:07da
searching devices, found USB ID 04f2:b330
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0bda:0139
searching devices, found USB ID 8087:0024
searching devices, found USB ID 1d6b:0002
No new devices in target mode or class found
Mode switch has failed. Bye.
fail:
--------------------------------
(end of usb_modeswitch output)
USB dir exists: /sys/bus/usb/devices/3-1
Warning: USB attribute "serial" not readable.
All done, exiting
Et le /var/log/syslog :
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.633453] usb 3-1: new high-speed USB device number 3 using xhci_hcd
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.652834] usb 3-1: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.652845] usb 3-1: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.652856] usb 3-1: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.652863] usb 3-1: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 5 14:44:20 ZenBook-UX31A mtp-probe: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Sep 5 14:44:20 ZenBook-UX31A mtp-probe: bus: 3, device: 3 was not an MTP device
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.661916] Initializing USB Mass Storage driver...
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.662380] scsi7 : usb-storage 3-1:1.0
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.662885] scsi8 : usb-storage 3-1:1.1
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.663106] usbcore: registered new interface driver usb-storage
Sep 5 14:44:20 ZenBook-UX31A kernel: [ 103.663114] USB Mass Storage support registered.
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.661011] scsi 7:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.661478] scsi 8:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.665342] sr0: scsi-1 drive
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.665350] cdrom: Uniform CD-ROM driver Revision: 3.20
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.665642] sr 7:0:0:0: Attached scsi CD-ROM sr0
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.667772] sr 7:0:0:0: Attached scsi generic sg2 type 5
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.669469] sd 8:0:0:0: Attached scsi generic sg3 type 0
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.671482] sd 8:0:0:0: [sdc] Attached SCSI removable disk
Sep 5 14:44:21 ZenBook-UX31A kernel: [ 104.686623] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 2 ep 2 with no TDs queued?
Sep 5 14:44:22 ZenBook-UX31A usb_modeswitch: switching device 12d1:1505 on 003/003
Mes différentes recherches sur le net n'ont pour l'instant rien donné... quelqu'un aurait une idée ?
Après quelques recherches supplémentaires, il s'agirait d'un bug connu sad
https://bugs.launchpad.net/ubuntu/+sour … bug/979697
et
https://bugs.launchpad.net/ubuntu/+sour … modeswitch
Si quelqu'un a une idée du moyen de contourner le problème, je suis preneur !!
Dernière modification par Ayral (Le 29/10/2019, à 15:36)
Hors ligne