Linux - HardwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.