Gentoo Archives: gentoo-desktop

From: (Alex Schuster)
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem
Date: Sun, 17 Oct 2004 15:21:44
Message-Id: 9J0yT$
In Reply to: Re: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem by Luke-Jr
Luke-Jr writes:

>> I can't explain the behavior for devfs, but you should be able to cure >> the problem by moving over to udev. You can add a udev paramter to >> insure that the camera always mounts as some specific device, example >> /dev/sda?. udev does not use the complex >> /dev/scsi/host4/bus0/target0/lun0/part? nomenclature.
> I actually like having the /dev/scsi/host4/bus0/target0/lun0/part stuff. > In certain circumstances, accessing devices based on physical location > can be useful.
I have both, my USB stick is acessible as /dev/stick, /dev/sda1 and /dev/bus/pci/domain1-1/bus1.0/slot0/function0/scsi/bus0/ target0/lun0/part1. But to make SCSI work, I had to add a file /etc/udev/rules.d/10- local.rules containing the lines that are commented out in /etc/udev/ scripts/ I also added a these line to make /dev/stick being created: BUS="scsi", KERNEL="sd?1", SYSFS{vendor}="SanDisk", SYSFS{model}="Cruzer Mini", SYMLINK="stick" Alex -- Alex Schuster Wonko@×××××××××.org PGP Key available Wonko@××××××××××.de -- gentoo-desktop@g.o mailing list