Re: DVD playback suspend and wake issue
OoO Lors de la soirée naissante du samedi 23 novembre 2002, vers
18:02, Marc Menem <marc.menem@m4x.org> disait:
> I have a clue, it seems that dma usage is not restored on wakeup:
> How do I restore dma parameters on wake up ?
>>>> after wake up
> marc@melonhead:~$ sudo hdparm /dev/hdb
Since you may have SCSI emulation on top of it, you should use
/proc/ide/hdb/settings instead :
echo using_dma:1 > /proc/ide/hdb/settings
and
cat /proc/ide/hdb/settings
to check the result
--
Take care to branch the right way on equality.
- The Elements of Programming Style (Kernighan & Plaugher)
Reply to: