[gobolinux-users] bemoaning the lack of sound

Michael Homer gobo-users-dufus at wotfun.com
Sun Nov 25 11:13:09 NZDT 2007


On Nov 25, 2007 6:53 AM, Isaac Dupree <isaacdupree at charter.net> wrote:
> Michael Homer wrote:
> > DMA? Run `hdparm /dev/cdrom` and see what it says about it; if it's
> > not on, run `hdparm -d 1 /dev/cdrom` as root and give playing a try.
> > You'll probably want to add it to your bootscripts or create a task
> > for it (I think it's defaulted on in recent snapshots).
>
> using_dma was off
>
> after turning it on (/dev/cdrom points to /dev/hda for me) :
>
> hdparm /dev/hda
>
> /dev/hda:
>   IO_support   =  0 (default 16-bit)
>   unmaskirq    =  0 (off)
>   using_dma    =  1 (on)
>   keepsettings =  0 (off)
>   readonly     =  0 (off)
>   readahead    = 256 (on)
>   HDIO_GETGEO failed: Inappropriate ioctl for device
>
> Nevertheless, I then insert a CD and play it, and the CD-pausing problem
> is still there.  Perhaps modify readahead?
>
> How does it "default on" - do "recent snapshots" have to turn it on in
> bootscripts for all applicable drives? or just /dev/cdrom? or something
> else?
I was writing from a vague recollection of something in the CVS diffs,
but I can't find it now, so I might be wrong about that. In any case,
`hdparm -d 1 /dev/cdrom` just needs to run in the bootscripts. It is
important for DVD-playing, so it was worth a shot for CDs too
(symptoms are jumpiness and exceptionally high CPU usage). Readahead
is the same for me without any problems, but who knows. I guess
ripping them is a workable solution, and probably what you want to do
anyway, but it would be nice to have an answer.
-Michael


More information about the gobolinux-users mailing list