That depends abit on what distro you have on ubuntu and probably generic debians there is a file located at
/etc/modprobe.d/options which you need to add a line like option sn9c20x vflip=1 There should be a similar file for other distros which let you specify options to pass to modprobe for various modules On Fri, Apr 3, 2009 at 5:43 AM, Vinicio Nocciolini <[email protected]> wrote: > > Vinicio Nocciolini wrote: >> Vasily Khoruzhick wrote: >> >>> On Thursday 02 April 2009 17:57:49 Vinicio wrote: >>> >>> >>>> Hi all >>>> I have finally installed the driver microdia on my fedora 10 >>>> great work!!!!! >>>> But the image is overturned as you can see on my attachment >>>> >>>> >>> Try loading module with vflip=1 parameter lile following: >>> insmod microdia.ko vflip=1 >>> You can also change flip values via sysfs: >>> echo 1 >/sys/class/video4linux/video0/vflip >>> >>> >> r...@localhost ~]# cd /home/vinicio/microdia/ >> r...@localhost microdia]# modprobe videodev >> r...@localhost microdia]# modprobe compat-ioctl32 >> r...@localhost microdia]# insmod sn9c20x.ko vflip=1 >> r...@localhost microdia]# LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so >> mplayer tv://-tv >> driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11 >> >> Resolved! >> Adding nvflip=1 Now it s working in the right mode :) >> Thanks a lot!!! >> >> >> >> > > Hi again > Now I would like Installing the Microdia Driver > > I don't want to do insmod sn9c20x.ko everytime I reboot my computer. > > the question is: > Where can I specify nvflip=1 as permant? > I have tried the follow commands but they don't know about nvflip=1 > > | > | > > |# strip -g sn9c20x.ko > # mkdir -p /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/ > # cp sn9c20x.ko /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/ > # depmod -a > | > > | > > | > > > > > --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
