Thanks Andrey, but is there any way to do this without touching the kernel? b/c I'm not really good in Linux, and I just wanna read from bt878 GPIO. Thank you! :) hobobcat --- "Andrey P. Vasilyev" <andrey_vasilyev@xxxxxxx> 的郵件內容:> 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 > > > -- > video4linux-list mailing list > Unsubscribe > mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/video4linux-list _________________________________________________________ 最新鈴聲推介:十面埋伏,多謝失戀,心淡... http://ringtone.yahoo.com.hk