Re: Disable cdrom polling



Nikos Chantziaras wrote:

Chris wrote:
Anyone know how to disable just cdrom polling (i.e. automounting) in
openSUSE 10.2? powerTOP says I need to execute the hal-stop-polling
command, but that command doesn't exist. I've tried googling, but I
cannot seem to find the solution.

(Slightly off-topic.)

AFAIK, the CD/DVD drive isn't polled anymore. It's the device that
informs the OS when a media is inserted. But I guess this assumes you
aren't using a drive from 1997 or such.

It is not off topic.
It is difference between telling OS that media is changed when asked and
actively sending notification when media is inserted without being asked.

According to hal-disable-polling manpage the second is missing:
"Despite the existence of support for asynchronous media change
notification in recent MMC (Multi-Media Commands) specifications, virtually
no optical drives are compliant with the specification. Fortunately newer
SATA ATAPI hardware seems to support Asynchronous Notification (AN)
and at this time of writing (March 2007) work is underway to make both the
Linux operating system kernel and HAL take advantage of this."

--
Regards,
Rajko.
.



Relevant Pages

  • Re: Model 4 Disk Drive Issue
    ... controller command could be changed to one that does write. ... remove media from all other drives. ... (If you have Tandon drives you will need to change the step rate*. ... each group is content of the floppy disk controller status register. ...
    (comp.sys.tandy)
  • Re: DEV_BROADCAST_HANDLE / DEV_BROADCAST_HANDLE64 ?
    ... Debug output is made into the console window. ... When a media is removed or inserted it receives DBT_CUSTOMEVENT ... Floppy drives do not work because of missing media notification ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DEV_BROADCAST_HANDLE / DEV_BROADCAST_HANDLE64 ?
    ... Debug output is made into the console window. ... When a media is removed or inserted it receives DBT_CUSTOMEVENT ... Floppy drives do not work because of missing media notification ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DEV_BROADCAST_HANDLE / DEV_BROADCAST_HANDLE64 ?
    ... Debug output is made into the console window. ... When a media is removed or inserted it receives DBT_CUSTOMEVENT ... Floppy drives do not work because of missing media notification ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Ejecting a drive from a laptop bay...
    ... the 'eject' command is for ejecting the media in the drive not the ... > how this command helps me with swapping the drive out of the laptop bay. ... removal and installation of drives. ...
    (Fedora)