Successo (quasi) totale un debian, che almeno dopo l'avvio di Win vedeva corrattamente la chiavetta.
- Codice: Seleziona tutto
debian:~# lsusb
Bus 002 Device 002: ID 03f0:3404 Hewlett-Packard DeskJet 6122
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 12d1:[b]1446[/b] Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
debian:~# usb_modeswitch
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 004 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Could not get INQUIRY response (error -16)
Device description data (identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("usbfs")
OK, driver "usbfs" detached
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
OK, message successfully sent
Device is gone, skipping further steps ...
Checking for mode switch after 5 seconds settling time ...
Original device can't be accessed anymore. Good.
Found a new device in target mode or class
Mode switch succeeded. Bye.
debian:~# lsusb
Bus 002 Device 002: ID 03f0:3404 Hewlett-Packard DeskJet 6122
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 12d1:[b]140c[/b] Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Mi resta da chiarire una cosa, poi vedo di applicare il tutto anche a Slack.
LA regola di udev non sembra funzionare. Ho lanciato rmmod usb_storage
e quindi usb_modeswitch a mano e ha funzionato.
Forse c'è ancora qualcosa da perfezionare per rendere automatico
il processo di creazione del dispositivo...
Intanto grazie mille
Domani provo con Slacke so dire...
M.