Re: [Alsa-user] changing usb devices

2006-04-01 Thread Frank Barknecht
Hallo,
Niv hat gesagt: // Niv wrote:

 If somebody may direct me to an article  I would be thankful.
 I have several sound devices that change.
 * a usb sound card with output only
 * a usb webcam with a microphone
 * a bluetooth adapter that provides a sound device with my BT headset

I don't know BT, but you can specify which usb soundcard should get
which card index using the module options vid and pid like:

options snd-usb-audio index=1,2 vid=0x0ccd,0x0763 pid=0x0028,0x0117

This will make the usb device with Vendor ID 0ccd and Product ID 0028
always be card index 1, and the device with vid 0763 and pid 0117 be
at card index 2. You get the numbers with lsusb.

In this example it would also be possible to omit either vid or pid,
but if you want to use USB soundcards by the same vendor that share
the same vid, this options line will circumvent possible name clashes.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Marcel Witte

Hi

I have forgotten to uninstall the alsa-rpm-packages from version 1.0.10...
Now I've uninstalled them (yast wasn't happy about this...) and 
installed alsa-driver, alsa-lib, alsa-plugins, alsa-utils and 
alsa-firmware from the 1.0.11rc4-sources


Here are my results:

alsaconf:
- found an intel8x0  nVidia Corporation CK804 AC'97 Audio Controller 
(rev a2)

- sayd:
   
===


Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.

Have a lot of fun!

- but played no test-sound

/etc/init.d/alsasound reload:
Shutting down sound driver: done
Starting sound driver: snd-intel8x0 done
/usr/sbin/alsactl: load_state:1236: No soundcards found...

alsamixer:
- anything is unmuted and raised to max.

speaker-test -c6:
- played no sound but is writing fast:
speaker-test 1.0.11rc4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 206157824
Period size range from 1024 to 1024
Periods = 4
Buffer time size 24000
To choose buffer_size = 206157824
To choose period_size = 51539456
was set period_size = 1024
was set buffer_size = 206157824
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 0,436713
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 0,344152
[...]

- with -Dplug:dmix51 :
speaker-test 1.0.11rc4

Playback device is plug:dmix51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
variable_buffer_size

Playback open error: -22,Das Argument ist ungültig
ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
variable_buffer_size

Playback open error: -22,Das Argument ist ungültig
ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
variable_buffer_size

Playback open error: -22,Das Argument ist ungültig
[...]

aplay k3b_error1.wav:
- works, but just the front-speakers:
Playing WAVE 'k3b_error1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
- with -Dplug:dmix51 :
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM :plug:dmix51
aplay: main:547: audio open error: Datei oder Verzeichnis nicht 
gefunden


alsaplayer:
- works fine, is using alsa and is mixing (I've used alsaplayer 5x and 
it works, but it was awful...), but just the front-speakers.:

AlsaPlayer 0.99.76
(C) 1999-2003 Andy Lo A Foe [EMAIL PROTECTED] and others.
Output plugin: ALSA output v1.9.0beta12
Loading reader plugin: File reader v1.1
Loading reader plugin: HTTP reader v1.3
Loading Input plugin: CDDA player v1.2
Loading Input plugin: MikMod player v1.0
Loading Input plugin: WAV player v1.01
Loading Input plugin: Ogg Vorbis player v1.2
Loading Input plugin: MAD MPEG audio plugin v1.01
Loading Input plugin: flac player v1.2
Loading Input plugin: libsndfile plugin v0.1
Interface plugin: GTK+ interface v1.2

- with -dplug:dmix51 :
AlsaPlayer 0.99.76
(C) 1999-2003 Andy Lo A Foe [EMAIL PROTECTED] and others.
ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
variable_buffer_size

snd_pcm_open: Das Argument ist ungültig (plug:dmix51)
Failed to initialize plugin!
Failed to register plugin: 
/usr/local/lib/alsaplayer/output/libalsa_out.so

Failed to load output plugin alsa. Trying defaults.
ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
variable_buffer_size

snd_pcm_open: Das Argument ist ungültig (plug:dmix51)
Failed to initialize plugin!
/usr/local/lib/alsaplayer/output/libalsa_out.so failed to load
jack: using ports alsa_pcm:playback_1  alsa_pcm:playback_2 for output
jack: server not running?
/usr/local/lib/alsaplayer/output/libjack_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/local/lib/alsaplayer/output/liboss_out.so failed to load
Output plugin: ESD output v1.0 (broken for mono output)
ESD: rate fixed at 44100Hz
ESD: fragments fixed at 256/256, stereo
Loading reader plugin: File reader v1.1
Loading reader plugin: HTTP reader v1.3
Loading Input plugin: CDDA player v1.2
Loading Input plugin: MikMod player v1.0
Loading Input plugin: WAV player v1.01
Loading Input plugin: Ogg Vorbis player v1.2
Loading Input plugin: MAD MPEG audio plugin v1.01
Loading Input plugin: flac player v1.2
Loading Input plugin: libsndfile plugin v0.1
Interface plugin: GTK+ interface v1.2

xine:
- the same as in the last mail.

Am I too stupid for alsa??? I think so...

Marcel

Marcel Witte schrieb:

Takashi Iwai schrieb:

At Thu, 30 Mar 2006 16:47:41 -0500,
Lee 

Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Lee Revell
On Sat, 2006-04-01 at 16:55 +0200, Marcel Witte wrote:
  - with -dplug:dmix51 :
  AlsaPlayer 0.99.76
  (C) 1999-2003 Andy Lo A Foe [EMAIL PROTECTED] and others.
  ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
 variable_buffer_size

Something is not installed correctly.  What is the output of:

grep -rI variable_buffer /usr/share/alsa/

?

Are you sure the OSS driver is not loaded for your card?

Lee



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Lee Revell
On Sat, 2006-04-01 at 20:57 +0300, Sergei Steshenko wrote:
 Humans (end users) are supposed to answer this question by looking at
 the output of some Linux utilities.
 

The distro's init scripts/modutils/hotplug/udev configuration is
supposed to make sure that this is not possible.  Users who don't use a
distro or compile everything from source are expected to know what they
are doing. 

Anyway this is rarely a problem, it's just to make sure.

 Can't ALSA programs look at the output of the same utilities (by
 invoking
 them) and tell users that their ALSA attempts are senseless in the
 presence
 of OSS ? 

This would be bloat.  The UNIX philosophy is not to prevent users from
doing stupid things as this would also prevent them from doing clever
things.

Lee



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Lee Revell
On Sat, 2006-04-01 at 16:55 +0200, Marcel Witte wrote:
 - with -Dplug:dmix51 :
  speaker-test 1.0.11rc4
 
  Playback device is plug:dmix51
  Stream parameters are 48000Hz, S16_LE, 6 channels
  Using 16 octaves of pink noise
  ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
 variable_buffer_size 

I have been able to reproduce this exact problem here.  Investigating.

Lee



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Problems with SiS 7018 sound chipset (semaphore not ready)

2006-04-01 Thread Clemens Eisserer
Hello,

I already wrote this mail to lkml, but no one replied so I try it
here. I hope I don't bother anybody by doing so *sorry*

I own a laptop with a sis7018 sound-chipset and I am running FC4
updated to kernel Linux cehost 2.6.15-1.1831_FC4 (not compiled
myself, 2.6.11 does not work either).
I never had problems with my soundcard at all but some time ago it
suddely stopped to work. I can't remember wether it was a
kernel-update or a motherboard exchange made by service engineers.

Whenever an application tries to access the sound-device I get
messages like the following on syslog:
codec_write 0: semaphore is not ready for register 0x2c
the same again and again, but different registers: 0x2c, 0x2a 0x2c
0x2c 0x2c 0x2c 0x3a 0x2a

When booting up I get a strange message from the pci subsystem:
PCI: Failed to allocate mem resource #6:[EMAIL PROTECTED] for :01:00.0
booting with pci=noacpi did not help or change the situation.
However I guess 01:00 is my graphic-card.

this is the output I get from lspci:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 645xx (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL
Media IO] (rev 14)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS]
FireWire Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
PCI Fast Ethernet (rev 90)
00:0c.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller
01:00.0 VGA compatible controller: nVidia Corporation NV18M [GeForce4
488 Go] (rev a2)


Thank you in advance, lg Clemens


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Sergei Steshenko
On Sat, 01 Apr 2006 11:41:20 -0500
Lee Revell [EMAIL PROTECTED] wrote:

 On Sat, 2006-04-01 at 16:55 +0200, Marcel Witte wrote:
   - with -dplug:dmix51 :
   AlsaPlayer 0.99.76
   (C) 1999-2003 Andy Lo A Foe [EMAIL PROTECTED] and others.
   ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
  variable_buffer_size
 
 Something is not installed correctly.  What is the output of:
 
 grep -rI variable_buffer /usr/share/alsa/
 
 ?
 
 Are you sure the OSS driver is not loaded for your card?
 
 Lee
 
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user
 


The

Are you sure the OSS driver is not loaded for your card?

is a very FAQ by ALSA developers.

Humans (end users) are supposed to answer this question by looking at the
output of some Linux utilities.

Can't ALSA programs look at the output of the same utilities (by invoking
them) and tell users that their ALSA attempts are senseless in the presence
of OSS ?

Thanks in advance,
  Sergei.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Bill Unruh

On Sat, 1 Apr 2006, Marcel Witte wrote:


Are you sure the OSS driver is not loaded for your card?


How can I check this?? I'm using SuSE 10.0...


lsmod|grep oss
iAnd look for something that does not start with snd-

Also look in /etc/modprobe.conf and see if there are sound things loading
which do not start with snd-




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Lee Revell
On Sat, 2006-04-01 at 12:23 -0800, Bill Unruh wrote:
 On Sat, 1 Apr 2006, Marcel Witte wrote:
 
  Are you sure the OSS driver is not loaded for your card?
  
  How can I check this?? I'm using SuSE 10.0...
 
 lsmod|grep oss
 iAnd look for something that does not start with snd-
 

This won't work, OSS modules have names like i810_audio.

Lee




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Marcel Witte

Lee Revell schrieb:

On Sat, 2006-04-01 at 16:55 +0200, Marcel Witte wrote:
  

 - with -dplug:dmix51 :
 AlsaPlayer 0.99.76
 (C) 1999-2003 Andy Lo A Foe [EMAIL PROTECTED] and others.
 ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
variable_buffer_size



Something is not installed correctly.  What is the output of:

grep -rI variable_buffer /usr/share/alsa/

?
  

/usr/share/alsa/pcm/dmix.conf:  variable_buffer_size {
/usr/share/alsa/pcm/dmix.conf:  name 
defaults.pcm.dmix_variable_buffer

/usr/share/alsa/alsa.conf:defaults.pcm.dmix_variable_buffer true

Are you sure the OSS driver is not loaded for your card?
  

How can I check this?? I'm using SuSE 10.0...

Marcel


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Sergei Steshenko
On Sat, 01 Apr 2006 13:15:36 -0500
Lee Revell [EMAIL PROTECTED] wrote:

 On Sat, 2006-04-01 at 20:57 +0300, Sergei Steshenko wrote:
  Humans (end users) are supposed to answer this question by looking at
  the output of some Linux utilities.
  
 
 The distro's init scripts/modutils/hotplug/udev configuration is
 supposed to make sure that this is not possible.  Users who don't use a
 distro or compile everything from source are expected to know what they
 are doing. 
 
 Anyway this is rarely a problem, it's just to make sure.
 
  Can't ALSA programs look at the output of the same utilities (by
  invoking
  them) and tell users that their ALSA attempts are senseless in the
  presence
  of OSS ? 
 
 This would be bloat.  The UNIX philosophy is not to prevent users from
 doing stupid things as this would also prevent them from doing clever
 things.
 
 Lee
 
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user
 


To add '-perform_sanity_checks' command line switch not preventing
users from doing both stupid and smart things would be against UNIX
philosophy and bloat ?

It is not obvious to new users that both ALSA and OSS exist; Linux
distros sometimes use OSS driver instead of ALSA one, so end user might
miss this.

I think your post is just another argument in favor of UNIX/Linux haters
proving their point of inherent UNIX/Linux user unfriendliness (it's not
that Windows OS inherently/always user-friendly, but Linux/UNIX should
be better than Windows, and it's a separate issue).


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Lee Revell
On Sun, 2006-04-02 at 00:07 +0300, Sergei Steshenko wrote:
 It is not obvious to new users that both ALSA and OSS exist; Linux
 distros sometimes use OSS driver instead of ALSA one, so end user
 might miss this. 

But any sane distro will hide this from the user.  It's not worth the
trouble to check for it at every level.  I only asked about OSS to rule
out an exceptional case.

Lee



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Lee Revell
On Sat, 2006-04-01 at 21:34 +0200, Marcel Witte wrote:
 Lee Revell schrieb:
  On Sat, 2006-04-01 at 16:55 +0200, Marcel Witte wrote:

   - with -dplug:dmix51 :
   AlsaPlayer 0.99.76
   (C) 1999-2003 Andy Lo A Foe [EMAIL PROTECTED] and others.
   ALSA lib pcm.c:6648:(snd_pcm_slave_conf) Unknown field 
  variable_buffer_size
  
 
  Something is not installed correctly.  What is the output of:
 
  grep -rI variable_buffer /usr/share/alsa/
 
  ?

 /usr/share/alsa/pcm/dmix.conf:  variable_buffer_size {
 /usr/share/alsa/pcm/dmix.conf:  name 
 defaults.pcm.dmix_variable_buffer
 /usr/share/alsa/alsa.conf:defaults.pcm.dmix_variable_buffer true
  Are you sure the OSS driver is not loaded for your card?

 How can I check this?? I'm using SuSE 10.0...

Never mind, this is an alsa-lib bug.  I'm having the exact same problem
and I can't figure it out - it looks like it should work.  You'll have
to wait for a fix.

Lee



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Bill Unruh

On Sat, 1 Apr 2006, Lee Revell wrote:


On Sat, 2006-04-01 at 12:23 -0800, Bill Unruh wrote:

On Sat, 1 Apr 2006, Marcel Witte wrote:


Are you sure the OSS driver is not loaded for your card?


How can I check this?? I'm using SuSE 10.0...


lsmod|grep oss
iAnd look for something that does not start with snd-



This won't work, OSS modules have names like i810_audio.


You are right. I thought there was one module which was usually loaded
which had oss in the name. So, you would have to just look to see if some
sound driver without the snd- at the begining of the name was being loaded.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] How to use Surroundsound with alsa??

2006-04-01 Thread Marcel Witte

Lee Revell schrieb:

On Sat, 2006-04-01 at 12:23 -0800, Bill Unruh wrote:
  

On Sat, 1 Apr 2006, Marcel Witte wrote:



Are you sure the OSS driver is not loaded for your card?



How can I check this?? I'm using SuSE 10.0...
  

lsmod|grep oss
iAnd look for something that does not start with snd-




This won't work, OSS modules have names like i810_audio.

Lee
  

Ok, here's my hole lsmod: (I found nothing that sounds like oss...)

Module  Size  Used by
snd_intel8x0   37416  4
snd_ac97_codec109372  1 snd_intel8x0
snd_ac97_bus3072  1 snd_ac97_codec
snd_pcm98444  3 snd_intel8x0,snd_ac97_codec
snd_timer  25992  4 snd_pcm
snd66304  8 
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer

soundcore  11808  1 snd
ipt_MASQUERADE  4096  0
ipt_pkttype 2176  0
appletalk  42064  2
ax25   72232  2
ipx31568  2
fglrx 502268  8
ipt_TCPMSS  4992  1
ipt_LOG 8064  7
ipt_limit   2944  7
cpufreq_ondemand8108  1
cpufreq_userspace   5828  0
cpufreq_powersave   2304  0
powernow_k811792  0
freq_table  5512  1 powernow_k8
nfsd  287720  5
button  8736  0
battery12296  0
ac  6664  0
edd12448  0
hisax 488228  2
lirc_serial15504  1
lirc_dev   16768  1 lirc_serial
joydev 12288  0
ip6t_REJECT 6528  3
ipt_REJECT  6656  3
ipt_state   2432  11
iptable_mangle  3584  0
iptable_nat28120  1 ipt_MASQUERADE
iptable_filter  3712  1
usbhid 49696  0
usblp  15488  0
crc_ccitt   2560  1 hisax
isdn  154592  9 hisax
slhc8192  1 isdn
ip6table_mangle 2944  0
ip_conntrack   51572  3 ipt_MASQUERADE,ipt_state,iptable_nat
budget_av  19584  15
dvb_pll13700  1 budget_av
saa7146_vv 53248  1 budget_av
video_buf  25604  1 saa7146_vv
v4l1_compat13956  1 saa7146_vv
v4l2_common18176  1 saa7146_vv
videodev   12544  1 saa7146_vv
budget_core10756  1 budget_av
saa714619720  3 budget_av,saa7146_vv,budget_core
ttpci_eeprom2816  1 budget_core
stv029912168  1 budget_av
dvb_core   89404  3 budget_av,budget_core,stv0299
tda100217172  1 budget_av
tda1004x   17156  1 budget_av
firmware_class 12416  2 budget_av,tda1004x
ip_tables  22528  10 
ipt_MASQUERADE,ipt_pkttype,ipt_TCPMSS,ipt_LOG,i

pt_limit,ipt_REJECT,ipt_state,iptable_mangle,iptable_nat,iptable_filter
ohci1394   36684  0
ieee1394  118648  1 ohci1394
generic 5892  0 [permanent]
sata_nv11396  0
libata 57608  1 sata_nv
scsi_mod  161976  1 libata
snd_page_alloc 12432  2 snd_intel8x0,snd_pcm
ehci_hcd   36744  0
i2c_nforce2 8576  0
i2c_core   25752  7 
budget_av,budget_core,ttpci_eeprom,stv0299,tda10

021,tda1004x,i2c_nforce2
ohci_hcd   22916  0
usbcore   140724  5 usbhid,usblp,ehci_hcd,ohci_hcd
forcedeth  22144  0
shpchp101032  0
pci_hotplug31720  1 shpchp
ip6table_filter 3456  1
ip6_tables 21120  3 ip6t_REJECT,ip6table_mangle,ip6table_filter
ipv6  289024  21 ip6t_REJECT
parport_pc 44912  1
lp 14336  0
parport43532  2 parport_pc,lp
nls_utf82688  3
ntfs  179160  3
ext3  151952  1
jbd72512  1 ext3
dm_mod 65648  0
xfs   570184  1
exportfs6912  2 nfsd,xfs
ide_cd 45984  0
cdrom  40888  1 ide_cd
fan 6152  0
thermal17932  0
processor  28368  2 powernow_k8,thermal
amd74xx16048  0 [permanent]
ide_disk   19584  9
ide_core  158616  4 generic,ide_cd,amd74xx,ide_disk
tuxshome:/home/arthas # lsmod
Module  Size  Used by
snd_intel8x0   37416  4
snd_ac97_codec109372  1 snd_intel8x0
snd_ac97_bus3072  1 snd_ac97_codec
snd_pcm98444  3 snd_intel8x0,snd_ac97_codec
snd_timer  25992  4 snd_pcm
snd66304  8 
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer

soundcore  11808  1 snd
ipt_MASQUERADE  4096  0
ipt_pkttype 2176  0
appletalk  42064  2
ax25   72232  2
ipx31568  2
fglrx 502268  8

[Alsa-user] ES1371 and rear speakers

2006-04-01 Thread Gordon McLellan
Does anyone on the list have an ES1371 (Creative or Ensoniq AudioPCI
or SB128).   I'm wondering about its capabilities.

/proc/asound/devices shows it has two playback devices and one capture devices.

[EMAIL PROTECTED] wav]# cat /proc/asound/devices
  0: [0- 0]: ctl
  8: [0- 0]: raw midi
 17: [0- 1]: digital audio playback
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture

and according to what I've read on google, the LINE-IN jack doubles as
the rear line-out.

however, speakers (amplified) connected to the line-out produce no sound

I try sending a wav to hw:0,1 (should that be the rear channels?) and
it shows up on the front speakers.  Same thing happens when I send a
wav to hw:0,0

is there a command or something I need to issue, to enable the rear outputs?

the datasheet for the hardware codec (akm4531) shows two DACs, one
with a dedicated line level output and a mixer output, the other with
only a mixer output ... this would seem to match up with some stuff
I've read on google about the rear speakers being of 'uncontrollable'
volume (since there is no gain control indicated in the datasheet)

I also tried doing it this way:
[EMAIL PROTECTED] wav]# aplay -D rear tada.wav
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem
(MIXER,'AC97 2ch-4ch Copy Switch',0,0,0): No such file or directory
aplay: main:508: audio open error: No such file or directory

I have added amixer shows me, and the very end of this message, since
the output is very long.

Any suggestions or pointers as to what to look for or what to do next
are appreciated.

Thanks,
Gordon


[EMAIL PROTECTED] wav]# amixer -c 0
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 9 [29%] [on]
  Front Right: Playback 9 [29%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'PCM Out Path  Mute',0
  Capabilities:
  Mono:
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [on] Capture [off]
  Front Right: Playback 0 [0%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities:
  Mono:
Simple mixer control 'Capture',0
  Capabilities: