Re: Linux Input Layer messing with my IR remote ..
- From: eb <eb@xxxxxxxxxxx>
- Date: Wed, 30 Aug 2006 20:21:56 +0200
Hope this sheds some light ...
fanless ~ $ uname -a
Linux fanless 2.6.17-gentoo-r4 #1 Tue Aug 15 21:13:09 CEST 2006 x86_64 AMD
Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/Linux
fanless ~ # lsmod
Module Size Used by
nvidia 5428884 12
snd_rtctimer 3936 1
snd_seq_oss 36352 0
snd_seq_midi_event 8448 1 snd_seq_oss
snd_seq 56384 5 snd_seq_oss,snd_seq_midi_event
snd_seq_device 9872 2 snd_seq_oss,snd_seq
snd_pcm_oss 45344 0
snd_mixer_oss 18816 1 snd_pcm_oss
snd_intel8x0 36712 0
snd_ac97_codec 107928 1 snd_intel8x0
snd_ac97_bus 3008 1 snd_ac97_codec
snd_pcm 95308 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 24968 3 snd_rtctimer,snd_seq,snd_pcm
snd 64296 11
snd_rtctimer,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 11280 2 snd_intel8x0,snd_pcm
nls_iso8859_1 5568 2
nls_cp437 7296 2
vfat 14464 2
fat 55280 1 vfat
lirc_gpio 11536 0
lirc_dev 16328 1 lirc_gpio
dvb_bt8xx 17540 0
nxt6000 8132 1 dvb_bt8xx
mt352 7876 1 dvb_bt8xx
dvb_pll 14276 1 dvb_bt8xx
sp887x 8452 1 dvb_bt8xx
dst_ca 16192 1 dvb_bt8xx
dst 26948 2 dvb_bt8xx,dst_ca
bt878 12776 2 dvb_bt8xx,dst
dvb_core 86108 2 dvb_bt8xx,dst_ca
cx24110 9220 1 dvb_bt8xx
or51211 10372 1 dvb_bt8xx
lgdt330x 9116 1 dvb_bt8xx
tuner 58284 0
tvaudio 27612 0
bttv 201780 3 lirc_gpio,dvb_bt8xx,bt878
video_buf 27908 1 bttv
firmware_class 11712 4 dvb_bt8xx,sp887x,or51211,bttv
ir_common 29956 1 bttv
compat_ioctl32 9472 1 bttv
i2c_algo_bit 9672 1 bttv
v4l2_common 18048 3 tuner,bttv,compat_ioctl32
btcx_risc 5768 1 bttv
tveeprom 18064 1 bttv
videodev 11968 1 bttv
it87 25380 0
hwmon_vid 3840 1 it87
i2c_isa 6208 1 it87
forcedeth 29836 0
nfs 221680 0
lockd 67152 1 nfs
sunrpc 168712 2 nfs,lockd
ata_piix 14084 0
sata_vsc 9668 0
sata_sis 9348 0
sata_sx4 14852 0
sata_nv 11524 2
sata_via 9924 0
sata_svw 9156 0
sata_sil 11784 0
sata_promise 13636 0
libata 75224 9
ata_piix,sata_vsc,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil,sata_promise
sbp2 24968 0
ohci1394 34376 0
ieee1394 105976 2 sbp2,ohci1394
ohci_hcd 21060 0
uhci_hcd 23960 0
usb_storage 71040 2
usbhid 42912 0
ehci_hcd 33032 0
Dances With Crows wrote:
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.
.
- References:
- Linux Input Layer messing with my IR remote ..
- From: eb
- Re: Linux Input Layer messing with my IR remote ..
- From: Dances With Crows
- Linux Input Layer messing with my IR remote ..
- Prev by Date: Problem with Adaptec AHA-2940U2/U2W
- Next by Date: Re: Recommendations for 939 motherboard
- Previous by thread: Re: Linux Input Layer messing with my IR remote ..
- Next by thread: Problems trying to get Flash Card's serial number, reading with a USB Storage reader.
- Index(es):
Relevant Pages
|
|