* [gentoo-user] /dev/dsp: Device or resource busy
@ 2012-02-18 15:46 Alex Schuster
2012-02-18 15:55 ` meino.cramer
0 siblings, 1 reply; 7+ messages in thread
From: Alex Schuster @ 2012-02-18 15:46 UTC (permalink / raw
To: gentoo-user
Hi there!
I want to play Quake3. games-fps/quake3 works, but somehow extra stuff
(maps, models) I downloaded and put into /opt/quake3/baseq3 is not being
used. I think I had such problems before, so I used to run
games-fps/quake3-bin instead. I have no sound.
There are error messages:
/dev/dsp: Device or resource busy
Could not open /dev/dsp
This is true, even as root I cannot echo something to this device. lsof
and fuser return nothing, so I wonder what is using the device.
I had sound problems with Quake3 in the past, and found a wrapper script
quake3-sdl-sound [*], that worked. But now it doesn't.
Any ideas? There will be a big match going on with my little sister this
evening, so you see this is a really really important issue!
Wonko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /dev/dsp: Device or resource busy
2012-02-18 15:46 [gentoo-user] /dev/dsp: Device or resource busy Alex Schuster
@ 2012-02-18 15:55 ` meino.cramer
2012-02-18 16:08 ` Michael Mol
2012-02-18 16:27 ` Alex Schuster
0 siblings, 2 replies; 7+ messages in thread
From: meino.cramer @ 2012-02-18 15:55 UTC (permalink / raw
To: gentoo-user
Alex Schuster <wonko@wonkology.org> [12-02-18 16:52]:
> Hi there!
>
> I want to play Quake3. games-fps/quake3 works, but somehow extra stuff
> (maps, models) I downloaded and put into /opt/quake3/baseq3 is not being
> used. I think I had such problems before, so I used to run
> games-fps/quake3-bin instead. I have no sound.
>
>
> There are error messages:
>
> /dev/dsp: Device or resource busy
> Could not open /dev/dsp
>
> This is true, even as root I cannot echo something to this device. lsof
> and fuser return nothing, so I wonder what is using the device.
>
> I had sound problems with Quake3 in the past, and found a wrapper script
> quake3-sdl-sound [*], that worked. But now it doesn't.
>
> Any ideas? There will be a big match going on with my little sister this
> evening, so you see this is a really really important issue!
>
> Wonko
>
Hi Alex,
try (as root)
fuser /dev/dsp
to figure out, which task helds that device...
Best regards,
mcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /dev/dsp: Device or resource busy
2012-02-18 15:55 ` meino.cramer
@ 2012-02-18 16:08 ` Michael Mol
2012-02-18 16:27 ` Alex Schuster
1 sibling, 0 replies; 7+ messages in thread
From: Michael Mol @ 2012-02-18 16:08 UTC (permalink / raw
To: gentoo-user
On Sat, Feb 18, 2012 at 10:55 AM, <meino.cramer@gmx.de> wrote:
> Alex Schuster <wonko@wonkology.org> [12-02-18 16:52]:
>> Hi there!
>>
>> I want to play Quake3. games-fps/quake3 works, but somehow extra stuff
>> (maps, models) I downloaded and put into /opt/quake3/baseq3 is not being
>> used. I think I had such problems before, so I used to run
>> games-fps/quake3-bin instead. I have no sound.
>>
>>
>> There are error messages:
>>
>> /dev/dsp: Device or resource busy
>> Could not open /dev/dsp
>>
>> This is true, even as root I cannot echo something to this device. lsof
>> and fuser return nothing, so I wonder what is using the device.
>>
>> I had sound problems with Quake3 in the past, and found a wrapper script
>> quake3-sdl-sound [*], that worked. But now it doesn't.
>>
>> Any ideas? There will be a big match going on with my little sister this
>> evening, so you see this is a really really important issue!
>>
>> Wonko
>>
>
> Hi Alex,
>
> try (as root)
>
> fuser /dev/dsp
>
> to figure out, which task helds that device...
Typically, IME, Flash.
It should be possible to launch the binary using a wrapper that
redirects things to either ALSA or PulseAudio. I don't remember,
exactly; it's been a long time since I've had to deal with OSS-only
apps.
--
:wq
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /dev/dsp: Device or resource busy
2012-02-18 15:55 ` meino.cramer
2012-02-18 16:08 ` Michael Mol
@ 2012-02-18 16:27 ` Alex Schuster
2012-02-18 17:03 ` meino.cramer
1 sibling, 1 reply; 7+ messages in thread
From: Alex Schuster @ 2012-02-18 16:27 UTC (permalink / raw
To: gentoo-user
meino.cramer@gmx.de writes:
> Alex Schuster <wonko@wonkology.org> [12-02-18 16:52]:
> > I want to play Quake3. games-fps/quake3 works, but somehow extra stuff
> > (maps, models) I downloaded and put into /opt/quake3/baseq3 is not
> > being used. I think I had such problems before, so I used to run
> > games-fps/quake3-bin instead. I have no sound.
> >
> > There are error messages:
> >
> > /dev/dsp: Device or resource busy
> > Could not open /dev/dsp
> >
> > This is true, even as root I cannot echo something to this device.
> > lsof and fuser return nothing, so I wonder what is using the device.
> >
> > I had sound problems with Quake3 in the past, and found a wrapper
> > script quake3-sdl-sound [*], that worked. But now it doesn't.
> >
> > Any ideas? There will be a big match going on with my little sister
> > this evening, so you see this is a really really important issue!
I just found a workaround: It seems games-fps/quake3 looks for stuff
in /usr/share/games/quake3 only. I made this a symlink to /opt/quake3,
and now all the custom maps and models are found. But still I would like
t know how to make such applications work again.
> Hi Alex,
>
> try (as root)
>
> fuser /dev/dsp
>
> to figure out, which task helds that device...
I get no output at all.
Wonko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /dev/dsp: Device or resource busy
2012-02-18 16:27 ` Alex Schuster
@ 2012-02-18 17:03 ` meino.cramer
2012-02-18 17:17 ` Alex Schuster
0 siblings, 1 reply; 7+ messages in thread
From: meino.cramer @ 2012-02-18 17:03 UTC (permalink / raw
To: gentoo-user
Alex Schuster <wonko@wonkology.org> [12-02-18 17:36]:
> meino.cramer@gmx.de writes:
>
> > Alex Schuster <wonko@wonkology.org> [12-02-18 16:52]:
>
> > > I want to play Quake3. games-fps/quake3 works, but somehow extra stuff
> > > (maps, models) I downloaded and put into /opt/quake3/baseq3 is not
> > > being used. I think I had such problems before, so I used to run
> > > games-fps/quake3-bin instead. I have no sound.
> > >
> > > There are error messages:
> > >
> > > /dev/dsp: Device or resource busy
> > > Could not open /dev/dsp
> > >
> > > This is true, even as root I cannot echo something to this device.
> > > lsof and fuser return nothing, so I wonder what is using the device.
> > >
> > > I had sound problems with Quake3 in the past, and found a wrapper
> > > script quake3-sdl-sound [*], that worked. But now it doesn't.
> > >
> > > Any ideas? There will be a big match going on with my little sister
> > > this evening, so you see this is a really really important issue!
>
> I just found a workaround: It seems games-fps/quake3 looks for stuff
> in /usr/share/games/quake3 only. I made this a symlink to /opt/quake3,
> and now all the custom maps and models are found. But still I would like
> t know how to make such applications work again.
>
> > Hi Alex,
> >
> > try (as root)
> >
> > fuser /dev/dsp
> >
> > to figure out, which task helds that device...
>
> I get no output at all.
>
> Wonko
>
?Hu?
The access rights to that device are ok...?
mcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /dev/dsp: Device or resource busy
2012-02-18 17:03 ` meino.cramer
@ 2012-02-18 17:17 ` Alex Schuster
2012-02-18 17:27 ` meino.cramer
0 siblings, 1 reply; 7+ messages in thread
From: Alex Schuster @ 2012-02-18 17:17 UTC (permalink / raw
To: gentoo-user
meino.cramer@gmx.de writes:
> Alex Schuster <wonko@wonkology.org> [12-02-18 17:36]:
> > meino.cramer@gmx.de writes:
> > > try (as root)
> > >
> > > fuser /dev/dsp
> > >
> > > to figure out, which task helds that device...
> >
> > I get no output at all.
> ?Hu?
>
> The access rights to that device are ok...?
Yes, read-write access for all in the audio group:
wonko@weird ~ $ ls -l /dev/dsp
crw-rw----+ 1 root audio 14, 3 Feb 18 07:23 /dev/dsp
And otherwise I would expect a permission denied error.
Maybe it works when I log out of KDE and have a minimal environment, but
I cannot do this now, too much important stuff is running at the moment.
Wonko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /dev/dsp: Device or resource busy
2012-02-18 17:17 ` Alex Schuster
@ 2012-02-18 17:27 ` meino.cramer
0 siblings, 0 replies; 7+ messages in thread
From: meino.cramer @ 2012-02-18 17:27 UTC (permalink / raw
To: gentoo-user
Alex Schuster <wonko@wonkology.org> [12-02-18 18:20]:
> meino.cramer@gmx.de writes:
>
> > Alex Schuster <wonko@wonkology.org> [12-02-18 17:36]:
> > > meino.cramer@gmx.de writes:
>
> > > > try (as root)
> > > >
> > > > fuser /dev/dsp
> > > >
> > > > to figure out, which task helds that device...
> > >
> > > I get no output at all.
>
> > ?Hu?
> >
> > The access rights to that device are ok...?
>
> Yes, read-write access for all in the audio group:
>
> wonko@weird ~ $ ls -l /dev/dsp
> crw-rw----+ 1 root audio 14, 3 Feb 18 07:23 /dev/dsp
>
> And otherwise I would expect a permission denied error.
>
> Maybe it works when I log out of KDE and have a minimal environment, but
> I cannot do this now, too much important stuff is running at the moment.
>
> Wonko
>
I didnt know the origin of the error message "resource busy"...so if
it had come out of the application...even an error message can e wrong
;)
May be it would help to unload the sound related modules from the
kernel and modprobe -a them again?
Should have the same effect as the reboot without a global hickup of
the whole system...
just a shot in the dark...
fingers crossed!
mcc
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-18 17:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-18 15:46 [gentoo-user] /dev/dsp: Device or resource busy Alex Schuster
2012-02-18 15:55 ` meino.cramer
2012-02-18 16:08 ` Michael Mol
2012-02-18 16:27 ` Alex Schuster
2012-02-18 17:03 ` meino.cramer
2012-02-18 17:17 ` Alex Schuster
2012-02-18 17:27 ` meino.cramer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox