You are not logged in.

#1 2008-03-12 00:16:16

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Wrong module loaded for webcam. [SOLVED]

Hello all,

My webcam needs the gspcav1 driver but the zc0301 driver is loaded instead.  I have the gspcav1 loaded in rc.conf and I have blacklisted the zc0301 module.

How can I make the correct driver associate with the webcam?

Thanks in advance,

Diesel1.

Last edited by diesel1 (2008-07-16 21:17:52)


Registered GNU/Linux user #140607.

Offline

#2 2008-07-12 00:26:03

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Re: Wrong module loaded for webcam. [SOLVED]

Hi all,

Let me start by saying sorry for the 'bump' post but I still cannot get the gspcav1 module to load when pluging in my usb creative webcam.

I have been wrestling with this issue for a few months now and no amount of blacklisting other modules and insmod commands will make the gspcav module load nevermind control the webcam.

Here is the output from dmesg when I plug the cam in:

usb 1-8: USB disconnect, address 5
hub 2-0:1.0: unable to enumerate USB device on port 8
usb 1-8: new full speed USB device using ohci_hcd and
usb 1-8: configuration #1 chosen from 1 choice

And lsmod:

Module                  Size  Used by
ipv6                  307944  10
audigyls               22976  1
osscore               573636  3 audigyls
it87                   27032  0
hwmon_vid               4352  1 it87
nfsd                  269992  8
lockd                  70576  2 nfsd
nfs_acl                 3968  1 nfsd
auth_rpcgss            46496  1 nfsd
sunrpc                195592  10 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                5632  1 nfsd
raid1                  24320  1
md_mod                 84004  2 raid1
parport_pc             39624  1
ppdev                   8840  0
usblp                  14464  0
k8temp                  5760  0
ppp_generic            27944  0
lp                     12100  0
parport                38064  3 parport_pc,ppdev,lp
psmouse                43292  0
pcspkr                  3456  0
serio_raw               6788  0
i2c_nforce2             7424  0
nvidia               8109968  24
i2c_core               22816  2 i2c_nforce2,nvidia
sg                     32992  0
thermal                18976  0
processor              37932  1 thermal
fan                     5640  0
evdev                  12032  5
button                  8096  0
battery                13192  0
ac                      5768  0
slhc                    6528  1 ppp_generic
usbhid                 48352  0
hid                    47552  1 usbhid
ff_memless              6280  1 usbhid
forcedeth              51596  0
rtc_cmos               10552  0
rtc_core               19268  1 rtc_cmos
rtc_lib                 3456  1 rtc_core
reiserfs              242304  6
ehci_hcd               38284  0
ohci_hcd               24196  0
sr_mod                 17348  0
cdrom                  37928  1 sr_mod
sd_mod                 25792  11
usbcore               152344  5 usblp,usbhid,ehci_hcd
sata_nv                26376  5
ata_generic             7172  0
pata_amd               14212  3
pata_acpi               6528  0
libata                159664  4 sata_nv,ata_generic,p
scsi_mod              109432  4 sg,sr_mod,sd_mod,liba
dock                    9760  1 libata

There is no gspcav module listed.

This webcam has worked with several other GNU/Linux distributions and I have trawled their forums in vain.

Does anyone know what I can try next?  I am missing something simple I am sure, but what?

Diesel1.

Last edited by diesel1 (2008-07-12 00:33:31)


Registered GNU/Linux user #140607.

Offline

#3 2008-07-12 07:03:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Wrong module loaded for webcam. [SOLVED]

Can you modprobe the module after plugging in the camera?

Offline

#4 2008-07-12 14:55:31

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Re: Wrong module loaded for webcam. [SOLVED]

tomk wrote:

Can you modprobe the module after plugging in the camera?

Hi tomk, thanks for the pointer, as soon as I issued 'modprobe gspca' up came the interface and the webcam is now working.

I new it should be very simple but could not see the wood for the trees!

Many thanks,

Diesel1.


Registered GNU/Linux user #140607.

Offline

#5 2008-07-12 18:00:06

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Wrong module loaded for webcam. [SOLVED]

Well, it should autoload - must be something quirky about that hardware. You could write a specific udev rule for it, if you want.

Offline

#6 2008-07-12 18:05:26

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Re: Wrong module loaded for webcam. [SOLVED]

tomk wrote:

Well, it should autoload - must be something quirky about that hardware. You could write a specific udev rule for it, if you want.

Ok I will check out how it works when i get to the system.(gone fishing 3 days!)

Where would I put an autoload rule should I need it, is it part of Udev?

As before many thanks for the help, I appreciate it very much.

Diesel1.


Registered GNU/Linux user #140607.

Offline

#7 2008-07-12 19:24:43

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: Wrong module loaded for webcam. [SOLVED]

How did you blacklist the module in /etc/rc.conf?  the MOD_BLACKLIST section in that file is deprecated, so to blacklist a module, either remove it from MODULES or put a "!" in front of it.


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#8 2008-07-12 21:06:15

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Wrong module loaded for webcam. [SOLVED]

kclive18 - removing it from the MODULES array does not blacklist it. That is only achieved by putting the ! in front of it.

Offline

#9 2008-07-12 23:04:08

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Re: Wrong module loaded for webcam. [SOLVED]

kclive18 wrote:

How did you blacklist the module in /etc/rc.conf?  the MOD_BLACKLIST section in that file is deprecated, so to blacklist a module, either remove it from MODULES or put a "!" in front of it.

Yes I used the ! as directed in the file.

I think the issue has been solved but I am not able to shutdown at the present time. Gone fishing 8)

Thanks for the help as always.

Diesel1.

EDIT: After checking with shutdown and reboot the camera now works just fine, thanks for the help.

Last edited by diesel1 (2008-07-16 21:17:26)


Registered GNU/Linux user #140607.

Offline

Board footer

Powered by FluxBB