On Tue, 16 Apr 2002 14:34, Steve Bangert wrote: > Brad Hards wrote: > > On Tue, 16 Apr 2002 14:02, Steve Bangert wrote: > > > Brad Hards wrote: > > > > On Tue, 16 Apr 2002 12:54, Steve Bangert wrote: > > > > > I just get characters on the terminal when i press the speaker > > > > > buttons (only with the Redhat kernel and "No such device" with > > > > > pre-6 > > > > > > > > Try reading /dev/input/event0 (or later numbers if you have other > > > > devices like a keyboard or mouse plugged in. > > > > > > [root@localhost skb]# cat /dev/input/event1 > > > cat: /dev/input/event1: No such device > > > > > > I tried this up to event4 with the same results > > > > Did you try event0? What happened (was it the mouse?). > > Do you have event support compiled and modprobed? > > Ok i've loaded the module, and now i get : > > [root@localhost input]# cat /dev/input/event0 > ©»<a.s©»<¢;s©»<M] ©»<Ê ©»<µ× ©»< ¬ > ©»<N ©»<Ï > ©»<_ ©»<$ ©»<Ë ©»< ©»< ©»< ©»< I ©»< À > ©»<IO ©»<º½ ©»<°. ©»< ©»<õ; ©»<â ©»<L If this is the speakers buttons, then it works :)
I haven't finished the documentation for event interface yet, but you can use the evtest.c application (in the linuxconsole CVS - http://linuxconsole.sf.net) to see these in more detail. Brad _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users