HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
Also ich habe mir diese Seite nocheinmal angesehn https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=2970 und da steht ja auch etwas von dieser Magic code von dem kB schon mal sprach. Also habe ich das ausprobiert mit dem angegebenen code -M 55534243123456780000000000000011060000000000000000000000000000 (sieht aus wie die Telefonnummer von Xi Jinping) 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 | xy@xy-HP:~$ sudo usb_modeswitch -v 05c6 -p f000-V 05c6 -P 6000 -M 55534243123456780000000000000011060000000000000000000000000000
[sudo] Passwort für xy:
Look for default devices ...
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 8
Use endpoints 0x01 (out) and 0x81 (in)
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 1
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
xy@xy-HP:~$
|
danach: | xy@xy-HP:~$ sudo lsusb -v -d 05c6:6000
|
keine Reaktion danach: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71 | xy@xy-HP:~$ sudo lsusb -v -d 05c6:f000
Bus 001 Device 009: ID 05c6:f000 Qualcomm, Inc. Qualcomm CDMA Technologies MSM
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x05c6 Qualcomm, Inc.
idProduct 0xf000
bcdDevice 0.00
iManufacturer 3 Qualcomm, Incorporated
iProduct 2 Qualcomm CDMA Technologies MSM
iSerial 4 869035031544212
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 1 Qualcomm Configuration
bmAttributes 0xc0
Self Powered
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 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
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
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
xy@xy-HP:~$
|
er erkennt es nun als Laufwerk mit der Kennung:
also f000 auch hier eine Veränderung als Qualcomm CDMA Technologies MSM: | xy@xy-HP:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0aa7 Intel Corp. USB Optical Mouse
Bus 001 Device 004: ID 0bda:58ed Realtek Semiconductor Corp. Qualcomm CDMA Technologies MSM
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 009: ID 05c6:f000 Qualcomm, Inc. Qualcomm CDMA Technologies MSM
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
xy@xy-HP:~$
|
So wie ich das verstehe, war es vorher weder im CD noch im Modem Modus, sondern in einem Babystadium wie das als "transport Id" bei Draisberghof erwähnt wurde. Jetzt erst müßte es im CD Modus sein und das eigentliche Umschalten müßte durchgeführt werden. (Weiß noch nicht so recht wie) Ich habe dann mal versucht das Ding, was auch als sr1 erscheint, in meine WIN 10 virtual box durchzuschleifen um es dort zum umschalten zu bewegen. Das Durchschleifen ging problemlos, man kann im Win Dateimanger die setup.exe sehen, aber man kann sie nicht starten, nicht mal kopieren, gar nichts. Es kommt nur eine Meldung diese Datei wäre auf dieser Plattform nicht ausführbar. Aber das ist eben Windows. Also zurück zu Ubuntu, da lassen sich die Datein nicht sehen, aber ein Laufwerksabbild ließ sich erstellen, nun damit kann man nicht viel anfangen. Jetzt passierte noch etwas merkwürdiges: Ich habe mein altes Huawei Modem wieder angeschlossen und wollte ans Netz, aber es passierte gar nichts, nur das Huawei Modem wurde plötzlich bei Gnome-disks als CD angezeigt und ich geriet in Panik. Es ist mir dann gelungen mit der -J Option das Huawei umzuschalten 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 | xy@xy-HP:~$ sudo usb_modeswitch -v 0x12d1 -p 1446 -V 0x12d1 -P 1511 -J
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
Found devices in default mode (1)
Access device 016 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
Using standard Huawei switching message
Looking for active drivers ...
OK, driver detached
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response reading failed (error -9)
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
xy@xy-HP:~$
|
und damit war ich wieder im Netz. Das Dumme ist, jedesmal wenn ich das Huawei abziehe, muß ich danach wieder neu Umschalten. Sehr merkwürdig! Auf die letzten beiden Beiträge gehe ich noch ein.
|
hakunamatata
Supporter
Anmeldungsdatum: 30. Juni 2009
Beiträge: 5130
|
Also ich habe mir diese Seite nocheinmal angesehn https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=2970
Ich würde das so interpretieren. USB ModeSwitch schaltet das Modem von der ID 05c6:f000 (Datenträgermodus) in einen Modemmodus mit der ID 05c6:6000. Das einzige, was an diesem Modus komisch ist, ist, dass ein LTE-Modem einen Modus ohne Netzwerk-Schnittstelle verwendet. Funktionieren sollte das Modem aber in diesem Modus schon; der Modus ist nur in Bezug auf die Geschwindigkeit wahrscheinlich nicht optimal.
|
kB
Supporter, Wikiteam
Anmeldungsdatum: 4. Oktober 2007
Beiträge: 9743
Wohnort: Münster
|
Tja, vermuten kann man viel. Aber vielleicht möchtest Du ja doch gesichertes Wissen erarbeiten? Ein erster Schritt dazu könnte das Zeigen der Ergebnisse der von mir erbetenen Diagnose-Befehle sein.
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
kB schrieb: Tja, vermuten kann man viel. Aber vielleicht möchtest Du ja doch gesichertes Wissen erarbeiten? Ein erster Schritt dazu könnte das Zeigen der Ergebnisse der von mir erbetenen Diagnose-Befehle sein.
Ja, das kommt jetzt: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79 | xy@xy-HP:~$ lsblk -lf /dev/sd?
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
sda1 vfat FF97-4E77 505,8M 1% /boot/efi
sda2 ext4 a23ae266-1f69-4916-a7be-b711e9cd3bbd 301,1G 29% /
xy@xy-HP:~$ lsmod | grep -e option -e usb
btusb 57344 0
btrtl 24576 1 btusb
btbcm 16384 1 btusb
btintel 24576 1 btusb
bluetooth 548864 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
intel_xhci_usb_role_switch 16384 0
roles 16384 1 intel_xhci_usb_role_switch
usbhid 57344 0
hid 131072 2 usbhid,hid_generic
usb_storage 77824 1 uas
xy@xy-HP:~$ dmesg | grep -i -e option -e usb
[ 0.262008] ACPI: Power Resource [USBC] (on)
[ 0.332312] ACPI: bus type USB registered
[ 0.332312] usbcore: registered new interface driver usbfs
[ 0.332312] usbcore: registered new interface driver hub
[ 0.332312] usbcore: registered new device driver usb
[ 1.288347] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.288425] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.288479] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.288980] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 1.290654] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.290658] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.290661] usb usb1: Product: xHCI Host Controller
[ 1.290664] usb usb1: Manufacturer: Linux 5.4.0-89-generic xhci-hcd
[ 1.290667] usb usb1: SerialNumber: 0000:00:14.0
[ 1.291733] hub 1-0:1.0: USB hub found
[ 1.293818] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 1.293827] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[ 1.293954] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 1.293958] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.293961] usb usb2: Product: xHCI Host Controller
[ 1.293964] usb usb2: Manufacturer: Linux 5.4.0-89-generic xhci-hcd
[ 1.293966] usb usb2: SerialNumber: 0000:00:14.0
[ 1.294877] hub 2-0:1.0: USB hub found
[ 1.635974] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[ 1.785663] usb 1-2: New USB device found, idVendor=05c6, idProduct=f000, bcdDevice= 0.00
[ 1.785668] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 1.785670] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[ 1.785672] usb 1-2: Manufacturer: Qualcomm, Incorporated
[ 1.785674] usb 1-2: SerialNumber: 869035031544212
[ 1.914510] usb 1-3: new low-speed USB device number 3 using xhci_hcd
[ 2.099794] usb 1-3: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
[ 2.099798] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.099801] usb 1-3: Product: USB Optical Mouse
[ 2.099802] usb 1-3: Manufacturer: Logitech
[ 2.232424] usb 1-5: new high-speed USB device number 4 using xhci_hcd
[ 2.381828] usb 1-5: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
[ 2.381832] usb 1-5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.381834] usb 1-5: Product: USB2.0 Hub
[ 2.382751] hub 1-5:1.0: USB hub found
[ 2.393676] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 2.394140] scsi host2: usb-storage 1-2:1.0
[ 2.395007] usbcore: registered new interface driver usb-storage
[ 2.398224] usbcore: registered new interface driver uas
[ 2.426466] usbcore: registered new interface driver usbhid
[ 2.426474] usbhid: USB HID core driver
[ 2.434183] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C077.0001/input/input6
[ 2.434629] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-3/input0
[ 2.671936] usb 1-5.2: new high-speed USB device number 5 using xhci_hcd
[ 2.798730] usb 1-5.2: New USB device found, idVendor=0bda, idProduct=58ed, bcdDevice= 0.13
[ 2.798733] usb 1-5.2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 2.798735] usb 1-5.2: Product: HP Webcam
[ 2.798737] usb 1-5.2: Manufacturer: DGENE019I74LRE
[ 2.798739] usb 1-5.2: SerialNumber: 200901010001
[ 2.888142] usb 1-5.3: new full-speed USB device number 6 using xhci_hcd
[ 2.998448] usb 1-5.3: New USB device found, idVendor=8087, idProduct=0aa7, bcdDevice= 0.01
[ 2.998452] usb 1-5.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 21.984023] usbcore: registered new interface driver btusb
[ 23.269547] input: HP Webcam: HP Webcam as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.2/1-5.2:1.0/input/input9
[ 23.269705] usbcore: registered new interface driver uvcvideo
[ 23.269706] USB Video Class driver (1.1.1)
[ 29.385537] audit: type=1400 audit(1637900617.424:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=660 comm="apparmor_parser"
xy@xy-HP:~$
|
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
Ich würde das so interpretieren. USB ModeSwitch schaltet das Modem von der ID 05c6:f000 (Datenträgermodus) in einen Modemmodus mit der ID 05c6:6000
Nein, eben nicht. Es bleibt im f000 Modus, siehe den codeblock von lsusb -v -d 05c6:6000. Was mir Sorgen macht ist vor allem, das mein Huawei Modem nun auch betroffen ist, das verstehe ich überhaupt nicht.
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
edit: Wenn du das Modem so nicht findest, kannst du auch übers Terminal noch direkt den Modemstatus abfragen: Allle Modems auflisten: mmcli -L Details zum ersten Modem auflisten: mmcli -m 0
kommt jetzt: | xy@xy-HP:~$ mmcli -L
No modems were found
xy@xy-HP:~$ mmcli -m 0
error: couldn't find modem
xy@xy-HP:~$
|
|
kB
Supporter, Wikiteam
Anmeldungsdatum: 4. Oktober 2007
Beiträge: 9743
Wohnort: Münster
|
HaJoEg schrieb: […]
xy@xy-HP:~$ lsblk -lf /dev/sd?
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
sda1 vfat FF97-4E77 505,8M 1% /boot/efi
sda2 ext4 a23ae266-1f69-4916-a7be-b711e9cd3bbd 301,1G 29% /
Da wird das Gerät nicht als Blockgerät gelistet, somit ist zum Zeitpunkt dieser Abfrage wohl nicht im Datenträgermodus. xy@xy-HP:~$ lsmod | grep -e option -e usb
[…]
Der Modul option, der bei diesem Gerät im Modemmodus zuständig wäre, wird nicht gelistet. Somit befindet sich das Gerät nicht im Modemmodus.
xy@xy-HP:~$ dmesg | grep -i -e option -e usb
[…]
[ 1.635974] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[ 1.785663] usb 1-2: New USB device found, idVendor=05c6, idProduct=f000, bcdDevice= 0.00
[ 1.785668] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 1.785670] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[ 1.785672] usb 1-2: Manufacturer: Qualcomm, Incorporated
[ 1.785674] usb 1-2: SerialNumber: 869035031544212
[…]
[ 2.393676] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 2.394140] scsi host2: usb-storage 1-2:1.0
[ 2.395007] usbcore: registered new interface driver usb-storage
[ 2.398224] usbcore: registered new interface driver uas
Auch im Systemlog steht nichts von Modul option, welches somit auch nicht mal versuchsweise geladen wird. Das Gerät meldet sich beim Hochlauf des Systems erstmalig mit der ID 05c6:f000 . Das System interpretiert das als Datenträgermodus und dies ist möglicherweise falsch. Das System interpretiert diese ID nicht als Modemmodus und dies ist möglicherweise auch falsch. Ergebnis:
Entweder: 05c6:f000 könnte bereits der Modemmodus sein. Dann müsste man dem Modul option beibringen, sich um Geräte mit dieser ID zu kümmern und es dann laden. usb_modeswitch benötigt man dann nicht. Oder: 05c6:f000 könnte ein weiterer Modus neben Datenträger- und Modemmodus sein. Dann müsste man die ID für den Modemmodus herausbekommen und per usb_modeswitch von 05c6:f000 darauf umschalten. Zusätzlich müsste man möglicherweise dem Modul option beibringen, sich um das Gerät mit dieser noch unbekannten USB-ID zu kümmern. Oder: 05c6:f000 ist doch der Datenträgermodus, aber das Gerät funktioniert unter Linux in diesem Modus nicht richtig. Das braucht einem wohl nicht zu kümmern, weil man das Gerät sowieso nicht in diesem Modus verwenden will. Man verfahre weiter wie im Fall 2. Oder: Der Treibermodul option ist weder zuständig noch überhaupt für diese Hardware geeignet.
|
hakunamatata
Supporter
Anmeldungsdatum: 30. Juni 2009
Beiträge: 5130
|
HaJoEg schrieb: Ich würde das so interpretieren. USB ModeSwitch schaltet das Modem von der ID 05c6:f000 (Datenträgermodus) in einen Modemmodus mit der ID 05c6:6000
Nein, eben nicht. Es bleibt im f000 Modus, siehe den codeblock von lsusb -v -d 05c6:6000.
Im verlinkten Beitrag und bei früheren Versuchen von dir wurde aber bereits auf die ID 05c6:6000 gewechselt. s.diese Ausgabe von usb-devices aus einem früheren Posting von dir: T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=05c6 ProdID=6000 Rev=00.00
S: Manufacturer=Qualcomm, Incorporated
S: Product=Qualcomm CDMA Technologies MSM
S: SerialNumber=869035031544212
C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
Es scheint so, dass USB ModeSwitch jetzt generell nicht mehr automatisch funktioniert. Hast du da an Konfigurationsdateien etwas verändert ? Was steht denn aktuell in der Datei /etc/usb_modeswitch.conf ? Wie geschrieben die ID 05c6:6000 sollte als Modemmodus eigentlich funktionieren. edit: Bitte kontrolliere in der Datei /etc/usb_modeswitch.conf die Zeile mit DisableSwitching. DisableSwitching=0
bedeutet, dass USB ModeSwitch aktiviert ist.
DisableSwitching=1
bedeutet, dass USB ModeSwitch deaktiviert ist. Also unbedingt auf 0 stellen, sonst passiert nichts mehr automatisch. Weiters bitte auf eigene Umschaltregeln unter /etc/usb_modeswitch.d/ kontrollieren. Wenn du die Standardregeln verwendest sollte dieses Verzeichnis leer sein. Wenn du eigene Regeln verwenden möchtest, müsstest du für deinen Stick diese unter /etc/usb_modeswitch.d/05c6:f000 speichern. Das könnte dann so aussehen:
# Siptune LM-75 ("LinuxModem"), EWangshikong 4G
TargetVendor=0x05c6
TargetProductList="0016,6000,9000"
StandardEject=1
MessageContent="5553424308306384c000000080000671030000000000000000000000000000"
Da diese Regel für 05c6:f000 auch in den Standardregeln unter /usr/share/usb_modeswitch/configPack.tar.gz bereits stehen sollte, ist das natürlich unnötig und dient nur zur Info, was du hier machen könntest.
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
Ich würde das so interpretieren. USB ModeSwitch schaltet das Modem von der ID 05c6:f000 (Datenträgermodus) in einen Modemmodus mit der ID 05c6:6000
Nein, eben nicht. Es bleibt im f000 Modus, siehe den codeblock von lsusb -v -d 05c6:6000.
Im verlinkten Beitrag und bei früheren Versuchen von dir wurde aber bereits auf die ID 05c6:6000 gewechselt. s.diese Ausgabe von usb-devices aus einem früheren Posting von dir:
Ja das war auch so bevor ich den modeswitch Befehl mit der -M option benutzt hatte. Siehe meinen Beitrag vom 25. November 2021 14:38. Das hat alles verändert, das Modem erscheint wieder under der alten f000 Kennung. Und vor allem mein altes Modem was ich ja dringend zur Kommunikation brauche muß jetzt bei jedem einstecken neu umgeschaltet werden und bleibt auch nach dem Umschalten in Gnome-disks als Laufwerk angezeigt. Alles sehr merkwürdig.
Hast du da an Konfigurationsdateien etwas verändert ?
Ja habe ich, eine Datei /etc/usb_modeswitch.d/05c6:6000 angelegt mit diesem Inhalt: TargetVendor=0x05c6 TargetProduct=0x6000 * StandardEject=1
Ich habe auch weiter experimentiert, siehe nächster Eintrag
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
Sehr interessant fand ich Deine Analyse in 4 Punkten, besonders dies:
Oder: 05c6:f000 könnte ein weiterer Modus neben Datenträger- und Modemmodus sein.
Das ist ja genau das was ich schon vermutet hatte, bei schon erwähnten draisberghof steht auch etwas wie chinesische Billighändler vorgehen und das würde in meinem Faall passen. Und mit der -M option bin ich dann in den eigentlichen Laufwerksmodus gekommen. Ich habe jetzt folgendes gemacht, (auch bei draisberghof gelesen), nämlich den modeswitch Befehl mit der -K Option benutzt:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 |
xy@xy-HP:~$ sudo usb_modeswitch -v 05c6 -p f000 -V 05c6 -P 6000 -K
[sudo] Passwort für xy:
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
Found devices in default mode (1)
Access device 014 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
Sending standard EJECT sequence
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 2 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 3 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 4 to endpoint 0x01 ...
OK, message successfully sent
Read the response to message 4 (CSW) ...
Response successfully read (13 bytes), status 1
Reset response endpoint 0x81
Reset message endpoint 0x01
Could not reset endpoint (probably harmless): -99
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
xy@xy-HP:~$
|
dann nochmal lsusb: | xy@xy-HP:~$ sudo lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 8087:0aa7 Intel Corp. USB Optical Mouse
Bus 001 Device 005: ID 0bda:58ed Realtek Semiconductor Corp. Qualcomm CDMA Technologies MSM
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 015: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
xy@xy-HP:~$
|
und es erscheint wieder als 05c6:6000 Die nächsten Schritte wie gehabt: | xy@xy-HP:~$ lsblk -lf /dev/sd?
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
sda1 vfat FF97-4E77 505,8M 1% /boot/efi
sda2 ext4 a23ae266-1f69-4916-a7be-b711e9cd3bbd 301,1G 29% /
xy@xy-HP:~$
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | xy@xy-HP:~$ lsmod | grep -e option -e usb
option 61440 0
usb_wwan 24576 1 option
usbnet 45056 2 qmi_wwan,cdc_ether
usbserial 53248 2 usb_wwan,option
mii 20480 1 usbnet
btusb 57344 0
btrtl 24576 1 btusb
btbcm 16384 1 btusb
btintel 24576 1 btusb
bluetooth 548864 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
intel_xhci_usb_role_switch 16384 0
roles 16384 1 intel_xhci_usb_role_switch
usbhid 57344 0
hid 131072 2 usbhid,hid_generic
usb_storage 77824 1 uas
xy@xy-HP:~$
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232 | xy@xy-HP:~$ dmesg | grep -i -e option -e usb
[ 0.262008] ACPI: Power Resource [USBC] (on)
[ 0.332312] ACPI: bus type USB registered
[ 0.332312] usbcore: registered new interface driver usbfs
[ 0.332312] usbcore: registered new interface driver hub
[ 0.332312] usbcore: registered new device driver usb
[ 1.288347] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.288425] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.288479] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.288980] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 1.290654] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.290658] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.290661] usb usb1: Product: xHCI Host Controller
[ 1.290664] usb usb1: Manufacturer: Linux 5.4.0-89-generic xhci-hcd
[ 1.290667] usb usb1: SerialNumber: 0000:00:14.0
[ 1.291733] hub 1-0:1.0: USB hub found
[ 1.293818] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 1.293827] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[ 1.293954] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 1.293958] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.293961] usb usb2: Product: xHCI Host Controller
[ 1.293964] usb usb2: Manufacturer: Linux 5.4.0-89-generic xhci-hcd
[ 1.293966] usb usb2: SerialNumber: 0000:00:14.0
[ 1.294877] hub 2-0:1.0: USB hub found
[ 1.635974] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[ 1.785663] usb 1-2: New USB device found, idVendor=05c6, idProduct=f000, bcdDevice= 0.00
[ 1.785668] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 1.785670] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[ 1.785672] usb 1-2: Manufacturer: Qualcomm, Incorporated
[ 1.785674] usb 1-2: SerialNumber: 869035031544212
[ 1.914510] usb 1-3: new low-speed USB device number 3 using xhci_hcd
[ 2.099794] usb 1-3: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
[ 2.099798] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.099801] usb 1-3: Product: USB Optical Mouse
[ 2.099802] usb 1-3: Manufacturer: Logitech
[ 2.232424] usb 1-5: new high-speed USB device number 4 using xhci_hcd
[ 2.381828] usb 1-5: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
[ 2.381832] usb 1-5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.381834] usb 1-5: Product: USB2.0 Hub
[ 2.382751] hub 1-5:1.0: USB hub found
[ 2.393676] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 2.394140] scsi host2: usb-storage 1-2:1.0
[ 2.395007] usbcore: registered new interface driver usb-storage
[ 2.398224] usbcore: registered new interface driver uas
[ 2.426466] usbcore: registered new interface driver usbhid
[ 2.426474] usbhid: USB HID core driver
[ 2.434183] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C077.0001/input/input6
[ 2.434629] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-3/input0
[ 2.671936] usb 1-5.2: new high-speed USB device number 5 using xhci_hcd
[ 2.798730] usb 1-5.2: New USB device found, idVendor=0bda, idProduct=58ed, bcdDevice= 0.13
[ 2.798733] usb 1-5.2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 2.798735] usb 1-5.2: Product: HP Webcam
[ 2.798737] usb 1-5.2: Manufacturer: DGENE019I74LRE
[ 2.798739] usb 1-5.2: SerialNumber: 200901010001
[ 2.888142] usb 1-5.3: new full-speed USB device number 6 using xhci_hcd
[ 2.998448] usb 1-5.3: New USB device found, idVendor=8087, idProduct=0aa7, bcdDevice= 0.01
[ 2.998452] usb 1-5.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 21.984023] usbcore: registered new interface driver btusb
[ 23.269547] input: HP Webcam: HP Webcam as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.2/1-5.2:1.0/input/input9
[ 23.269705] usbcore: registered new interface driver uvcvideo
[ 23.269706] USB Video Class driver (1.1.1)
[ 29.385537] audit: type=1400 audit(1637900617.424:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=660 comm="apparmor_parser"
[ 425.524566] usb 1-2: USB disconnect, device number 2
[ 435.396307] usb 1-2: new high-speed USB device number 7 using xhci_hcd
[ 435.556207] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446, bcdDevice= 0.00
[ 435.556225] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 435.556236] usb 1-2: Product: HUAWEI Mobile
[ 435.556247] usb 1-2: Manufacturer: HUAWEI Technology
[ 435.569330] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 435.570128] scsi host2: usb-storage 1-2:1.0
[ 435.570384] usb-storage 1-2:1.1: USB Mass Storage device detected
[ 435.571158] scsi host3: usb-storage 1-2:1.1
[ 498.421541] usb 1-2: USB disconnect, device number 7
[ 502.919983] usb 1-2: new high-speed USB device number 8 using xhci_hcd
[ 503.079906] usb 1-2: New USB device found, idVendor=12d1, idProduct=14ac, bcdDevice= 0.00
[ 503.080006] usb 1-2: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 503.080018] usb 1-2: Product: HUAWEI Mobile
[ 503.080027] usb 1-2: Manufacturer: HUAWEI Technology
[ 503.104913] usb-storage 1-2:1.5: USB Mass Storage device detected
[ 503.105304] scsi host2: usb-storage 1-2:1.5
[ 503.105681] usb-storage 1-2:1.6: USB Mass Storage device detected
[ 503.106022] scsi host3: usb-storage 1-2:1.6
[ 503.368118] usbcore: registered new interface driver usbserial_generic
[ 503.370240] usbserial: USB Serial support registered for generic
[ 503.400251] usbcore: registered new interface driver cdc_ether
[ 503.434159] usbcore: registered new interface driver cdc_wdm
[ 503.475644] usbcore: registered new interface driver qmi_wwan
[ 503.482123] usbcore: registered new interface driver option
[ 503.482355] usbserial: USB Serial support registered for GSM modem (1-port)
[ 503.482640] option 1-2:1.0: GSM modem (1-port) converter detected
[ 503.482896] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 503.483340] option 1-2:1.3: GSM modem (1-port) converter detected
[ 503.483568] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 503.487775] option 1-2:1.4: GSM modem (1-port) converter detected
[ 503.489373] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 2716.986898] usb 1-2: USB disconnect, device number 8
[ 2716.990979] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 2716.991191] option 1-2:1.0: device disconnected
[ 2716.996779] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 2716.996891] option 1-2:1.3: device disconnected
[ 2716.997760] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 2716.997782] option 1-2:1.4: device disconnected
[ 2747.280031] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[ 2747.460588] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[ 3533.423655] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[ 3533.587230] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446, bcdDevice= 0.00
[ 3533.587237] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 3533.587241] usb 1-2: Product: HUAWEI Mobile
[ 3533.587244] usb 1-2: Manufacturer: HUAWEI Technology
[ 3533.603545] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 3533.620969] scsi host2: usb-storage 1-2:1.0
[ 3533.621264] usb-storage 1-2:1.1: USB Mass Storage device detected
[ 3533.622057] scsi host3: usb-storage 1-2:1.1
[ 3576.142252] usb 1-2: USB disconnect, device number 9
[ 3580.663357] usb 1-2: new high-speed USB device number 10 using xhci_hcd
[ 3580.823188] usb 1-2: New USB device found, idVendor=12d1, idProduct=14ac, bcdDevice= 0.00
[ 3580.823207] usb 1-2: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 3580.823218] usb 1-2: Product: HUAWEI Mobile
[ 3580.823229] usb 1-2: Manufacturer: HUAWEI Technology
[ 3580.842893] option 1-2:1.0: GSM modem (1-port) converter detected
[ 3580.843053] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 3580.843447] option 1-2:1.3: GSM modem (1-port) converter detected
[ 3580.843864] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 3580.844008] option 1-2:1.4: GSM modem (1-port) converter detected
[ 3580.844125] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 3580.844271] usb-storage 1-2:1.5: USB Mass Storage device detected
[ 3580.847792] scsi host2: usb-storage 1-2:1.5
[ 3580.848159] usb-storage 1-2:1.6: USB Mass Storage device detected
[ 3580.849084] scsi host3: usb-storage 1-2:1.6
[ 3988.733172] usb 1-2: USB disconnect, device number 10
[ 3988.734910] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 3988.735041] option 1-2:1.0: device disconnected
[ 3988.742020] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 3988.742145] option 1-2:1.3: device disconnected
[ 3988.743628] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 3988.743659] option 1-2:1.4: device disconnected
[ 4016.382405] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[ 4016.566661] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[ 4398.668716] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[ 4398.848762] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[ 9496.685710] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[ 9496.865270] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[10560.764686] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[10560.944938] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[14367.911894] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[14368.096308] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[17346.893176] usb 1-5.2: reset high-speed USB device number 5 using xhci_hcd
[17347.073138] usb 1-5.3: reset full-speed USB device number 6 using xhci_hcd
[17353.901035] usb 1-2: new high-speed USB device number 11 using xhci_hcd
[17354.060871] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446, bcdDevice= 0.00
[17354.060882] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[17354.060889] usb 1-2: Product: HUAWEI Mobile
[17354.060895] usb 1-2: Manufacturer: HUAWEI Technology
[17354.075250] usb-storage 1-2:1.0: USB Mass Storage device detected
[17354.076576] scsi host2: usb-storage 1-2:1.0
[17354.076902] usb-storage 1-2:1.1: USB Mass Storage device detected
[17354.080800] scsi host3: usb-storage 1-2:1.1
[17385.937490] usb 1-2: USB disconnect, device number 11
[17390.464373] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[17390.623404] usb 1-2: New USB device found, idVendor=12d1, idProduct=14ac, bcdDevice= 0.00
[17390.623409] usb 1-2: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[17390.623411] usb 1-2: Product: HUAWEI Mobile
[17390.623413] usb 1-2: Manufacturer: HUAWEI Technology
[17390.636038] option 1-2:1.0: GSM modem (1-port) converter detected
[17390.636475] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[17390.636851] option 1-2:1.3: GSM modem (1-port) converter detected
[17390.637240] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[17390.637358] option 1-2:1.4: GSM modem (1-port) converter detected
[17390.637487] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[17390.637598] usb-storage 1-2:1.5: USB Mass Storage device detected
[17390.637856] scsi host2: usb-storage 1-2:1.5
[17390.638059] usb-storage 1-2:1.6: USB Mass Storage device detected
[17390.638244] scsi host3: usb-storage 1-2:1.6
[18075.915997] usb 1-2: USB disconnect, device number 12
[18075.916856] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[18075.916981] option 1-2:1.0: device disconnected
[18075.926348] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[18075.926373] option 1-2:1.3: device disconnected
[18075.926633] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[18075.926653] option 1-2:1.4: device disconnected
[18092.467901] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[18092.617466] usb 1-2: New USB device found, idVendor=05c6, idProduct=f000, bcdDevice= 0.00
[18092.617471] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[18092.617474] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[18092.617476] usb 1-2: Manufacturer: Qualcomm, Incorporated
[18092.617478] usb 1-2: SerialNumber: 869035031544212
[18092.620325] usb-storage 1-2:1.0: USB Mass Storage device detected
[18092.637119] scsi host2: usb-storage 1-2:1.0
[18182.607865] usb 1-2: USB disconnect, device number 13
[20130.415772] usb 1-2: new high-speed USB device number 14 using xhci_hcd
[20130.567268] usb 1-2: New USB device found, idVendor=05c6, idProduct=f000, bcdDevice= 0.00
[20130.567288] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[20130.567299] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[20130.567309] usb 1-2: Manufacturer: Qualcomm, Incorporated
[20130.567318] usb 1-2: SerialNumber: 869035031544212
[20130.575043] usb-storage 1-2:1.0: USB Mass Storage device detected
[20130.578974] scsi host2: usb-storage 1-2:1.0
[20178.645711] usb 1-2: USB disconnect, device number 14
[20184.112395] usb 1-2: new high-speed USB device number 15 using xhci_hcd
[20184.263842] usb 1-2: New USB device found, idVendor=05c6, idProduct=6000, bcdDevice= 0.00
[20184.263861] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[20184.263873] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[20184.263884] usb 1-2: Manufacturer: Qualcomm, Incorporated
[20184.263893] usb 1-2: SerialNumber: 869035031544212
[20184.275643] option 1-2:1.0: GSM modem (1-port) converter detected
[20184.275810] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[20184.276027] option 1-2:1.1: GSM modem (1-port) converter detected
[20184.276171] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[20184.276325] option 1-2:1.2: GSM modem (1-port) converter detected
[20184.276456] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[20184.276606] option 1-2:1.3: GSM modem (1-port) converter detected
[20184.276718] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
[20184.276839] usb-storage 1-2:1.4: USB Mass Storage device detected
[20184.281530] scsi host2: usb-storage 1-2:1.4
[20342.465723] usb 1-2: USB disconnect, device number 15
[20342.466559] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[20342.466677] option 1-2:1.0: device disconnected
[20342.470316] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[20342.470439] option 1-2:1.1: device disconnected
[20342.477272] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[20342.477389] option 1-2:1.2: device disconnected
[20342.477667] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[20342.477692] option 1-2:1.3: device disconnected
[20373.275997] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[20373.426090] usb 1-2: New USB device found, idVendor=05c6, idProduct=f000, bcdDevice= 0.00
[20373.426108] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[20373.426121] usb 1-2: Product: Qualcomm CDMA Technologies MSM
[20373.426132] usb 1-2: Manufacturer: Qualcomm, Incorporated
[20373.426142] usb 1-2: SerialNumber: 869035031544212
[20373.430589] usb-storage 1-2:1.0: USB Mass Storage device detected
[20373.439630] scsi host2: usb-storage 1-2:1.0
xy@xy-HP:~$
|
Ich hoffe ihr könnt es interpretieren.
|
hakunamatata
Supporter
Anmeldungsdatum: 30. Juni 2009
Beiträge: 5130
|
HaJoEg schrieb: und es erscheint wieder als 05c6:6000 Die nächsten Schritte wie gehabt:
Sobald das Modem mit der ID 05c6:6000 aufscheint, bitte auch die Abfragen für den Modemmanger ausführen wie ich hier schrieb: Wenn du das Modem so nicht findest, kannst du auch übers Terminal noch direkt den Modemstatus abfragen: Allle Modems auflisten:
mmcli -L
Details zum ersten Modem auflisten:
mmcli -m 0
|
hakunamatata
Supporter
Anmeldungsdatum: 30. Juni 2009
Beiträge: 5130
|
HaJoEg schrieb: Ja das war auch so bevor ich den modeswitch Befehl mit der -M option benutzt hatte. Siehe meinen Beitrag vom 25. November 2021 14:38. Das hat alles verändert, das Modem erscheint wieder under der alten f000 Kennung. Und vor allem mein altes Modem was ich ja dringend zur Kommunikation brauche muß jetzt bei jedem einstecken neu umgeschaltet werden und bleibt auch nach dem Umschalten in Gnome-disks als Laufwerk angezeigt. Alles sehr merkwürdig.
Ich denke, dass folgendes passiert ist: Im allerersten Beitrag schien bereits 05c6:6000 als ID auf. Ich nehme an, dass du zu diesem Zeitpunkt noch nicht mit der -M Option experimentiert hast. HaJoEg schrieb: xy@xy-HP:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0aa7 Intel Corp. USB Optical Mouse
Bus 001 Device 003: ID 0bda:58ed Realtek Semiconductor Corp. Qualcomm CDMA Technologies MSM
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 025: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
xy@xy-HP:~$
Dann hast du wahrscheinlich das gemacht: elektronenblitz63 schrieb: Versuche
sudo nano /etc/usb_modeswitch.conf
and make DisableSwitching=0 replace with
DisableSwitching=1
and Then create
05c6:6000 on
$ cd /etc/usb_modeswitch.d
wrote on it
aus https://forum.mxlinux.org/viewtopic.php?t=57842
DisableSwitching=1 deaktiviert USB ModeSwitch. Damit bleibt der Datenträgermodus mit der ID 05c6:f000 bestehen. Die angelegte Regel unter 05c6:6000 bleibt wirkungslos, weil USB Modeswitch deaktiviert ist. Die -M Option mit einem Code für Huawei-Sticks bleibt danach natürlich auch erfolglos: HaJoEg schrieb: Also ich habe mir diese Seite nocheinmal angesehn https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=2970 und da steht ja auch etwas von dieser Magic code von dem kB schon mal sprach. Also habe ich das ausprobiert mit dem angegebenen code -M 55534243123456780000000000000011060000000000000000000000000000 (sieht aus wie die Telefonnummer von Xi Jinping) | xy@xy-HP:~$ sudo usb_modeswitch -v 05c6 -p f000-V 05c6 -P 6000 -M 55534243123456780000000000000011060000000000000000000000000000
|
Also meiner Meinung nach hättest du einfach die Standardregeln von USB Modeswitch lassen können. Die Option -K, die jetzt manuell Umschalterfolg bringt, ist in der Standardkonfiguration als "StandardEject=1" ja auch drin. 😉 Warum es auch mit der ID 05c6:6000 nicht funktioniert, müssen wir uns jetzt noch ansehen. Ich denke aber, dass das vielleicht andere Gründe hat, die wir mit den bereits genannten mmcli-Befehlen sehen sollten.
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
Ja danke hakuna matata, ich werde mich damit beschäftigen, Antwort folgt. Das ganze ist matata mingi.
|
hakunamatata
Supporter
Anmeldungsdatum: 30. Juni 2009
Beiträge: 5130
|
Noch ein paar Nachträge:
Ich denke, dass es mit dem Modemmanager prinzipiell funktionieren sollte. Wenn die Erkennung so wie unter 1334099/mobile-broadband-is-unavailable ist, gibt es Chancen das mit udev-Regeln für den Modemmanager anzupassen. Wie man eigene Filter in einer udev-Regel definiert, wäre unter https://www.freedesktop.org/software/ModemManager/api/latest/ref-overview-modem-filter.html beschrieben.
|
HaJoEg
(Themenstarter)
Anmeldungsdatum: 8. Juli 2013
Beiträge: 271
Wohnort: Rwentale
|
Dann hast du wahrscheinlich das gemacht:
elektronenblitz63 schrieb: > Versuche
sudo nano /etc/usb_modeswitch.conf
and make DisableSwitching=0 replace with
DisableSwitching=1
and Then create
05c6:6000 on
$ cd /etc/usb_modeswitch.d
wrote on it aus https://forum.mxlinux.org/viewtopic.php?t=57842
Ja das stimmt, so ist das wenn man nicht genau weiß was man tut. Ich habe das DisableSwitching jetzt wieder auf 0 zurückgesetzt und zumindest mein Huawei Modem läuft jetzt wieder normal. Das Qualcomm Modem erscheint nun auch wieder als 05c6:6000 wird aber nicht erkannt. Und die neuen Listen mit eingestecktem Modem: | xy@xy-HP:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0aa7 Intel Corp. USB Optical Mouse
Bus 001 Device 004: ID 0bda:58ed Realtek Semiconductor Corp. Qualcomm CDMA Technologies MSM
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 015: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
xy@xy-HP:~$
|
| xy@xy-HP:~$ mmcli -L
No modems were found
xy@xy-HP:~$ mmcli -m 0
error: couldn't find modem
xy@xy-HP:~$
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64 | xy@xy-HP:~$ usb-devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 7
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=05.04
S: Manufacturer=Linux 5.4.0-89-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 15 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=05c6 ProdID=6000 Rev=00.00
S: Manufacturer=Qualcomm, Incorporated
S: Product=Qualcomm CDMA Technologies MSM
S: SerialNumber=869035031544212
C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#=0x4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c077 Rev=72.00
S: Manufacturer=Logitech
S: Product=USB Optical Mouse
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#= 3 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=88.32
S: Product=USB2.0 Hub
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=01 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=58ed Rev=00.13
S: Manufacturer=DGENE019I74LRE
S: Product=HP Webcam
S: SerialNumber=200901010001
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#=0x1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
T: Bus=01 Lev=02 Prnt=03 Port=02 Cnt=02 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=8087 ProdID=0aa7 Rev=00.01
C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#=0x1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 6
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=05.04
S: Manufacturer=Linux 5.4.0-89-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
xy@xy-HP:~$
|
| xy@xy-HP:~$ usb_modeswitch -v 0x05c6 -p 0x6000
Look for default devices ...
Found devices in default mode (1)
Access device 015 on bus 001
Error opening the device. Abort
xy@xy-HP:~$
|
Habe den Nachtrag gerade gelesen und infos runtergeladen. Mit Dank
|