LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-05-2009, 03:10 PM   #1
NihilistMatt
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian GNU/Linux
Posts: 6

Rep: Reputation: 0
Pixart PAC207 Webcam unusable with kernel 2.6.28.3 build


Because the stock kernel in Debian has a low-resolution timer, and I wanted to use my computer for MIDI and the like, I decided to custom-compile a new kernel from source.

After much fun and kernel compilation, I've managed to get a somewhat flimsy setup with that kernel, and nvidia and sound both work, but, although I've installed the included gspca-main and gspca-pac207 modules (video for linux 2 I think), nothing will work.

Camorama displays a frame that looks vaguely like webcam output, and then crashes saying "Unable to capture image", luvcview says "ERROR: Requested frame format MJPG is not available and no fallback format was found.", and cheese just goes to a mock test card.

This worked fine with the Debian-packaged gspca module and kernel... what could be going wrong here?

Thanks in advance, Matt
 
Old 02-07-2009, 02:27 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,544

Rep: Reputation: Disabled
What are the results of running
Code:
lsmod | grep videodev
cheers,
jdk
 
Old 02-07-2009, 02:02 PM   #3
NihilistMatt
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian GNU/Linux
Posts: 6

Original Poster
Rep: Reputation: 0
Code:
matt@hayashi:~/SoR$ lsmod | grep videodev
videodev               29824  1 gspca_main
v4l1_compat            12292  1 videodev
 
Old 02-08-2009, 12:25 AM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,544

Rep: Reputation: Disabled
Quote:
Originally Posted by NihilistMatt View Post
Code:
matt@hayashi:~/SoR$ lsmod | grep videodev
videodev               29824  1 gspca_main
v4l1_compat            12292  1 videodev
Hi NM,
I don't think you mention which webcam you have and if you're sure you've installed the correct modules. I use an old Trust Spacecam 120 that I rescued from the dustbin. I compiled the gspca module for my kernel (2.6.26) using the gspca-source package and module-assistant. The same command gives me this:
Code:
$ lsmod | grep videodev
videodev               27520  1 gspca
v4l1_compat            12260  1 videodev
and lsmod | grep gspca gives this:
Code:
$ lsmod | grep gspca
gspca                 639888  0
videodev               27520  1 gspca
usbcore               118160  6 gspca,usbhid,usb_storage,ehci_hcd,uhci_hcd
As you see, it's a usb webcam. I'm wondering about the difference between gspca and gspca-main. Do you have any idea why you're using gspca-main rather than gspca?
Cheers,
jdk
 
Old 02-09-2009, 01:28 AM   #5
NihilistMatt
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian GNU/Linux
Posts: 6

Original Poster
Rep: Reputation: 0
I'm using gspca-main because gspca isn't available on my system. I'm guessing that gspca-main's part of the kernel gspca distribution, whereas gspca is from the external source distribution (which won't compile).

It's a Trust WB-1400T webcam, one of those evil cheap webcams. I'm sure it's a PAC207...

Code:
$ sudo lsmod | grep gspca
gspca_pac207            6784  0 
gspca_main             19584  1 gspca_pac207
videodev               29824  1 gspca_main
usbcore               122972  7 hid_sony,usbhid,gspca_pac207,gspca_main,ehci_hcd,uhci_hcd
 
  


Reply

Tags
gspca, pixart, webcam


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
driver for Pixart webcam dasy2k1 Linux - Hardware 1 07-07-2007 03:06 AM
Sarge System Unusable After Kernel Upgrade NablaOperator Debian 1 05-27-2007 11:29 AM
Which is the kernel build directory? I Can't find kernel build files crabsody Debian 7 01-09-2007 04:48 AM
Pixart webcam problems Strigare Linux - Hardware 1 12-27-2005 11:56 AM
kernel SATA drive detected but unusable. edx? jplev22 Linux - Hardware 1 07-26-2005 05:55 PM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration