Frédéric BOITEUX a écrit :
Le jeu 02 fév 2006 13:17:10 CET, Nicolas Folin <[EMAIL PROTECTED]> a écrit : Bon. J'ai bien compris l'idée, j'ai ma ligne de règle...enfin, je crois. Mon problème à moi, c'est que je dois la mettre OU, cette règle ? L'anglais utilisé étant un poil plus technique que ce que j'ai l'habitude de lire, je ne l'ai peut être pas vu..... je devrais avoir un truc du genre: BUS="scsi", SYSFS{vendor}="NIKON ", KERNEL="sd?1", NAME="%k", SYMLINK="MonNikonAMoi" sauf que je sèche pour KERNEL et NAME... Je mets la sortie de udevinfo ci dessous.... udevinfo -a -p /sys/block/sdb/sdb1/ 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. device '/sys/block/sdb/sdb1' has major:minor 8:17 looking at class device '/sys/block/sdb/sdb1': SUBSYSTEM="block" SYSFS{dev}="8:17" SYSFS{size}="967439" SYSFS{start}="241" SYSFS{stat}=" 0 0 0 0" follow the class device's "device" looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.2/usb3/3-3/ 3-3.2/3-3.2:1.0/host6/target6:0:0/6:0:0:0': BUS="scsi" ID="6:0:0:0" DRIVER="sd" SYSFS{device_blocked}="0" SYSFS{iocounterbits}="32" SYSFS{iodone_cnt}="0xb" SYSFS{ioerr_cnt}="0x0" SYSFS{iorequest_cnt}="0xb" SYSFS{max_sectors}="240" SYSFS{model}="NIKON DSC E7900 " SYSFS{queue_depth}="1" SYSFS{queue_type}="none" SYSFS{rev}="1.00" SYSFS{scsi_level}="3" SYSFS{state}="running" SYSFS{timeout}="30" SYSFS{type}="0" SYSFS{vendor}="NIKON " |
- udev, hotplug,sysfs,dbus et hal !!! Bayrouni
- Re: udev, hotplug,sysfs,dbus et hal !!! Tyler
- Re: udev, hotplug,sysfs,dbus et hal !!! giggz
- Re: udev, hotplug,sysfs,dbus et hal !!! Nicolas Folin
- Re: udev, hotplug,sysfs,dbus et hal !... Frédéric BOITEUX
- Re: udev, hotplug,sysfs,dbus et h... Nicolas Folin
- Re: udev, hotplug,sysfs,dbus... Frédéric BOITEUX
- Re: udev, hotplug,sysfs,... Nicolas Folin
- Re: udev, hotplug,sy... Nicolas Folin
- Re: udev, hotplug,sy... tnemeth
- Re: udev, hotplug,sy... Nicolas Folin
- Re: udev, hotplug,sysfs,dbus et hal !... Bayrouni
- Re: udev, hotplug,sysfs,dbus et hal !!! Nicolas Folin
- Re: udev, hotplug,sysfs,dbus et hal !... yannick foeillet
- Re: udev, hotplug,sysfs,dbus et h... Nicolas Folin
- Re: udev, hotplug,sysfs,dbus et hal !... Jean-Luc Coulon (f5ibh)

