LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-30-2005, 09:31 PM   #1
Beauzeau
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
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
 
Old 01-31-2005, 03:55 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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 ..
 
Old 01-31-2005, 08:19 AM   #3
Beauzeau
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dma modus not working on samsung (SP1614N) hda on Asus A7N8X-E Deluxe smtm Linux - Hardware 8 08-08-2007 04:55 AM
Freeze at boot - when setting DMA mcle Linux - General 2 12-24-2004 06:58 PM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
DMA setting won't save willywonka Linux - Hardware 6 04-12-2003 07:37 PM
Setting up LCD (Samsung SyncMaster 181T) Rounin Linux - Hardware 0 09-24-2002 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration