LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-25-2007, 03:57 PM   #1
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
kingstone "linux-compatible" USB SPCA5XX webcam: red and blue channels swapped


Having bought a Kinstone "PC Camera" that claims to be Linux-compatible, I am having problems getting it to work properly.

The instruction pamphlet claims that drivers are available at www.lodall.com/drivers/c2/ but the link there is to a RAR archive that Ubuntu's package manager claims is unsupported.

Running up camorama, a colour image is shown, but the red and blue channels are swapped (so my blue shirt appears to be red, and my skin has a bluish hue). Acquiring an image in GIMP and swapping the channels over restores the correct colours.

How can I swap the red/blue colour channels back?

After unplugging and re-plugging the device a few times:
Code:
$ lsusb
Bus 005 Device 072: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 005 Device 069: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 005 Device 066: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 005 Device 073: ID 0d8c:0006 C-Media Electronics, Inc. 
Bus 005 Device 070: ID 0b95:7720 ASIX Electronics Corp. 
Bus 005 Device 071: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 005 Device 001: ID 0000:0000  
Bus 003 Device 010: ID 056a:00b2 Wacom Co., Ltd 
Bus 003 Device 001: ID 0000:0000  
Bus 004 Device 011: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30
Bus 004 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 005: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam
Bus 002 Device 001: ID 0000:0000  
$ dmesg | tail
[82633.984000] usb 4-1: configuration #1 chosen from 1 choice
[84174.944000] ACPI: Please implement acpi_video_bus_ROM_seq_show
[84699.484000] usb 2-1: USB disconnect, address 3
[84704.036000] usb 2-1: new full speed USB device using uhci_hcd and address 4
[84704.288000] usb 2-1: configuration #1 chosen from 1 choice
[84704.292000] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c:USB SPCA5XX camera found.(ZC3XX) 
[85229.136000] usb 2-1: USB disconnect, address 4
[85231.820000] usb 2-1: new full speed USB device using uhci_hcd and address 5
[85232.012000] usb 2-1: configuration #1 chosen from 1 choice
[85232.016000] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c:USB SPCA5XX camera found.(ZC3XX)
edit: I've just discovered the existence of the "colour correction" filter in Camorama, but that doesn't help with acquiring images through GIMP or other applications. Any ideas on how to fix this at the driver/v4l level would be much appreciated.

Last edited by rjlee; 10-25-2007 at 05:10 PM. Reason: new information
 
Old 10-25-2007, 07:22 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
This site might be of use to you: http://mxhaard.free.fr/
 
Old 10-29-2007, 06:40 AM   #3
ramesh6056
Member
 
Registered: May 2007
Posts: 89

Rep: Reputation: 15
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
This site might be of use to you: http://mxhaard.free.fr/
Hi...i am facing a problem in the spca5xx driver...i am using connecting the camera to my pxa255 board having 2.4.18 kernel. The module spca5xx.o is compiled successfully for my board. But when i run spcacat i get something like
-------------------------------------------------------
.
.
.
Waiting .... for Incoming Events. CTrl_c to stop !!!!

------------------------------------------------------

After this line i suppose to get two jpeg images in my current directory but i am not getting it...Here the execution actually stops...My camera is detected perfectly...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Real Player swapped red and blue dorde Linux - General 1 08-13-2007 06:33 PM
"Installing non-distro Linux on USB key" or "Using syslinux to boot a jffs2" lymae Linux - Newbie 6 12-31-2006 10:00 PM
Is Linux less frustrating than getting "blue screens"? A6Quattro Linux - General 18 07-18-2005 11:40 AM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 05:44 AM
Intel USB Webcam & "missing shared libraries: libgd.so.1.8" leavingwindows Linux - Newbie 1 10-29-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration