LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   stuttering dvd playback (http://www.linuxquestions.org/questions/linux-hardware-18/stuttering-dvd-playback-45616/)

tychop 02-16-2003 04:43 AM

stuttering dvd playback
 
Hi all,

I have a problem with playing dvd's.
They stutter. I already know the cause (I think) but still need a fix.

I use an IBM ThinkPad A31p on which I have installed Suse 8.1
It has a combo DVD/CD-RW drive which is installed on dev/sr0.
In my menu.lst file (grub) i have the following things that relate to the drive:
hdc=ide-scsi
max_scsi_luns=1

Now, I read that for playing back dvd's I should not use the scsi emulation, but for burning I do.

All mounts of /dev/cdrecorder, /dev/cdrom & /dev/dvd link to /dev/sr0.
I've tried linking dvd to hdc, but that doesn't work: xine or mplayer won't see the drive.

So, how do I point the /dev/dvd & the /dev/cdrom to the ide device without scsi emulation and leave the /dev/cdrecorder on sr0?

Has anybody got a clue?

Thnx in advance,
T

acid_kewpie 02-16-2003 05:16 AM

if you're using scsi emulation on a device then it will affect the drive no matter how you access it, as there is only one driver that can be loaded at one time.

tychop 02-16-2003 05:34 AM

Ok,

So I sould either use SCSI or IDE. Let's say I switch to IDE.

How do I do that and can do I keep my write functionality of the drive?

tychop 02-16-2003 06:31 AM

hdparm -d1 /dev/hdc fixes the problem.

now where do I put this so DMA is on after a fresh boot ......

tychop 02-16-2003 06:51 AM

Hmm I fixed the prob.
Turns out to be a STFW issue. (DUH)

I've put the following @ the end my etc/init.d/boot.local file:

echo -en "\nboot.local: Tuning the IDE hard disks..."
if [ -x /sbin/hdparm ]
then
hdparm -d1 /dev/hdc
else
echo " FAILED: /sbin/hdparm not found."
fi

No problems n.e.more


All times are GMT -5. The time now is 03:53 PM.