Re: Linux Input Layer messing with my IR remote ..
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Tue, 29 Aug 2006 14:30:29 -0500
On Tue, 29 Aug 2006 19:11:32 +0200, eb staggered into the Black Sun and
said:
With a previous kernel, I did not have this problem, and [I] don't
know where to look.
What's the output of "uname -a"? What's the output of "lsmod"?
I have an infrared remote. I can properly load the lirc_gpio module,[snip]
and link [the] lirc daemon to say, mplayer commands. The problem is
that the Linux Input Layer takes the IR signal as well, and acts as if
I was pressing some key on a multimedia keyboard [as well as sending
an lircd event].
Here is the content of /proc/bus/input/devices
I: Bus=0001 Vendor=1461 Product=0771 Version=0001
N: Name="bttv IR (card=123)"
P: Phys=pci-0000:01:08.0/ir0
S: Sysfs=/class/input/input2
H: Handlers=kbd
This is a little strange. I certainly don't have anything like that for
my IR remote, but mine is an ATi USB remote, not a remote that's plugged
into a bttv card. There's some stuff about IR in
drivers/media/video/bttv* , but I'm not sure how it all fits in with the
input layer.
This is part of my modules.conf
bttv pll=1,1 card=1,123 tuner=3,4 bttv_gpio=0,0 dvb-bt8xx
lirc_gpio gpio_mask=0xf00f0 gpio_lock_mask=0x20 gpio_xor_mask=0xf00f0
soft_gap=0 sample_rate=10 debug=1 card=1
What could I possibly do to get rid of the Linux Input Layer (for IR,
that is ...), and let lircd alone ?
Very good question. Since it's being seen as a keyboard, the quick
hackish fix of chmodding the thing's device node won't work. I'd guess
the solution would lie in the parameters you feed to bttv, but I don't
know where to start there--possibly because I'm using 2.6.15.6 here, and
you're probably using something newer. Ah well, answer the questions
posed above, and you might get some better help.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / I don't practice what I preach, because I'm
-----------------------------/ not the kind of person I'm preaching to.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Recommendations for 939 motherboard
- Next by Date: Re: Recommendations for 939 motherboard
- Previous by thread: Linux Input Layer messing with my IR remote ..
- Next by thread: Re: Linux Input Layer messing with my IR remote ..
- Index(es):
Relevant Pages
|