How to stop USB hotpluging?
I have a problem with a engine-driver that is connected via usb2serial adapter to a usb port on an Acer laptop. The thing is that sometimes, the engine-driver gives a signal that the ehci_hcd (the kernel) interprets like a disconnection followed by a new connection. So the kernel remounts the device in a new ttyUSB# and all my programs that are accessing to the device hung.
I thought that if I could stop, at executing time, the hotplug feature from the usb modules, the problem will be concluded.
Does anybody know if there is any way to stop hotpluging? I don't know perhaps in any flags from /sys/ filesystem...
My kernel version is 126.96.36.199 in a Fedora Core 7.
Thanks in advance,