[dundee] problems

Jonathan Barber dundee at lists.lug.org.uk
Wed Feb 5 12:51:01 2003


On Wed, Feb 05, 2003 at 09:48:38AM +0000, Keir Lawson wrote:
> i have lots of them (some more linuxy than others)
> problem 1:
> 
> for starters i have had to reinstall mandrake 9.0 (accidentally deleted GlibC) and the installer detected both my sound cards correctly. however now my sound problem has got even weirder... i cant seem to get any sound at all (from the KDE sound server, the gnome sound server, ALSA or XMMS with the oss sound plugin) except on one ocasion which i got perfect sound from both tuxracer and frozen bubble. however on restarting these games there was no sound!  i have cked volumes etc and cant seem to find anything wrong.  starting xmms or any of the games just mentioned from a terminal does not generate any erors.

On the command line do:
lsof | grep "/dev/dsp"

lsof tells you what files are opened at that moment in time, so it will
tell you if any another is accessing the file (and possibly locked
it). /dev/dsp is the file that applications use to output sound.

Kill all the programs that are accessing the file and try to play
something in XMMS.

> problem 2:
> 
> my computers of button doesnt seem to work;  normally when i tell an os to shut down (either windows or linux) it shutsdown the computer automaticly without me having to switch the computer off. however recently it seems to restart irespective of whether i tell the os to shutdown or restart. on top of that when i press the off button the computer also restarts.  however holding in the off button for 6 seconds turns the computer off as it should do.  i have ckecked all of my bios settings but the problem is still there.

What command are you using to shutdown the PC (I presume it's a PC and
that your have an ATX power supply)? The power button always needs to
be held down to power off (annoying though it is), the problem probably
lies with APM or ACPI, do you have it compiled into your kernel? If you
do try the "poweroff" command, which should do exactly what it says on
the tin.

> from keir
-- 
Jon