USB hotplugging does not work with microcontrollers

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

USB hotplugging does not work with microcontrollers

Arno Trautmann
Hi all,

I guess it's a rather simple problem but I was not able to find any help
regarding this specificly:

I have a micocontroller (Arduino Uno and Pro Mini) that communicates via
USB with my X61s, Arch Linux. If the connection is made while booting,
everything is fine. But unplugging and replugging the device, it's not
listed in /dev anymore. On unplugging, dmesg gives:

[  761.318271] usbcore: registered new interface driver usb-storage
[ 1045.093414] usb 5-1: USB disconnect, device number 2
[ 1045.093655] cp210x ttyUSB0: cp210x converter now disconnected from
ttyUSB0
[ 1045.093675] cp210x 5-1:1.0: device disconnected

On replugging, dmesg doesn't report anything.
With a webcam, hotplugging does work. So I'm not sure where exactly to
look for a solution.
Any hint about how to solve this would be highly apperciated!

Best,
Arno
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
Reply | Threaded
Open this post in threaded view
|

Re: USB hotplugging does not work with microcontrollers

Arno Trautmann
Sorry, nevermind, the latest updated fixed it appareantly …

On 11/23/2014 10:53 AM, Arno Trautmann wrote:

> Hi all,
>
> I guess it's a rather simple problem but I was not able to find any help
> regarding this specificly:
>
> I have a micocontroller (Arduino Uno and Pro Mini) that communicates via
> USB with my X61s, Arch Linux. If the connection is made while booting,
> everything is fine. But unplugging and replugging the device, it's not
> listed in /dev anymore. On unplugging, dmesg gives:
>
> [  761.318271] usbcore: registered new interface driver usb-storage
> [ 1045.093414] usb 5-1: USB disconnect, device number 2
> [ 1045.093655] cp210x ttyUSB0: cp210x converter now disconnected from
> ttyUSB0
> [ 1045.093675] cp210x 5-1:1.0: device disconnected
>
> On replugging, dmesg doesn't report anything.
> With a webcam, hotplugging does work. So I'm not sure where exactly to
> look for a solution.
> Any hint about how to solve this would be highly apperciated!
>
> Best,
> Arno

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad