Comment 49 for bug 280657

Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote :

I just wanted to say that I may have made a little bit of progress with this. I was playing around with loading/unloading different kernel modules to see if it affected anything. It appears to be kind of flaky, but I'm able to get it to detect my sensor sometimes. For this, I did:
sudo modprobe gspca_sonixj
sudo rmmod gspca_sonixj

This leaves gspca_main on, but not gspca_sonixj. Unfortunately, I don't think it was working with just loading gspca_main.
Here's a little more info from dmesg:

[24427.409166] usb 2-1: USB disconnect, address 5
[24431.700197] usb 2-1: new full speed USB device using uhci_hcd and address 6
[24431.857444] usb 2-1: configuration #1 chosen from 1 choice
[24431.944081] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
[24431.946202] usb 2-1: SN9C120 PC Camera Controller detected (vid:pid 0x0C45:0x613C)
[24432.070179] usb 2-1: No supported image sensor detected for this bridge
[24432.070216] usbcore: registered new interface driver sn9c102
[24701.273384] gspca: main v2.2.0 registered
[24701.287301] usbcore: registered new interface driver sonixj
[24701.287315] sonixj: registered
[24704.920119] usb 2-1: USB disconnect, address 6
[24711.732136] usb 2-1: new full speed USB device using uhci_hcd and address 7
[24711.891428] usb 2-1: configuration #1 chosen from 1 choice
[24711.896186] usb 2-1: SN9C120 PC Camera Controller detected (vid:pid 0x0C45:0x613C)
[24712.047202] usb 2-1: No supported image sensor detected for this bridge
[24764.729937] usbcore: deregistering interface driver sonixj
[24764.733141] sonixj: deregistered
[24766.424141] usb 2-1: USB disconnect, address 7
[24772.397129] usb 2-1: new full speed USB device using uhci_hcd and address 8
[24772.552444] usb 2-1: configuration #1 chosen from 1 choice
[24772.558177] usb 2-1: SN9C120 PC Camera Controller detected (vid:pid 0x0C45:0x613C)
[24772.614152] usb 2-1: HV7131R image sensor detected
[24772.936189] usb 2-1: Initialization succeeded
[24772.940713] usb 2-1: V4L2 device registered as /dev/video0
[24772.940724] usb 2-1: Optional device control through 'sysfs' interface disabled

jonathan@jonathan-ubuntu:~$ lsmod | grep gspca
gspca_main 33536 0
compat_ioctl32 18304 2 gspca_main,sn9c102
videodev 46720 3 gspca_main,sn9c102,compat_ioctl32
usbcore 175888 6 gspca_main,sn9c102,btusb,uhci_hcd,ehci_hcd

Previously, that command didn't bring up anything because gspca wasn't loading at all.

Unfortunately even though the sensor is detected, I can't get any apps to recognize it. Cheese and Ekiga both just hang like they're trying to use it, but can't. I also tried using the LD_PRELOAD stuff, but that didn't seem to help. So I'm thinking this is just a waste of time, but I thought I'd offer it up just in case anyone can make more sense of it than I can.

Also, I tried loading a few other modules, like gspca_sonixb, without much luck. If anyone has any other suggestions for things to try, I'll do it!