OpenVZ Forum


Home » General » Support » How can I get a usb port to reconnect?
How can I get a usb port to reconnect? [message #39091] Sun, 14 March 2010 15:42
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
I'm able to access my /dev/ttyUSB0 port with an Arduino board attached by including a line like:
DEVNODES="ttyUSB0:rw"
in the configuration file for the container. However if I unplug the device and plug it back in the serial port is no longer accessible from the container. Even if I enter a vzctl statement like:
vzctl set 123 --devnodes ttyUSB0:rw

The device exists in the container but it is no longer connected to the physical port.

The container is running Ubuntu 9.10 and the HN is a centos 5.4 system.

Linux centos5.localdomain.org 2.6.18-128.2.1.el5.028stab064.7 #1 SMP Fri Aug 21 03:03:11 MSD 2009 i686 i686 i386 GNU/Linux

The only way I'm able to get a connection back is to restart the container and getting a 9.10 container to work after booting is no easy task.

Thanks
Jim.

[Updated on: Sun, 14 March 2010 15:44]

Report message to a moderator

Previous Topic: Difference between (h)top on HN and VE
Next Topic: Hardware x64 - Performance
Goto Forum:
  


Current Time: Sat Aug 02 21:53:18 GMT 2025

Total time taken to generate the page: 0.75347 seconds