You are not logged in.

#1 2009-05-27 11:39:19

2beers
Member
From: 127.0.0.1
Registered: 2009-05-27
Posts: 24

Microdia webcam won't work with kernel >= 2.6.27

Hey folks,

I just moved to Arch64 and tried to make my webcam work again. I've been
using it on my old system quite a long time ago and I was quite puzzled when
I found out that it apparently won't work with the new system.

The webcam is a

ID 0c45:613b Microdia Win2 PC Camera

and last time it worked quite well with the sn9c102 driver.

When not loading any module manually dmesg gives following output

usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
usb 3-1: SN9C120 PC Camera Controller detected (vid:pid 0x0C45:0x613B)
usb 3-1: No supported image sensor detected for this bridge
usbcore: registered new interface driver sn9c102

Because of the changes in webcam support since kernel 2.6.27 I tried to
blacklist the sn9c102 module and included gspca_main in the MODULES array in
/etc/rc.conf.

This resulted in following dmesg output

usb 6-1: new full speed USB device using uhci_hcd and address 3
usb 6-1: configuration #1 chosen from 1 choice

The webcam won't give an image either way. sad

Does anyone have an idea on how to fix this issue?

Offline

#2 2009-07-03 06:05:18

antarbozi
Member
Registered: 2009-06-23
Posts: 17

Re: Microdia webcam won't work with kernel >= 2.6.27

What's your lsusb output?


Arch 32-bit
PC: Dell Dimension E520 Intel Pentium D 3GHz HDD 320GB SATA RAM 1GB DDR2 NVIDIA GeForce 7300 LE 256MB
Laptop: Dell Studio 15 Intel Core 2 Duo P8600 2.4GHz HDD 500GB SATA RAM 4GB DDR2 ATI Mobility Radeon HD 4570 512MB

Offline

#3 2009-07-03 10:32:53

2beers
Member
From: 127.0.0.1
Registered: 2009-05-27
Posts: 24

Re: Microdia webcam won't work with kernel >= 2.6.27

The webcam related part looks like this:

ID 0c45:613b Microdia Win2 PC Camera

Offline

#4 2009-07-03 14:09:13

antarbozi
Member
Registered: 2009-06-23
Posts: 17

Re: Microdia webcam won't work with kernel >= 2.6.27

I had a similar problem to yours, check out this thread: http://bbs.archlinux.org/viewtopic.php?id=75259


Arch 32-bit
PC: Dell Dimension E520 Intel Pentium D 3GHz HDD 320GB SATA RAM 1GB DDR2 NVIDIA GeForce 7300 LE 256MB
Laptop: Dell Studio 15 Intel Core 2 Duo P8600 2.4GHz HDD 500GB SATA RAM 4GB DDR2 ATI Mobility Radeon HD 4570 512MB

Offline

#5 2009-07-03 15:08:26

2beers
Member
From: 127.0.0.1
Registered: 2009-05-27
Posts: 24

Re: Microdia webcam won't work with kernel >= 2.6.27

Hey,

unfortunately the webcam won't work even after following your recommendations. After all dmesg gives the following output:

usbcore: registered new interface driver sn9c20x
sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.04 loaded
usb 7-1: new full speed USB device using uhci_hcd and address 2
usb 7-1: configuration #1 chosen from 1 choice

Any ideas?

Offline

#6 2009-07-03 15:21:43

antarbozi
Member
Registered: 2009-06-23
Posts: 17

Re: Microdia webcam won't work with kernel >= 2.6.27

Hmm.. the driver is loaded which means that it should work. Do you have permission to run the webcam?

 sudo gpasswd -a <username> video
chmod 666 /dev/video0

And then try running it on cheese.


Arch 32-bit
PC: Dell Dimension E520 Intel Pentium D 3GHz HDD 320GB SATA RAM 1GB DDR2 NVIDIA GeForce 7300 LE 256MB
Laptop: Dell Studio 15 Intel Core 2 Duo P8600 2.4GHz HDD 500GB SATA RAM 4GB DDR2 ATI Mobility Radeon HD 4570 512MB

Offline

#7 2009-07-03 15:32:30

2beers
Member
From: 127.0.0.1
Registered: 2009-05-27
Posts: 24

Re: Microdia webcam won't work with kernel >= 2.6.27

Hey,

thanks for your help!

I'm already a member of the video group. I don't know why, but no video0 (or video*) shows up in /dev when plugging the webcam in...

Offline

#8 2009-07-03 15:37:57

antarbozi
Member
Registered: 2009-06-23
Posts: 17

Re: Microdia webcam won't work with kernel >= 2.6.27

Try running this:

 
sudo depmod -a
sudo modprobe sn9c20x

Then try running cheese


Arch 32-bit
PC: Dell Dimension E520 Intel Pentium D 3GHz HDD 320GB SATA RAM 1GB DDR2 NVIDIA GeForce 7300 LE 256MB
Laptop: Dell Studio 15 Intel Core 2 Duo P8600 2.4GHz HDD 500GB SATA RAM 4GB DDR2 ATI Mobility Radeon HD 4570 512MB

Offline

#9 2009-07-03 15:48:05

2beers
Member
From: 127.0.0.1
Registered: 2009-05-27
Posts: 24

Re: Microdia webcam won't work with kernel >= 2.6.27

Did it.

Without modprobing videodev nothing happened. So I tried to modprobe videodev and sn9c20x again which lead to the same result as above... hmm

Offline

Board footer

Powered by FluxBB