On Fri, Oct 3, 2008 at 3:27 PM, Thomas Drillich <th@xxxxxxxxxxxx> wrote: > I did some more research on the LG GH22LP20 DVD burner > http://www.lge.com/products/model/detail/gh22lp20.jhtml > >>udevinfo -a -p /sys/class/ide_port/ide0/device/0.0 > looking at device '/devices/pci0000:00/0000:00:1f.0/ide0/0.0': > KERNEL=="0.0" > SUBSYSTEM=="ide" > DRIVER=="" > ATTR{media}=="tape" > ATTR{drivename}=="hda" > ATTR{modalias}=="ide:m-tape" > ATTR{model}=="HL)DP-ST@V@-RAI CH22HP20" > ATTR{firmware}=="1.00" > ATTR{serial}=="" > >>udevadm test /sys/class/ide_port/ide0/device/0.0 > -- snipp > import_uevent_var: import into environment: 'PHYSDEVBUS=ide' > import_uevent_var: import into environment: 'MEDIA=tape' > import_uevent_var: import into environment: 'DRIVENAME=hda' > import_uevent_var: import into environment: 'MODALIAS=ide:m-tape' > udevtest: looking at device '/class/ide_port/ide0/device/0.0' from > subsystem 'ide' > udevtest: run: '/sbin/modprobe --use-blacklist ide:m-tape' > udevtest: run: '/sbin/modprobe ide-scsi' > udevtest: run: 'socket:/org/freedesktop/hal/udev_event' > udevtest: run: 'socket:@/org/kernel/udev/monitor' > --end snipp > > > could you help me to write a correct rule ? What udev rule? It's the kernel which need to know that this device isn't a tape but an optical drive. :) Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html