Привет всем.
Купил телефон Nokia N97 добавил флешку .. при прдключении к компьютеру как накопитель UDEV создаёт симлинк только для вставленной флешки.. а память тетлефона остаётся без симлинка.
Ядро пишет так:
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 4:0:0:0: Direct-Access Nokia S60 1.0 PQ: 0 ANSI: 0
sd 4:0:0:0: Attached scsi generic sg4 type 0
scsi 4:0:0:1: Direct-Access Nokia S60 1.0 PQ: 0 ANSI: 0
sd 4:0:0:1: Attached scsi generic sg5 type 0
sd 4:0:0:0: [sdc] 62529536 512-byte hardware sectors: (32.0 GB/29.8 GiB)
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:1: [sdd] 3911680 512-byte hardware sectors: (2.00 GB/1.86 GiB)
sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:1: [sdd] Write Protect is off
sd 4:0:0:1: [sdd] Mode Sense: 03 00 00 00
sd 4:0:0:1: [sdd] Assuming drive cache: write through
usb-storage: device scan complete
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 4:0:0:1: [sdd] Assuming drive cache: write through
sdd:<5>sd 4:0:0:0: [sdc] Attached SCSI removable disk
sdd1
sd 4:0:0:1: [sdd] Attached SCSI removable disk
Правило я такое написал:
BUS=="scsi", KERNEL=="sd*", ATTRS{vendor}=="Nokia ", ATTRS{model}=="S60 ", SYMLINK+="nokia%n", OPTIONS+="all_partitions"