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 - http://dev.gentoo.org/~flameeyes/ (Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)
pgpsEUzZBpdL0.pgp
Description: PGP signature
_______________________________________________ Libcdio-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/libcdio-devel
