From: Chris Heywood <heywo1@ir...> - 2000-12-08 06:34:56
The previous problem I reported to the list was solved by adding a
#include "../drivers/media/video/bttvp.h" to lirc_gpio_p.c after
including the bttv.h. This seems to be due to changes between bttv
0.7.37 and 0.7.50?
After this I got everything compiled but the I had errors such as:
error opening /dev/lirc/0
mode2: Not a directory
Finding out that this was todo with DEVFS. I don't have devfs support
in my kernel but I am using a 2.4 test kernel. Removing the DEVFS line
from config.h fixed this.
After this I had problems compiling the lirc_dev module. I'm not sure
if this was specific to my machine or my setup (it all may be), but I
had to change the module_register_chrdev and module_unregister_chrdev to
simply register_chrdev and unregister_chrdev.
Things are working great now. I'm using the lirc_gpio_p driver with the
work Pascal Wolff has done for a FlyVideo 98 entry.
I hope this helps anyone trying to get the lirc_gpio_p driver going with
recent BTTV and 2.4 test kernels.
And thanks for the replies to my problem...
Chris Heywood "heywo1@..." wrote:
> After this I got everything compiled but the I had errors such as:
> # mode2
> error opening /dev/lirc/0
> mode2: Not a directory
> Finding out that this was todo with DEVFS.
From now on you can select the device that lircd (and all others that read
directly from the device) from the command line, e.g.:
Proper devfs support is still on the todo list, but this should do for now.
All other things you mentioned are fixed now.