LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   setting DMA on Samsung ts-h552b (https://www.linuxquestions.org/questions/linux-hardware-18/setting-dma-on-samsung-ts-h552b-284295/)

Beauzeau 01-30-2005 09:31 PM

setting DMA on Samsung ts-h552b
 
I have a samsung ts-h552b dvd burner that I'm trying to set the dma on. When I type 'hdparm -d1 /dev/hda' I get the following message:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
I am using a standard debian kernel (2.6.10) on a AMD64 machine. when I type hdparm -I /dev/hda I get:
hdparm -I /dev/hda
/dev/hda:
ATAPI CD-ROM, with removable media
Model Number: TSSTcorpCD/DVDW TS-H552B
Serial Number: TS-H552BFirmware
Firmware Revision: TS04
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
lspci gives me a long output, but I believe the chip controlling ide is via:
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)

Any suggestions would be appreciated; my dvd playback on xine is very choppy.
Thanks,
Ric

DrOzz 01-31-2005 03:55 AM

just add it to a startup script such as something like rc.local or whatever..
i have no idea what distro your using, but for an example i use slackware
and i would put something like that in /etc/rc.d/rc.local, and add the line :
Code:

/usr/sbin/hdparm -c1 -d1 /dev/hda
check the actual location of hdparm on your box before making the
assumption that where i typed is right for your machine too ..

Beauzeau 01-31-2005 08:19 AM

setting DMA on Samsung ts-h552b
 
Thanks. I'm using Debian (sid) so I tried setting the hdparm on startup in a couple of ways. First, I set it in /etc/hdparm.conf, which is called by /etc/init.d/hdparm on startup, which didn't work. Then I tried creating a startup scipt in /etc/init.d, ran update-rc.d script.name defaults, but this also didn't work. I can use hdparm to set other parameters of the optical drive, but not dma.

Ric


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