> -----Original Message-----
> From: Jan de Groot [mailto:[EMAIL PROTECTED]
> Sent: 14 June 2005 16:22
> To: General Discusson about Arch Linux
> Subject: Re: [arch] udev update
> 
> On Tue, 2005-06-14 at 14:02 +0100, Philip Dillon-Thiselton wrote:
> > I think the udev update has somehow broken some functionality in
> > gensplash.  Previously it was possible to use F2 via evdev to switch
> > between 2 virtual consoles during startup.  Here's the code that enables
> > evdev for gensplash (it's not fully implemented):
> >
> > splash_evdev_prep()
> > {
> >     if [[ -e /lib/modules/`uname -r`/kernel/drivers/input/evdev.ko ]] ;
> then
> >         modprobe evdev
> >         local t=$(grep -Hsi keyboard
> > /sys/class/input/event*/device/driver/description | grep -o 'event[0-
> 9]\+')
> >          if [[ -n "${t}" ]]; then
> >              splash_comm_send "set event dev /dev/input/${t}"
> >          fi
> >     fi
> > }
> >
> > I can only guess that the new udev has screwed this up somehow - i
> > switched back to the previous -3 release and it is fine.  I wonder if
> > some side effect has been overlooked in the updated udev code?
> >
> > Phil
> >
> > _______________________________________________
> > arch mailing list
> > [email protected]
> > http://www.archlinux.org/mailman/listinfo/arch
> 
> The new udev has /sbin/udevsend as hotplug event program
> in /proc/sys/kernel/hotplug. Having /sbin/hotplug in there breaks hal on
> newer kernels. On older kernels, this problem does not occur.
> 
> 
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch
> 

So, /sbin/hotplug has been deprecated in favour of /sbin/udevsend in Arch.
But why has that broken my evdev function?  I don't use hotplug.

With the new udev installed I can still get a result from 
grep -Hsi keyboard /sys/class/input/event*/device/driver/description | grep
-o 'event[0-9]\+'

but it is not working during boot when it is required - has the changed
affected how the paths are initially generated maybe?  I know little about
how udev works so I'm asking in case it is obvious!

Phil



_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to