On Fri, Feb 01, 2002, Arnd Bergmann wrote:
You first need to get the MMC specifications from http://www.t10.org/drafts.htm. It looks like there is a new 'MMC-4' version that might be better than 'MMC-3', but I have not read it yet.
Thanks, I didn't know about these.
In order to test writing to the drive, you should probably start with cdrwtool from the UDF package and see how much you have to change to make it work on your drive. You can also look at cdrecord to see some code that should be able to write to your drive already, but that is a lot harder to understand than cdrwtool.
I have cdrecord working using the patch from http://www.abcpages.com/~mache/cdrecord-dvd.html. It only works for DAO, though and the cdrecord source is pretty ugly.
IIRC, DVD-RW drives can operate similarly to DVD-RAM drives (which are supported in the standard kernel), but need to be initialized differently. If that's true, you would be better off basing the kernel support on the scsi cdrom driver than the packet writing driver and have the added bonus of being able to use any file system, not just UDF.
I was hoping this might be the case. I'll look into it.
I just noticed there is already a driver for DVD+RW (not DVD-RW) on http://fy.chalmers.se/~appro/linux/DVD+RW/, which might also be helpful.
I had a naive go at this (ie. just changing the code to set DVD-RW as writeable). Didn't work. I guess I'll have to actually read and understand the code! Keith. -- =============================================================================== Dr Keith Bennett tel: +44 (0)1334 463735 School of Mathematics and Statistics, fax: +44 (0)1334 463748 University of St. Andrews, email: keith@mcs.st-and.ac.uk St. Andrews, Fife KY16 9SS SCOTLAND http://www-solar.mcs.st-and.ac.uk/~keith ===============================================================================