From: Stefan L. <hoi...@gm...> - 2004-03-25 12:24:06
|
Pearless wrote: > Hmm, > > Further searching of the archives showed how dmesg seems to help. > > When I pressed "Power" on the remote I got the following back from dmesg: > > saa7134[0]: build_key gpio=0x79000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x79000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x79000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > > and "Volume +" gives: > > saa7134[0]: build_key gpio=0xa079000 mask=0xec00000 data=20 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0xa079000 mask=0xec00000 data=20 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > > and "Volume -" gives: > > saa7134[0]: build_key gpio=0xac79000 mask=0xec00000 data=23 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0xac79000 mask=0xec00000 data=23 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > > and "CH +" gives: > > saa7134[0]: build_key gpio=0x8879000 mask=0xec00000 data=18 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x8879000 mask=0xec00000 data=18 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > > and "CH -" gives: > > saa7134[0]: build_key gpio=0x8c79000 mask=0xec00000 data=19 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > saa7134[0]: build_key gpio=0x8c79000 mask=0xec00000 data=19 > saa7134[0]: build_key gpio=0x39000 mask=0xec00000 data=0 > > So it seems that the gpio is producing output based on key presses but I am > a bit of a loss how to use LIRC to process these!!! > > Or should I be using lircd --device=/dev/input/event<n> ??? > > I am certainly getting a bit confused! In an older mail ( http://sourceforge.net/mailarchive/message.php?msg_id=6141979 ) I described how I got it working, and back then somebody replied that my route also worked for his flyvideo3000, so I guess it's worth a try. It's probably best if you read the complete thread (search the archive for eventx to find all mails from the thread), maybe you can directly use the config file posted there |