LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PC Line Camera (Pixart) in Debian Etch using gspca (https://www.linuxquestions.org/questions/linux-newbie-8/pc-line-camera-pixart-in-debian-etch-using-gspca-701437/)

ferengi 02-01-2009 10:25 AM

PC Line Camera (Pixart) in Debian Etch using gspca
 
Hi guys I have been trying to get this camera working for a while
In fact I have 3 cameras plugged in. Any one of them would be great to get working.
From my lsusb below you can see the
Microdia (Woolworths webcam)
Pixart 093a:2600 (PC Line Webcam)
Pixart 093a:2460 (PC Line Webcam) Please note that these webcams use different drivers in XP and so are a different chipset (I think).


So far I have installed from source and from deb file

#aptitude search gspca
i gspca-modules-2.6-686

I also unloaded the gspca module and made alterations to a headerfile as suggested here : http://http://blog.janus.cx/archives/240-gspca_core.c-spca5xx_open1940-DEALLOC-error-on-spca50x_init_source-with-Trust-WB-1400T.html"]Janus' Blog



#modprobe gspca
#
(nothing means no problems right?)


#dmesg
/tmp/buildd/linux-modules-extra-2.6-2.6.18/debian/build/build_i386_none_686_gspc a/gspca_core.c: [spca5xx_open:1904] DEALLOC error on spca50x_init_source
/tmp/buildd/linux-modules-extra-2.6-2.6.18/debian/build/build_i386_none_686_gspc a/gspca_core.c: [spca5xx_open:1904] DEALLOC error on spca50x_init_source
/tmp/buildd/linux-modules-extra-2.6-2.6.18/debian/build/build_i386_none_686_gspc a/gspca_core.c: [spca5xx_open:1904] DEALLOC error on spca50x_init_source
/tmp/buildd/linux-modules-extra-2.6-2.6.18/debian/build/build_i386_none_686_gspc a/gspca_core.c: [spca5xx_open:1904] DEALLOC error on spca50x_init_source
CCMP: replay detected: STA=00:18:f3:a9:8f:1d previous PN 000000000ce5 received P N 000000000ce5


#lsusb
Bus 005 Device 005: ID 0c45:62bb Microdia
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 093a:2600 Pixart Imaging, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 004: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 002 Device 003: ID 093a:2460 Pixart Imaging, Inc.
Bus 002 Device 002: ID 0b97:7761 O2 Micro, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 005: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 001 Device 004: ID 413c:a005 Dell Computer Corp.
Bus 001 Device 001: ID 0000:0000



$camorama
could not connect to video device (/dev/video0)

aus9 02-01-2009 06:02 PM

My understanding of the fix in the link is for a different cam to yours which makes me think that is why you are getting those errors

2) http://www.qbik.ch/usb/devices/showdevcat.php?id=9
microdia not found
b) http://www.qbik.ch/usb/devices/showdev.php?id=3632
suggests the gspca module should work
c) not found

since you want any cam to work lets concentrate on (b)

A) install a k from 2.6.28 series and k 2.6.26 series using your apt-get or package manager system.
see my signature for smxi...it will be a lot easier for you I hope.

b) pretending you have loaded either kernel...which means you not using the current mess....
next check your logs that when cam is inserted there are no errors and lsmod command should show all is good....in particular

Code:

lsmod | grep usbcore
c) Next gspca has a weakness...it needs apps to know about it.

Code:

apt-get update && apt-get install libv4l-0
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
....REPLACE CAMORAMA WITH SKYPE ETC


ferengi 02-02-2009 04:54 AM

Strewth!!

Thanks for the response,
I have just used smxi, it was great!!

I get the impression that a lot went on that I missed so I will take my time to digest that.
Just wanted you to know that I have started on your suggestion. I need to go to work now will let you know how the camera goes later today.


All times are GMT -5. The time now is 05:29 AM.