Gentoo Archives: gentoo-desktop

From: Wonko@wonkology.org (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$x9d8B@wonkology.org
In Reply to: Re: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem by Luke-Jr
1 Luke-Jr writes:
2
3 >> I can't explain the behavior for devfs, but you should be able to cure
4 >> the problem by moving over to udev. You can add a udev paramter to
5 >> insure that the camera always mounts as some specific device, example
6 >> /dev/sda?. udev does not use the complex
7 >> /dev/scsi/host4/bus0/target0/lun0/part? nomenclature.
8
9 > I actually like having the /dev/scsi/host4/bus0/target0/lun0/part stuff.
10 > In certain circumstances, accessing devices based on physical location
11 > can be useful.
12
13 I have both, my USB stick is acessible as /dev/stick, /dev/sda1 and
14 /dev/bus/pci/domain1-1/bus1.0/slot0/function0/scsi/bus0/
15 target0/lun0/part1.
16
17 But to make SCSI work, I had to add a file /etc/udev/rules.d/10-
18 local.rules containing the lines that are commented out in /etc/udev/
19 scripts/scsi-devfs.sh. I also added a these line to make /dev/stick
20 being created:
21
22 BUS="scsi", KERNEL="sd?1", SYSFS{vendor}="SanDisk", SYSFS{model}="Cruzer Mini", SYMLINK="stick"
23
24 Alex
25 --
26 Alex Schuster Wonko@×××××××××.org PGP Key available
27 Wonko@××××××××××.de
28
29 --
30 gentoo-desktop@g.o mailing list