[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Drive capabilities on FreeBSD, need work?

From: Diego 'Flameeyes' Pettenò
Subject: Re: [Libcdio-devel] Drive capabilities on FreeBSD, need work?
Date: Fri, 22 Jul 2005 18:22:18 +0200
User-agent: KMail/1.8.1

On Thursday 21 July 2005 22:26, Heiner wrote:
> You are right. But please read the chapters about cd and dvd burning. While
> cd burning works without cam (if you like command line tools), dvd doesn't
> (if you have an atapi drive). So it is not unlikely, that cam is installed.
That's true too. And this can be worked around on Gentoo/FreeBSD at least 
providing a GENTOO kernel modified from GENERIC with atapicam support enabled 
by default.
At the end I can probably just code an hack to provide the basic capabilities 
in case CAM is not enabled.

> "man 4 cd" shows 2 ioctls for ejecting and closing. There are even more
> ioctls, but not all of them work (like CDIOCCAPABILITY). Cam is imho the
> better choice.
Yes I found them, but the kernel has a way to get those capabilities (in 
atapi-cd.c sourcefile), so I'm wondering if there's a way to get those data 
from userland.

Diego "Flameeyes" Pettenò
Gentoo Developer -
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)

Attachment: pgpYKOCFZeHJ0.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]