Gentoo Archives: gentoo-desktop

From: Collins Richey <crichey@×××××.com>
To: Lindsay Haisley <fmouse-gentoo@×××.com>, gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem
Date: Sun, 17 Oct 2004 03:34:47
Message-Id: e00942e4041016203421b3875d@mail.gmail.com
In Reply to: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem by Lindsay Haisley
1 On Sat, 16 Oct 2004 22:23:10 -0500, Lindsay Haisley
2 <fmouse-gentoo@×××.com> wrote:
3
4 > I have a digital camera which connects to my Linux desktop system via a USB
5 > port. Under kernel 2.4.20-r9, when the camera is connected, devfsd creates
6 > /dev/scsi/host4 (there is already a valid host1, host2 and host3).
7 > /dev/scsi/host4/bus0/target0/lun0/part1 is the CF card in the camera, and
8 > can be read as a FAT filesystem drive. When the camera is turned off and
9 > disconnected, the file heirarchy under /scsi/host4 remains there, except for
10 > part1, the actual CF card.
11 >
12 > With kernel 2.6.8-r10 the situation is fubar. Each time the camera is
13 > turned off and on, another file heirarchy is created under /dev/scsi for the
14 > camera, and the previous /scsi/host* trees created when the camera was
15 > connected previously remain, but contain no devices.
16
17 A perfectly valid question.
18
19 I can't explain the behavior for devfs, but you should be able to cure
20 the problem by moving over to udev. You can add a udev paramter to
21 insure that the camera always mounts as some specific device, example
22 /dev/sda?. udev does not use the complex
23 /dev/scsi/host4/bus0/target0/lun0/part? nomenclature.
24
25 Some devfs guru may be able to help you, but if it's a bug, you're
26 sol. devfs has been deprecated. You'll be better off making the effort
27 to get udev/coldplug up and running. There are a few little wrinkles
28 with nvidia and sound cards, but all in all udev is sweet. There's a
29 gentoo udev howto and lots of info on forums.
30
31 HTH,
32
33 --
34 /\/\
35 (CR) Collins Richey
36 \/\/ "I hear you're single again." "Spouse 2.0 had fewer bugs than
37 Spouse 1.0, but the maintenance ... was too much for my OS."
38 - Glitch (tm)
39
40 --
41 gentoo-desktop@g.o mailing list

Replies

Subject Author
Re: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem Luke-Jr <luke-jr@×××××××.org>
Re: [gentoo-desktop] Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem Lindsay Haisley <fmouse-gentoo@×××.com>