Comment 8 for bug 144745

Revision history for this message
Peng Deng (d6g) wrote : Re: Webcam detected, but not working - Bad module

I upgrade another laptop to Hardy and my webcam works withouth any problem on that one. But it still won't on mine. So I did a comparison of the "lsmod | grep zc" output between 2 laptops.

The one (laptop A) where webcam works has output like:

zc0301 52356 0
compat_ioctl32 2304 1 zc0301
videodev 29440 2 zc0301,gspca
v4l2_common 18304 2 zc0301,videodev
usbcore 146028 8 zc0301,gspca,hci_usb,usb_storage,libusual,ehci_hcd,uhci_hcd

The other one(laptop B):

zc0301 52356 0

compat_ioctl32 2304 1 zc0301

videodev 29440 2 gspca,zc0301

v4l2_common 18304 2 zc0301,videodev

usbcore 146028 7 gspca,zc0301,usbhid,hci_usb,ehci_hcd,uhci_hcd

Realizing the difference in the order of two modules, I manually unloaded both of the modules and reloaded "gspca" first and then "zc0301" on laptop B, therefore the output of lsmod is the same as laptop A.

After doing this, my webcam works again on laptop B.

So, can anyone please tell me howto to control the order when loading two modules? Should I add a new udev rule under /etc/udev/rules.d/?