[linux-audio-user] getting around hotplug (was Re: Keyboard loss @ usb audio disconnect)
ross at jose.lug.udel.edu
Thu Nov 17 11:50:22 EST 2005
On Wed, Nov 16, 2005 at 12:59:14PM -0500, Lee Revell wrote:
> This sounds like a huge waste of time - rather than abandoning something
> as immensely useful as hotplug, just get the bug in the USB driver
> fixed! AFAICT all the people having this problem are using really old
> kernels anyway. It's idiotic to abandon hotplug just because you don't
> want to upgrade your kernel to fix a known bug.
Whoa, hang on. I don't have the problem identified by the original
poster. I'm just a thread hijacker ::-).
My particular bias against hotplug is two-fold:
1) It is far more difficult to understand than /etc/rc.d
2) The only USB device I have is a MIDI interface, which I
just want to leave plugged in.
#1 - sometimes, hotplug doesn't "coldplug" my device properly. I
don't really know why, and re-plugging the thing in usually works.
I don't understand why they should be different processes.
It's a minor headache that I'd rather just relieve with a shell
script. Problem is, my Midisport needs firmware loaded. I need to
make use of hotplug's firmware facilities, since I cannot predict
where in /proc/bus/usb/ the device node will appear.
#2 - I don't need hotplugging! This is a desktop machine that never
changes. I have all of one device. hotplug seems a little like
overkill in my degenerate (but probably very common) case.
Trust me - if I was losing mouse and keyboard, I'd be all over that
ross at lug.udel.edu
"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
More information about the Linux-audio-user