LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-15-2009, 10:15 AM   #1
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
Webcams again (trust spacecam 120) Microdia TwinkleCam USB camera


I have a new webcam that i would like to get working

lsusb reports it as

Code:
Bus 002 Device 009: ID 0c45:600d Microdia TwinkleCam USB camera
and the dmesg when i plug it in is

Code:
[120321.219896] evbug.c: Event. Dev: input4, Type: 1, Code: 28, Value: 1
[120321.219901] evbug.c: Event. Dev: input4, Type: 0, Code: 0, Value: 0
[120321.259886] evbug.c: Event. Dev: input4, Type: 4, Code: 4, Value: 458792
[120321.259895] evbug.c: Event. Dev: input4, Type: 1, Code: 28, Value: 0
[120321.259899] evbug.c: Event. Dev: input4, Type: 0, Code: 0, Value: 0
[120336.669025] usb 2-6: new full speed USB device using ohci_hcd and address 10
[120336.879654] usb 2-6: configuration #1 chosen from 1 choice
[120337.875893] evbug.c: Event. Dev: input4, Type: 4, Code: 4, Value: 458834
[120337.875903] evbug.c: Event. Dev: input4, Type: 1, Code: 103, Value: 1
[120337.875908] evbug.c: Event. Dev: input4, Type: 0, Code: 0, Value: 0
[120337.947896] evbug.c: Event. Dev: input4, Type: 4, Code: 4, Value: 458834
[120337.947905] evbug.c: Event. Dev: input4, Type: 1, Code: 103, Value: 0
[120337.947909] evbug.c: Event. Dev: input4, Type: 0, Code: 0, Value: 0
[120338.755900] evbug.c: Event. Dev: input4, Type: 4, Code: 4, Value: 458792
[120338.755912] evbug.c: Event. Dev: input4, Type: 1, Code: 28, Value: 1
[120338.755917] evbug.c: Event. Dev: input4, Type: 0, Code: 0, Value: 0
mchi8ds2@mchi8ds2-desktop:~$
(not sure what the other crap that keeps spooling is)

after this i get

Code:
mchi8ds2@mchi8ds2-desktop:~$ lsmod | grep vid
video                  29204  0 
output                 11648  1 video
nvidia               8123768  38 
mchi8ds2@mchi8ds2-desktop:~$

google tells me that i should be using the gspca driver for this so i tried


sudo modprobe gspca_main

this now gives in lsmod

Code:
mchi8ds2@mchi8ds2-desktop:~$ lsmod | grep vid
videodev               45184  2 gspca_main,compat_ioctl32
v4l1_compat            23940  1 videodev
video                  29204  0 
output                 11648  1 video
nvidia               8123768  38 
mchi8ds2@mchi8ds2-desktop:~$
but still no life

previposly i had found a site that recomended blacklisting sn9c102
after deblacklisting it and repluging the webcam i get


Code:
mchi8ds2@mchi8ds2-desktop:~$ lsmod | grep vid
videodev               45184  3 sn9c102,gspca_main,compat_ioctl32
v4l1_compat            23940  1 videodev
video                  29204  0 
output                 11648  1 video
nvidia               8123768  38 
mchi8ds2@mchi8ds2-desktop:~$
but cheese still gives no camera found
 
Old 07-15-2009, 10:58 AM   #2
jdkaye
Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,008

Rep: Reputation: Disabled
Hi,
I have the identical webcam, Trust Spacecam 120. It works on pretty well everything (skype, kopete, amsn, xawtv...) except ekiga and cheese. My results are a bit different than yours which may be of help. You're using ubuntu so it shouldn't be too different from debian. Here's my data.
Code:
$ lsusb | grep Microdia
Bus 002 Device 002: ID 0c45:600d Microdia TwinkleCam USB camera
Pretty much like yours.
dmesg is a bit less wordy:
Code:
$ dmesg | grep cam
[    8.988395] usb 2-2: Product: USB camera
[   31.334030] gspca: USB GSPCA camera found. SONIX sn9c10[1 2]
Nothing like the stuff you're getting.
Code:
$ lsmod | grep vid
videodev               27520  1 gspca
v4l1_compat            12260  1 videodev
I'm using a different module. I build mine from the gspca-source package using module-assistant. I don't know how you did yours. You might try it with other apps besides cheese and see if any of them work.
Cheers,
jdk
 
Old 07-15-2009, 11:32 AM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Original Poster
Rep: Reputation: 35
nothing is detected in anything else and m-a wont build the debian module from souce as i can only seem to get the kernel headers in the repo or a souce tarball with a slightly differnt name,
im working on compiling that and will see what happens eventually
 
Old 07-15-2009, 02:45 PM   #4
jdkaye
Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,008

Rep: Reputation: Disabled
Quote:
Originally Posted by dasy2k1 View Post
nothing is detected in anything else and m-a wont build the debian module from souce as i can only seem to get the kernel headers in the repo or a souce tarball with a slightly differnt name,
im working on compiling that and will see what happens eventually
I don't really understand what you're saying here but as long as you do I guess that's ok. Surely Ubuntu gives you a way of building modules, doesn't it? In Debian it's all pretty automatic. You just fire up m-a and go through the steps. It downloads what it needs and then goes about building your module. I guess it's different in Ubuntu.
Good luck
jdk
 
  


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
install trust webcam/digital camera in debian mariogarcia Linux - Hardware 1 09-26-2006 06:18 AM
USB Logitech STX Camera | sytem startup camera active problem delta function Slackware 0 08-06-2006 05:23 PM
Running two USB webcams/Linux compatible IR sensitive webcams doctorelectron Linux - Hardware 1 06-07-2006 09:30 AM
Trust 120 Spacecam marcusshirley Linux - Hardware 1 02-02-2006 02:47 PM
Trust Spacecam 120 Four Linux - Hardware 1 08-26-2005 07:56 AM


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

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