Ok that log does not actually have the debug information in it. You need to make sure to remove the sn9c20x.ko module before inserting it again.
# rmmod ./sn9c20x.ko # insmod ./sn9c20x.ko log_level=15 Also best way to capture the necessary parts of the log i need to look at is do the following # tail -f /var/log/syslog > ~/debug.log Now in another terminal window start cheese up and then you should have a file called debug.log in your home directory that contains all the debugging information needed. On Sat, May 2, 2009 at 10:18 AM, vubuntu <[email protected]> wrote: > > Thanks, Brian > > The problem is still there. I follow your instructions, and here is > the ouput: > > r...@vietkhoa-laptop:/home/vietkhoa/microdia# insmod ./sn9c20x.ko > log_level=15 > insmod: error inserting './sn9c20x.ko': -1 File exists > r...@vietkhoa-laptop:/home/vietkhoa/microdia# > r...@vietkhoa-laptop:/home/vietkhoa/microdia# cheese > r...@vietkhoa-laptop:/home/vietkhoa/microdia# LD_PRELOAD=/usr/lib/ > libv4l/v4l2convert.so cheese > r...@vietkhoa-laptop:/home/vietkhoa/microdia# > > dmesg produces an output which does not fit here, so I just copy the > part that I think is involved > > [ 248.146827] input: Virtual ThinkFinger Keyboard as /devices/virtual/ > input/input11 > [ 258.749491] sn9c20x: Unknown symbol video_ioctl2 > [ 258.749863] sn9c20x: Unknown symbol v4l_compat_ioctl32 > [ 258.750657] sn9c20x: Unknown symbol video_devdata > [ 258.751624] sn9c20x: Unknown symbol video_unregister_device > [ 258.751904] sn9c20x: Unknown symbol video_device_alloc > [ 258.752073] sn9c20x: Unknown symbol video_register_device > [ 258.752807] sn9c20x: Unknown symbol video_device_release > [ 267.816072] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action > 0x6 frozen > [ 267.816087] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 > pio 16392 in > [ 267.816089] cdb 4a 01 00 00 10 00 00 00 08 00 00 00 00 00 > 00 00 > [ 267.816091] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask > 0x4 (timeout) > [ 267.816096] ata2.00: status: { DRDY } > [ 272.630934] Linux video capture interface: v2.00 > [ 272.864039] ata2: link is slow to respond, please be patient > (ready=0) > [ 277.848046] ata2: device not ready (errno=-16), forcing hardreset > [ 277.848059] ata2: soft resetting link > [ 278.068363] ata2.00: configured for UDMA/33 > [ 278.068880] ata2: EH complete > [ 290.645240] sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:624F plugged-in. > [ 290.754990] sn9c20x: Detected OV9650 Sensor. > [ 290.755458] sn9c20x: Webcam device 0C45:624F is now controlling > video device /dev/video0 > [ 290.757714] input: SN9C20X Webcam as /devices/pci0000:00/0000:00:1d. > 7/usb1/1-4/input/input12 > [ 290.793979] sn9c20x: Using yuv420 output format > [ 290.794043] usbcore: registered new interface driver sn9c20x > [ 290.794049] sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.04 loaded > [ 327.287772] sn9c20x: No ack from I2C slave 0x30 for write to > address 0x2d > [ 335.529386] sn9c20x: [E] Empty buffer queue. > [ 373.784621] sn9c20x: Using yuv420 output format > [ 399.937574] input: Virtual ThinkFinger Keyboard as /devices/virtual/ > input/inp > > Cheers, > > > On May 1, 1:29 am, Brian Johnson <[email protected]> wrote: >> Have you tried starting cheese using LD_PRELOAD to make sure libv4l is >> getting loaded? >> >> I don't actually think thats needed in jaunty since interpid had the >> gstreamer libraries linked against libv4l and i don't think that has >> changed in jaunty but it shouldn't hurt either. >> >> If you have done that and it does not help try loading the driver >> module with the following >> >> # insmod ./sn9c20x.ko log_level=15 >> >> This should turn on full debugging output. After starting cheese your >> dmesg log should contain a bunch more infromation regarding what the >> driver is trying to do. >> >> On Thu, Apr 30, 2009 at 7:44 PM, vubuntu <[email protected]> wrote: >> >> > Hiya, >> >> > My webcam has failed to work since I upgrade to Ubuntu 9.04 (kernel >> > 2.6.28-11). I did everything again from scratch and now only Mplayer >> > detects and shows webcam images. Cheese shows neither "No wecam" nor >> > "With webcam". Please note it worked with the previous kernel. >> >> > I attach this log below. Please tell me what has gone wrong. Thanks. >> >> > ========== >> > [ 102.704748] wlan0: associated >> > [ 131.591060] input: Virtual ThinkFinger Keyboard as /devices/virtual/ >> > input/input11 >> > [ 167.475342] sn9c20x: Unknown symbol video_ioctl2 >> > [ 167.475713] sn9c20x: Unknown symbol v4l_compat_ioctl32 >> > [ 167.476532] sn9c20x: Unknown symbol video_devdata >> > [ 167.477506] sn9c20x: Unknown symbol video_unregister_device >> > [ 167.477786] sn9c20x: Unknown symbol video_device_alloc >> > [ 167.477930] sn9c20x: Unknown symbol video_register_device >> > [ 167.478658] sn9c20x: Unknown symbol video_device_release >> > [ 225.442564] Linux video capture interface: v2.00 >> > [ 297.829522] sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:624F plugged-in. >> > [ 297.938092] sn9c20x: Detected OV9650 Sensor. >> > [ 297.938193] sn9c20x: Webcam device 0C45:624F is now controlling >> > video device /dev/video0 >> > [ 297.938333] input: SN9C20X Webcam as /devices/pci0000:00/0000:00:1d. >> > 7/usb1/1-4/input/input12 >> > [ 297.977557] sn9c20x: Using yuv420 output format >> > [ 297.977619] usbcore: registered new interface driver sn9c20x >> > [ 297.977625] sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded >> > [ 318.843281] sn9c20x: No ack from I2C slave 0x30 for write to >> > address 0x2d >> > [ 333.752319] sn9c20x: [E] Empty buffer queue. >> > [ 370.740312] sn9c20x: [E] Empty buffer queue. >> > [ 382.085121] sn9c20x: Using yuv420 output format >> > r...@vietkhoa-laptop:/home/vietkhoa/microdia# cheese >> > r...@vietkhoa-laptop:/home/vietkhoa/microdia# cheese --verbose >> > Cheese 2.26.0 >> > Probing devices with HAL... >> > Found device 0c45:624f, getting capabilities... >> > Detected v4l2 device: SN9C20x USB 2.0 Webcam Driver >> > Driver: sn9c20x, version: 2099457 >> > Capabilities: 0x05000001 >> >> > Probing supported video formats... >> > Device: SN9C20x USB 2.0 Webcam Driver (/dev/video0) >> >> > r...@vietkhoa-laptop:/home/vietkhoa/microdia# >> > ================= > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
