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

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

 



So, if i understand correctly, i should change "in" to 0xBF to get the missing bit. ( and if it work, i will be able to use ir_codes_adstech_dvb_t_pci instead of rolling my own keymap )

Thanks.

hermann pitton a écrit :
Hi,

Am Sonntag, den 13.09.2009, 23:59 +0200 schrieb Morvan Le Meut:
just out of curiosity ( and because google showed me a new trick to try ), i tried to load the module with gpio_tracking=1.
this gave me a new thing in dmesg :
 gpio: mode=0x0000000 in=0x000007f out=0x0000000 [pre-init]
Am i correct by thinkig that the in=0x000007f part is the mask ? If it is that then i am a problem : i did specify it as 0xff. Did i miss something ?

it does not cover the IR gpio settings, but what happens in the card
entry at saa7134-cards.c.

"mode" is the gpio mask defined there, if any. You have nothing set
there.
"in" is the actual configuration of the gpio pins. This can reflect
changes made to them, for example from using an other cards entry
previously, which can change some pins or changes in different modes on
them, which are not yet reset. By default it shows the manufacturers
gpio configuration. 0x7f can mean that the first seven pins (0-6) are
used for the gpio remote. That would be your mask keycode then.

"out" is what the driver writes to the gpios of that card.
In this mode only pins are changed, which are high in the mask,
this is called masked writes. In your case nothing happens.

See my next mail for a simple example of changing the single gpio21 pin
to 0 in Television mode.

Cheers,
Hermann



--
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