Webcam: lsusb shows nothing and no /proc/bus/usb/devices
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.
Webcam: lsusb shows nothing and no /proc/bus/usb/devices
Hey people! Well, where to begin...I am trying to set up a video capture device under my Slackware Linux box. On my kernel compile I enabled the following things:
Device Drivers -> USB support:
Support for Host-side USB = module (usbcore)
USB device filesystem = built-in
EHCI HCD (USB 2.0) support = module (ehci-hcd)
UHCI HCD (most Intel and VIA) support = module (uhci-hcd)
USB Mass Storage support = module (usb-storage)
USB Monitor = built-in
Device Drivers -> Multimedia Devices:
Video For Linux = built-in
Enable Video For Linux API 1 (DEPRECATED) = built-in
Device Drivers -> Multimedia Devices -> Video Capture Adapters:
Everything but "Enable advanced debug funcionality" as module.
Device Drivers -> Multimedia Devices -> Video Capture Adapters -> Encoders and decoders:
Everything as module.
Device Drivers -> Multimedia Devices -> Video Capture Adapters -> V4L USB devices:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 17, io mem 0xffa00000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 18, io base 0x0000cc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 16, io base 0x0000d400
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 2-2: new full speed USB device using uhci_hcd and address 2
ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 18, io base 0x0000d800
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 2-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
sn9c102: V4L2 driver for SN9C10x PC Camera Controllers v1:1.27
usb 2-2: SN9C10[12] PC Camera Controller detected (vid/pid 0x0C45/0x602D)
usb 2-2: OV7630 image sensor detected
usb 2-2: Initialization succeeded
usb 2-2: V4L2 device registered as /dev/video0
usbcore: registered new driver sn9c102
Q1: Is my usb everything all set? If I am having problem with my USB cam, at least it is not on my USB support? I am asking this because, according to the site: http://www.linux.com/howtos/Webcam-H...shooting.shtml , I should see something when I type: lsusb and I don't see anything:
bash-3.1# lsusb
bash-3.1#
And when I try:
bash-3.1# cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory
bash-3.1#
Q2: IF it is everything ok with my USB set, is there any way to fix my webcam problem? Here are the outputs of some programs I've tried:
Amsn:
dlsym[./utils/linux/capture/libng/plugins/drv0-v4l2.so]: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: _ng_plugin_init
dlsym[./utils/linux/capture/libng/plugins/drv1-v4l.so]: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: _ng_plugin_init
WARNING: no plugins found [/home/tech/amsn-0.95]
ioctl: VIDIOCGCAP(name="2¾·@¨Ê·";type=0x1f [CAPTURE,TUNER,TELETEXT,OVERLAY,CHROMAKEY];channels=-1211455404;audios=-1212282876;maxwidth=40;maxheight=31;minwidth=143712226;minheight=-1210043904): Invalid argument
And it says: "Error getting capabilities" in the webcam setup session.
Mercury:
On JMF Wizard:
Looking for video capture devices...
- Finished detecting V4LAuto classes.
Starting detected classes... (This might take some time)
- Done.
There are no video capture devices present.
Xawtv:
This is xawtv-3.95, running on Linux/i686 (2.6.17.4)
WARNING: Your X-Server has no DGA support.
seteuid(root): Operation not permitted
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xb793da40b7bc01ac [PAL_G,PAL_H,PAL_D,PAL_K,PAL_M,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,?ATSC_8_VSB,ATSC_16_VSB,(null),(null) ,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
Doesn't show anything on screen, and the title of the window is: "???"
Xawtv (as root):
This is xawtv-3.95, running on Linux/i686 (2.6.17.4)
WARNING: Your X-Server has no DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xb7943a40b7bc61ac [PAL_G,PAL_H,PAL_D,PAL_K,PAL_M,NTSC_M_JP,?,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,?ATSC_8_VSB,ATSC_16_VSB,( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
Same results as non-root (Doesn't show anything on screen, and the title of the window is: "???").
ANY help on ANY of the questions would be so much appreciated. Thanks everyone for the attention!
I tried v4l2 and it would not work. Instead, I am using v4l without problems. Ekiga and amsn.
Try using v4l and see how it goes. I don't have an answer to your v4l2 problem, but this may be a good starting point to eliminate concerns about your cam.
Someone, with more experience with video may be able to help?
Last edited by The_Outlander; 07-27-2006 at 05:43 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.