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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-11-2005, 07:18 AM
|
#1
|
|
LQ Newbie
Registered: Nov 2005
Location: /home/ridderkerk/NL or /work/heerhugowaard/NL
Distribution: Gentoo
Posts: 20
Rep:
|
/dev/video0: No such device
When I try to access my webcam (Trust spycam 300s) using gqcam of xawtv I get the following message:
Code:
can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
The webcam is listed when I type "lsusb"
The kernel modules are also built, so what could be the problem?
Last edited by meranto; 11-11-2005 at 07:24 AM.
|
|
|
|
11-11-2005, 08:00 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
the kernel module probably isn't loaded... is it in your"lsmod" output? modprobe it if not. also if it's usb then each time you connect it and the module is loaded, you should see a message in dmesg saying that a suitable /dev/videoX device has been created.
|
|
|
|
11-11-2005, 08:24 AM
|
#3
|
|
LQ Newbie
Registered: Nov 2005
Location: /home/ridderkerk/NL or /work/heerhugowaard/NL
Distribution: Gentoo
Posts: 20
Original Poster
Rep:
|
When I look into "/dev" i can see "/dev/video", it symlinks to "/dev/video0"
so it is there, well, it sould be because:
Code:
lsmod
Module Size Used by
v4l2_common 5888 0
stv680 28428 0
i915 19712 1
drm 65684 2 i915
snd_pcm_oss 50592 0
snd_mixer_oss 18432 1 snd_pcm_oss
snd_seq_dummy 3844 0
snd_seq_oss 33792 0
snd_seq_midi_event 7168 1 snd_seq_oss
snd_seq 51472 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 8844 3 snd_seq_dummy,snd_seq_oss,snd_seq
pcspkr 3800 0
snd_intel8x0 32320 1
snd_ac97_codec 79356 1 snd_intel8x0
snd_pcm 89864 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 24708 2 snd_seq,snd_pcm
snd 55044 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 10632 2 snd_intel8x0,snd_pcm
usb_storage 112144 0
scsi_mod 93028 1 usb_storage
videodev 9728 2 stv680
the module is loaded, like dmesg points out:
Code:
dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 3-1: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver hiddev
input: USB HID v1.00 Mouse [Wheel Mouse] on usb-0000:00:1d.1-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver spca50x
/var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.c: spca5xx driver 0.55 registered
usbcore: registered new driver usb-storage
usb 2-1: new full speed USB device using uhci_hcd and address 2
usbcore: registered new driver stv680
drivers/usb/media/stv680.c: [usb_stv680_init:1497] STV(i): usb camera driver version v0.25 registering
drivers/usb/media/stv680.c: STV0680 USB Camera Driver v0.25
i'm a little confused here, because everything looks OK except for the creation of "/dev/videoX" like you mentioned
Last edited by meranto; 11-11-2005 at 08:26 AM.
|
|
|
|
11-11-2005, 12:33 PM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
don't grep that output. instead run "dmesg -c" plug the device in and run it again, then you'll only get the details that changed between the two uses of dmesg.
|
|
|
|
11-12-2005, 02:18 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2005
Location: /home/ridderkerk/NL or /work/heerhugowaard/NL
Distribution: Gentoo
Posts: 20
Original Poster
Rep:
|
I get this
Code:
hub 1-0:1.0: state 5 ports 6 chg 0000 evt 0002
ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:1d.7: port 1 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
uhci_hcd 0000:00:1d.0: wakeup_rh (auto-start)
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: ep0 maxpacket = 8
usb 2-1: default language 0x0409
usb 2-1: new device strings: Mfr=0, Product=2, SerialNumber=0
usb 2-1: Product: USB Digital Still Camera
usb 2-1: hotplug
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: hotplug
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0002
after "modprobe stv680"
Code:
usbcore: registered new driver stv680
drivers/usb/media/stv680.c: [usb_stv680_init:1497] STV(i): usb camera driver version v0.25 registering
drivers/usb/media/stv680.c: STV0680 USB Camera Driver v0.25
my "lsmod" tells me this now (I updated/rebuilt my kernel)
Code:
Module Size Used by
stv680 28556 0
i915 19840 1
drm 71828 2 i915
rfcomm 39964 0
l2cap 25988 5 rfcomm
snd_pcm_oss 50848 0
snd_mixer_oss 18304 1 snd_pcm_oss
snd_seq_dummy 3844 0
snd_seq_oss 33792 0
snd_seq_midi_event 7168 1 snd_seq_oss
snd_seq 51472 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 8844 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_intel8x0 33120 1
snd_ac97_codec 89980 1 snd_intel8x0
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm 89992 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 24708 2 snd_seq,snd_pcm
snd 55524 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 10760 2 snd_intel8x0,snd_pcm
|
|
|
|
11-12-2005, 10:38 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2005
Location: /home/ridderkerk/NL or /work/heerhugowaard/NL
Distribution: Gentoo
Posts: 20
Original Poster
Rep:
|
Well, to simplify things, I dug up some kind of alien webcam of which nobody ever heard. This one worked instantly with the spca5xx driver.
I guess the problem is down to:
What module is needed for the "Trust Spycam 300s"?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|