Re: [patch] IR-remote control support for SAA7134 based Cinergy 400

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hermann.pitton@xxxxxx (user02) writes:

> your patch made it into the saa7134-20030922 snapshot. With this one I
> get hard lockups on 2.6.0-test5

Ok, I tested it with 2.4.22 and do not see lockups. But I had to change
some things:

* do not set the SAA7134_IRQ2_INTE_PE bit; it causes interrupt-loops as
  guessed already

* I had to invert the press/release code in saa7134-input.c:

  |-        if (gpio & ir->mask_keydown) {
  |+        if (!(gpio & ir->mask_keydown)) {

  Else, funny things happen with the input layer (e.g. pressing left-ctrl
  5 times toggles caps-lock).

* I had to change some keys (e.g. zoom) to my original value since my
  X11 setup does not recognize e.g. KEY_ZOOM or KEY_TUNER (tested with
  'xev'). Probably just a local configuration problem but changing the
  kernel was easier ;)


Enrico




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux