but reported that the device switched (successfully) with the commandI've just got a generic QualComm modem which reports as the infamous 05c6:1000
Code: Select all
/usr/sbin/usb_modeswitch -W -v 05c6 -p 1000 -K
1)
andPlease tell what the usb id is after the device has switched mode, the config file depends on that. Do also include the output of the cmd: sudo lsusb -vd 05c6:1000
2)
so you couldThere are a lot of entries for 05c6:1000 in the usb_modeswitch data package but they are not only matched by the initial usb id, they are also matched by the mfgr name string.
Reason for that is that they switch into a different VID (TargetVendor) than 05c6 so we need a unique file for each of them.
Reason for not having a generic 05c6:1000 is that we would then hit all other devices with that id, devices which we don't want to handle ..
................. because they are handled by other software and sometimes also using a different switch method than a standard eject.
1) get tell us what the usb id is after the device has switched mode and I understand that to mean
Code: Select all
lsusb
Code: Select all
sudo lsusb -vd 05c6:1000
butI don't think it is possible to add the generic 05c6:1000 to a distributed usb_modeswitch data package, the vendor, product, or manufacturer strings are unfortunately not unique.
(I take him to mean the file should be called 05c6:1000.conf and I would use gedit if I were doing this; I would open gedit withThere is however nothing preventing you from using a proprietary config file on your own computer, it should contain:
TargetVendor=0x05c6
TargetProduct=0x6000
StandardEject=1
The file should be named 05c6:1000 and placed in the /etc/usb_modeswitch.d directory
Code: Select all
gksudo gedit 05c6:1000.conf
would't it be wonderful if Cinnamon was less buggy after that?