CD-RW/DVD-ROM Combo

Gene Dascher gedascher at multiservice.com
Mon Apr 5 14:04:12 CDT 2004


Just in case anyone on the list using Gentoo (kernel 2.4.x) might have problems getting a CD-RW/DVD 
Combo drive to burn cds with ide-scsi emulation and play DVDs with DMA enabled.

Here is what I did to solve my problem:

	1) I re-compiled my kernel with both ide-cd and ide-scsi as modules.
	2) I removed the line "hdc=ide-scsi" from my grub.conf file so my CD-RW/DVD drive is in 
ide-cd mode at boot time.
	3) I wrote a script called set_ide_scsi: rmmod ide-cd; insmod ide-scsi;
	4) I write a script called set_ide_cd: rmmod ide-scsi; insmod ide-cd; hdparm -d 1 /dev/hdc
	5) I wrote a couple of wrapper scripts for cdrdao and cdrecord that first call 
set_ide_scsi, then call the real binary cd burning program with pre-determined parameters, then 
finally call set_ide_cd.

	This all works very well for me, as now I am able to seamlessly watch DVDs and burn CDs 
(from the command line) on my machine.

Gene

> -----Original Message-----
> From: Gene Dascher [mailto:gedascher at multiservice.com]
> Sent: Friday, April 02, 2004 07:36
> To: Duane Attaway
> Subject: CD-RW/DVD-ROM Combo
> 
> I have re-installed Gentoo using 2004.00 as I got a new motherboard, etc. so I decided to start 
from scratch.  
> Everything is working wonderfully, except for the DVD-ROM/CD-RW combo drive.  If I set the drive 
up for scsi emulation 
> in grub (hdc=ide-scsi), it burns cds just fine BUT DVDs don't play correctly, as DMA is not 
enabled.  Conversely, if I 
> remove the ide-scsi line from grub, I can set dma=1 with hdparm for that drive and DVDs play just 
fine, but I can't burn 
> CDs.




More information about the Kclug mailing list