J'ai un dr=C3=B4le de soucis.
J'ai re=C3=A7u il y a peu un petit stick USB modem 3G.
C'est un Vodaphone-Huawei K4203.
Les premiers essais n'ont pas =C3=A9t=C3=A9 tr=C3=A8s concluants.
En cherchant un peu, j'ai trouv=C3=A9 cetta page :
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3D3&t=3D1970
En deux mots, c'est un dongle certifi=C3=A9 W$8 qui fonctionne avec le prot=
ocole MBIM sans devoir =C3=AAtre "modeswitch=C3=A9". Et il poss=C3=A8de un =
mode compatible W$7 qui le fait appara=C3=AEtre comme un p=C3=A9riph=C3=A9r=
ique cdc_ether. Il suffit de le "modeswitcher" en lui envoyant le message s=
p=C3=A9cifi=C3=A9.
J'ai donc essay=C3=A9 de le switcher apr=C3=A8s l'avoir branch=C3=A9 sur mo=
n desktop et cela fonctionne bien. L'envoi du message le fait basculer en c=
dc_ether et il appara=C3=AEt dans les p=C3=A9riph' r=C3=A9seau (voir <lsusb=
> avant [1] et apr=C3=A8s [2] <usb_modeswitch>).
La m=C3=AAme manip' sur mon laptop ne donne absolument rien. Du tout. Impos=
sible de le switcher.
Mes deux ordis sont pourtant tous les deux en Strecht/Sid, la version de /u=
sr/sbin/usb_modeswitch est la m=C3=AAme et les infos retourn=C3=A9es par <l=
susb> sont identiques avant de le switcher.
Une id=C3=A9e d'o=C3=B9 commencer les recherches ?
Un autre truc aussi qui me chiffonne concerne MBIM. Les messages de /var/lo=
g/message indiquent ceci lors de l'insertion du dongle dans le port USB (vo=
ir aussi [0]) :
kernel: [24889.936114] cdc_mbim 1-2:2.0: bind() failure
Donc, il y a apparemment aussi un soucis lorsque le syst=C3=A8me essaie le =
protocole MBIM.
Merci d'avance pour votre aide.
Jean-Marc <jean-marc@6jf.be>
=3D=3D=3D=3D=3D [0]
kernel: [24888.811030] usb 1-2: new high-speed USB device number 8 using eh=
ci-pci
kernel: [24888.945227] usb 1-2: New USB device found, idVendor=3D12d1, idPr=
oduct=3D1f1c
kernel: [24888.945232] usb 1-2: New USB device strings: Mfr=3D1, Product=3D=
2, SerialNumber=3D3
kernel: [24888.945235] usb 1-2: Product: HUAWEI Mobile
kernel: [24888.945238] usb 1-2: Manufacturer: Vodafone(Huawei)
kernel: [24888.945240] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF
kernel: [24888.997756] usb-storage 1-2:1.0: USB Mass Storage device detected
kernel: [24888.998119] scsi host11: usb-storage 1-2:1.0
mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.7/=
usb1/1-2"
mtp-probe: bus: 1, device: 8 was not an MTP device
usb_modeswitch: switch device 12d1:1f1c on 001/008
kernel: [24889.910301] usbcore: registered new interface driver cdc_ncm
kernel: [24889.917742] usbcore: registered new interface driver cdc_wdm
kernel: [24889.932276] usb 1-2: USB disconnect, device number 8
kernel: [24889.936114] cdc_mbim 1-2:2.0: bind() failure
kernel: [24889.936283] usbcore: registered new interface driver cdc_mbim
kernel: [24896.740270] usb 1-2: new high-speed USB device number 9 using eh=
ci-pci
kernel: [24896.874409] usb 1-2: New USB device found, idVendor=3D12d1, idPr=
oduct=3D1f1c
kernel: [24896.874413] usb 1-2: New USB device strings: Mfr=3D1, Product=3D=
2, SerialNumber=3D3
kernel: [24896.874416] usb 1-2: Product: HUAWEI Mobile
kernel: [24896.874419] usb 1-2: Manufacturer: Vodafone(Huawei)
kernel: [24896.874421] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF
kernel: [24896.918937] usb-storage 1-2:1.0: USB Mass Storage device detected
kernel: [24896.919206] scsi host12: usb-storage 1-2:1.0
mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/=
usb1/1-2"
mtp-probe: bus: 1, device: 9 was not an MTP device
kernel: [24897.929494] scsi 12:0:0:0: CD-ROM HUAWEI Mass Stora=
ge 2.31 PQ: 0 ANSI: 2
kernel: [24897.930949] sr 12:0:0:0: [sr1] scsi-1 drive
kernel: [24897.931265] sr 12:0:0:0: Attached scsi generic sg5 type 5
kernel: [24897.992207] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=3DDID_OK =
driverbyte=3DDRIVER_SENSE
kernel: [24897.992214] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current=
]=20
kernel: [24897.992218] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error
kernel: [24897.992222] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fe 0=
0 00 02 00
kernel: [24897.998455] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=3DDID_OK =
driverbyte=3DDRIVER_SENSE
kernel: [24897.998461] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current=
]=20
kernel: [24897.998465] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error
kernel: [24897.998469] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fe 0=
0 00 02 00
kernel: [24898.025323] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=3DDID_OK =
driverbyte=3DDRIVER_SENSE
kernel: [24898.025330] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current=
]=20
kernel: [24898.025334] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error
kernel: [24898.025338] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fc 0=
0 00 02 00
kernel: [24898.031547] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=3DDID_OK =
driverbyte=3DDRIVER_SENSE
kernel: [24898.031552] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current=
]=20
kernel: [24898.031556] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error
kernel: [24898.031559] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fc 0=
0 00 02 00
[...]
kernel: [25514.528384] usb 1-2: USB disconnect, device number 9
kernel: [25515.937061] usb 1-2: new high-speed USB device number 10 using e=
hci-pci
kernel: [25516.070609] usb 1-2: New USB device found, idVendor=3D12d1, idPr=
oduct=3D1590
kernel: [25516.070614] usb 1-2: New USB device strings: Mfr=3D1, Product=3D=
2, SerialNumber=3D0
kernel: [25516.070617] usb 1-2: Product: HUAWEI Mobile
kernel: [25516.070620] usb 1-2: Manufacturer: Vodafone(Huawei)
mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:1a.7=
/usb1/1-2"
mtp-probe: bus: 1, device: 10 was not an MTP device
kernel: [25516.279335] cdc_ether 1-2:1.0 usb0: register 'cdc_ether' at usb-=
0000:00:1a.7-2, CDC Ethernet Device, 0a:39:67:50:23:70
kernel: [25516.279382] usbcore: registered new interface driver cdc_ether
kernel: [25516.281259] cdc_ether 1-2:1.0 enx0a3967502370: renamed from usb0
=3D=3D=3D=3D=3D [1]
Bus 001 Device 009: ID 12d1:1f1c Huawei Technologies Co., Ltd.=20
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0=20
bDeviceProtocol 255=20
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1f1c=20
bcdDevice 1.02
iManufacturer 1 Vodafone(Huawei)
iProduct 2 HUAWEI Mobile
iSerial 3 FFFFFFFFFFFFFFFF
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0=20
bmAttributes 0xa0
(Bus 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-Only
iInterface 4 Mass Storage
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
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 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 87
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0=20
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 14=20
bFunctionProtocol 0=20
iFunction 8 K4203
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14=20
bInterfaceProtocol 0=20
iInterface 5 CDC Network Control Model (NCM)
CDC Header:
bcdCDC 1.10
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 1024
bNumberFilters 16
bMaxFilterSize 20
wMaxSegmentSize 1500
bmNetworkCapabilities 0x20
8-byte ntb input size
CDC Union:
bMasterInterface 0
bSlaveInterface 1=20
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2=20
iInterface 6 CDC Network Data
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2=20
iInterface 6 CDC Network Data
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
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
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0=20
bDeviceProtocol 255=20
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0001
Self Powered
=3D=3D=3D=3D=3D [2]
Bus 001 Device 010: ID 12d1:1590 Huawei Technologies Co., Ltd.=20
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0=20
bDeviceProtocol 0=20
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1590=20
bcdDevice 1.02
iManufacturer 1 Vodafone(Huawei)
iProduct 2 HUAWEI Mobile
iSerial 0=20
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 71
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0=20
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0=20
iInterface 9 CDC Ethernet Control Model (ECM)
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1=20
CDC Ethernet:
iMacAddress 11 0A3967502370
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0=20
iInterface 10 CDC Ethernet Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
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 0x02 EP 2 OUT
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 2 Communications
bDeviceSubClass 0=20
bDeviceProtocol 0=20
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Bernard Schoenacker
Le Wed, 2 Sep 2015 22:05:11 +0200, Jean-Marc a écrit :
salut la liste,
J'ai un drôle de soucis. J'ai reçu il y a peu un petit stick USB modem 3G. C'est un Vodaphone-Huawei K4203.
Les premiers essais n'ont pas été très concluants. En cherchant un peu, j'ai trouvé cetta page : http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t70
En deux mots, c'est un dongle certifié W$8 qui fonctionne avec le protocole MBIM sans devoir être "modeswitché". Et il possède un mode compatible W$7 qui le fait apparaître comme un périphérique cdc_ether. Il suffit de le "modeswitcher" en lui envoyant le message spécifié.
J'ai donc essayé de le switcher après l'avoir branché sur mon desktop et cela fonctionne bien. L'envoi du message le fait basculer en cdc_ether et il apparaît dans les périph' réseau (voir <lsusb> avant [1] et après [2] <usb_modeswitch>).
La même manip' sur mon laptop ne donne absolument rien. Du tout. Impossible de le switcher.
Mes deux ordis sont pourtant tous les deux en Strecht/Sid, la version de /usr/sbin/usb_modeswitch est la même et les infos retournées par <lsusb> sont identiques avant de le switcher.
Une idée d'où commencer les recherches ?
Un autre truc aussi qui me chiffonne concerne MBIM. Les messages de /var/log/message indiquent ceci lors de l'insertion du dongle dans le port USB (voir aussi [0]) : kernel: [24889.936114] cdc_mbim 1-2:2.0: bind() failure
Donc, il y a apparemment aussi un soucis lorsque le système essaie le protocole MBIM.
Merci d'avance pour votre aide.
Jean-Marc
===== [0] kernel: [24888.811030] usb 1-2: new high-speed USB device number 8 using ehci-pci kernel: [24888.945227] usb 1-2: New USB device found, idVendord1, idProduct1c kernel: [24888.945232] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 kernel: [24888.945235] usb 1-2: Product: HUAWEI Mobile kernel: [24888.945238] usb 1-2: Manufacturer: Vodafone(Huawei) kernel: [24888.945240] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF kernel: [24888.997756] usb-storage 1-2:1.0: USB Mass Storage device detected kernel: [24888.998119] scsi host11: usb-storage 1-2:1.0 mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1, device: 8 was not an MTP device usb_modeswitch: switch device 12d1:1f1c on 001/008 kernel: [24889.910301] usbcore: registered new interface driver cdc_ncm kernel: [24889.917742] usbcore: registered new interface driver cdc_wdm kernel: [24889.932276] usb 1-2: USB disconnect, device number 8 kernel: [24889.936114] cdc_mbim 1-2:2.0: bind() failure kernel: [24889.936283] usbcore: registered new interface driver cdc_mbim kernel: [24896.740270] usb 1-2: new high-speed USB device number 9 using ehci-pci kernel: [24896.874409] usb 1-2: New USB device found, idVendord1, idProduct1c kernel: [24896.874413] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 kernel: [24896.874416] usb 1-2: Product: HUAWEI Mobile kernel: [24896.874419] usb 1-2: Manufacturer: Vodafone(Huawei) kernel: [24896.874421] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF kernel: [24896.918937] usb-storage 1-2:1.0: USB Mass Storage device detected kernel: [24896.919206] scsi host12: usb-storage 1-2:1.0 mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1, device: 9 was not an MTP device kernel: [24897.929494] scsi 12:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 kernel: [24897.930949] sr 12:0:0:0: [sr1] scsi-1 drive kernel: [24897.931265] sr 12:0:0:0: Attached scsi generic sg5 type 5 kernel: [24897.992207] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24897.992214] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24897.992218] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24897.992222] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fe 00 00 02 00 kernel: [24897.998455] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24897.998461] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24897.998465] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24897.998469] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fe 00 00 02 00 kernel: [24898.025323] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24898.025330] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24898.025334] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24898.025338] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fc 00 00 02 00 kernel: [24898.031547] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24898.031552] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24898.031556] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24898.031559] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fc 00 00 02 00 [...] kernel: [25514.528384] usb 1-2: USB disconnect, device number 9 kernel: [25515.937061] usb 1-2: new high-speed USB device number 10 using ehci-pci kernel: [25516.070609] usb 1-2: New USB device found, idVendord1, idProduct90 kernel: [25516.070614] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [25516.070617] usb 1-2: Product: HUAWEI Mobile kernel: [25516.070620] usb 1-2: Manufacturer: Vodafone(Huawei) mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1, device: 10 was not an MTP device kernel: [25516.279335] cdc_ether 1-2:1.0 usb0: register 'cdc_ether' at usb-0000:00:1a.7-2, CDC Ethernet Device, 0a:39:67:50:23:70 kernel: [25516.279382] usbcore: registered new interface driver cdc_ether kernel: [25516.281259] cdc_ether 1-2:1.0 enx0a3967502370: renamed from usb0
===== [1] Bus 001 Device 009: ID 12d1:1f1c Huawei Technologies Co., Ltd. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 255 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1f1c bcdDevice 1.02 iManufacturer 1 Vodafone(Huawei) iProduct 2 HUAWEI Mobile iSerial 3 FFFFFFFFFFFFFFFF bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus 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-Only iInterface 4 Mass Storage 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 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 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 87 bNumInterfaces 2 bConfigurationValue 2 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 2 Communications bFunctionSubClass 14 bFunctionProtocol 0 iFunction 8 K4203 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 14 bInterfaceProtocol 0 iInterface 5 CDC Network Control Model (NCM) CDC Header: bcdCDC 1.10 CDC MBIM: bcdMBIMVersion 1.00 wMaxControlMessage 1024 bNumberFilters 16 bMaxFilterSize 20 wMaxSegmentSize 1500 bmNetworkCapabilities 0x20 8-byte ntb input size CDC Union: bMasterInterface 0 bSlaveInterface 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 2 iInterface 6 CDC Network Data Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 2 iInterface 6 CDC Network Data 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 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 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 255 bMaxPacketSize0 64 bNumConfigurations 2 Device Status: 0x0001 Self Powered
===== [2] Bus 001 Device 010: ID 12d1:1590 Huawei Technologies Co., Ltd. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1590 bcdDevice 1.02 iManufacturer 1 Vodafone(Huawei) iProduct 2 HUAWEI Mobile iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 71 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 6 Ethernet Networking bInterfaceProtocol 0 iInterface 9 CDC Ethernet Control Model (ECM) CDC Header: bcdCDC 1.10 CDC Union: bMasterInterface 0 bSlaveInterface 1 CDC Ethernet: iMacAddress 11 0A3967502370 bmEthernetStatistics 0x00000000 wMaxSegmentSize 1514 wNumberMCFilters 0x0000 bNumberPowerFilters 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 10 CDC Ethernet Data Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN 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 0x02 EP 2 OUT 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 2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered
bonjour,
aller une fois que tu aura ku ceci j'espère que ce sera bon :
Le Wed, 2 Sep 2015 22:05:11 +0200,
Jean-Marc <jean-marc@6jf.be> a écrit :
salut la liste,
J'ai un drôle de soucis.
J'ai reçu il y a peu un petit stick USB modem 3G.
C'est un Vodaphone-Huawei K4203.
Les premiers essais n'ont pas été très concluants.
En cherchant un peu, j'ai trouvé cetta page :
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t70
En deux mots, c'est un dongle certifié W$8 qui fonctionne avec le
protocole MBIM sans devoir être "modeswitché". Et il possède un mode
compatible W$7 qui le fait apparaître comme un périphérique
cdc_ether. Il suffit de le "modeswitcher" en lui envoyant le message
spécifié.
J'ai donc essayé de le switcher après l'avoir branché sur mon desktop
et cela fonctionne bien. L'envoi du message le fait basculer en
cdc_ether et il apparaît dans les périph' réseau (voir <lsusb> avant
[1] et après [2] <usb_modeswitch>).
La même manip' sur mon laptop ne donne absolument rien. Du tout.
Impossible de le switcher.
Mes deux ordis sont pourtant tous les deux en Strecht/Sid, la version
de /usr/sbin/usb_modeswitch est la même et les infos retournées par
<lsusb> sont identiques avant de le switcher.
Une idée d'où commencer les recherches ?
Un autre truc aussi qui me chiffonne concerne MBIM. Les messages
de /var/log/message indiquent ceci lors de l'insertion du dongle dans
le port USB (voir aussi [0]) : kernel: [24889.936114] cdc_mbim
1-2:2.0: bind() failure
Donc, il y a apparemment aussi un soucis lorsque le système essaie le
protocole MBIM.
Merci d'avance pour votre aide.
Jean-Marc <jean-marc@6jf.be>
===== [0]
kernel: [24888.811030] usb 1-2: new high-speed USB device number 8
using ehci-pci kernel: [24888.945227] usb 1-2: New USB device found,
idVendord1, idProduct1c kernel: [24888.945232] usb 1-2: New USB
device strings: Mfr=1, Product=2, SerialNumber=3 kernel:
[24888.945235] usb 1-2: Product: HUAWEI Mobile kernel: [24888.945238]
usb 1-2: Manufacturer: Vodafone(Huawei) kernel: [24888.945240] usb
1-2: SerialNumber: FFFFFFFFFFFFFFFF kernel: [24888.997756]
usb-storage 1-2:1.0: USB Mass Storage device detected kernel:
[24888.998119] scsi host11: usb-storage 1-2:1.0 mtp-probe: checking
bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2"
mtp-probe: bus: 1, device: 8 was not an MTP device usb_modeswitch:
switch device 12d1:1f1c on 001/008 kernel: [24889.910301] usbcore:
registered new interface driver cdc_ncm kernel: [24889.917742]
usbcore: registered new interface driver cdc_wdm kernel:
[24889.932276] usb 1-2: USB disconnect, device number 8 kernel:
[24889.936114] cdc_mbim 1-2:2.0: bind() failure kernel:
[24889.936283] usbcore: registered new interface driver cdc_mbim
kernel: [24896.740270] usb 1-2: new high-speed USB device number 9
using ehci-pci kernel: [24896.874409] usb 1-2: New USB device found,
idVendord1, idProduct1c kernel: [24896.874413] usb 1-2: New USB
device strings: Mfr=1, Product=2, SerialNumber=3 kernel:
[24896.874416] usb 1-2: Product: HUAWEI Mobile kernel: [24896.874419]
usb 1-2: Manufacturer: Vodafone(Huawei) kernel: [24896.874421] usb
1-2: SerialNumber: FFFFFFFFFFFFFFFF kernel: [24896.918937]
usb-storage 1-2:1.0: USB Mass Storage device detected kernel:
[24896.919206] scsi host12: usb-storage 1-2:1.0 mtp-probe: checking
bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2"
mtp-probe: bus: 1, device: 9 was not an MTP device kernel:
[24897.929494] scsi 12:0:0:0: CD-ROM HUAWEI Mass
Storage 2.31 PQ: 0 ANSI: 2 kernel: [24897.930949] sr 12:0:0:0:
[sr1] scsi-1 drive kernel: [24897.931265] sr 12:0:0:0: Attached scsi
generic sg5 type 5 kernel: [24897.992207] sr 12:0:0:0: [sr1] FAILED
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel:
[24897.992214] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current]
kernel: [24897.992218] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered
read error kernel: [24897.992222] sr 12:0:0:0: [sr1] CDB: Read(10) 28
00 00 00 ff fe 00 00 02 00 kernel: [24897.998455] sr 12:0:0:0: [sr1]
FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel:
[24897.998461] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current]
kernel: [24897.998465] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered
read error kernel: [24897.998469] sr 12:0:0:0: [sr1] CDB: Read(10) 28
00 00 00 ff fe 00 00 02 00 kernel: [24898.025323] sr 12:0:0:0: [sr1]
FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel:
[24898.025330] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current]
kernel: [24898.025334] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered
read error kernel: [24898.025338] sr 12:0:0:0: [sr1] CDB: Read(10) 28
00 00 00 ff fc 00 00 02 00 kernel: [24898.031547] sr 12:0:0:0: [sr1]
FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel:
[24898.031552] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current]
kernel: [24898.031556] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered
read error kernel: [24898.031559] sr 12:0:0:0: [sr1] CDB: Read(10) 28
00 00 00 ff fc 00 00 02 00 [...] kernel: [25514.528384] usb 1-2: USB
disconnect, device number 9 kernel: [25515.937061] usb 1-2: new
high-speed USB device number 10 using ehci-pci kernel: [25516.070609]
usb 1-2: New USB device found, idVendord1, idProduct90 kernel:
[25516.070614] usb 1-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0 kernel: [25516.070617] usb 1-2: Product: HUAWEI Mobile
kernel: [25516.070620] usb 1-2: Manufacturer: Vodafone(Huawei)
mtp-probe: checking bus 1, device 10:
"/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1,
device: 10 was not an MTP device kernel: [25516.279335] cdc_ether
1-2:1.0 usb0: register 'cdc_ether' at usb-0000:00:1a.7-2, CDC
Ethernet Device, 0a:39:67:50:23:70 kernel: [25516.279382] usbcore:
registered new interface driver cdc_ether kernel: [25516.281259]
cdc_ether 1-2:1.0 enx0a3967502370: renamed from usb0
===== [1]
Bus 001 Device 009: ID 12d1:1f1c Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 255
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1f1c
bcdDevice 1.02
iManufacturer 1 Vodafone(Huawei)
iProduct 2 HUAWEI Mobile
iSerial 3 FFFFFFFFFFFFFFFF
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus 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-Only
iInterface 4 Mass Storage
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
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 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 87
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 14
bFunctionProtocol 0
iFunction 8 K4203
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14
bInterfaceProtocol 0
iInterface 5 CDC Network Control Model (NCM)
CDC Header:
bcdCDC 1.10
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 1024
bNumberFilters 16
bMaxFilterSize 20
wMaxSegmentSize 1500
bmNetworkCapabilities 0x20
8-byte ntb input size
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2
iInterface 6 CDC Network Data
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2
iInterface 6 CDC Network Data
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
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
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 255
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0001
Self Powered
===== [2]
Bus 001 Device 010: ID 12d1:1590 Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1590
bcdDevice 1.02
iManufacturer 1 Vodafone(Huawei)
iProduct 2 HUAWEI Mobile
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 71
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0
iInterface 9 CDC Ethernet Control Model (ECM)
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Ethernet:
iMacAddress 11 0A3967502370
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 10 CDC Ethernet Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
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 0x02 EP 2 OUT
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 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
bonjour,
aller une fois que tu aura ku ceci j'espère que ce sera bon :
Le Wed, 2 Sep 2015 22:05:11 +0200, Jean-Marc a écrit :
salut la liste,
J'ai un drôle de soucis. J'ai reçu il y a peu un petit stick USB modem 3G. C'est un Vodaphone-Huawei K4203.
Les premiers essais n'ont pas été très concluants. En cherchant un peu, j'ai trouvé cetta page : http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t70
En deux mots, c'est un dongle certifié W$8 qui fonctionne avec le protocole MBIM sans devoir être "modeswitché". Et il possède un mode compatible W$7 qui le fait apparaître comme un périphérique cdc_ether. Il suffit de le "modeswitcher" en lui envoyant le message spécifié.
J'ai donc essayé de le switcher après l'avoir branché sur mon desktop et cela fonctionne bien. L'envoi du message le fait basculer en cdc_ether et il apparaît dans les périph' réseau (voir <lsusb> avant [1] et après [2] <usb_modeswitch>).
La même manip' sur mon laptop ne donne absolument rien. Du tout. Impossible de le switcher.
Mes deux ordis sont pourtant tous les deux en Strecht/Sid, la version de /usr/sbin/usb_modeswitch est la même et les infos retournées par <lsusb> sont identiques avant de le switcher.
Une idée d'où commencer les recherches ?
Un autre truc aussi qui me chiffonne concerne MBIM. Les messages de /var/log/message indiquent ceci lors de l'insertion du dongle dans le port USB (voir aussi [0]) : kernel: [24889.936114] cdc_mbim 1-2:2.0: bind() failure
Donc, il y a apparemment aussi un soucis lorsque le système essaie le protocole MBIM.
Merci d'avance pour votre aide.
Jean-Marc
===== [0] kernel: [24888.811030] usb 1-2: new high-speed USB device number 8 using ehci-pci kernel: [24888.945227] usb 1-2: New USB device found, idVendord1, idProduct1c kernel: [24888.945232] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 kernel: [24888.945235] usb 1-2: Product: HUAWEI Mobile kernel: [24888.945238] usb 1-2: Manufacturer: Vodafone(Huawei) kernel: [24888.945240] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF kernel: [24888.997756] usb-storage 1-2:1.0: USB Mass Storage device detected kernel: [24888.998119] scsi host11: usb-storage 1-2:1.0 mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1, device: 8 was not an MTP device usb_modeswitch: switch device 12d1:1f1c on 001/008 kernel: [24889.910301] usbcore: registered new interface driver cdc_ncm kernel: [24889.917742] usbcore: registered new interface driver cdc_wdm kernel: [24889.932276] usb 1-2: USB disconnect, device number 8 kernel: [24889.936114] cdc_mbim 1-2:2.0: bind() failure kernel: [24889.936283] usbcore: registered new interface driver cdc_mbim kernel: [24896.740270] usb 1-2: new high-speed USB device number 9 using ehci-pci kernel: [24896.874409] usb 1-2: New USB device found, idVendord1, idProduct1c kernel: [24896.874413] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 kernel: [24896.874416] usb 1-2: Product: HUAWEI Mobile kernel: [24896.874419] usb 1-2: Manufacturer: Vodafone(Huawei) kernel: [24896.874421] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF kernel: [24896.918937] usb-storage 1-2:1.0: USB Mass Storage device detected kernel: [24896.919206] scsi host12: usb-storage 1-2:1.0 mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1, device: 9 was not an MTP device kernel: [24897.929494] scsi 12:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 kernel: [24897.930949] sr 12:0:0:0: [sr1] scsi-1 drive kernel: [24897.931265] sr 12:0:0:0: Attached scsi generic sg5 type 5 kernel: [24897.992207] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24897.992214] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24897.992218] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24897.992222] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fe 00 00 02 00 kernel: [24897.998455] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24897.998461] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24897.998465] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24897.998469] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fe 00 00 02 00 kernel: [24898.025323] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24898.025330] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24898.025334] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24898.025338] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fc 00 00 02 00 kernel: [24898.031547] sr 12:0:0:0: [sr1] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE kernel: [24898.031552] sr 12:0:0:0: [sr1] Sense Key : Medium Error [current] kernel: [24898.031556] sr 12:0:0:0: [sr1] Add. Sense: Unrecovered read error kernel: [24898.031559] sr 12:0:0:0: [sr1] CDB: Read(10) 28 00 00 00 ff fc 00 00 02 00 [...] kernel: [25514.528384] usb 1-2: USB disconnect, device number 9 kernel: [25515.937061] usb 1-2: new high-speed USB device number 10 using ehci-pci kernel: [25516.070609] usb 1-2: New USB device found, idVendord1, idProduct90 kernel: [25516.070614] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [25516.070617] usb 1-2: Product: HUAWEI Mobile kernel: [25516.070620] usb 1-2: Manufacturer: Vodafone(Huawei) mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2" mtp-probe: bus: 1, device: 10 was not an MTP device kernel: [25516.279335] cdc_ether 1-2:1.0 usb0: register 'cdc_ether' at usb-0000:00:1a.7-2, CDC Ethernet Device, 0a:39:67:50:23:70 kernel: [25516.279382] usbcore: registered new interface driver cdc_ether kernel: [25516.281259] cdc_ether 1-2:1.0 enx0a3967502370: renamed from usb0
===== [1] Bus 001 Device 009: ID 12d1:1f1c Huawei Technologies Co., Ltd. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 255 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1f1c bcdDevice 1.02 iManufacturer 1 Vodafone(Huawei) iProduct 2 HUAWEI Mobile iSerial 3 FFFFFFFFFFFFFFFF bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus 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-Only iInterface 4 Mass Storage 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 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 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 87 bNumInterfaces 2 bConfigurationValue 2 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 2 Communications bFunctionSubClass 14 bFunctionProtocol 0 iFunction 8 K4203 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 14 bInterfaceProtocol 0 iInterface 5 CDC Network Control Model (NCM) CDC Header: bcdCDC 1.10 CDC MBIM: bcdMBIMVersion 1.00 wMaxControlMessage 1024 bNumberFilters 16 bMaxFilterSize 20 wMaxSegmentSize 1500 bmNetworkCapabilities 0x20 8-byte ntb input size CDC Union: bMasterInterface 0 bSlaveInterface 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 2 iInterface 6 CDC Network Data Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 2 iInterface 6 CDC Network Data 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 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 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 255 bMaxPacketSize0 64 bNumConfigurations 2 Device Status: 0x0001 Self Powered
===== [2] Bus 001 Device 010: ID 12d1:1590 Huawei Technologies Co., Ltd. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1590 bcdDevice 1.02 iManufacturer 1 Vodafone(Huawei) iProduct 2 HUAWEI Mobile iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 71 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 6 Ethernet Networking bInterfaceProtocol 0 iInterface 9 CDC Ethernet Control Model (ECM) CDC Header: bcdCDC 1.10 CDC Union: bMasterInterface 0 bSlaveInterface 1 CDC Ethernet: iMacAddress 11 0A3967502370 bmEthernetStatistics 0x00000000 wMaxSegmentSize 1514 wNumberMCFilters 0x0000 bNumberPowerFilters 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 10 CDC Ethernet Data Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN 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 0x02 EP 2 OUT 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 2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered
bonjour,
aller une fois que tu aura ku ceci j'espère que ce sera bon :