Pagina 1 di 1

REGISTRATORE USB MP3 panasonic

Inviato: mer 8 nov 2006, 13:26
da scartozzo
Qualcuno ha idea di come si possa configurare (driver e quanto altro) e se fattibile?

udevinfo mi da il seguente responso (il kernel non sembra riconoscerlo come storage):

Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/class/usb_device/usbdev4.2':
KERNEL=="usbdev4.2"
SUBSYSTEM=="usb_device"
DRIVER==""
SYSFS{dev}=="189:385"

looking at parent device '/devices/pci0000:00/0000:00:1d.2/usb4/4-1':
ID=="4-1"
BUS=="usb"
DRIVER=="usb"
SYSFS{configuration}==""
SYSFS{product}=="M66291GP"
SYSFS{manufacturer}=="Mitsubishi"
SYSFS{maxchild}=="0"
SYSFS{version}==" 1.10"
SYSFS{devnum}=="2"
SYSFS{speed}=="12"
SYSFS{bMaxPacketSize0}=="8"
SYSFS{bNumConfigurations}=="1"
SYSFS{bDeviceProtocol}=="00"
SYSFS{bDeviceSubClass}=="00"
SYSFS{bDeviceClass}=="00"
SYSFS{bcdDevice}=="0001"
SYSFS{idProduct}=="2390"
SYSFS{idVendor}=="04da"
SYSFS{bMaxPower}=="100mA"
SYSFS{bmAttributes}=="80"
SYSFS{bConfigurationValue}=="1"
SYSFS{bNumInterfaces}==" 1"

looking at parent device '/devices/pci0000:00/0000:00:1d.2/usb4':
ID=="usb4"
BUS=="usb"
DRIVER=="usb"
SYSFS{configuration}==""
SYSFS{serial}=="0000:00:1d.2"
SYSFS{product}=="UHCI Host Controller"
SYSFS{manufacturer}=="Linux 2.6.18.1 uhci_hcd"
SYSFS{maxchild}=="2"
SYSFS{version}==" 1.10"
SYSFS{devnum}=="1"
SYSFS{speed}=="12"
SYSFS{bMaxPacketSize0}=="64"
SYSFS{bNumConfigurations}=="1"
SYSFS{bDeviceProtocol}=="00"
SYSFS{bDeviceSubClass}=="00"
SYSFS{bDeviceClass}=="09"
SYSFS{bcdDevice}=="0206"
SYSFS{idProduct}=="0000"
SYSFS{idVendor}=="0000"
SYSFS{bMaxPower}==" 0mA"
SYSFS{bmAttributes}=="e0"
SYSFS{bConfigurationValue}=="1"
SYSFS{bNumInterfaces}==" 1"

looking at parent device '/devices/pci0000:00/0000:00:1d.2':
ID=="0000:00:1d.2"
BUS=="pci"
DRIVER=="uhci_hcd"
SYSFS{broken_parity_status}=="0"
SYSFS{enable}=="1"
SYSFS{modalias}=="pci:v00008086d0000265Asv00001179sd0000FF00bc0Csc03i00"
SYSFS{local_cpus}=="1"
SYSFS{irq}=="19"
SYSFS{class}=="0x0c0300"
SYSFS{subsystem_device}=="0xff00"
SYSFS{subsystem_vendor}=="0x1179"
SYSFS{device}=="0x265a"
SYSFS{vendor}=="0x8086"

looking at parent device '/devices/pci0000:00':
ID=="pci0000:00"
BUS==""
DRIVER==""

Inviato: mer 8 nov 2006, 18:02
da albatros
Cosa vuoi fare, scrivere una regola per /etc/udev/udev.rules ?
Per il mio lettore mp3 ho scritto:

BUS="scsi", SYSFS{model}="Audio Player ",NAME="lettore%1"

e in /etc/fstab ho aggiunto:

/dev/lettore /let auto user,exec,rw,noauto,async 0 0

Non ho fatto nulla per avere l'automounting, una volta inserita la chiavetta-lettore mi compare /dev/lettore, che monto semplicemente scrivendo mount /let

Ho ancora udev e hotplug della 10.2 .
Per gli identificativi di BUS, SYSFS, eccetera, devi scrivere esattamente l'output di udevinfo , io ho usato un copia e incolla col mouse...

Il filesystem del lettore è (era, perché l'ho perso giusto l'altro ieri :cry: ) una fat32, ho messo l'auto perché a volte formatto in ext2 se devo trasportare dati e non voglio fare archivi tar per conservare i permessi...
Per come è scritta la regola si suppone anche che si abbia una sola partizione di interesse...