public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Sound problem
@ 2005-07-11 11:31 Bruno Gola
  2005-07-11 11:50 ` Charles Oertel
                   ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Bruno Gola @ 2005-07-11 11:31 UTC (permalink / raw
  To: gentoo-user

Hi guys,
Good morning (in Brazil hehe) ;)


So, today's doubt is about sound... i can listen my mp3 with xmms, i can
play nfsu2 with cedega and sound works fine... but, when i try mpg123 to
play (as user) or play some game that uses /dev/dsp directly, i get this
error:

bruno@br ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\
Infected_/01\ -\ The\ Hell\ Song.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Can't open /dev/dsp!


If i try it as root it works perfectly...

Does anyone knows this problem?

Thanks ...

Bruno Gola
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 11:31 [gentoo-user] Sound problem Bruno Gola
@ 2005-07-11 11:50 ` Charles Oertel
  2005-07-11 12:14   ` Bruno Gola
  2005-07-11 11:56 ` ZeeGeek
  2005-07-11 12:55 ` Rafael Dantas de Castro
  2 siblings, 1 reply; 28+ messages in thread
From: Charles Oertel @ 2005-07-11 11:50 UTC (permalink / raw
  To: gentoo-user

Bruno Gola wrote:
> Can't open /dev/dsp!
> 
> If i try it as root it works perfectly...
> 
> Does anyone knows this problem?

Permissions on /dev/dsp

Either set /dev/dsp to be 666, or (better), add audio to your group.

regards
--
Charles Oertel
FineBushPeople.net
tel: 021 701 8231
fax: 021 701 3338
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 11:31 [gentoo-user] Sound problem Bruno Gola
  2005-07-11 11:50 ` Charles Oertel
@ 2005-07-11 11:56 ` ZeeGeek
  2005-07-11 11:57   ` ZeeGeek
  2005-07-11 12:55 ` Rafael Dantas de Castro
  2 siblings, 1 reply; 28+ messages in thread
From: ZeeGeek @ 2005-07-11 11:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

On 7/11/05, Bruno Gola <brunogola@terra.com.br> wrote:
> 
> Hi guys,
> Good morning (in Brazil hehe) ;)
> 
> 
> So, today's doubt is about sound... i can listen my mp3 with xmms, i can
> play nfsu2 with cedega and sound works fine... but, when i try mpg123 to
> play (as user) or play some game that uses /dev/dsp directly, i get this
> error:
> 
> bruno@br ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\
> Infected_/01\ -\ The\ Hell\ Song.mp3
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
> Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> Can't open /dev/dsp!
> 
> 
> If i try it as root it works perfectly...
> 
> Does anyone knows this problem?
> 
> Thanks ...
> 
> Bruno Gola
> --
> gentoo-user@gentoo.org mailing list
> 
> 
If you have /dev/dsp0 or something like that, make /dev/dsp a symlink to 
your sound device, for example /dev/dsp0.

-- 
Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility

[-- Attachment #2: Type: text/html, Size: 1462 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 11:56 ` ZeeGeek
@ 2005-07-11 11:57   ` ZeeGeek
  2005-07-11 12:15     ` Bruno Gola
  0 siblings, 1 reply; 28+ messages in thread
From: ZeeGeek @ 2005-07-11 11:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

On 7/11/05, ZeeGeek <zeegeek@gmail.com> wrote:
> 
> On 7/11/05, Bruno Gola <brunogola@terra.com.br> wrote:
> > 
> > Hi guys,
> > Good morning (in Brazil hehe) ;)
> > 
> > 
> > So, today's doubt is about sound... i can listen my mp3 with xmms, i can
> > play nfsu2 with cedega and sound works fine... but, when i try mpg123 to
> > play (as user) or play some game that uses /dev/dsp directly, i get this 
> > 
> > error:
> > 
> > bruno@br ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\
> > Infected_/01\ -\ The\ Hell\ Song.mp3
> > High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
> > Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp. 
> > Uses code from various people. See 'README' for more!
> > THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> > Can't open /dev/dsp!
> > 
> > 
> > If i try it as root it works perfectly...
> > 
> > Does anyone knows this problem? 
> > 
> > Thanks ...
> > 
> > Bruno Gola
> > --
> > gentoo-user@gentoo.org mailing list
> > 
> > 
> If you have /dev/dsp0 or something like that, make /dev/dsp a symlink to 
> your sound device, for example /dev/dsp0. 
> 
> -- 
> Dell Inspiron 600m
> Pentium-M 1.6G
> 512MB, 60G
> ATI 9000 Mobility 


sorry, I misunderstood your post. I thought that /dev/dsp was missing.

