tutu10 wrote:I wonder if there's any kind of "exception" for usb-modeswitch so it doesn't turn my mobile to serial device.
Thanks for help.
There are several ways to do that.
1. The global approach
- affects all USB modems etc.:
Edit "/etc/usb_modeswitch.conf" and change
That should be OK as long as you don't use USB modems or other USB devices that have their Windows drivers on-board.
2. The 'smart' approach
- affects only your phone:
Create a file in "/etc/usb_modeswitch.d" named after the USB ID of your phone (before the mode switch), for instance "12d1:3c4d". Edit the file and put in this:
Code: Select all
# Hands off my phone! Do nothing for ID 12d1:3c4d
The comment line on top is optional, of course.
To determine the USB ID of the phone in un-switched mode, disable mode-switching globally (termporarily) as described in 1.
, then plug in your phone, then run the command "lsusb" in a terminal window. It's likely that you will discover your phone in the result list, along with its ID.
If you have trouble with that, post the result list here.