Re: (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support

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

 



Samuel Rakitnican a écrit :

No, this is used for some autodetection routine for different version of the same card. This has nothing to do with your case.

The key is here, you need to find correct value.

    case SAA7134_BOARD_ADS_INSTANT_TV:
        ir_codes = AdsInstantTvPci_codes;
        // This remote seems to return 0x7f after each button is pushed.
// No button may be repeated ; no release message. Only 1 msg with // raw data = button idx, followed by one message with raw data = 0x7f
        mask_keycode = 0xffffff;
        mask_keyup   = 0xffffff;
        mask_keydown = 0xffffff;
        polling      = 50; // ms
        break;

Have you tried to follow the tutorial on the web?, By tutorial you need to modify with something like this:

    case SAA7134_BOARD_ADS_INSTANT_TV:
        ir_codes = AdsInstantTvPci_codes;
        mask_keycode = 0;
        polling      = 50; // ms
        break;

And then try to find correct gpio masks.

i did try it ( well, i left the keyup and keydown part and i also tried it by setting it to 0 ) but the gpio still repeat ("saa7133[0]/ir: build_key gpio=0x1b mask=0x0 data=0" for Power and Record, each followed by gpio=7f ). Which is why i believe i am missing part of that code ( got the dvb-t version too on another computer, and given the software used, there should be no duplicate keys ). I guess i will have to wait for someone to solve the problem. I can at least use the remote in a "broken" way.


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux