Re: udev, init.d and a daemon

2009-08-11 Thread Marco d'Itri
On Aug 11, "Giacomo A. Catenazzi" wrote: > uinput is "input from userspace", so no hardware. > But probably CONFIG_INPUT_UINPUT must be set "y" on debian kernels. This is not so obvious. Looks like you should load the module from the init script (and please do not bother removing it on shutdown,

Re: udev, init.d and a daemon

2009-08-11 Thread Petter Reinholdtsen
[Giacomo A. Catenazzi] > Problems: > - How to force the deamon to be loaded BEFORE xorg in insserv? > I don't find a "before of" dependency in LSB headers The header is X-Start-Before. In this case, I would use an entry like this: # X-Start-Before: xdm kdm gdm ldm sdm to make sure your scr

Re: udev, init.d and a daemon

2009-08-11 Thread Giacomo A. Catenazzi
Marco d'Itri wrote: On Aug 11, "Giacomo A. Catenazzi" wrote: - How to handle the common case: keyboard is already attached (daemon is in /usr filesystem), with udev. cd /lib/udev/ . ./hotplug.functions wait_for_file /dev/log Thanks. I was looking for such function since years! - How

Re: udev, init.d and a daemon

2009-08-11 Thread Marco d'Itri
On Aug 11, "Giacomo A. Catenazzi" wrote: > - How to handle the common case: keyboard is already attached > (daemon is in /usr filesystem), with udev. cd /lib/udev/ . ./hotplug.functions wait_for_file /dev/log > - How to load uinput module? Actually I modprobe and I pool I expect that it woul

udev, init.d and a daemon

2009-08-11 Thread Giacomo A. Catenazzi
Hello, I've a problem designing a boot script, and I find no example. The problem: - Logitech G15 (and like) USB keyboards have a LCD display and few (or lots) extra keys - g15daemon is a deamon need to handle the display, and to handle the extra keys in xorg (xkb-data (>= 0.9+cvs.20070428-1