Thx But I`ve problem:
#udevinfo -a -p $(udevinfo -q path -n /dev/sda1) looking at device '/block/sda/sda1': KERNEL=="sda1" SUBSYSTEM=="block" DRIVER=="" ATTR{partition}=="1" ATTR{start}=="63" ATTR{size}=="156296322" ATTR{stat}==" 148637 1727082 14967530 776136 31421 447543 3831736 3817702 0 604106 4593505" looking at parent device '/block/sda': KERNELS=="sda" SUBSYSTEMS=="block" DRIVERS=="" ATTRS{range}=="16" ATTRS{ext_range}=="256" ATTRS{removable}=="0" ATTRS{ro}=="0" ATTRS{size}=="156301488" ATTRS{capability}=="52" ATTRS{stat}==" 148656 1727118 14967970 778421 31421 447543 3831736 3817702 0 606386 4595790" ATTRS{bcdDevice}=="0206" ATTRS{bDeviceClass}=="09" ATTRS{bDeviceSubClass}=="00" ATTRS{bDeviceProtocol}=="00" ATTRS{bNumConfigurations}=="1" ATTRS{bMaxPacketSize0}=="64" ATTRS{speed}=="480" ATTRS{busnum}=="3" ATTRS{devnum}=="1" ATTRS{version}==" 2.00" ATTRS{maxchild}=="6" ATTRS{quirks}=="0x0" ATTRS{authorized}=="1" ATTRS{manufacturer}=="Linux 2.6.30-486-voyage-486-voyage ehci_hcd" ATTRS{product}=="EHCI Host Controller" ATTRS{serial}=="0000:00:10.3" ATTRS{authorized_default}=="1" looking at parent device '/devices/pci0000:00/0000:00:10.3': KERNELS=="0000:00:10.3" SUBSYSTEMS=="pci" DRIVERS=="ehci_hcd" ATTRS{vendor}=="0x1106" ATTRS{device}=="0x3104" ATTRS{subsystem_vendor}=="0x1106" ATTRS{subsystem_device}=="0x3104" ATTRS{class}=="0x0c0320" ATTRS{irq}=="12" ATTRS{local_cpus}=="1" ATTRS{local_cpulist}=="0" ATTRS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20" ATTRS{enable}=="1" ATTRS{broken_parity_status}=="0" ATTRS{msi_bus}=="" looking at parent device '/devices/pci0000:00': KERNELS=="pci0000:00" SUBSYSTEMS=="" DRIVERS=="" So, I made rule in /etc/udev/rules.d: 10-usb.rules #SUBSYSTEM=="block", SUBSYSTEMS=="scsi", KERNEL=="sd[a-z]1", ATTR{vendor}=="TOSHIBA ", ATTR{model}=="MK8034GSX ", NAME="usb-toshiba", SYMLINK ="usbdevices/usb-toshiba" But after /etc/init.d/udev restart symlink /dev/usbdevices/usb-toshiba doesn`t exist why? On Thu, 19 Jan 2012 16:59:08 +0100, Jordi Soucheiron wrote > You could use udev to add custom symlinks. > Jordi Soucheiron > Software Engineer > jsouchei...@dexmatech.com > > DEXMA > c/ Marie Curie, 8-14 > ES-08042, Barcelona > t: (+34) 93 181 01 96 > www.dexmatech.com > Follow us on Twitter and Linkedin > Síguenos en Twitter y Linkedin > > 2012/1/19 maciek <maci...@protetyka.lodz.pl> > Hello I`ve different types of webcam: > 1. bttv cctv webcams conncted to DVR card > 2. usb cam > > All those cams are identify as: /dev/video1 and /dev/video0, but it`s depend > on which one start first. > So is it possibilities to identify strictly like that: > > 1. bttv cam -> video0 > 2. usb cam -> video1 > > How to set it? > > v o i p t e l e . n e t , dzwon najtaniej jak to mozliwe > e r a u r . c o m , rozwiazania internetowe dla firm i klientow indywidualnych > > _______________________________________________ > Voyage-linux mailing list > Voyage-linux@list.voyage.hk > http://list.voyage.hk/mailman/listinfo/voyage-linux >
_______________________________________________ Voyage-linux mailing list Voyage-linux@list.voyage.hk http://list.voyage.hk/mailman/listinfo/voyage-linux