lkml.org 
[lkml]   [1999]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB script
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.051 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site