By Date: <-- -->
By Thread: <-- -->

VSTREAM terminator remote



Alright, I didn't explain myself correctly, sorry.
I went to the v4lwiki, after trying to use my remote with the current driver, and getting the results I list in the first post I made, I followed with the last part of the wiki page, where it says "How to add remote control support to a card (GPIO remotes)"


Following the recommendations, I set the masks to zero in saa7134.c

   mask_keycode = 0;
   mask_keyup   = 0;

, and make modules modules_install, rmmod, modprobe :


The thing that is not working here is that it says that I should be getting different gpio values, and then I should guess a good mask to translate that into something useful, and I'm not getting different numbers for gpio, every key gives the same value! I understand that all useful data whould be shown there, and so I don't know where to go from here, is there something I am missing?


Anything I use (like ./input-events 2 ) gives of course the same results, using the unmasked modificed saa7134-input.c, or the original. They differ in the couple of numbers that are repeated, but I never get any difference among different keys in the remote.


Apr 29 12:22:07 ruth kernel: saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
Apr 29 12:22:07 ruth kernel: saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0
Apr 29 12:22:10 ruth kernel: saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
Apr 29 12:22:10 ruth kernel: saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0
Apr 29 12:22:12 ruth kernel: saa7133[0]/ir: build_key gpio=0x0 mask=0x0 data=0
Apr 29 12:22:12 ruth kernel: saa7133[0]/ir: build_key gpio=0x40 mask=0x0 data=0



About this specific case, anyone has an idea, something I'm failing to notice?




James R. Webb escribió:
You need to configure the remote. Get the input package from www.bytesex.org/cvs-snapshots and install. Then try a site like http://www.linuxtv.org/v4lwiki/index.php/Remote_controllers .

Jim Webb
----- Original Message ----- From: "horacio" <orasio (at) adinet.com.uy>
To: "Linux and Kernel Video" <video4linux-list (at) redhat.com>
Sent: Thursday, April 27, 2006 5:01 PM
Subject: VSTREAM terminator remote


Hello people,
I have a VStream Studio Terminator card, and using the default 2.6.16 saa7134 module with the right parameters ( sudo modprobe saa7134 card=65 tuner=54 ir_debug=1 ) for the card, it does work ok, but the remote doesn't.


The thing is that every key sends the same event!

This is an excerpt of /var/log/debug


Apr 26 23:43:41 ruth kernel: saa7133[0]/ir: build_key gpio=0x0 mask=0x1f data=0
Apr 26 23:43:41 ruth kernel: saa7133[0]/ir: build_key gpio=0x40 mask=0x1f data=0
Apr 26 23:43:41 ruth kernel: saa7133[0]/ir: build_key gpio=0x0 mask=0x1f data=0
Apr 26 23:43:42 ruth kernel: saa7133[0]/ir: build_key gpio=0x40 mask=0x1f data=0


When I load evbug.ko, I get this:

Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 1, Code: 395, Value: 1
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 0, Code: 0, Value: 0
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 1, Code: 395, Value: 0
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 0, Code: 0, Value: 0
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 1, Code: 395, Value: 1
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 0, Code: 0, Value: 0
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 1, Code: 395, Value: 0
Apr 26 23:42:36 ruth kernel: evbug.c: Event. Dev: pci-0000:00:0a.0/ir0, Type: 0, Code: 0, Value: 0




I read the v4l remotes wiki entry that says I should set the mask to 0 in saa7134-input.c, I tries that, but the same thing happens, every button produces the same pair of log entries.
I am using the Linux kernel 2.6.16 downloaded from kernel.org, any ideas?



Thanks, Horacio orasio (at) adinet.com.uy




--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list



-- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list