public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <linux-kernel@24x7linux.com>
To: kraxel@bytesex.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6 input drivers FAQ (ir-kbd-gpio.ko)
Date: Sun, 1 Feb 2004 22:54:38 +0100	[thread overview]
Message-ID: <20040201215438.GA8937@localhost> (raw)
In-Reply-To: <20040201100644.GA2201@ucw.cz>

On Sunday, 01 February 2004, at 11:06:44 +0100,
Vojtech Pavlik wrote:

> Common problems and solutions with 2.6 input drivers:
> Problem:
> ~~~~~~~~
> I've read through the whole file, and it did not help me at all!
> 
The following is not a problem, but a question I have been unable to
answer by myself. Is with respect to the recent addition of "input layer
based support for infrared remote controls", mainly for use with TV
tuner cards based on bttv.

Gerd Knorr did the patch that was integrated into mainstream as
ChangeSet 1.1474.131.296, and I was trying to use the new standard
driver instead of the ported one from 2.4.x, which I got from LIRC
mailinglists, and has been working OK with 2.5.x and 2.6.x.

If I load the new kernel modules ir_kbd_gpio and ir_common I get in the logs:
ir-kbd-gpio: bttv IR (card=41) detected at pci-0000:00:0b.0/ir0

And from /proc/bus/input/devices:
I: Bus=0001 Vendor=1461 Product=0001 Version=0001
N: Name="bttv IR (card=41)"
P: Phys=pci-0000:00:0b.0/ir0
H: Handlers=kbd event3 
B: EV=100003 
B: KEY=c304 80100040 0 0 30000 0 2008000 80 1 9e0000 7bb80 0 0 

So everything seems to be detected OK. But when I start lircd 0.6.6-7,
it seems to come up fine, but as soon as any application tries to get
keypresses from /dev/lirc the daemon exists, because of:
could not open /dev/lirc

So it seems the new kernel driver for TV capture card based remote
controls doesn't use /dev/lirc as the place to "send" events from which
applications read them.

I have downloaded LIRC from CVS (0.7.0pre1), tried to compile it with little 
overall success, and started "lircd --device=/dev/lircd --nodaemon".
Next I started "irw" to show "keypresses" on the screen, and the daemon
doesn't complain, but nothing seems to be received neither.

So the question is, is something unusual needed to make the remote work
with the recently added ir-kbd-gpio.ko ?.

Greetings.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.2-bk3)

  parent reply	other threads:[~2004-02-01 21:54 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-01 10:06 2.6 input drivers FAQ Vojtech Pavlik
2004-02-01 13:15 ` Andries Brouwer
2004-02-01 13:50   ` Vojtech Pavlik
2004-02-01 15:14     ` Andries Brouwer
2004-02-02  9:35       ` Vojtech Pavlik
2004-02-02  9:43       ` Vojtech Pavlik
2004-02-01 13:51   ` Marcel J.E. Mol
2004-02-01 15:18     ` Andries Brouwer
2004-02-01 15:25 ` Andreas Jellinghaus
2004-02-01 15:56   ` Peter Osterlund
2004-02-01 16:58     ` Andreas Jellinghaus
2004-02-01 21:54   ` Vojtech Pavlik
2004-02-01 16:31 ` Joshua Kwan
2004-02-01 18:23   ` Gene Heskett
2004-02-02 16:45     ` Valdis.Kletnieks
2004-02-02  5:27   ` Valdis.Kletnieks
2004-02-02  9:23     ` Vojtech Pavlik
2004-02-02 18:12       ` Valdis.Kletnieks
2004-02-02 20:18         ` Vojtech Pavlik
2004-02-02 20:24           ` Joshua Kwan
2004-02-02 21:16             ` Vojtech Pavlik
2004-02-02 20:28           ` Valdis.Kletnieks
2004-02-02 21:19             ` Vojtech Pavlik
2004-02-02  9:24   ` Vojtech Pavlik
2004-02-02  9:29     ` Joshua Kwan
2004-02-01 21:54 ` Jose Luis Domingo Lopez [this message]
2004-02-02 10:27   ` 2.6 input drivers FAQ (ir-kbd-gpio.ko) Gerd Knorr
2004-02-16 22:42   ` Pavel Machek
2004-02-16 23:36     ` Arkadiusz Miskiewicz
2004-02-17  9:33     ` Gerd Knorr
2004-02-02 17:50 ` 2.6 input drivers FAQ Jesse Barnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040201215438.GA8937@localhost \
    --to=linux-kernel@24x7linux.com \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox