No /dev/video1 present ?
I plugged my webcam and there is no /dev/videoX
available for it. How can it make it found ? How to refresh the /dev/... ? 2.6.18 kernel, and it is sure that the webcam works. Would have anyone any single idea ? htank you ! |
Is there a udev rule that creates the /dev/videoX symlink?
Execute udevtrigger. It's only supposed to be needed for non-removable devices, but I've found it's sometimes needed for removable devices as well. |
Quote:
Quote:
Quote:
when I type : Quote:
|
Quote:
Quote:
Quote:
======= then: # # udevinfo -a -p /s ys/devices/pci0000\:00/0000\:00\:10.3/usb4/4-1/4-1.2/4-1.2\:1.0/usbdev4.14_ep81/dev udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created. looking at device '/devices/pci0000:00/0000:00:10.3/usb4/4-1/4-1.2/4-1.2:1.0/usbdev4.14_ep81/dev': KERNEL=="dev" SUBSYSTEM=="" looking at device '/devices/pci0000:00/0000:00:10.3/usb4/4-1/4-1.2/4-1.2:1.0/usbdev4.14_ep81': ID=="usbdev4.14_ep81" BUS=="usb_endpoint" DRIVER=="" SYSFS{direction}=="in" SYSFS{type}=="Isoc" SYSFS{interval}=="1ms" SYSFS{wMaxPacketSize}=="0000" SYSFS{bInterval}=="01" SYSFS{bmAttributes}=="01" SYSFS{bEndpointAddress}=="81" SYSFS{bLength}=="07" SYSFS{dev}=="442:6157" looking at device '/devices/pci0000:00/0000:00:10.3/usb4/4-1/4-1.2/4-1.2:1.0': ID=="4-1.2:1.0" BUS=="usb" DRIVER=="" SYSFS{modalias}=="usb:v046Dp0928d0000dcFFdscFFdp00icFFisc00ip00" SYSFS{bInterfaceProtocol}=="00" SYSFS{bInterfaceSubClass}=="00" SYSFS{bInterfaceClass}=="ff" SYSFS{bNumEndpoints}=="01" SYSFS{bAlternateSetting}==" 0" SYSFS{bInterfaceNumber}=="00" looking at device '/devices/pci0000:00/0000:00:10.3/usb4/4-1/4-1.2': ID=="4-1.2" BUS=="usb" DRIVER=="usb" SYSFS{configuration}=="" SYSFS{product}=="Camera" SYSFS{manufacturer}==" " SYSFS{maxchild}=="0" SYSFS{version}==" 1.10" SYSFS{devnum}=="14" SYSFS{speed}=="12" SYSFS{bMaxPacketSize0}=="8" SYSFS{bNumConfigurations}=="1" SYSFS{bDeviceProtocol}=="00" SYSFS{bDeviceSubClass}=="ff" SYSFS{bDeviceClass}=="ff" SYSFS{bcdDevice}=="0000" SYSFS{idProduct}=="0928" SYSFS{idVendor}=="046d" SYSFS{bMaxPower}=="100mA" SYSFS{bmAttributes}=="80" SYSFS{bConfigurationValue}=="1" SYSFS{bNumInterfaces}==" 1" looking at device '/devices/pci0000:00/0000:00:10.3/usb4/4-1': ID=="4-1" BUS=="usb" DRIVER=="usb" SYSFS{configuration}=="" SYSFS{maxchild}=="4" SYSFS{version}==" 2.00" SYSFS{devnum}=="2" SYSFS{speed}=="480" SYSFS{bMaxPacketSize0}=="64" SYSFS{bNumConfigurations}=="1" SYSFS{bDeviceProtocol}=="02" SYSFS{bDeviceSubClass}=="00" SYSFS{bDeviceClass}=="09" SYSFS{bcdDevice}=="0009" SYSFS{idProduct}=="6560" SYSFS{idVendor}=="04b4" SYSFS{bMaxPower}=="100mA" SYSFS{bmAttributes}=="e0" SYSFS{bConfigurationValue}=="1" SYSFS{bNumInterfaces}==" 1" looking at device '/devices/pci0000:00/0000:00:10.3/usb4': ID=="usb4" BUS=="usb" DRIVER=="usb" SYSFS{configuration}=="" SYSFS{serial}=="0000:00:10.3" SYSFS{product}=="EHCI Host Controller" SYSFS{manufacturer}=="Linux 2.6.18-3-686 ehci_hcd" SYSFS{maxchild}=="6" SYSFS{version}==" 2.00" SYSFS{devnum}=="1" SYSFS{speed}=="480" SYSFS{bMaxPacketSize0}=="64" SYSFS{bNumConfigurations}=="1" SYSFS{bDeviceProtocol}=="01" SYSFS{bDeviceSubClass}=="00" SYSFS{bDeviceClass}=="09" SYSFS{bcdDevice}=="0206" SYSFS{idProduct}=="0000" SYSFS{idVendor}=="0000" SYSFS{bMaxPower}==" 0mA" SYSFS{bmAttributes}=="e0" SYSFS{bConfigurationValue}=="1" SYSFS{bNumInterfaces}==" 1" looking at device '/devices/pci0000:00/0000:00:10.3': ID=="0000:00:10.3" BUS=="pci" DRIVER=="ehci_hcd" SYSFS{broken_parity_status}=="0" SYSFS{enable}=="1" SYSFS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20" SYSFS{local_cpus}=="ff" SYSFS{irq}=="169" SYSFS{class}=="0x0c0320" SYSFS{subsystem_device}=="0x3104" SYSFS{subsystem_vendor}=="0x1106" SYSFS{device}=="0x3104" SYSFS{vendor}=="0x1106" looking at device '/devices/pci0000:00': ID=="pci0000:00" BUS=="" DRIVER=="" |
then # cat /proc/devices
Character devices: 1 mem 2 pty 3 ttyp 4 /dev/vc/0 4 tty 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 7 vcs 10 misc 13 input 14 sound 29 fb 81 video4linux 116 alsa 128 ptm 136 pts 180 usb 189 usb_device 226 drm Block devices: 1 ramdisk 2 fd 3 ide0 7 loop 8 sd 22 ide1 65 sd 66 sd 67 sd 68 sd 69 sd 70 sd 71 sd 128 sd 129 sd 130 sd 131 sd 132 sd 133 sd 134 sd 135 sd 254 device-mapper |
Ok, so you got the information you need to write a rule. Read the link I provided earlier.
|
hmmm, soo, good beginning then. Let's study, :study: to understand how that works
(not so easy at beginning) thank you Arow!! |
All times are GMT -5. The time now is 03:43 PM. |