Re: GPIO access on bt878

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



Hello!

On Mon, Aug 04, 2003 at 12:42:15PM +0800, ho ho ho ... wrote:
> Hello.  Does anyone know how to access to GPIO on
> bt878 and read data from there?  I've been looking and
> haven't found any library which does this.  Thank you
> !!! :>

Look at the LIRC sources (www.lirc.org).
The most interesting is drivers/lirc_gpio/lirc_gpio.c file.

IMHO, you need to write the kernel module, from wich you can call
bttv_gpio_enable (), bttv_read_gpio () and bttv_write_gpio (),
exported by bttv driver (that functions are defined in 
bttv-0.9.11/bttv-if.c)

-- 
Andrey Vasilyev




[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