Re: USB script

Bradley M Keryan (keryan@andrew.cmu.edu)
Sat, 1 May 1999 13:45:40 -0400 (EDT)


On 1 May 1999, Miquel van Smoorenburg wrote:

>
> Why can't uhci-control just write a /var/run/uhci-control.pid like
> most other daemons. Then you can simply kill `cat /var/run/uhci-control.pid`.
> Or even better, start-stop-daemon --stop --signal HUP --pidfile \
> /var/run/uhci-control.pid uhci-control
>

Because it's a kernel thread. This is so that USB device
detection/enumeration can be done asynchronously (some operations result
in long delays, so it can't be done inside the interrupt handler, nor
should it be).

Speaking of threads, I think this one is getting just a tiny bit off-topic
:)

Brad

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/