geekindenial schrieb:
libv4l is 0.5.8 (lastest, downloaded from libv4l website)Cheers, Vinh On Feb 1, 8:53 pm, GWater <[email protected]> wrote:geekindenial schrieb:Hi guys, I have found a few issues: 1- Repos Access Instructions Wrong: I can not download the repository with the commands listed in the online instructions at (http://groups.google.com/group/microdia/web/ testing-microdia-driver-draft): $ git clonehttp://repo.or.cz/r/microdia.git error: Can't lock ref $ git clonehttp://repo.or.cz/microdia.git Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? I have to change the http: bit to git: then it works $ git clone git://repo.or.cz/microdia.git 2- Driver Doesn't Work Anymore: My webcam is 0c45:6270 Microdia U-CAM PC Camera NE878, I used to be able to use this driver on an older machine with kernel 2.6.18 but it has since died and I moved to a machine with 2.6.24 kernel. I have successfully compiled and load the module (using both the old source code I used last year, and the lastest microdia source code) on this new kernel, however nothing works. On module loading dmesg show every OK: -- sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:6270 plugged-in. sn9c20x: Detected MT9V011 Sensor. sn9c20x: Webcam device 0C45:6270 is now controlling video device /dev/ video0 sn9c20x: Using yuv420 output format usbcore: registered new interface driver sn9c20x sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded -- Howerver tests with mplayer (as instructed in online instruction above) has this error: -- $ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo xv ... Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <[email protected]> comment: first try, more to come ;-) Selected device: SN9C20x USB 2.0 Webcam Driver Capabilites: video capture read/write streaming supported norms: inputs: 0 = Webcam;v4l2: ioctl get input failed: Invalid argument Current input: 1 Current format: unknown (0x30323953) v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl enum norm failed: Invalid argument Error: Cannot set norm! Selected input hasn't got a tuner! v4l2: ioctl set mute failed: Invalid argument v4l2: ioctl query control failed: Invalid argument v4l2: ioctl query control failed: Invalid argument --- Test image capture with streamer also creates errors: $ streamer -c /dev/video0 -o test.A.jpeg files / video: JPEG (JFIF) / audio: none no way to get: 320x240 JPEG (JFIF) movie writer initialisation failed When these errors occur, dmesg spit out these messages: sn9c20x: Using yuv420 output format sn9c20x: Using yuv420 output format sn9c20x: Using yuv420 output format Anything I can do to help with debugging the problem? Thanks and keep up the great work guys, VinhWhich version of libv4l are you using? Please update to 0.5.8 or later. GWater signature.asc < 1KViewDownload--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Please reload the sn9c20x.ko module with the following parameters: # insmod sn9c20x.ko log_level=15 Then run the mplayer command and afterwards post the output of $ dmesg | grep sn9c20x GWater
signature.asc
Description: OpenPGP digital signature
