From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Drillich Date: Fri, 03 Oct 2008 13:27:18 +0000 Subject: Re: ide dvd burner detected as ide-tape Message-Id: <200810031527.19927.th@drillich.com> List-Id: References: <200810010100.06299.th@drillich.com> In-Reply-To: <200810010100.06299.th@drillich.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 ? -- mit freundlichem Gruss -- regards Thomas Drillich