Δημοσιεύτηκε: 05 Δεκ 2011, 21:50
- Κώδικας: Επιλογή όλων
hliasmdp@hliasmdp-HP-Pavilion-dv7-Notebook-PC:~$ sudo gedit /etc/usb_modeswitch.conf
[sudo] password for hliasmdp:
(gedit:3205): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Αποτυχία δημιουργίας αρχείου '/root/.local/share/recently-used.xbel.YTEK5V': Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
(gedit:3205): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
(gedit:3205): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Αποτυχία δημιουργίας αρχείου '/root/.local/share/recently-used.xbel.URLX5V': Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
(gedit:3205): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
(gedit:3205): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Αποτυχία δημιουργίας αρχείου '/root/.local/share/recently-used.xbel.022Q5V': Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
(gedit:3205): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
hliasmdp@hliasmdp-HP-Pavilion-dv7-Notebook-PC:~$ usb_modeswitch
Usage: usb_modeswitch [-hvpVPmMrndHSOGATRIQWDiua] [-c filename]
-h, --help this help
-e, --version print version information and exit
-v, --default-vendor NUM vendor ID of original mode (mandatory)
-p, --default-product NUM product ID of original mode (mandatory)
-V, --target-vendor NUM target mode vendor ID (optional)
-P, --target-product NUM target mode product ID (optional)
-C, --target-class NUM target mode device class (optional)
-m, --message-endpoint NUM direct the message transfer there (optional)
-M, --message-content <msg> message to send (hex number as string)
-2 <msg>, -3 <msg> additional messages to send (-n recommended)
-n, --need-response read response to the message transfer (CSW)
-r, --response-endpoint NUM read response from there (optional)
-d, --detach-only detach the active driver, no further action
-H, --huawei-mode apply a special procedure
-S, --sierra-mode apply a special procedure
-O, --sony-mode apply a special procedure
-G, --gct-mode apply a special procedure
-N, --sequans-mode apply a special procedure
-A, --mobileaction-mode apply a special procedure
-T, --kobil-mode apply a special procedure
-L, --cisco-mode apply a special procedure
-R, --reset-usb reset the device after all other actions
-Q, --quiet don't show progress or error messages
-W, --verbose print all settings and debug output
-D, --sysmode specific result and syslog message
-s, --success <seconds> switching result check with timeout
-I, --no-inquire do not get SCSI attributes (default on)
-c, --config-file <filename> load configuration from file
-i, --interface NUM select initial USB interface (default 0)
-u, --configuration NUM select USB configuration
-a, --altsetting NUM select alternative USB interface setting
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.9 (C) Josua Dietze 2011
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
hliasmdp@hliasmdp-HP-Pavilion-dv7-Notebook-PC:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 090c:c371 Feiya Technology Corp.
Bus 002 Device 004: ID 12d1:14ac Huawei Technologies Co., Ltd.