On Wed, Jun 21, 2006 at 01:26:55AM +0200, Andre Heynatz wrote:
> There needs to be a way for the kernel to provide drive state changes.
> Insertion of an audio CD-ROM may lead to an audio player being started. Is it
> possible to detect the Media ID of an empty medium? 

Yes, hal already does this. If you install gnome-volume-manager it will start a
cd player on audio cd insertion..

> To determine burn speed, the system (kernel/desktop) may need some special
> information. Calling cdrecord would be one solution for this, but does it
> work on empty DVD media as well?  

Hal can provide this information for you (Although it obviously needs some 
work-arounds for broken hardware, just like cdrecord has)

> k3b can detect media if I poll it by pressing a button. I don't know how it
> does the detection, though. It should be triggered by HAL (event-based). What
> do you think?

File a bug against k3b so it listens to evens from hal :)

  Sjoerd
-- 
You must be the change you wish to see in the world.
                -- Mahatma Gandhi


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

Reply via email to