-- 
Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility

[-- Attachment #2: Type: text/html, Size: 2167 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 11:50 ` Charles Oertel
@ 2005-07-11 12:14   ` Bruno Gola
  2005-07-11 13:30     ` James Tanis
  0 siblings, 1 reply; 28+ messages in thread
From: Bruno Gola @ 2005-07-11 12:14 UTC (permalink / raw
  To: gentoo-user

Charles Oertel wrote:

> Bruno Gola wrote:
>
>> Can't open /dev/dsp!
>>
>> If i try it as root it works perfectly...
>>
>> Does anyone knows this problem?
>
>
> Permissions on /dev/dsp
>
> Either set /dev/dsp to be 666, or (better), add audio to your group.
>
> regards
> -- 
> Charles Oertel
> FineBushPeople.net
> tel: 021 701 8231
> fax: 021 701 3338

The first thing that i've tried was that... permission... but no
success... (im in audio group already)...


Anyway, thanks the reply... :D
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 11:57   ` ZeeGeek
@ 2005-07-11 12:15     ` Bruno Gola
  0 siblings, 0 replies; 28+ messages in thread
From: Bruno Gola @ 2005-07-11 12:15 UTC (permalink / raw
  To: gentoo-user

ZeeGeek wrote:

> On 7/11/05, *ZeeGeek* <zeegeek@gmail.com <mailto:zeegeek@gmail.com>>
> wrote:
>
>     On 7/11/05, *Bruno Gola* <brunogola@terra.com.br
>     <mailto:brunogola@terra.com.br>> wrote:
>
>         Hi guys,
>         Good morning (in Brazil hehe) ;)
>
>
>         So, today's doubt is about sound... i can listen my mp3 with
>         xmms, i can
>         play nfsu2 with cedega and sound works fine... but, when i try
>         mpg123 to
>         play (as user) or play some game that uses /dev/dsp directly,
>         i get this
>         error:
>
>         bruno@br ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\
>         Infected_/01\ -\ The\ Hell\ Song.mp3
>         High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2
>         and 3.
>         Version 0.59s-r9 (2000/Oct/27). Written and copyrights by
>         Michael Hipp.
>         Uses code from various people. See 'README' for more!
>         THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR
>         OWN RISK!
>         Can't open /dev/dsp!
>
>
>         If i try it as root it works perfectly...
>
>         Does anyone knows this problem?
>
>         Thanks ...
>
>         Bruno Gola
>         --
>         gentoo-user@gentoo.org <mailto:gentoo-user@gentoo.org> mailing
>         list
>
>
>     If you have /dev/dsp0 or something like that, make /dev/dsp a
>     symlink to your sound device, for example /dev/dsp0.
>
>     -- 
>     Dell Inspiron 600m
>     Pentium-M 1.6G
>     512MB, 60G
>     ATI 9000 Mobility 
>
>
> sorry, I misunderstood your post. I thought that /dev/dsp was missing.
>
> -- 
> Dell Inspiron 600m
> Pentium-M 1.6G
> 512MB, 60G
> ATI 9000 Mobility 

No problems :)

Thanks anyway!
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 12:55 ` Rafael Dantas de Castro
@ 2005-07-11 12:52   ` Bruno Gola
  2005-07-11 17:59     ` Richard Fish
  0 siblings, 1 reply; 28+ messages in thread
From: Bruno Gola @ 2005-07-11 12:52 UTC (permalink / raw
  To: gentoo-user

Rafael Dantas de Castro wrote:

>are using arts, esd or something similar?? What output plugin you use
>in xmms that allows you to listen to mp3s?
>
>On 7/11/05, Bruno Gola <brunogola@terra.com.br> wrote:
>  
>
>>Hi guys,
>>Good morning (in Brazil hehe) ;)
>>
>>
>>So, today's doubt is about sound... i can listen my mp3 with xmms, i can
>>play nfsu2 with cedega and sound works fine... but, when i try mpg123 to
>>play (as user) or play some game that uses /dev/dsp directly, i get this
>>error:
>>
>>bruno@br ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\
>>Infected_/01\ -\ The\ Hell\ Song.mp3
>>High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
>>Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp.
>>Uses code from various people. See 'README' for more!
>>THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
>>Can't open /dev/dsp!
>>
>>
>>If i try it as root it works perfectly...
>>
>>Does anyone knows this problem?
>>
>>Thanks ...
>>
>>Bruno Gola
>>--
>>gentoo-user@gentoo.org mailing list
>>
>>
>>    
>>
>
>
>  
>
Both ESD and ALSA output plugin works for me with xmms....

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 11:31 [gentoo-user] Sound problem Bruno Gola
  2005-07-11 11:50 ` Charles Oertel
  2005-07-11 11:56 ` ZeeGeek
@ 2005-07-11 12:55 ` Rafael Dantas de Castro
  2005-07-11 12:52   ` Bruno Gola
  2 siblings, 1 reply; 28+ messages in thread
From: Rafael Dantas de Castro @ 2005-07-11 12:55 UTC (permalink / raw
  To: gentoo-user

are using arts, esd or something similar?? What output plugin you use
in xmms that allows you to listen to mp3s?

On 7/11/05, Bruno Gola <brunogola@terra.com.br> wrote:
> Hi guys,
> Good morning (in Brazil hehe) ;)
> 
> 
> So, today's doubt is about sound... i can listen my mp3 with xmms, i can
> play nfsu2 with cedega and sound works fine... but, when i try mpg123 to
> play (as user) or play some game that uses /dev/dsp directly, i get this
> error:
> 
> bruno@br ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\
> Infected_/01\ -\ The\ Hell\ Song.mp3
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
> Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> Can't open /dev/dsp!
> 
> 
> If i try it as root it works perfectly...
> 
> Does anyone knows this problem?
> 
> Thanks ...
> 
> Bruno Gola
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Rafael Dantas de Castro
Engenharia de Computação 2001 - Unicamp
 - Laboratório de Criptografia Aplicada

"Se procurar bem você acaba encontrando.
 Não a explicação (duvidosa) da vida,
 Mas a poesia (inexplicável) da vida."
      
       Carlos Drummond de Andrade

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 12:14   ` Bruno Gola
@ 2005-07-11 13:30     ` James Tanis
  0 siblings, 0 replies; 28+ messages in thread
From: James Tanis @ 2005-07-11 13:30 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user


On Mon, July 11, 2005 8:14 am, Bruno Gola said:
> Charles Oertel wrote:
>
>> Bruno Gola wrote:
>>
>>> Can't open /dev/dsp!
>>>
>>> If i try it as root it works perfectly...
>>>
>>> Does anyone knows this problem?
>>
>>
>> Permissions on /dev/dsp
>>
>> Either set /dev/dsp to be 666, or (better), add audio to your group.
>>
>> regards
>> --
>> Charles Oertel
>> FineBushPeople.net
>> tel: 021 701 8231
>> fax: 021 701 3338
>
> The first thing that i've tried was that... permission... but no
> success... (im in audio group already)...
>
>
> Anyway, thanks the reply... :D

Check /dev/sound/dsp for the correct permission. On my machine /dev/dsp
was a symlink of /dev/sound/dsp and even though the symlink's permissions
were correct the permissions of the file it was linked to were not. For me
at least, adding yourself to audio wouldn't work as the files (well,
/dev/dsp at least) looked to be owned by root:root. I just had this
problem and doing a chmod o+rw /dev/sound/dsp solved it (I actually did
/dev/sound/* just in case).

-- 
James Tanis
jtanis@pycoder.org
http://pycoder.org
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 12:52   ` Bruno Gola
@ 2005-07-11 17:59     ` Richard Fish
  2005-07-11 18:46       ` James Tanis
  0 siblings, 1 reply; 28+ messages in thread
From: Richard Fish @ 2005-07-11 17:59 UTC (permalink / raw
  To: gentoo-user

Bruno Gola wrote:

>Rafael Dantas de Castro wrote:
>
>  
>
>>are using arts, esd or something similar?? What output plugin you use
>>in xmms that allows you to listen to mp3s?
>>
>>On 7/11/05, Bruno Gola <brunogola@terra.com.br> wrote:
>> 
>>    
>>
>>>Can't open /dev/dsp!
>>>
>>>
>>>If i try it as root it works perfectly...
>>>
>>>Does anyone knows this problem?
>>>
>>>Thanks ...
>>>
>>>Bruno Gola
>>>--
>>>gentoo-user@gentoo.org mailing list
>>>    
>>>      
>>>
>Both ESD and ALSA output plugin works for me with xmms....
>
>  
>

If something is trying to open /dev/dsp, then it is using the (obsolete)
OSS API.  You need to enable OSS emulation in the kernel drivers.

Note that, AFAIK, there is no mixing possible with the OSS API.  Your
best bet is to tell the apps to use ALSA, or use one of the dsp
"wrapper" libraries that are available.  If the app doesn't support
ALSA, complain!!

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 17:59     ` Richard Fish
@ 2005-07-11 18:46       ` James Tanis
  2005-07-11 19:42         ` Richard Fish
  0 siblings, 1 reply; 28+ messages in thread
From: James Tanis @ 2005-07-11 18:46 UTC (permalink / raw
  To: gentoo-user


On Mon, July 11, 2005 1:59 pm, Richard Fish said:
> Bruno Gola wrote:
>
>>Rafael Dantas de Castro wrote:
>>
>>
>>
>>>are using arts, esd or something similar?? What output plugin you use
>>>in xmms that allows you to listen to mp3s?
>>>
>>>On 7/11/05, Bruno Gola <brunogola@terra.com.br> wrote:
>>>
>>>
>>>
>>>>Can't open /dev/dsp!
>>>>
>>>>
>>>>If i try it as root it works perfectly...
>>>>
>>>>Does anyone knows this problem?
>>>>
>>>>Thanks ...
>>>>
>>>>Bruno Gola
>>>>--
>>>>gentoo-user@gentoo.org mailing list
>>>>
>>>>
>>>>
>>Both ESD and ALSA output plugin works for me with xmms....
>>
>>
>>
>
> If something is trying to open /dev/dsp, then it is using the (obsolete)
> OSS API.  You need to enable OSS emulation in the kernel drivers.
>

In the Linux kernel it may be deprecated but OSS is not obsolete. Other
operating systems besides Linux need sound after all :).

> Note that, AFAIK, there is no mixing possible with the OSS API.  Your

It does support mixing.


-- 
James Tanis
jtanis@pycoder.org
http://pycoder.org
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 18:46       ` James Tanis
@ 2005-07-11 19:42         ` Richard Fish
  2005-07-11 20:02           ` Christoph Eckert
  0 siblings, 1 reply; 28+ messages in thread
From: Richard Fish @ 2005-07-11 19:42 UTC (permalink / raw
  To: gentoo-user

James Tanis wrote:

>
>In the Linux kernel it may be deprecated but OSS is not obsolete. Other
>operating systems besides Linux need sound after all :).
>  
>

For the kernel, deprecated == likely to be removed soon == obsolete. 
Now, it is true that only the OSS drivers are deprecated, not the OSS
emulation provided by ALSA.

I have no problem with applications supporting OSS for operating systems
besides Linux, because as you say, that is the standard for those
systems.  I do have a problem with apps that insist on *only* supporting
OSS for Linux.  What really bugs me is that most of the offending apps
are commercial applications that don't even have ports for Solaris,
FreeBSD, etc!!  Besides, it isn't like supporting multiple sound APIs is
really all that hard....

>>Note that, AFAIK, there is no mixing possible with the OSS API.  Your
>>    
>>
>
>It does support mixing.
>  
>

According to the dmix HOWTO, you are correct, it should work.  I guess I
just gave up too easily, and I stand corrected.  Thanks.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 19:42         ` Richard Fish
@ 2005-07-11 20:02           ` Christoph Eckert
  2005-07-11 22:25             ` James Tanis
  0 siblings, 1 reply; 28+ messages in thread
From: Christoph Eckert @ 2005-07-11 20:02 UTC (permalink / raw
  To: gentoo-user


> For the kernel, deprecated == likely to be removed soon ==
> obsolete. Now, it is true that only the OSS drivers are
> deprecated, not the OSS emulation provided by ALSA.

The question is if the ALSA OSS emulation is a good idea. 
Because it exists, people are not urged to use ALSA.

> I have no problem with applications supporting OSS for
> operating systems besides Linux, because as you say, that
> is the standard for those systems.  I do have a problem
> with apps that insist on *only* supporting OSS for Linux.

That's true.

>  What really bugs me is that most of the offending apps are
> commercial applications that don't even have ports for
> Solaris, FreeBSD, etc!!  Besides, it isn't like supporting
> multiple sound APIs is really all that hard....
>
> >>Note that, AFAIK, there is no mixing possible with the
> >> OSS API.  Your 
> >
> >It does support mixing.
> >  
>
> According to the dmix HOWTO, you are correct, it should
> work.  I guess I just gave up too easily, and I stand
> corrected.  Thanks.

If an application tries to access /dev/dsp, DMIX does - AFAIK 
- not work transparently. INstead you have to start the 
application using the aoss wrapper, maybe aoss skype or aoss 
reaplay. This doesn't work convenient for the user.

Furthermore, there seems to be a bug so Skype will crash as 
soon as it gets invoked via aoss (I don't know if it is a 
Skype or an aoss bug).

So, if want to stay idle for incoming Skype calls, do not 
start any other sound application because Skype blocks your 
device...


Best regards


    ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2005-07-11 20:02           ` Christoph Eckert
@ 2005-07-11 22:25             ` James Tanis
  0 siblings, 0 replies; 28+ messages in thread
From: James Tanis @ 2005-07-11 22:25 UTC (permalink / raw
  To: gentoo-user


On Mon, July 11, 2005 4:02 pm, Christoph Eckert said:
>
>> For the kernel, deprecated == likely to be removed soon ==
>> obsolete. Now, it is true that only the OSS drivers are
>> deprecated, not the OSS emulation provided by ALSA.
>
> The question is if the ALSA OSS emulation is a good idea.
> Because it exists, people are not urged to use ALSA.
>

There is also OSS ALSA emulation.

>> I have no problem with applications supporting OSS for
>> operating systems besides Linux, because as you say, that
>> is the standard for those systems.  I do have a problem
>> with apps that insist on *only* supporting OSS for Linux.
>
> That's true.
>
>>  What really bugs me is that most of the offending apps are
>> commercial applications that don't even have ports for
>> Solaris, FreeBSD, etc!!  Besides, it isn't like supporting
>> multiple sound APIs is really all that hard....
>>
>> >>Note that, AFAIK, there is no mixing possible with the
>> >> OSS API.  Your
>> >
>> >It does support mixing.
>> >
>>
>> According to the dmix HOWTO, you are correct, it should
>> work.  I guess I just gave up too easily, and I stand
>> corrected.  Thanks.
>
> If an application tries to access /dev/dsp, DMIX does - AFAIK
> - not work transparently. INstead you have to start the
> application using the aoss wrapper, maybe aoss skype or aoss
> reaplay. This doesn't work convenient for the user.
>
> Furthermore, there seems to be a bug so Skype will crash as
> soon as it gets invoked via aoss (I don't know if it is a
> Skype or an aoss bug).
>
> So, if want to stay idle for incoming Skype calls, do not
> start any other sound application because Skype blocks your
> device...

I am admittedly not to familiar with Linux's implementation of OSS, it
could be that it is obselete and buggy. I have only used OSS in other
operating systems. In my experience mixing and/or dynamic virtual channels
are available with /dev/dsp through kernel/modules no userland
applications are needed. This all seems kind of irrelevant though, I
believe this guy is using ALSA with OSS emulation :p.



-- 
James Tanis
jtanis@pycoder.org
http://pycoder.org
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* [gentoo-user] Sound problem
@ 2006-01-27 15:09 Rafael Barrera Oro
  2006-01-27 15:27 ` Andrés Becerra Sandoval 
  0 siblings, 1 reply; 28+ messages in thread
From: Rafael Barrera Oro @ 2006-01-27 15:09 UTC (permalink / raw
  To: gentoo-user

Hello everyone! I have Via on-board sound and i cant get the audio to work.

At first the problem was that /dev/dsp did not exist, so i loaded a
couple of modules into the kernel (mostly following www.gentoo.org
alsa-guide) after that, the error message became "could not open
/dev/dsp permission denied" so i tryied chmod a+rw /dev/sound/dsp
(also from gentoo docs) nevertheless, i stillo have no sound. For
example when using XMMS if choose to use the Alsa driver, an error
pops up telling me "failed to open audio output: Alsa plugin", so i
choose Arts which doesnt trigger any errors but there is stillo no
sound!!

i ran "lspci |grep audio" and this is what returned

00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)

i had all the necessary kernel options (according to the gentoo doc)
built-in in the kernel, including AC97 so i am out of ideas.

If anyone has any clue of what i should do, it would be greatly apprecieated.

Thanks in advance

Rafael

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2006-01-27 15:09 Rafael Barrera Oro
@ 2006-01-27 15:27 ` Andrés Becerra Sandoval 
  2006-01-27 15:58   ` Rafael Barrera Oro
  0 siblings, 1 reply; 28+ messages in thread
From: Andrés Becerra Sandoval  @ 2006-01-27 15:27 UTC (permalink / raw
  To: gentoo-user

On 1/27/06, Rafael Barrera Oro <borafael@gmail.com> wrote:
> Hello everyone! I have Via on-board sound and i cant get the audio to work.
>
> At first the problem was that /dev/dsp did not exist, so i loaded a
> couple of modules into the kernel (mostly following www.gentoo.org
> alsa-guide) after that, the error message became "could not open
> /dev/dsp permission denied" so i tryied chmod a+rw /dev/sound/dsp
> (also from gentoo docs) nevertheless, i stillo have no sound. For
> example when using XMMS if choose to use the Alsa driver, an error
> pops up telling me "failed to open audio output: Alsa plugin", so i
> choose Arts which doesnt trigger any errors but there is stillo no
> sound!!
>
> i ran "lspci |grep audio" and this is what returned
>
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc.
> VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
>
> i had all the necessary kernel options (according to the gentoo doc)
> built-in in the kernel, including AC97 so i am out of ideas.
>
> If anyone has any clue of what i should do, it would be greatly apprecieated.
>
> Thanks in advance
>
> Rafael
>
> --
> gentoo-user@gentoo.org mailing list
>
>

Try putting your user in the audio group

--
  Andrés

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2006-01-27 15:27 ` Andrés Becerra Sandoval 
@ 2006-01-27 15:58   ` Rafael Barrera Oro
  2006-01-27 18:21     ` Jason Weisberger
  0 siblings, 1 reply; 28+ messages in thread
From: Rafael Barrera Oro @ 2006-01-27 15:58 UTC (permalink / raw
  To: gentoo-user

I followed your advice Andres and its weird, there are now no error
messages anywhere to be found!! yet the sound does not work, i think
it is more of a curse, so i will subscribe to the exorcism mailing
list, anyway i will continue to hear your suggestions of course :P

Thanks anyway

soundless Rafa

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2006-01-27 15:58   ` Rafael Barrera Oro
@ 2006-01-27 18:21     ` Jason Weisberger
  2006-01-27 18:48       ` Ian
  0 siblings, 1 reply; 28+ messages in thread
From: Jason Weisberger @ 2006-01-27 18:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

Two things.  Build your audio drivers as modules.  Secondly, emerge
alsautils then use alsamixer to adjust your audio levels.  They're all muted
by default.

On 1/27/06, Rafael Barrera Oro <borafael@gmail.com> wrote:
>
> I followed your advice Andres and its weird, there are now no error
> messages anywhere to be found!! yet the sound does not work, i think
> it is more of a curse, so i will subscribe to the exorcism mailing
> list, anyway i will continue to hear your suggestions of course :P
>
> Thanks anyway
>
> soundless Rafa
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Jason Weisberger
jbdubbs@gmail.com

[-- Attachment #2: Type: text/html, Size: 1041 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2006-01-27 18:21     ` Jason Weisberger
@ 2006-01-27 18:48       ` Ian
  2006-01-28 18:53         ` Rafael Barrera Oro
  2006-01-29 13:55         ` YoYo Siska
  0 siblings, 2 replies; 28+ messages in thread
From: Ian @ 2006-01-27 18:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

This is kind of along the same line of alsa mixer.
I use kde and fluxbox, but kde's stupid sound daemon wont let
some apps have sound, such as audacity or firefox.
When I use Fluxbox, the sound works, but _every_ time I
boot my computer into Fluxbox, I must unmute and level up
all of my sounds. Is there any way to save the configuration
past your session?
Thanks!
~Ian

On 1/27/06, Jason Weisberger <jbdubbs@gmail.com> wrote:
>
> Two things.  Build your audio drivers as modules.  Secondly, emerge
> alsautils then use alsamixer to adjust your audio levels.  They're all muted
> by default.
>
> On 1/27/06, Rafael Barrera Oro <borafael@gmail.com> wrote:
> >
> > I followed your advice Andres and its weird, there are now no error
> > messages anywhere to be found!! yet the sound does not work, i think
> > it is more of a curse, so i will subscribe to the exorcism mailing
> > list, anyway i will continue to hear your suggestions of course :P
> >
> > Thanks anyway
> >
> > soundless Rafa
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> Jason Weisberger
> jbdubbs@gmail.com




--
Cheers,
Ian

[-- Attachment #2: Type: text/html, Size: 2143 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2006-01-27 18:48       ` Ian
@ 2006-01-28 18:53         ` Rafael Barrera Oro
  2006-01-29 13:55         ` YoYo Siska
  1 sibling, 0 replies; 28+ messages in thread
From: Rafael Barrera Oro @ 2006-01-28 18:53 UTC (permalink / raw
  To: gentoo-user

Problem solved! i compiled all the required drivers as modules and
then ran alsaconf, now my sound is finally working.

Thanks to you all

Rafa

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] Sound problem
  2006-01-27 18:48       ` Ian
  2006-01-28 18:53         ` Rafael Barrera Oro
@ 2006-01-29 13:55         ` YoYo Siska
  1 sibling, 0 replies; 28+ messages in thread
From: YoYo Siska @ 2006-01-29 13:55 UTC (permalink / raw
  To: gentoo-user

Ian wrote:
> This is kind of along the same line of alsa mixer.
> I use kde and fluxbox, but kde's stupid sound daemon wont let
> some apps have sound, such as audacity or firefox.
> When I use Fluxbox, the sound works, but _every_ time I
> boot my computer into Fluxbox, I must unmute and level up
> all of my sounds. Is there any way to save the configuration
> past your session?
> Thanks!
> ~Ian

adjust the volumes, and run (under root)

/etc/init.t/alsasound save

or

alsactl -f /etc/asound.state save

or you can set SAVE_ON_STOP="yes" in /etc/conf.d/alsasound to save
volumes on every shutdown


all of these require that you have alsasound started at boot


yoyo
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* [gentoo-user] sound problem
@ 2006-06-11 13:00 Strake
  2006-06-11 13:31 ` Luigi Pinna
  0 siblings, 1 reply; 28+ messages in thread
From: Strake @ 2006-06-11 13:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Hi all,

I have a box which runs gentoo, and the sound doesn't work. When i run
xmms, i get the following message:

** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No
such device

The sound is a Creative SoundBlaster Audigy (onboard my MSI K8N Diamond
Plus motherboard). Alsa is installed, and emu10k1 is compiled into the
kernel. When i run alsaconf, however, it cannot find my sound device.
Any help would be greatly appreciated.

-- 
Registered Linux User #392061
counter.li.org
--------
No, you may not goto the washroom. Last time you went to the washroom, we
found you days later in an air vent.
-Bryn

[-- Attachment #2: Type: text/html, Size: 739 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] sound problem
  2006-06-11 13:00 [gentoo-user] sound problem Strake
@ 2006-06-11 13:31 ` Luigi Pinna
  2006-06-11 23:46   ` Strake
  0 siblings, 1 reply; 28+ messages in thread
From: Luigi Pinna @ 2006-06-11 13:31 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alle 15:00, domenica 11 giugno 2006, Strake ha scritto:
> Hi all,
>
> I have a box which runs gentoo, and the sound doesn't work. When i
> run xmms, i get the following message:
>
> ** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No
> such device
>
> The sound is a Creative SoundBlaster Audigy (onboard my MSI K8N
> Diamond Plus motherboard). Alsa is installed, and emu10k1 is compiled
> into the kernel. When i run alsaconf, however, it cannot find my
> sound device. Any help would be greatly appreciated.

Have you started the alsasound service? What do you read from lspci? and 
dmesg?
I think you forgot to compile some modules...
Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEjBsiHmkkjmM/hrcRAp6TAJ9LhuqqKgtDjxtgcDslTQ7inIjJKgCeOFKK
o5dIxJkq2maHfcMR+pe604U=
=rg/L
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] sound problem
  2006-06-11 13:31 ` Luigi Pinna
@ 2006-06-11 23:46   ` Strake
  2006-06-12  3:23     ` Yun Xupeng
  0 siblings, 1 reply; 28+ messages in thread
From: Strake @ 2006-06-11 23:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1932 bytes --]

lspci reports "04:05.0 Multimedia audio controller: Creative Labs SB
Audigy LS"

dmesg says nothing about sound... it's been a while since i last
rebooted this box ;D

when i try to start alsasound manually, it says the following:

 * Loading ALSA modules ...
 * Could not detect custom ALSA settings.  Loading all detected alsa
drivers.
 * Unable to find any ALSA drivers. Have you compiled alsa-drivers
correctly?
 * ERROR: Failed to load necessary drivers
 * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!

which is strange because alsa-drivers are compiled into kernel.

On 6/11/06, Luigi Pinna <mailing-gentoo@sailorferris.com> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alle 15:00, domenica 11 giugno 2006, Strake ha scritto:
> > Hi all,
> >
> > I have a box which runs gentoo, and the sound doesn't work. When i
> > run xmms, i get the following message:
> >
> > ** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No
> > such device
> >
> > The sound is a Creative SoundBlaster Audigy (onboard my MSI K8N
> > Diamond Plus motherboard). Alsa is installed, and emu10k1 is compiled
> > into the kernel. When i run alsaconf, however, it cannot find my
> > sound device. Any help would be greatly appreciated.
>
> Have you started the alsasound service? What do you read from lspci? and
> dmesg?
> I think you forgot to compile some modules...
> Luigi
> - --
> Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFEjBsiHmkkjmM/hrcRAp6TAJ9LhuqqKgtDjxtgcDslTQ7inIjJKgCeOFKK
> o5dIxJkq2maHfcMR+pe604U=
> =rg/L
> -----END PGP SIGNATURE-----
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Registered Linux User #392061
counter.li.org
--------
No, you may not goto the washroom. Last time you went to the washroom, we
found you days later in an air vent.
-Bryn

[-- Attachment #2: Type: text/html, Size: 2511 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] sound problem
  2006-06-11 23:46   ` Strake
@ 2006-06-12  3:23     ` Yun Xupeng
  2006-06-14 10:07       ` Strake
  0 siblings, 1 reply; 28+ messages in thread
From: Yun Xupeng @ 2006-06-12  3:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

maybe you didn't compile drivers that your soundcard uses.
try emerge alsa-drivers again...


2006/6/12, Strake strake888@gmail.com:
>
>
> --
> I like Python & Linux.

[-- Attachment #2: Type: text/html, Size: 423 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] sound problem
  2006-06-12  3:23     ` Yun Xupeng
@ 2006-06-14 10:07       ` Strake
  2006-06-14 10:33         ` recordus
  0 siblings, 1 reply; 28+ messages in thread
From: Strake @ 2006-06-14 10:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

alsa-driver is compiled into kernel, and emerge alsa-driver complains
because of it and exits.

On 6/11/06, Yun Xupeng <recordus@gmail.com> wrote:
>
> maybe you didn't compile drivers that your soundcard uses.
> try emerge alsa-drivers again...
>
>
> 2006/6/12, Strake strake888@gmail.com:
> >
> >
> > --
> > I like Python & Linux.
>
>


-- 
Registered Linux User #392061
counter.li.org
--------
Everything is more fun when you add a rocket engine.
--------
No, you may not goto the washroom. Last time you went to the washroom, we
found you days later in an air vent.
-Bryn

[-- Attachment #2: Type: text/html, Size: 1258 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] sound problem
  2006-06-14 10:07       ` Strake
@ 2006-06-14 10:33         ` recordus
  2006-06-18 17:22           ` Strake
  0 siblings, 1 reply; 28+ messages in thread
From: recordus @ 2006-06-14 10:33 UTC (permalink / raw
  To: gentoo-user

when I compiled my kernel, I only selected "Sound card support",but
didn't select any module that is supported by the kernel(Alas or oss),
then I emerge alsa-driver, and it works well.

ps:my english is poor,sorry :)

Strake wrote:
> alsa-driver is compiled into kernel, and emerge alsa-driver complains
> because of it and exits
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [gentoo-user] sound problem
  2006-06-14 10:33         ` recordus
@ 2006-06-18 17:22           ` Strake
  0 siblings, 0 replies; 28+ messages in thread
From: Strake @ 2006-06-18 17:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

well, i recompiled and broke the kernel :P

while i was trying to fix it, the livecd had the same problem as my
installation; it complained about alsa-drivers being compiled incorrectly.
Perhaps a bug?

On 6/14/06, recordus <recordus@gmail.com> wrote:
>
> when I compiled my kernel, I only selected "Sound card support",but
> didn't select any module that is supported by the kernel(Alas or oss),
> then I emerge alsa-driver, and it works well.
>
> ps:my english is poor,sorry :)
>
> Strake wrote:
> > alsa-driver is compiled into kernel, and emerge alsa-driver complains
> > because of it and exits
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Registered Linux User #392061
counter.li.org
--------
Everything is more fun when you add a rocket engine.
--------
No, you may not goto the washroom. Last time you went to the washroom, we
found you days later in an air vent.
-Bryn

[-- Attachment #2: Type: text/html, Size: 1317 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2006-06-18 17:29 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11 11:31 [gentoo-user] Sound problem Bruno Gola
2005-07-11 11:50 ` Charles Oertel
2005-07-11 12:14   ` Bruno Gola
2005-07-11 13:30     ` James Tanis
2005-07-11 11:56 ` ZeeGeek
2005-07-11 11:57   ` ZeeGeek
2005-07-11 12:15     ` Bruno Gola
2005-07-11 12:55 ` Rafael Dantas de Castro
2005-07-11 12:52   ` Bruno Gola
2005-07-11 17:59     ` Richard Fish
2005-07-11 18:46       ` James Tanis
2005-07-11 19:42         ` Richard Fish
2005-07-11 20:02           ` Christoph Eckert
2005-07-11 22:25             ` James Tanis
  -- strict thread matches above, loose matches on Subject: below --
2006-01-27 15:09 Rafael Barrera Oro
2006-01-27 15:27 ` Andrés Becerra Sandoval 
2006-01-27 15:58   ` Rafael Barrera Oro
2006-01-27 18:21     ` Jason Weisberger
2006-01-27 18:48       ` Ian
2006-01-28 18:53         ` Rafael Barrera Oro
2006-01-29 13:55         ` YoYo Siska
2006-06-11 13:00 [gentoo-user] sound problem Strake
2006-06-11 13:31 ` Luigi Pinna
2006-06-11 23:46   ` Strake
2006-06-12  3:23     ` Yun Xupeng
2006-06-14 10:07       ` Strake
2006-06-14 10:33         ` recordus
2006-06-18 17:22           ` Strake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox