Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having problems with DVD playback. Visuals momentarily pause and sound becomes out of sync when using totem. I setup DVD playback as per the Ubuntu 5.04 getting started guide (running ubuntu 5.04 as my distro).
Running 32bit 2.6.10-5-k7
kernel on AMD64 3200+ ATI radeon graphics with fglrx up and running (around 2000fps in glxgears). Playback from harddrive is good so looks like DVD drive.
Heres the current info I think? is important:
/dev/hda:
Timing buffered disk reads: 6 MB in 3.06 seconds = 1.96 MB/sec
markw@markhome:~/dist$ sudo hdparm -T /dev/hda
well the first port of call is ensuring DMA is enabled... hdparm -d1 /dev/hda etc... if /dev/hda really is your DVD drive (your description is pretty confusing)
Thanks for the reply.
Ive tried hdparm -d1 /dev/hda but get the following error (both as normal user and as root)
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Sorry if the post was confusing (it wasn't meant to be) I was trying to give as much info as possible.
I'm trying to show the system info on my DVD drive (hdparm -i etc) and my current read stats (the other two lines).
ensure that you are logging in as root on a non-X console, or using "su -" instead of just "su" to avoid any nasty permission hangovers. other than that i've only seen issues like that when a drive is using ide-scsi emulation to run, i.e. it's a cd burner. that said there wouldn't be a reference to /dev/hda normally if it was. is this a cd burner with ide-scsi on it? if so and you're on a 2.6 kernel, then you don't need it at all and you can remove it's use from your bootloader config.
The program totem is based on mplayer's code is not great at keeping audio and video sync. Try Xine or Video Lan Client. Xine and Video Lan Client has excellent sync even on a slow computer. However it seems that the kernel does not have support for DMA or a certain component that is needed for DMA to work. You will have to configure your kernel and re-compile it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.