Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
digitalfarm
Posts: 12
Joined: 05 Feb 2011, 19:42

Read-only usb_modeeswitch.conf ?

Post by digitalfarm » 31 Dec 2011, 03:51

Why can't I modify usb_modeeswitch.conf . I need it to enter my device configuration on Ubuntu 11.10 this also happens in fedora which already had usb_modeswitch installed. It shows up as read-only and I can't edit it in text editor.

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 31 Dec 2011, 09:31

Don't use /etc/usb_modeswitch.conf for device configuration.

Create a new file named "<your_vendor_id>:<your_product_id>" in the folder "/etc/usb_modeswitch.d".
Then add a line for your device in "/lib/udev/rules.d/40-usb_modeswitch.rules".
Do all this as "root" or with "sudo".

You can also check if the current data package on this site is more recent than your's; it may support your device already.


Post Reply