der UMTS/G3-Surfstick Huawei E173 läuft unter ubuntu 18.04/20.04 sofort ohne jegliche Installation/Konfiguration. Jetzt unter Buster (rasbian, Raspi3) versucht zu installieren. Der Stick wird erkannt, die die /dev/USBxxxx devices sind erkannt, aber:
Code: Alles auswählen
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
Jetzt alles der Reihe nach:
Code: Alles auswählen
[ 8234.400333] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
[ 8234.532318] usb 1-1.5: New USB device found, idVendor=12d1, idProduct=1446, bcdDevice= 0.00
[ 8234.532330] usb 1-1.5: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 8234.532335] usb 1-1.5: Product: HUAWEI Mobile
[ 8239.520421] usb 1-1.5: new high-speed USB device number 8 using dwc_otg
[ 8239.652594] usb 1-1.5: New USB device found, idVendor=12d1, idProduct=1436, bcdDevice= 0.00
[ 8239.652612] usb 1-1.5: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 8239.652624] usb 1-1.5: Product: HUAWEI Mobile
Code: Alles auswählen
DEIN CODE:
dmesg:
[ 8234.400333] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
[ 8234.532318] usb 1-1.5: New USB device found, idVendor=12d1, idProduct=1446, bcdDevice= 0.00
[ 8234.532330] usb 1-1.5: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 8234.532335] usb 1-1.5: Product: HUAWEI Mobile
[ 8234.532339] usb 1-1.5: Manufacturer: HUAWEI Technology
[ 8234.534968] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[ 8234.536843] scsi host1: usb-storage 1-1.5:1.0
[ 8234.537321] usb-storage 1-1.5:1.1: USB Mass Storage device detected
[ 8234.538406] scsi host2: usb-storage 1-1.5:1.1
[ 8235.637848] usb 1-1.5: USB disconnect, device number 7
[ 8237.640389] Voltage normalised (0x00000000)
[ 8239.520421] usb 1-1.5: new high-speed USB device number 8 using dwc_otg
[ 8239.652594] usb 1-1.5: New USB device found, idVendor=12d1, idProduct=1436, bcdDevice= 0.00
[ 8239.652612] usb 1-1.5: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 8239.652624] usb 1-1.5: Product: HUAWEI Mobile
[ 8239.652633] usb 1-1.5: Manufacturer: HUAWEI Technology
[ 8239.656158] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[ 8239.701121] usb-storage 1-1.5:1.1: USB Mass Storage device detected
[ 8239.751083] usb-storage 1-1.5:1.2: USB Mass Storage device detected
[ 8239.811123] usb-storage 1-1.5:1.3: USB Mass Storage device detected
[ 8239.881114] usb-storage 1-1.5:1.4: USB Mass Storage device detected
[ 8239.921194] usb-storage 1-1.5:1.5: USB Mass Storage device detected
[ 8239.922041] scsi host1: usb-storage 1-1.5:1.5
[ 8239.922792] usb-storage 1-1.5:1.6: USB Mass Storage device detected
[ 8239.923505] scsi host2: usb-storage 1-1.5:1.6
[ 8240.027560] usbcore: registered new interface driver usbserial_generic
[ 8240.027600] usbserial: USB Serial support registered for generic
[ 8240.037011] cdc_ether 1-1.5:1.1 wwan0: register 'cdc_ether' at usb-3f980000.usb-1.5, Mobile Broadband Network Device, 02:50:f3:00:00:00
[ 8240.037227] usbcore: registered new interface driver cdc_ether
[ 8240.052383] usbcore: registered new interface driver option
[ 8240.052429] usbserial: USB Serial support registered for GSM modem (1-port)
[ 8240.052798] option 1-1.5:1.0: GSM modem (1-port) converter detected
[ 8240.053133] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB0
[ 8240.053406] option 1-1.5:1.3: GSM modem (1-port) converter detected
[ 8240.053613] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB1
[ 8240.053714] option 1-1.5:1.4: GSM modem (1-port) converter detected
[ 8240.053867] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB2
[ 8241.003383] scsi 2:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 8241.004646] scsi 1:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 8241.006777] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 8241.011481] scsi 1:0:0:0: Attached scsi generic sg2 type 5
[ 8241.013944] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 8241.041736] sr 1:0:0:0: [sr0] scsi-1 drive
[ 8241.041753] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 8241.045762] sr 1:0:0:0: Attached scsi CD-ROM sr0
Code: Alles auswählen
root@hauspi:~# lsusb
Bus 001 Device 008: ID 12d1:1436 Huawei Technologies Co., Ltd. Broadband stick
Code: Alles auswählen
root@hauspi:/etc/systemd/system# ls /dev/serial/by-id/ -l
insgesamt 0
lrwxrwxrwx 1 root root 13 Jun 10 00:14 usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jun 10 00:14 usb-HUAWEI_Technology_HUAWEI_Mobile-if03-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Jun 10 00:14 usb-HUAWEI_Technology_HUAWEI_Mobile-if04-port0 -> ../../ttyUSB2
Code: Alles auswählen
cat /etc/usb_modeswitch.conf
TargetVendor= 0x12d1
TargetProduct= 0x1436
DefaultVendor= 0x12d1
DefaultProduct=0x1446
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
Code: Alles auswählen
root@hauspi:/etc/systemd/system# usb_modeswitch -v 12d1 -p 1436 -M '55534243123456780000000000000a11062000000000000100000000000000'
Look for default devices ...
Found devices in default mode (1)
Access device 010 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
Code: Alles auswählen
root@hauspi:~# usb_modeswitch -W -I -c /etc/usb_modeswitch.conf
Read config file: /etc/usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1436
TargetVendor= 0x12d1
TargetProduct= 0x1446
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
Look for target devices ...
found USB ID 12d1:1436
vendor ID matched
found USB ID 090c:1000
found USB ID 413c:2105
found USB ID 093a:2510
found USB ID 0424:ec00
found USB ID 0424:9514
found USB ID 1d6b:0002
No devices in target mode or class found
Look for default devices ...
found USB ID 12d1:1436
vendor ID matched
product ID matched
found USB ID 090c:1000
found USB ID 413c:2105
found USB ID 093a:2510
found USB ID 0424:ec00
found USB ID 0424:9514
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 008 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
Code: Alles auswählen
wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.12.135 netmask 255.255.0.0 broadcast 169.254.255.255
inet6 fe80::429e:adf8:7349:a74a prefixlen 64 scopeid 0x20<link>
ether 02:50:f3:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 30 bytes 5244 (5.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Eckard