Re: [mythtv-users] Repeat problems with ati_remote in 2.6 kernel

2004-12-28 Thread Mike Isely
On Tue, 28 Dec 2004, Dave Steinberg wrote:

>
> Hi all,
>
> Yesterday, I upgraded my myth box to a 2.6.10 kernel, from 2.4.26.  Almost
> eeverything has gone very smoothly, with just one outstanding problem.
>
> I had been happily using the 2.1.1 ati_remote driver from the GATOS
> project, without lirc.  I'm now using the follow-on that's included in the
> 2.6 kernel.
>
> I noticed that many of the keycodes have changed, but that was no problem:
> I just used xev to get them all, and updated my .xmodmaprc.  One odd thing
> is that I'm no longer getting a keypress from the channel + and - buttons.

   [...]

>
> Has anyone had any luck using the ati_remote driver in 2.6?  Anyone seen
> these kinds of problems, or better yet, solved them?


At least for the chan+/- problem I've also noticed it in 2.6.9.  The
ati_remote driver that is part of that kernel source is in fact generating
/dev/input events for everything but they aren't all getting translated
into X events.  You can prove this by running evtest against
/dev/input/eventX ("X"=device allocated for your ATI remote) and hitting
some buttons.  (In Debian, evtest is packaged with dvb-utils.)  You'll see
every button generates events.  But then try xev and chan+ and chan- won't
trigger anything there.

That's as far as I've gotten.  Unfortunately I can suggest nothing yet as
a solution.  I've been too distracted by other issues to continue pursuing
this one.

  -Mike

-- 
| Mike Isely  | PGP fingerprint
 Spammers Die!! | | 03 54 43 4D 75 E5 CC 92
|   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
| |
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Repeat problems with ati_remote in 2.6 kernel

2004-12-28 Thread Phill Edwards
> Yesterday, I upgraded my myth box to a 2.6.10 kernel, from 2.4.26.  Almost
> eeverything has gone very smoothly, with just one outstanding problem.
> 
> I had been happily using the 2.1.1 ati_remote driver from the GATOS
> project, without lirc.  I'm now using the follow-on that's included in the
> 2.6 kernel.
> 
> I noticed that many of the keycodes have changed, but that was no problem:
> I just used xev to get them all, and updated my .xmodmaprc.  One odd thing
> is that I'm no longer getting a keypress from the channel + and - buttons.
> 
> The real problem, though, is the repeat behaviour.  I'm finding that it's
> very easy to accidentally get a double keypress.  If I press 2 or 3 times
> in a row, I'll get 6 or 8 presses.  It makes things pretty hard to
> control.  I'd guess that the repeat functionality that's shown up since
> the old driver is supposed to allow me to hold down a button and get rapid
> repeats, but if I do that, it keeps going well after I stop pressing it.
> 
> Here's what's logged when I load the module:
> 
> Dec 28 13:25:51 myth kernel: ati_remote 2-2:1.0: Input registered: X10 
> Wireless Technology Inc USB Receiver on usb-:00:02.0-2
> Dec 28 13:25:51 myth kernel: usbcore: registered new driver ati_remote
> Dec 28 13:25:51 myth kernel: drivers/usb/input/ati_remote.c: Registered USB 
> driver ATI/X10 RF USB Remote Control v. 2.2.1
> Dec 28 13:25:51 myth kernel: drivers/usb/input/ati_remote.c: Weird data, 
> len=1 ff 00 00 00 00 00 ...
> 
> Has anyone had any luck using the ati_remote driver in 2.6?  Anyone seen
> these kinds of problems, or better yet, solved them?

Have you tried using repeat=0 in the .lircrc? Eg:
begin
prog = irexec
button = SRS
repeat = 0
config = /usr/local/bin/mythrestart.sh
end
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Repeat problems with ati_remote in 2.6 kernel

2004-12-28 Thread Dave Steinberg
Hi all,
Yesterday, I upgraded my myth box to a 2.6.10 kernel, from 2.4.26.  Almost 
eeverything has gone very smoothly, with just one outstanding problem.

I had been happily using the 2.1.1 ati_remote driver from the GATOS 
project, without lirc.  I'm now using the follow-on that's included in the 
2.6 kernel.

I noticed that many of the keycodes have changed, but that was no problem: 
I just used xev to get them all, and updated my .xmodmaprc.  One odd thing 
is that I'm no longer getting a keypress from the channel + and - buttons.

The real problem, though, is the repeat behaviour.  I'm finding that it's 
very easy to accidentally get a double keypress.  If I press 2 or 3 times 
in a row, I'll get 6 or 8 presses.  It makes things pretty hard to 
control.  I'd guess that the repeat functionality that's shown up since 
the old driver is supposed to allow me to hold down a button and get rapid 
repeats, but if I do that, it keeps going well after I stop pressing it.

Here's what's logged when I load the module:
Dec 28 13:25:51 myth kernel: ati_remote 2-2:1.0: Input registered: X10 Wireless 
Technology Inc USB Receiver on usb-:00:02.0-2
Dec 28 13:25:51 myth kernel: usbcore: registered new driver ati_remote
Dec 28 13:25:51 myth kernel: drivers/usb/input/ati_remote.c: Registered USB 
driver ATI/X10 RF USB Remote Control v. 2.2.1
Dec 28 13:25:51 myth kernel: drivers/usb/input/ati_remote.c: Weird data, len=1 
ff 00 00 00 00 00 ...
Has anyone had any luck using the ati_remote driver in 2.6?  Anyone seen 
these kinds of problems, or better yet, solved them?

Thanks,
Dave
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users