Linux support for Soundgraph iMON USB IR/VFD modules used in Ahanix, Silverstone, Uneed, Accent and other cases.
- Posts: 1
- Joined: Thu Nov 30, 2006 9:47 am
on the Gentoo forums hoping for some help in getting the standlone imon vfd driver found here to compile on my Gentoo box running the latest gentoo-sources and linux-headers. 2.6.18. I'm getting this:
Code: Select all
look ~ # tar zxvf imon_vfd.tgz
look ~ # cd imon
look imon # ls
look imon # make -C /usr/src/linux SUBDIRS=$PWD modules
make: Entering directory `/usr/src/linux-2.6.18-gentoo-r3'
CC [M] /root/imon/imon_vfd.o
/root/imon/imon_vfd.c:43:35: error: linux/devfs_fs_kernel.h: No such file or directory
/root/imon/imon_vfd.c:147: error: unknown field 'owner' specified in initializer
/root/imon/imon_vfd.c:147: warning: initialization from incompatible pointer type
/root/imon/imon_vfd.c:162: error: unknown field 'mode' specified in initializer
make: *** [/root/imon/imon_vfd.o] Error 1
make: *** [_module_/root/imon] Error 2
make: Leaving directory `/usr/src/linux-2.6.18-gentoo-r3'
- Posts: 40
- Joined: Sun Apr 02, 2006 5:45 pm
I believe there were some changes to the USB subsystem in recent kernels that removed the .owner field at least, and maybe the .mode as well. Also, Gentoo officially only supports udev now, so devfs should go away. That means you should comment out the line including the devfs header. Try commenting out those three lines (the ones referencing .owner, .mode and the devfs header) and see if it will compile.