Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
timonti

Device unidentifed while hotplugging

Post by timonti » 14 May 2013, 11:33

Hi,

I am currently using the latest version of Ubuntu (13.04).

usb_modwswitch manages to switch my device as a modem, if my device is already connected before boot. However, it doesn't seem to make the switch when the device is hotplugged.

I have raised a bug on launchpad for the package. https://bugs.launchpad.net/ubuntu/+sour ... ug/1178900

I don't face any such issue when Fedora 18 is installed on my system. Am not sure what's happening here.

Help would be highly appreciated.

Regards,
Mehrzad

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

Re: Device unidentifed while hotplugging

Post by Josh » 20 May 2013, 14:08

As this is obviously an Ubuntu-specific problem, we can't help from here.

You can still try to uninstall the Ubuntu packages and try the source packages from here. There shouldn't be any conflicts.

fedorowp
Posts: 3
Joined: 30 May 2013, 23:08

Re: Device unidentifed while hotplugging

Post by fedorowp » 06 Jun 2013, 21:24

In order for hot-plug to work under Ubuntu 13.04, and likely other new-ish Linux distros:

1. Create /etc/modprobe.d/usbmodeswitch.conf containing:
# Tell usb-storage to ignore the phone
options usb-storage quirks=<device vendor>:<device id>:i

2. update-initramfs -u

3. To have the change take effect, either reboot or 'rmmod usb_storage'.

I believe this solution is applicable for any device usb-storage interferes with, including most phones.

Post Reply