On 2008-08-28 02:47 +0200, Marco d'Itri wrote:

> On Aug 18, Sven Joachim <[EMAIL PROTECTED]> wrote:
>
>> | #  (pci-0000:00:02.5-scsi-1:0:1:0)
> For a start, this is bad: how can ID_MODEL be empty?

I don't know.  For a test, I rebooted into an old kernel with ide-cdrom
driver, and udev put the model in, but created a duplicate CDROM entry
anyway:

,----
| # HL-DT-ST_GCE-8525B (pci-0000:00:02.5-ide-1:1)
| ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:02.5-ide-1:1", 
SYMLINK+="cdrom", ENV{GENERATED}="1"
| ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:02.5-ide-1:1", 
SYMLINK+="cdrw", ENV{GENERATED}="1"
| # HL-DT-STDVD-ROM_GDR8162B (pci-0000:00:02.5-ide-1:0)
| ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:02.5-ide-1:0", 
SYMLINK+="cdrom", ENV{GENERATED}="1"
| ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:02.5-ide-1:0", 
SYMLINK+="dvd", ENV{GENERATED}="1"
`----

>> The devices are a DVD-ROM drive and a CDRW burner:
> Is any of your devices NOT a CD reader?
> (As defined by /lib/udev/cdrom_id.)

Does not seem so:

,----
| % /lib/udev/cdrom_id /dev/scd0
| ID_CDROM=1
| ID_CDROM_DVD=1
| ID_CDROM_MRW=1
| ID_CDROM_MRW_W=1
| % /lib/udev/cdrom_id /dev/scd1
| ID_CDROM=1
| ID_CDROM_CD_R=1
| ID_CDROM_CD_RW=1
| ID_CDROM_MRW=1
| ID_CDROM_MRW_W=1
| %
`----

> This issue looks very specific to your hardware, I fear you will have to
> try to debug write_cd_rules by yourself.

How do I do this?  I'm not familiar with udev, so I don't even know who
is calling this script, and with which arguments.

Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to