Fedora Linux Support Community & Resources Center
  #1  
Old 2nd April 2008, 05:17 PM
jfheintz Offline
Registered User
 
Join Date: Apr 2008
Posts: 2
Lightbulb Trust Spacec@m 120 webcam and motion

Hello,

I have a Trust Spacec@m 120 (USB webcam)
I would lik to make it work with motion (http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome)

Having a lookup to the internet show the webcam is supported by gspca driver
(http://mxhaard.free.fr/spca5xx.html)

So I download the driver via yum

# modprobe gspca

Before plug in the webcam, I have a look to /dev

[root]# ls /dev
adsp full input lp2 parport3 ram15 sda tty tty2 tty31 tty43 tty55 ttyS0 usbdev4.1_ep00 vcs6
agpgart fuse kmsg lp3 port ram2 sda1 tty0 tty20 tty32 tty44 tty56 ttyS1 usbdev4.1_ep81 vcsa
audio gpmctl log MAKEDEV ppp ram3 sda2 tty1 tty21 tty33 tty45 tty57 ttyS2 usbmon0 vcsa1
bsg hpet loop0 mapper ptmx ram4 sequencer tty10 tty22 tty34 tty46 tty58 ttyS3 usbmon1 vcsa2
bus hvc0 loop1 mem pts ram5 sequencer2 tty11 tty23 tty35 tty47 tty59 urandom usbmon2 vcsa3
console hvc1 loop2 mixer ram ram6 sg0 tty12 tty24 tty36 tty48 tty6 usbdev1.1_ep00 usbmon3 vcsa4
core hvc2 loop3 net ram0 ram7 shm tty13 tty25 tty37 tty49 tty60 usbdev1.1_ep81 usbmon4 vcsa5
disk hvc3 loop4 null ram1 ram8 snapshot tty14 tty26 tty38 tty5 tty61 usbdev2.1_ep00 vcs vcsa6
dm-0 hvc4 loop5 nvram ram10 ram9 snd tty15 tty27 tty39 tty50 tty62 usbdev2.1_ep81 vcs1 VolGroup00
dm-1 hvc5 loop6 oldmem ram11 ramdisk stderr tty16 tty28 tty4 tty51 tty63 usbdev2.2_ep00 vcs2 X0R
dm-2 hvc6 loop7 parport0 ram12 random stdin tty17 tty29 tty40 tty52 tty7 usbdev2.2_ep81 vcs3 XOR
dsp hvc7 lp0 parport1 ram13 root stdout tty18 tty3 tty41 tty53 tty8 usbdev3.1_ep00 vcs4 zero
fd initctl lp1 parport2 ram14 rtc systty tty19 tty30 tty42 tty54 tty9 usbdev3.1_ep81 vcs5

I plug the webcam

[root]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 06a5:d800 Divio Chicony TwinkleCam
Bus 002 Device 002: ID 0463:ffff MGE UPS Systems UPS
Bus 002 Device 001: ID 0000:0000

lsusb show: Bus 002 Device 003: ID 06a5:d800 Divio Chicony TwinkleCam

[root]# ls /dev
adsp full input lp2 parport3 ram15 sda tty tty2 tty31 tty43 tty55 ttyS0 usbdev2.3_ep82 vcs2 X0R
agpgart fuse kmsg lp3 port ram2 sda1 tty0 tty20 tty32 tty44 tty56 ttyS1 usbdev2.3_ep83 vcs3 XOR
audio gpmctl log MAKEDEV ppp ram3 sda2 tty1 tty21 tty33 tty45 tty57 ttyS2 usbdev3.1_ep00 vcs4 zero
bsg hpet loop0 mapper ptmx ram4 sequencer tty10 tty22 tty34 tty46 tty58 ttyS3 usbdev3.1_ep81 vcs5
bus hvc0 loop1 mem pts ram5 sequencer2 tty11 tty23 tty35 tty47 tty59 urandom usbdev4.1_ep00 vcs6
console hvc1 loop2 mixer ram ram6 sg0 tty12 tty24 tty36 tty48 tty6 usbdev1.1_ep00 usbdev4.1_ep81 vcsa
core hvc2 loop3 net ram0 ram7 shm tty13 tty25 tty37 tty49 tty60 usbdev1.1_ep81 usbmon0 vcsa1
disk hvc3 loop4 null ram1 ram8 snapshot tty14 tty26 tty38 tty5 tty61 usbdev2.1_ep00 usbmon1 vcsa2
dm-0 hvc4 loop5 nvram ram10 ram9 snd tty15 tty27 tty39 tty50 tty62 usbdev2.1_ep81 usbmon2 vcsa3
dm-1 hvc5 loop6 oldmem ram11 ramdisk stderr tty16 tty28 tty4 tty51 tty63 usbdev2.2_ep00 usbmon3 vcsa4
dm-2 hvc6 loop7 parport0 ram12 random stdin tty17 tty29 tty40 tty52 tty7 usbdev2.2_ep81 usbmon4 vcsa5
dsp hvc7 lp0 parport1 ram13 root stdout tty18 tty3 tty41 tty53 tty8 usbdev2.3_ep00 vcs vcsa6
fd initctl lp1 parport2 ram14 rtc systty tty19 tty30 tty42 tty54 tty9 usbdev2.3_ep81 vcs1 VolGroup00

2 entries has appear in /dev
usbdev2.3_ep82
usbdev2.3_ep83

usbdev2.3_ep81 and usbdev2.3_ep00 already exist


Everything sounds good:

# dmesg
Linux video capture interface: v2.00
usbcore: registered new interface driver gspca
/builddir/build/BUILD/gspca-kmod-1.00.18/_kmod_build_2.6.23.1-42.fc8/gspca_core.c: gspca driver 01.00.18 registered
sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.48
usbcore: registered new interface driver sn9c102
usb 2-2: new full speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice

# cat /var/log/messages
Mar 31 08:46:16 SIBOX kernel: Linux video capture interface: v2.00
Mar 31 08:46:16 SIBOX kernel: usbcore: registered new interface driver gspca
Mar 31 08:46:16 SIBOX kernel: /builddir/build/BUILD/gspca-kmod-1.00.18/_kmod_build_2.6.23.1-42.fc8/gspca_core.c: gspca driver 01.00.18 registered
Mar 31 08:46:51 SIBOX kernel: sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.48
Mar 31 08:46:51 SIBOX kernel: usbcore: registered new interface driver sn9c102
Mar 31 08:47:39 SIBOX dhcpd: DHCPREQUEST for 10.2.0.5 from 00:15:c5:7d:8d:de via eth2
Mar 31 08:47:39 SIBOX dhcpd: DHCPACK on 10.2.0.5 to 00:15:c5:7d:8d:de via eth2
Mar 31 08:55:35 SIBOX kernel: usb 2-2: new full speed USB device using uhci_hcd and address 3
Mar 31 08:55:35 SIBOX kernel: usb 2-2: configuration #1 chosen from 1 choice

# cat /var/log/faillog


Now I launch motion and when I specify

videodevice /dev/usbdev2.3_ep82

motion failed with:
[2] Failed to open video device /dev/usbdev2.3_ep00: No such device or address

Idem for /dev/usbdev2.3_ep00 81 83

Any idea while the device is not recognized?
Most website refers to /dev/video0 or /dev/videodev0, but there is no such entry in /dev
No more entry in /dev/usb

Thanks a lot for your help

Regards

JF HEINTZ
Reply With Quote
  #2  
Old 4th April 2008, 07:02 AM
jfheintz Offline
Registered User
 
Join Date: Apr 2008
Posts: 2
up

any idea?

Thanks
Reply With Quote
Reply

Tags
120, motion, spacec@m, trust, webcam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam Ricoh Motion Eye on fedora 11 Las Hardware & Laptops 10 18th November 2009 04:15 PM
Sony webcam Motion Eye. darioalexander Hardware & Laptops 4 28th January 2009 10:43 PM
motion eye built in webcam on sony vaio laptop!? fengshaun Hardware & Laptops 5 11th January 2008 07:15 AM
Webcam Trust 320 spacecam agora Hardware & Laptops 0 20th September 2006 03:46 PM
webcam, 'motion' software kf6kmx Using Fedora 11 17th November 2005 02:13 AM


Current GMT-time: 03:26 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat