LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DVD Writer / Playing DVD Problems (http://www.linuxquestions.org/questions/linux-hardware-18/dvd-writer-playing-dvd-problems-44350/)

MikeyCarter 02-06-2003 01:09 PM

DVD Writer / Playing DVD Problems
 
I have a Pioneer A05 DVD Writer:

[root@siren root]# dmesg | grep CD
hdc: PIONEER DVD-RW DVR-105, ATAPI CD/DVD-ROM drive
hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12

The following configuration works great for playing DVD. (So they are not choppy)

/etc/modules.conf:
alias parport_lowlevel parport_pc
alias eth0 3c59x
alias eth1 3c59x
alias scsi_hostadapter aic7xxx
alias sound-slot-0 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci
alias char-major-195 NVdriver
options ide-cd dma=1
probeall aic7xxx ide-scsi
alias scis_hostadapter1 ide-scsi
#options ide-cd ignore=hdc


But cdrecord and dvdrecord can't find the drive with -scanbus. Thus I can't burn CD/DVDs. If I uncomment the "options ide-cd ignore=hdc" line cdrecord and dvdrecord can find the drive and I can burn CD/DVDs but.... playing DVD's is very choppy. (because DMA is not active)

Any ideas how I can have both configurations working?

Thanks.

Tinkster 02-06-2003 02:02 PM

you could try to run
Code:

/usr/sbin/hdparm -d 1 -u 1 /dev/hdc
from rc.local (or wherever you put user defined things
in your distro of choice :})

Quote:

alias scis_hostadapter1 ide-scsi
Does that really work, scis and all? :)


Cheers,
Tink

MikeyCarter 02-06-2003 02:20 PM

[root@siren root]# hdparm -d 1 -u 1 /dev/hdc

/dev/hdc:
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
unmaskirq = 1 (on)
using_dma = 1 (on)
[root@siren root]# cdrecord -scanbus
Cdrecord 2.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.


If I uncomment the line hdparm doesn't find /dev/hdc... of course.

MikeyCarter 02-07-2003 01:11 PM

DVD Writer problem fixed
 
For anyone who has a similar problem.

I took out the "options ide-cd dma=1" line and everything is working great now.


All times are GMT -5. The time now is 07:26 AM.