LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-30-2006, 02:13 AM   #1
Xaphoid
LQ Newbie
 
Registered: Jul 2006
Location: Saskatoon, SK
Distribution: Kubuntu
Posts: 20

Rep: Reputation: 0
Angry Who owns /dev/input/event0 ?


I've purchased a new Acer Laptop and it has a bunch of buttons (some of them Fn+button) that don't currently do much under Linux. I started digging and some, but not all, report an event to the X server. However they do report events through /dev/input/event0. I would like to put together an interface to actually have them do something. Although I am now stuck. I believe that 'event0' is controlled through HAL and/or D-BUS but I can't find any reference to such. Is this the case or is there a kernel level driver that actually handles it?



Any help would be appreciated!
 
Old 10-30-2006, 07:22 PM   #2
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Archlinux
Posts: 85

Rep: Reputation: 17
the answer to your question is root owns it, just do
Code:
ls -l /dev/input/event0
that will tell you who owns it and who can read and write to it, what you want to find out is who is listening to it. probably nobody, but you can find out by using
Code:
xev
that should bring up a screen and you can type any key on your keyboard and you should get a report back saying what the code for that key is.

come to think of it it might be xenv not xev, i don't remember, i'm not on my linux box, to check i can never rememeber the command, i'll check when i get home

Last edited by ak99505; 10-30-2006 at 07:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/lp0 input cyb0rg777 Programming 3 02-23-2006 11:26 PM
xwindows trouble -no /dev/mouse /dev/input/mice fatblueduck Linux - General 2 06-06-2005 12:03 AM
/dev/dsp input sound jcrcabre Programming 2 05-02-2004 06:28 PM
/dev/dsp input sound jcrcabre Linux - Software 1 05-01-2004 12:17 PM
/dev/input/mice doesn't work Bogdan29 Linux - Newbie 3 05-08-2003 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration