In latest Gnome, CD-ROM drives appear as mass storage drives...

Yes, the current HAL doesn't seem to be able to detect optical drives in 9.0. I've kinda hacked it by creating the following file:

/usr/local/share/hal/fdi/information/30cdrom/01-cdrom.fdi:

The contents are:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="freebsd.driver" string="cd">
      <merge key="storage.media_check_enabled" type="bool">true</merge>
      <merge key="storage.drive_type" type="string">cdrom</merge>
      <merge key="storage.removable" type="bool">true</merge>
      <merge key="storage.no_partitions_hint" type="bool">true</merge>
      <merge key="storage.requires_eject" type="bool">true</merge>
      <merge key="storage.hotpluggable" type="bool">true</merge>
      <addset key="info.capabilities" type="string">storage.cdrom</addset>
    </match>
  </device>
</deviceinfo>
Seems to semi-work for me under KDE, although k3b still chokes trying to read Audio CDs.

Let me know if it works for you.

Mark
 
I tried the solution you posted, and it does seem to work. Thanks for the information.

However, at boot/shutdown time I get error messages now about sending zero length messages via DMA to the device or something like that. It does appear to allow auto mounting of CDs (although it does give an error message prior to mounting). Do you have a similar solution to auto mount USB sticks in Gnome?
 
Back
Top