[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/event0 missing



On Fri, 2005-11-18 at 12:15 -0200, Otavio Salvador wrote:
> Marcus Better <marcus@better.se> writes:
> 
> > Hello,
> >
> > I am the maintainer of input-utils. A user reported a problem (bug
> > #326149) on the powerpc architecture that I need some help
> > investigating, since I don't have a ppc machine.
> >
> > Apparently on his system the event devices start at /dev/input/event1,
> > and there is no /dev/input/event0. Can someone confirm if this is always
> > the case on ppc?
> 
> Yes, I have the same. Look
> 
> otavio@ibook:~$ ls /dev/input/event* -l
> crw-rw----  1 root root 13, 69 2005-11-18 10:12 /dev/input/event5
> crw-rw----  1 root root 13, 70 2005-11-18 10:12 /dev/input/event6
> crw-rw----  1 root root 13, 71 2005-11-18 10:12 /dev/input/event7
> 
> otavio@ibook:~$ uname -a
> Linux ibook 2.6.15-rc1-20051118-g2cdce0d1 #1 PREEMPT Fri Nov 18 10:02:09 BRST 2005 ppc GNU/Linux

I have that here too, but it's weird, I think it might be yet another
udev bug.

benh@gaston:~/kernels/linux-work$ ls -l /dev/input/
total 0
crw-rw----  1 root root 13, 68 2005-11-15 17:36 event4
crw-rw----  1 root root 13, 63 2005-11-15 17:35 mice

That's all ! As you can see, a lot of stuff is missing there:

benh@gaston:~/kernels/linux-work$ ls -l /sys/class/input/
total 0
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 event0 -> ../../class/input/input0/event0
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 event1 -> ../../class/input/input1/event1
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 event2 -> ../../class/input/input2/event2
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 event3 -> ../../class/input/input3/event3
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 event4 -> ../../class/input/input4/event4
drwxr-xr-x  6 root root 0 2005-11-15 17:35 input0
drwxr-xr-x  5 root root 0 2005-11-15 17:35 input1
drwxr-xr-x  5 root root 0 2005-11-15 17:35 input2
drwxr-xr-x  6 root root 0 2005-11-15 17:35 input3
drwxr-xr-x  5 root root 0 2005-11-15 17:37 input4
drwxr-xr-x  2 root root 0 2005-11-15 17:35 mice
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 mouse0 -> ../../class/input/input0/mouse0
lrwxrwxrwx  1 root root 0 2005-11-19 10:44 mouse1 -> ../../class/input/input3/mouse1

So I think it's udev that is broken (version 0.074-2 from sid)

Ben.




Reply to: