Re: [gentoo-user] sound problem

2006-06-18 Thread Strake
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 [EMAIL PROTECTED] wrote:
when I compiled my kernel, I only selected Sound card support,butdidn'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 #392061counter.li.orgEverything 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


Re: [gentoo-user] sound problem

2006-06-14 Thread Strake
alsa-driver is compiled into kernel, and emerge alsa-driver complains because of it and exits.On 6/11/06, Yun Xupeng 
[EMAIL PROTECTED] wrote:maybe you didn't compile drivers thatyour soundcard uses.

try emerge alsa-drivers again...
2006/6/12, Strake [EMAIL PROTECTED]:
-- I like Python  Linux. 

-- Registered Linux User #392061counter.li.orgEverything 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


Re: [gentoo-user] sound problem

2006-06-14 Thread recordus
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



[gentoo-user] sound problem

2006-06-11 Thread Strake
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 #392061counter.li.orgNo, you may not goto the washroom. Last time you went to the washroom, we found you days later in an air vent.
-Bryn


Re: [gentoo-user] sound problem

2006-06-11 Thread Luigi Pinna
-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



Re: [gentoo-user] sound problem

2006-06-11 Thread Strake
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 [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Alle 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? anddmesg?
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.orgNo, you may not goto the washroom. Last time you went to the washroom, we found you days later in an air vent.-Bryn


Re: [gentoo-user] sound problem

2006-06-11 Thread Yun Xupeng
maybe you didn't compile drivers thatyour soundcard uses.
try emerge alsa-drivers again...
2006/6/12, Strake [EMAIL PROTECTED]:
-- I like Python  Linux. 


Re: [gentoo-user] Sound problem

2006-01-29 Thread YoYo Siska
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



Re: [gentoo-user] Sound problem

2006-01-28 Thread Rafael Barrera Oro
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



[gentoo-user] Sound problem

2006-01-27 Thread Rafael Barrera Oro
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



Re: [gentoo-user] Sound problem

2006-01-27 Thread Andrés Becerra Sandoval
On 1/27/06, Rafael Barrera Oro [EMAIL PROTECTED] 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



Re: [gentoo-user] Sound problem

2006-01-27 Thread Rafael Barrera Oro
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



Re: [gentoo-user] Sound problem

2006-01-27 Thread Jason Weisberger
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 [EMAIL PROTECTED] wrote:
I followed your advice Andres and its weird, there are now no errormessages anywhere to be found!! yet the sound does not work, i thinkit is more of a curse, so i will subscribe to the exorcism mailinglist, anyway i will continue to hear your suggestions of course :P
Thanks anywaysoundless Rafa--gentoo-user@gentoo.org mailing list-- Jason Weisberger
[EMAIL PROTECTED]


Re: [gentoo-user] Sound problem

2006-01-27 Thread Ian
This is kind of along the same line of alsa mixer.I use kde and fluxbox, but kde's stupid sound daemon wont letsome 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 upall of my sounds. Is there any way to save the configurationpast your session?Thanks!~IanOn 1/27/06, 
Jason Weisberger [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:

I followed your advice Andres and its weird, there are now no errormessages anywhere to be found!! yet the sound does not work, i thinkit is more of a curse, so i will subscribe to the exorcism mailinglist, anyway i will continue to hear your suggestions of course :P
Thanks anywaysoundless Rafa--gentoo-user@gentoo.org mailing list
-- Jason Weisberger
[EMAIL PROTECTED]

-- Cheers,Ian


[gentoo-user] Sound problem

2005-07-11 Thread Bruno Gola
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:

[EMAIL PROTECTED] ~ $ 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



Re: [gentoo-user] Sound problem

2005-07-11 Thread Charles Oertel

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



Re: [gentoo-user] Sound problem

2005-07-11 Thread ZeeGeek
On 7/11/05, Bruno Gola [EMAIL PROTECTED] wrote:
Hi guys,Good morning (in Brazil hehe) ;)So, today's doubt is about sound... i can listen my mp3 with xmms, i canplay nfsu2 with cedega and sound works fine... but, when i try mpg123 toplay (as user) or play some game that uses /dev/dsp directly, i get this
error:[EMAIL PROTECTED] ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\Infected_/01\ -\ The\ Hell\ Song.mp3High 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 listIf you have /dev/dsp0 or something like that, make /dev/dsp a symlink to your sound device, for example /dev/dsp0.
-- Dell Inspiron 600mPentium-M 1.6G512MB, 60GATI 9000 Mobility


Re: [gentoo-user] Sound problem

2005-07-11 Thread ZeeGeek
On 7/11/05, ZeeGeek [EMAIL PROTECTED] wrote:
On 7/11/05, Bruno Gola [EMAIL PROTECTED]
 wrote:
Hi guys,Good morning (in Brazil hehe) ;)So, today's doubt is about sound... i can listen my mp3 with xmms, i canplay nfsu2 with cedega and sound works fine... but, when i try mpg123 toplay (as user) or play some game that uses /dev/dsp directly, i get this
error:[EMAIL PROTECTED] ~ $ mpg123 MEDIA/MUSICAS/Sum\ 41/Does\ This\ Look\Infected_/01\ -\ The\ Hell\ Song.mp3High 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 600mPentium-M 1.6G512MB, 60GATI 9000 Mobility

sorry, I misunderstood your post. I thought that /dev/dsp was missing.-- Dell Inspiron 600mPentium-M 1.6G512MB, 60GATI 9000 Mobility


Re: [gentoo-user] Sound problem

2005-07-11 Thread Bruno Gola
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



Re: [gentoo-user] Sound problem

2005-07-11 Thread Bruno Gola
ZeeGeek wrote:

 On 7/11/05, *ZeeGeek* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:

 On 7/11/05, *Bruno Gola* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 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:

 [EMAIL PROTECTED] ~ $ 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



Re: [gentoo-user] Sound problem

2005-07-11 Thread Rafael Dantas de Castro
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 [EMAIL PROTECTED] 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:
 
 [EMAIL PROTECTED] ~ $ 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



Re: [gentoo-user] Sound problem

2005-07-11 Thread Bruno Gola
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 [EMAIL PROTECTED] 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:

[EMAIL PROTECTED] ~ $ 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



Re: [gentoo-user] Sound problem

2005-07-11 Thread James Tanis

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
[EMAIL PROTECTED]
http://pycoder.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sound problem

2005-07-11 Thread Richard Fish
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 [EMAIL PROTECTED] 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



Re: [gentoo-user] Sound problem

2005-07-11 Thread James Tanis

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 [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://pycoder.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sound problem

2005-07-11 Thread Christoph Eckert

 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



Re: [gentoo-user] Sound problem

2005-07-11 Thread James Tanis

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
[EMAIL PROTECTED]
http://pycoder.org
-- 
gentoo-user@gentoo.org mailing list