1 |
I have an iRiver mp3 player that can be mounted as a USB mass storage |
2 |
device. Up until recently it connected perfectly when I plugged it in |
3 |
and I even had a udev rule to symlink it to /dev/iriver for me. |
4 |
|
5 |
Now, after some update, the device nodes are no longer getting created |
6 |
in /dev when I plug it in. I tried updating the kernel to 2.6.20 hopeing |
7 |
for a fix, but it still doesn't work. I am using udev-104-r12. |
8 |
|
9 |
Here is the output from dmesg after connecting: |
10 |
|
11 |
usb 1-6: new high speed USB device using ehci_hcd and address 5 |
12 |
usb 1-6: configuration #2 chosen from 1 choice |
13 |
scsi7 : SCSI emulation for USB Mass Storage devices |
14 |
usb-storage: device found at 5 |
15 |
usb-storage: waiting for device to settle before scanning |
16 |
scsi 7:0:0:0: Direct-Access TOSHIBA MK2004GAL JC10 PQ: 0 |
17 |
ANSI: 0 CCS |
18 |
SCSI device sdd: 39063024 512-byte hdwr sectors (20000 MB) |
19 |
sdd: Write Protect is off |
20 |
sdd: Mode Sense: 00 4a 00 00 |
21 |
sdd: assuming drive cache: write through |
22 |
SCSI device sdd: 39063024 512-byte hdwr sectors (20000 MB) |
23 |
sdd: Write Protect is off |
24 |
sdd: Mode Sense: 00 4a 00 00 |
25 |
sdd: assuming drive cache: write through |
26 |
sdd: sdd1 |
27 |
sd 7:0:0:0: Attached scsi disk sdd |
28 |
sd 7:0:0:0: Attached scsi generic sg3 type 0 |
29 |
usb-storage: device scan complete |
30 |
|
31 |
|
32 |
|
33 |
What I have in /dev (only shows my SATA drive partitions): |
34 |
|
35 |
ls /dev/sd* |
36 |
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 /dev/sda6 |
37 |
|
38 |
|
39 |
It does show up in /sys/block/sdd/sdd1 though and I can query it there |
40 |
with udevinfo, but my udev rule does not get triggered. Here is the |
41 |
rule: |
42 |
SUBSYSTEMS=="usb" ATTRS{product}=="iRiver iHP-100 Series" NAME="iriver" |
43 |
|
44 |
The relevent part from udevinfo: |
45 |
looking at parent device '/devices/pci0000:00/0000:00:0b.1/usb1/1-6': |
46 |
KERNELS=="1-6" |
47 |
SUBSYSTEMS=="usb" |
48 |
DRIVERS=="usb" |
49 |
ATTRS{serial}=="0123456789AB" |
50 |
ATTRS{product}=="iRiver iHP-100 Series" |
51 |
ATTRS{manufacturer}=="iRiver " |
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
-- |
58 |
gentoo-user@g.o mailing list |