[mythtv-users] Missing /dev/lcd0 with Silverstone LC16M

Anthony Giggins seven at seven.dorksville.net
Sat Feb 16 13:41:55 UTC 2008


> > ii) I had tried this previously but I'm getting errors compiling the
> standalone VFD
> >
> > # make -C /usr/src/kernels/2.6.20-1.2944.fc6-i686/ SUBDIRS=$PWD modules
> > make: Entering directory `/usr/src/kernels/2.6.20-1.2944.fc6-i686'
> >   CC [M]  /home/mythtv/imon/imon_vfd.o
> > /home/mythtv/imon/imon_vfd.c:34:26: error: linux/config.h: No such file
> or directory
> > /home/mythtv/imon/imon_vfd.c:43:35: error: linux/devfs_fs_kernel.h: No
> such file or directory
> > /home/mythtv/imon/imon_vfd.c:147: error: unknown field ‘owner’
> specified in initializer
> > /home/mythtv/imon/imon_vfd.c:147: warning: initialization from
> incompatible pointer type
> > /home/mythtv/imon/imon_vfd.c:162: error: unknown field ‘mode’
> specified in initializer
> > /home/mythtv/imon/imon_vfd.c: In function ‘send_packet’:
> > /home/mythtv/imon/imon_vfd.c:328: warning: passing argument 6 of
> ‘usb_fill_int_urb’ from incompatible pointer type
> > /home/mythtv/imon/imon_vfd.c: In function ‘vfd_write’:
> > /home/mythtv/imon/imon_vfd.c:399: warning: ignoring return value of
> ‘copy_from_user’, declared with attribute warn_unused_result
> > make[1]: *** [/home/mythtv/imon/imon_vfd.o] Error 1
> > make: *** [_module_/home/mythtv/imon] Error 2
> > make: Leaving directory `/usr/src/kernels/2.6.20-1.2944.fc6-i686'
> 
> You need to edit the imon_vfd.c file by hand to remove the traces of
> devfs amongst other things. See
> http://venky.ws/forums/viewtopic.php?t=179 and search that forum if
> you are still stuck.
> 
> Do you have /usr/src/linux symlinked to your kernel source directory?
> 
> --
> Nick Morrott
> 
> MythTV Official wiki:
> http://mythtv.org/wiki/
> MythTV users list archive:
> http://www.gossamer-threads.com/lists/mythtv/users
> 
> "An investment in knowledge always pays the best interest." - Benjamin
> Franklin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Got it to compile

Had to delete the lines in the link you posted as well as 
Line 34
#include <linux/config.h>
&
Line 43
#include <linux/devfs_fs_kernel.h>

And then modprobe imon_vfd but still no /dev/lcd* devices I get info in messages, I even tried rmmod lirc_imon & lirc_dev before loading imon_vfd but still no joy

Feb 17 00:32:51 myth kernel: /home/mythtv/imon/imon_vfd.c: Driver for Soundgraph iMON VFD, v0.1a1
Feb 17 00:32:51 myth kernel: /home/mythtv/imon/imon_vfd.c: Venky Raju <dev at venky.ws>
Feb 17 00:32:51 myth kernel: usbcore: registered new interface driver imon

I'll try posting on Venky's forums

Thanks for your help everyone



More information about the mythtv-users mailing list