Re: [gentoo-user] 10-local.rules and udev-103

2006-12-22 Thread Hans-Werner Hilse
Hi,

On Fri, 22 Dec 2006 11:51:58 +0100 Marco Calviani
[EMAIL PROTECTED] wrote:

 and now i've changed it to be:
 
 SUBSYSTEMS==scsi,KERNEL==sd*,ATTR{vendor}==FUJIFILM,ATTR{model}
 ==USB-DRIVEUNIT,NAME==%k,SYMLINK==camera

read and understand man udev: matching is not assignment! The first
ones are checks for equality (==), but the last both seem to be meant
as assignments (=), so you might want this instead:

SUBSYSTEMS==scsi,KERNEL==sd*,ATTR{vendor}==FUJIFILM,ATTR{model}==USB-DRIVEUNIT,NAME=%k,SYMLINK=camera

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 10-local.rules and udev-103

2006-12-22 Thread Marco Calviani

Hi Hans,
  well, you're correct. The other thing i had to change to have it
working is the ATTR -- ATTRS change.

Best regards,
mc
--
gentoo-user@gentoo.org mailing list