linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Udev plus keyboard and mouse (fedora core 5)
@ 2006-05-08 16:03 Nkwebi Peace
  2006-05-08 18:24 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nkwebi Peace @ 2006-05-08 16:03 UTC (permalink / raw)
  To: linux-hotplug


Hello everyone.. I need help with identifying device files
for my keyboard and mouse..I am trying to write a c program
to retrieve access times for my keyboard and mouse and
wanted to do it using the stat() system call which require
the file name for each devive file...If they is a better
way to do it please help with that..The reason I am asking
is because the /dev drive seems to be populated with many
ttyXXX files and I can't identify which is which.. The
/dev/input directory also has many files and I can't seem
to locate the correct one.. I am running fedora core 5,
which I understand uses udev for handling device files and
their naming..

The other question I wanted to ask is whether the dynamic
naming of device files also applies to the keyboard and
mouse, and can one handle that in a program if device file
names are not kept static using the udev rules..I am not
really a fan for udev rules, though I had to use them for
my external NTFS harddisk and memory stick..

Thanking you in advance...
___________________________________________________________________
For super low premiums, click here http://www.webmail.co.za/dd.pwm

http://www.webmail.co.za the South African FREE email service


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-09 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-08 16:03 Udev plus keyboard and mouse (fedora core 5) Nkwebi Peace
2006-05-08 18:24 ` Greg KH
2006-05-09  6:53 ` Nkwebi Peace
2006-05-09 16:50 ` Darren Salt
2006-05-09 20:14 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).