Re: [Alsa-user] (snd_ctl_open_noupdate) Invalid CTL hw:0

2006-11-15 Thread Clemens Ladisch
Chuck Harrison wrote:
 It looks to me that /dev/snd/controlC0 was opened successfully but
 sound_ctl_nopdate disliked something about what it saw.
 
 [EMAIL PROTECTED]:~# strace -eopen aplay -l
 ...
 open(/dev/snd/controlC0, O_RDONLY)= 3
  List of PLAYBACK Hardware Devices 
 ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL hw:0
 aplay: device_list:231: control open (0): No such file or directory

It shouldn't open /dev/snd/controlC0 before reading alsa.conf.
Does alsa.conf appear anywhere in the strace output?


Regards,
Clemens

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] (snd_ctl_open_noupdate) Invalid CTL hw:0

2006-11-15 Thread Chuck Harrison
Hi Clemens,

Contrary to what you expect, /dev/snd/controlC0 *does* get opened
before alsa.conf gets stat'ed or opened. I added a simple alsa.conf
file

[EMAIL PROTECTED]:~# cat /usr/share/alsa/alsa.conf
pcm.card0 {
type hw
card 0
}
ctl.card0 {
type hw
card 0
}

and here is the strace:

[EMAIL PROTECTED]:~# strace -estat,open,close,read aplay -l
stat(/etc/ld.so.cache, 0x7fd52b28)= -1 ENOENT (No such file or
directory)
open(/lib/libasound.so.2, O_RDONLY)   = -1 ENOENT (No such file or
directory)
open(/lib/libasound.so.2, O_RDONLY)   = -1 ENOENT (No such file or
directory)
open(/usr/lib/libasound.so.2, O_RDONLY) = 4
read(4, [EMAIL PROTECTED]...,
4096) = 4096
close(4)= 0
open(/lib/libm.so.0, O_RDONLY)= 4
read(4,
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0P\f\0\000..., 4096)
= 4096
close(4)= 0
open(/lib/libdl.so.0, O_RDONLY)   = 4
read(4, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0P\10\0...,
4096) = 4096
close(4)= 0
open(/lib/libpthread.so.0, O_RDONLY)  = 4
read(4, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\3004\0...,
4096) = 4096
close(4)= 0
open(/lib/libgcc_s.so.1, O_RDONLY)= 4
read(4, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\\30...,
4096) = 4096
close(4)= 0
open(/lib/libc.so.0, O_RDONLY)= 4
read(4, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20\271...,
4096) = 4096
close(4)= 0
open(/dev/snd/controlC0, O_RDONLY)= 4
close(4)= 0
 List of PLAYBACK Hardware Devices 
stat(/usr/share/alsa/alsa.conf, {st_mode=S_IFREG|0644, st_size=74,
...}) = 0
open(/usr/share/alsa/alsa.conf, O_RDONLY) = 4
read(4, pcm.card0 {\ntype hw\ncard..., 4096) = 74
read(4, , 4096)   = 0
close(4)= 0
ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:231: control open (0): No such file or directory
open(/dev/snd/controlC1, O_RDONLY)= -1 ENOENT (No such file or
directory)
open(/dev/aloadC1, O_RDONLY)  = -1 ENOENT (No such file or
directory)

I have tried to find my way through the conf.c and related source
code but it is pretty slow going for me. I wonder if anyone has
written an overview of what it is doing. I.e. Initially we read
the alsa.conf file and build a configuration tree. A configuration
tree is made up of entries like XXX in a structure YYY. If there
is no alsa.conf then a default configuration ZZZ is used. Or
something like that.

Cheers,
  Chuck


Clemens Ladisch wrote:
 
 Chuck Harrison wrote:
  It looks to me that /dev/snd/controlC0 was opened successfully but
  sound_ctl_nopdate disliked something about what it saw.
 
  [EMAIL PROTECTED]:~# strace -eopen aplay -l
  ...
  open(/dev/snd/controlC0, O_RDONLY)= 3
   List of PLAYBACK Hardware Devices 
  ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL hw:0
  aplay: device_list:231: control open (0): No such file or directory
 
 It shouldn't open /dev/snd/controlC0 before reading alsa.conf.
 Does alsa.conf appear anywhere in the strace output?
 
 Regards,
 Clemens

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Driver status of the Creative Labs SoundBlaster Live 24-bit external 7.1 USB?

2006-11-15 Thread Jan Ries
Hello,

I'd like to purchase a (good) usb soundcard for a laptop.
The technical specs the 'Creative Labs SoundBlaster Live 24-bit external 7.1 
USB' fit my needs.
Yet there is the Problem with the driver support.
The alsa-soundcard-matrix
(http://alsa-project.org/alsa-doc/index.php?vendor=vendor-Creative_Labs#matrix)
tells me:
Sound Blaster Live 24bit, Sound Blaster Live 7.1: capture not supported

That would mean unusable to me, yet in upper part of the namly page is 
written:

--snip--
 All USB devices that are standards compliant will work. If they do not please 
report to the mailing lists. If your USB device is not on this list yet here 
are some generic install instructions.   usb-audio
--snap--

Which of these applies for me?

Is the '' soundcard:
a) not fully supported (more precise: has no working caprturing)
b) supported ( a standart compliant USB device with working capturing)
c) none of the above (but take a look there ...)

Thanks in advance,

Jan


pgpBI8dHMyMcM.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] getting hdsp multiface to work on a laptop

2006-11-15 Thread Rich E

I'm keeping this alive... after all, it will work eventually... I can run
the oss driver at samplerates to 96k with 8 i/o, so it can't be the pcmcia
card, although it may be the way alsa talks with the pcmcia card.

This might not actually be true, now that I think of it:  When I run
hdspconf and try to change the samplerate, then close the app and reopen it,
the samplerate is still at 48k instead of whatever else I chose.  So, it may
just be stuck there.  However, the alsa drivers still xrun at 48k as well,
so something else is also going wrong.

In any event, here is the output when I run hdspconf:
Looking for HDSP cards :
Card 0 : HDA Intel at 0xd250 irq 66
Card 1 : RME Hammerfall DSP + Multiface at 0x8c00, irq 169
Multiface found !
1 Hammerfall DSP card found.
ALSA lib confmisc.c:1107:(snd_func_refer) Unable to find definition '
defaults.hwdep.device'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib confmisc.c:242:(snd_func_getenv) error evaluating default
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_igetenv
returned error: No such file or directory
ALSA lib conf.c:3951:(snd_config_expand) Args evaluate error: No such file
or directory
ALSA lib hwdep.c:151:(snd_hwdep_open_noupdate) Unknown HwDep hw:1
Error opening hwdep device on card hw:1.
ALSA lib confmisc.c:1107:(snd_func_refer) Unable to find definition '
defaults.hwdep.device'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib confmisc.c:242:(snd_func_getenv) error evaluating default
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_igetenv
returned error: No such file or directory
ALSA lib conf.c:3951:(snd_config_expand) Args evaluate error: No such file
or directory
ALSA lib hwdep.c:151:(snd_hwdep_open_noupdate) Unknown HwDep hw:1
Error opening hwdep device on card hw:1.
ALSA lib confmisc.c:1107:(snd_func_refer) Unable to find definition '
defaults.hwdep.device'

etc..
etc..



Yet it works so nicely on my desktop with pci...


On 11/8/06, Rich E [EMAIL PROTECTED] wrote:


Hello,

About a year ago, this forum helped me get my Multiface working via pci,
and thankyou for that.  But now I am having new problems with the cardbus.
I could use help, links, or info on how to figure this out.

What I'm trying to do - get alsa to run 44.1k audio and midi with low
latency, mainly in Pd.

Current problems - audio doesn't seem to be able to sync up correctly at
first.  If latency is below 25ms or samplerate is above 32k, I get bad
popping sounds about once a block.  This is happening in both Pd and
Audacity.

Temporary fix - I can use the OSS emulation driver in Pd and get less than
5ms latency at 44.1k without xruns.  But, midi is not recognized this way,
and I can't use JACK.  So, it is hopefully very temporary.

Equipment:

Compal Hel80 notebook
ENE CB-714 cardbus
RME HDSP Multiface II, older style cardbus
drivers have been loaded in Windows to update bios and whatnot.

Some errors that I don't pretend to understand:

##after I load hdspmixer

Looking for HDSP cards :
Card 0 : HDA Intel at 0xd250 irq 66
Card 1 : RME Hammerfall DSP + Multiface at 0x8c00, irq 169
Multiface found !
1 Hammerfall DSP card found.
Initializing default presets
ALSA lib confmisc.c:1107:(snd_func_refer) Unable to find definition '
defaults.hwdep.devi ce'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer
returned error: No s uch file or directory
ALSA lib confmisc.c:242:(snd_func_getenv) error evaluating default
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_igetenv
returned error: No  such file or directory
ALSA lib conf.c:3951:(snd_config_expand) Args evaluate error: No such file
or directory
ALSA lib hwdep.c:151:(snd_hwdep_open_noupdate) Unknown HwDep hw:1
Couldn't open hwdep device. Metering stopped

## pd with no arguments
Pd: system call timed out
##( I then have no access to any options under the media menu)


## pd run using ./pd -audiodev 2 -alsa
## this is because the built-in soundcard is not disabled
snd_pcm_hw_params (input): Invalid argument
snd_pcm_hw_params (input): Invalid argument

output snd_pcm_delay failed: Input/output error
astate 0
##these last 2 lines actually print about 100 times or more within the Pd
console

## output from dmesg | grep Hammerfall-DSP
[17179611.92] Hammerfall-DSP: wait for FIFO status = 0 failed after
30 iterations
[17179611.936000] Hammerfall-DSP: loading firmware
[17179615.244000] Hammerfall-DSP: finished firmware loading



I am lost when it comes to troubleshooting ALSA problems... and I don't
understand why OSS emulation works and ALSA doesn't.  Please help if you
can, it is appreciated a great deal.

Regards,
Rich



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 

Re: [Alsa-user] capturing line-in

2006-11-15 Thread conrad berhörster
Am Dienstag 14 November 2006 16:16 schrieb Clemens Ladisch:

 These are for cases where multiple codec chips are connected to the
 southbridge.

 To select the line input for recording, start alsamixer, press F4, go
 to the Line control, and press Space.

Hallo Clemens, 
Thanks, this was the hint, i was looking for. Now it works. 
sizu c~

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Driver status of the Creative Labs SoundBlaster Live 24-bit external 7.1 USB?

2006-11-15 Thread James Courtier-Dutton
Jan Ries wrote:
 Hello,

 I'd like to purchase a (good) usb soundcard for a laptop.
 The technical specs the 'Creative Labs SoundBlaster Live 24-bit external 7.1 
 USB' fit my needs.
 Yet there is the Problem with the driver support.
 The alsa-soundcard-matrix
 (http://alsa-project.org/alsa-doc/index.php?vendor=vendor-Creative_Labs#matrix)
 tells me:
 Sound Blaster Live 24bit, Sound Blaster Live 7.1: capture not supported

 That would mean unusable to me, yet in upper part of the namly page is 
 written:

 --snip--
  All USB devices that are standards compliant will work. If they do not 
 please 
 report to the mailing lists. If your USB device is not on this list yet here 
 are some generic install instructions.   usb-audio
 --snap--

 Which of these applies for me?

 Is the '' soundcard:
 a) not fully supported (more precise: has no working caprturing)
 b) supported ( a standart compliant USB device with working capturing)
 c) none of the above (but take a look there ...)

 Thanks in advance,

   Jan
   
I don't believe that the SB Live 24bit USB version has been tested at all.
The SB Live 24bit mentioned in the sound card matrix applies to the PCI 
card, not the USB device.

James


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Trying to get an RME Multiface working on an old Compaq Evo N1000C and under openSUSE 10.1

2006-11-15 Thread Tim Barker

Dear all,

Have been trying to get an old Compaq working for a portable recording
solution with an RME Multiface DSP.  Why?  Well the original disc crashed
and I don't want to reinstall Windows and set up Cubase (which works fine
with the RME) but would prefer to try Linux and Rosegarden (or something
similar).  Did a bit of background reading beforehand and worried that
nobody actually had a PCMCIA card working under Linux then came across a
couple of references on this list, so I think it DOES work.  

Went back to first principals, I think, and recompiled the kernel and
modules (under openSuse 10.1) linking in only those modules I needed (the
one for the Evo sound (snd-intel8x0) and the rme-hdsp module (snd-hdsp).
Whilst I have managed to get the internal card working (in a fashion) I have
been having trouble getting the system to recognise that the hdsp is
installed or is it the module for the hdsp is installed.  For example under
the Yast Control Center/Hardware/Sound it lists the RME as not configured
although recognises it as being there and when you try to edit the
configuration it bombs out with the message:-

 An error occurred during the installation of the RME Hammerfall DSP.  The
kernel module snd-hdsp for sound support could not be loaded.  This can be
caused by incorrect module parameters, including invalid IO or IRQ
parameters.

Whilst this is useful I have not been able to find any reference to any
parameters that I should be using or where they should go
(/etc/modules.d/sound?).  I have also found it difficult to understand how
JACK works but then it doesn't recognise that the RME exists so it doesn't
really surprise me. One interesting problem is that when I try to load Muse
it says it requires JACK but when I run QjackCtl it says direct access to
sound devicve is not possible and drops out.  Interestingly the HDSPMixer
programme now does load after manageing to get ALSA working and the
Multiface recognised (the red led on the panel extinguishes when loading
Linux).

Any help would be appreciated, I'm a bit baffled and could be something
really simple (like the sound module not having been compiled or something).
I have provided a listing of most of the recent requests for system info
after the signature to give an idea of the system and how it is set up as
well as the output when I try to run hdsploader.  If there is anything else
I need to provide I'm more than happy (although it might be a day before I
post a reply).


regards,
Tim Barker.

mailto:timbarkerATiprimusDOTcomDOTau



--
beginning of listings

--

# lspci

00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host
Bridge (rev 04) 
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP
Bridge (rev 04) 
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42) 
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02) 
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02) 
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97
Audio Controller (rev 02) 
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7
LW [Radeon Mobility 7500] 
02:04.0 Communication controller: Agere Systems LT WinModem (rev 02) 
02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000
Controller (PHY/Link) 
02:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller
(rev 02) 
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE
(LOM) Ethernet Controller (rev 42) 
02:0e.0 USB Controller: NEC Corporation USB (rev 41) 
02:0e.1 USB Controller: NEC Corporation USB (rev 41) 
02:0e.2 USB Controller: NEC Corporation USB 2.0 (rev 02) 
03:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP
(rev 0b)

more /proc/cpuinfo


processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz
stepping: 4
cpu MHz : 1200.000
cache size  : 512 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips: 2396.23

# more /proc/devices


Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
116 alsa
128 ptm
136 pts
171 ieee1394
180 usb
189 usb_device
254 pcmcia

Block devices:
  1 ramdisk
  2 fd
  3 ide0
  7 loop
 22 ide1
254 device-mapper

# more /proc/modules


nls_utf8 2176 1 - Live 0xd2085000
cifs 206108 1 - Live 0xd2138000
vfat 11776 0 - Live 0xd205d000
fat 46876 1 vfat, Live 

Re: [Alsa-user] Driver status of the Creative Labs SoundBlaster Live 24-bit external 7.1 USB?

2006-11-15 Thread Clemens Ladisch
Jan Ries wrote:
 I'd like to purchase a (good) usb soundcard for a laptop.
 The technical specs the 'Creative Labs SoundBlaster Live 24-bit external
 7.1 USB' fit my needs.

What are your needs?

I did not find a device with that name on Creative's web site.
The Live 24-bit external thingy has 5.1 outputs.
The Audigy 2 NX has 7.1 outputs.

 Is the '' soundcard:
 a) not fully supported (more precise: has no working caprturing)
 b) supported ( a standart compliant USB device with working capturing)
 c) none of the above (but take a look there ...)

Creative's PCI cards are completely different from the USB devices.

All Creative USB devices that I know of are at least partially
supported.  For example, on the Audigy 2 NX, the digital inputs/outputs
cannot be enabled.  However, basic playback and capture should work with
every device.


HTH
Clemens

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] (snd_ctl_open_noupdate) Invalid CTL hw:0

2006-11-15 Thread Clemens Ladisch
Chuck Harrison wrote:
 Contrary to what you expect, /dev/snd/controlC0 *does* get opened
 before alsa.conf gets stat'ed or opened.

This is actually OK, that device file is also used to make sure that
the sound card driver is loaded, and this happens before the control
device is opened.

 I added a simple alsa.conf file
 
 pcm.card0 {
 type hw
 card 0
 }
 ctl.card0 {
 type hw
 card 0
 }

This is not a valid alsa.conf file.  Use the one from alsa-lib, i.e.,
make sure that this one and the other config files are installed
correctly.

 I have tried to find my way through the conf.c and related source
 code but it is pretty slow going for me. I wonder if anyone has
 written an overview of what it is doing.

There is _some_ documentation; read the four links at the bottom of
http://www.alsa-project.org/alsa-doc/alsa-lib/.


HTH
Clemens

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Ego Systems (ESI) M4U: midi notes will only be played if previous notes have ended

2006-11-15 Thread Clemens Ladisch
Jacco Kramer wrote:
 On 11/6/06, Clemens Ladisch [EMAIL PROTECTED] wrote:
  It's possible that the M4U does not have an input buffer as big as it
  claims it has.  As a workaround, try to change line 921 or so of
  usbmidi.c from
  ep-max_transfer = usb_maxpacket(umidi-chip-dev, pipe, 1);
  to
  ep-max_transfer = 4;
 
 Thanx, that worked great!!

Unfortunately, this workaround limits the combined data rate for all
four output ports to 3000 bytes per second, which is about the data
rate for one standard MIDI port.

Please check if greater values than four (8, 12, 16) still work.


Regards,
Clemens

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ALSA usb sound card on ARM

2006-11-15 Thread Victor Librado

Hi all,

I'm trying to connect a USB sound card to an ARM evaluation board. The ARM
is running a Linux 2.6.15 kernel compiled with the option of ALSA support
and USB device compiled as kernel options. Plugging the sound card to the
board causes next exception:

# ALSA sound/usb/usbmixer.c:393: cannot set ctl value: req = 0x4, wValue = 0

ALSA sound/usb/usbmixer.c:393: cannot set ctl value: req = 0x4, wValue =
0x201, wIndex0

ALSA sound/usb/usbmixer.c:393: cannot set ctl value: req = 0x4, wValue =
0x200, wIndex0

Device isn't initialized. Any help? ? ?

Best regards,



Victor Librado Sancho





Logo.gif
Description: GIF image



 
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Headphone + snd_hda_intel ?

2006-11-15 Thread Patrick J Kobly
G'day,

What behaviour do you get with 1.0.13 as opposed to 1.0.1[012]?  (do 
speakers still work, does sound not work at all or stutter,...).  steef 
is probably going to respond that you should try adding disable_msi=1 as 
a module parameter (and that's not a half bad idea, it seems to help a 
number of us).  What sliders do you have in alsamixer?  Do you have a 
separate headphone slider?  Does adjusting the volume to max on all 
output sliders cause output from the headphones?

PK

[EMAIL PROTECTED] wrote:
 Hi everyone,

 I'm trying to setup ALSA to get the headphone to work but without success.
 (the sound works with speakers)

 I have tried with alsa*1.0.13 but without success.

 Do I have to pass some options to modprobe ?

 options snd-hda-intel model=* position_fix=* ?

 here is some informations about the card :

 lspci :
 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
 Definition Audio Controller (rev 02)

 lspci -nv :

 00:1b.0 0403: 8086:27d8 (rev 02)
 Subsystem: 104d:8205
 Flags: bus master, fast devsel, latency 0, IRQ 74
 Memory at de30 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 2
 Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0
 Enable+
 Capabilities: [70] Express Unknown type IRQ 0
 Capabilities: [100] Virtual Channel
 Capabilities: [130] Unknown (5)

 head -3 /proc/asound/card0/codec*
 == /proc/asound/card0/codec#0 ==
 Codec: SigmaTel STAC9872AK
 Address: 0
 Vendor Id: 0x83847662

 == /proc/asound/card0/codec#1 ==
 Codec: Conexant ID 2bfa
 Address: 1
 Vendor Id: 0x14f12bfa = must the dvb stuff

 Any tips ?

 Thanks for your help, best regards.



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] alsaconf: setup of soundchip VIA 8237 fails - SuSE-Linux 9.2

2006-11-15 Thread Heinz Knoche
Dear people!
Without success I tried to set up my soundchip. I noted:
1. The alsa-driver via82xx is sharing IRQ 3 with ehci_hcd (related to 
the usb-system ??).
2. How could I prevent the usb-drivers from being loaded at boot?
3. How could I asign interrupts differently?
4. Is it at all possible that the soundchip's silence is related to the 
sharing of an interrupt? (The network device eth0 is sharing interrupt 
11 with two other modules (also usb I suppose) and all of them are 
working well...)
5. Could it be that the device file /dev/dsp0 does not communicate with 
the soundchip, but with something unknown to me? (alsaconf does not 
return any errors, despite of nothing to be heard)

Below some details (uname, lsmod, lspci etc. )

Thanks a lot for some helpful advice!

By the way: sound is working under Windows, so there's no broken hardware.


--- SOME DETAILS ---

*** Motherboard ***
ASRock K7VT4A Pro
Chipsets: North Bridge: VIA KT400A ; South Bridge: VIA VT8237

*** OS: SuSE Linux 9.2; Kernel: ***
 uname -a
Linux sumpfmolch 2.6.8-24.24-default #1 Fri Jul 21 04:06:26 UTC 2006 
i686 athlon i386 GNU/Linux

*** alsa-version ***
 rpm -q alsa
alsa-1.0.6-8


--- WHAT I DID ---

*** First: try a setup with alsaconf ***
  - alsaconf found the module  via82xx and the corresponding 
VIA-Soundchip VT8233/A/8235/8237 AC97
  - a short crackle is to be heard when alsa is setting up the module
  - /usr/share/sounds/alsa/test.wav is silently but successfully played
  - nontheless alsaconf wishes me to 'Have a lot of fun'

*** Second: checking messages  ***
 tail /var/log/messages
Nov 14 18:49:43 sumpfmolch kernel: via82xx: Assuming DXS channels with 
48k fixed sample rate.
Nov 14 18:49:43 sumpfmolch kernel:  Please try dxs_support=1 or 
dxs_support=4 option
Nov 14 18:49:43 sumpfmolch kernel:  and report if it works on 
your machine.
Nov 14 18:49:43 sumpfmolch kernel: ACPI: PCI interrupt :00:11.5[C] 
- GSI 3 (level, low) - IRQ 3
Nov 14 18:49:43 sumpfmolch kernel: PCI: Setting latency timer of device 
:00:11.5 to 64

*** Third: in yast set dxs_support=4 and dxs_support=1 as recommended by the
above statement and again checking messages ***
 tail /var/log/messages
Nov 14 18:54:02 sumpfmolch kernel: ACPI: PCI interrupt :00:11.5[C] 
- GSI 3 (level, low) - IRQ 3
Nov 14 18:54:02 sumpfmolch kernel: PCI: Setting latency timer of device 
:00:11.5 to 64
Nov 14 18:54:11 sumpfmolch kernel: ACPI: PCI interrupt :00:11.5[C] 
- GSI 3 (level, low) - IRQ 3
Nov 14 18:54:11 sumpfmolch kernel: PCI: Setting latency timer of device 
:00:11.5 to 64

*** Fourth: Trying the following yields silence ***
 cat /usr/share/sounds/alsa/test.wav  /dev/dsp'

*** Rebooting does not solve the silence ***
less /var/log/boot.msg | grep sound
noticestart services (sshd fbset alsasound)
Starting sound driver:  via82xxdone
Restoring the previous sound settingdone
noticeexit status of (sshd fbset alsasound) is (0 0 0)

--- MORE DETAILS ---

 cat /etc/modprobe.d/sound
options snd-via82xx dxs_support=4 enable=1 index=0
# uniq.virtual:VIA 823x rev60
alias snd-card-0 snd-via82xx

 dd bs=8 count=4  /dev/dsp
 tail /var/log/messages:
Nov 14 19:37:10 sumpfmolch kernel: ALSA sound/core/pcm_lib.c:2487: 
capture read error (DMA or IRQ trouble?)

 lsmod
Module  Size  Used by
snd_seq53008  0
nls_iso8859_1   4224  0
nls_cp437   5888  0
vfat   13056  0
fat43168  1 vfat
usbserial  26856  0
nvram   8328  0
parport_pc 37824  1
lp 10536  0
parport37960  2 parport_pc,lp
thermal17928  0
processor  25640  1 thermal
fan 5380  0
button  8464  0
battery11396  0
ac  6404  0
snd_pcm_oss57896  0
snd_mixer_oss  19200  1 snd_pcm_oss
ipv6  237440  36
snd_via82xx26276  0
snd_ac97_codec 69728  1 snd_via82xx
snd_pcm96776  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer  24708  2 snd_seq,snd_pcm
snd_page_alloc 10248  2 snd_via82xx,snd_pcm
gameport4608  1 snd_via82xx
snd_mpu401_uart 7552  1 snd_via82xx
snd_rawmidi24356  1 snd_mpu401_uart
snd_seq_device  8716  2 snd_seq,snd_rawmidi
snd60164  10
snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,  \

snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore   9056  1 snd
af_packet  20872  2
edd10012  0
joydev  9664  0
sg 35744  0
st 37404  0
sd_mod 16912  0
sr_mod 16292  0
ide_cd 38176  0
cdrom  36380  2 sr_mod,ide_cd
subfs   

Re: [Alsa-user] Driver status of the Creative Labs SoundBlaster Live 24-bit external 7.1 USB?

2006-11-15 Thread Jan Ries
Am Mittwoch, 15. November 2006 13:20 schrieb Clemens Ladisch:

 What are your needs?

Analog line-in/line-out (stereo) with a decent signal-to-noise ratio, 
therefore 24bit sampling resolution preferred.

 I did not find a device with that name on Creative's web site.
 The Live 24-bit external thingy has 5.1 outputs.
 The Audigy 2 NX has 7.1 outputs.

My fault, some sites for price comparision use this name for the 5.1 thingy.
I'm sorry.

 All Creative USB devices that I know of are at least partially
 supported.  For example, on the Audigy 2 NX, the digital inputs/outputs
 cannot be enabled.  However, basic playback and capture should work with
 every device.


 HTH

Yes, thank you! 
At least I'm encouraged to buy a Live 24-bit external to test it.
I'll post the feedback about on this in the bug tracker.

Jan


pgp8YbcSBwQGL.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] (snd_ctl_open_noupdate) Invalid CTL hw:0

2006-11-15 Thread Chuck Harrison
Thanks, Clemens!

[EMAIL PROTECTED]:~# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: default [C-Media USB Headphone Set  ], device 0: USB Audio
[USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[EMAIL PROTECTED]:~# aplay -D plughw:0,0  /usr/share/sounds/alsa/Noise.wav
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little
Endian, Rate 48000 Hz, Mono

I was being led astray by 
http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php ,
which begins in no uncertain terms:
Neither of the .asoundrc or alsa.conf files are required for
 ALSA to work properly.
Maybe someone should update that! ;-)

My cross-build Makefile really should have installed
/usr/share/alsa/alsa.conf for me but I'll fix that now.

Clemens Ladisch wrote:
 
[...]
 
 This is not a valid alsa.conf file.  Use the one from alsa-lib, i.e.,
 make sure that this one and the other config files are installed
 correctly.

Is there something that needs to be in the other config files
for a basic installation like mine? E.g. should the text I
erroneously copied from the The default plugin section of
http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php
go into .asoundrc? aplay seems to be working for me, anyway.

I didn't find a .asoundrc in my distribution:
[EMAIL PROTECTED]:/home/trunk$ find build_mipsel/alsa-lib-1.0.13 -name
'.asoundrc' -print
[EMAIL PROTECTED]:/home/trunk$

Sorry to be such a dodo-head here, but I'm lost in the docs.

Much obliged,
  Chuck

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] No sound on Lenovo Thinkpad Z61p using FC5

2006-11-15 Thread Glenn Connery
When I first installed FC5 I had sound.  I did a yum update, sometime in 
October, and still had sound.  I installed a variety of 
programs--mplayer, vlc, etc--including codecs, and somewhere along the 
way my sound went away.

I have looked at the mixer settings in both alsa and oss and see nothing 
muted.  I have tried both digital and analog.  Obviously something got 
messed up in a configuration file someplace.

Below is the output of the aadebug script.  If I run speaker-test as 
root I get:

 speaker-test

speaker-test 1.0.11rc2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_direct.c:786:(snd_pcm_direct_initialize_slave) 
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:877:(snd_pcm_dmix_open) unable to initialize slave
Playback open error: -22,Invalid argument
.
.
.

Any help appreciated.

Glenn

=== aadebug ===

ALSA Audio Debug v0.1.0 - Wed Nov 15 10:04:15 PST 2006
http://alsa.opensrc.org/index.php?page=aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel 
Linux localhost.localdomain 2.6.18-1.2200.fc5smp #1 SMP Sat Oct 14 
17:15:35 EDT 2006 i686 i686 i386 GNU/Linux

Loaded Modules 
snd_hda_intel  22869  2
snd_hda_codec 154177  1 snd_hda_intel
snd_seq_dummy   8261  0
snd_seq_oss37313  0
snd_seq_midi_event 11969  1 snd_seq_oss
snd_seq57393  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 12749  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss46817  0
snd_mixer_oss  20801  2 snd_pcm_oss
snd_pcm80581  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer  27205  2 snd_seq,snd_pcm
snd57285  11 
snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 14665  2 snd_hda_intel,snd_pcm

Modprobe Conf -
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0 model=3stack
remove snd-hda-intel { /usr/sbin/alsactl store 0 /dev/null 21 || : ; 
}; /sbin/modprobe -r --ignore-remove snd-hda-intel

Proc Asound ---
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 
13:55:50 2006 UTC).
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xee40 irq 74
  2:: timer
  3:: sequencer
  4: [ 0- 1]: digital audio playback
  5: [ 0- 0]: digital audio playback
  6: [ 0- 0]: digital audio capture
  7: [ 0]   : control
00-01: AD198x Digital : AD198x Digital : playback 1
00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1
Client info
  cur  clients : 3
  peak clients : 3
  max  clients : 192

Client   0 : System [Kernel]
  Port   0 : Timer (Rwe-)
  Port   1 : Announce (R-e-)
Connecting To: 15:0
Client  14 : Midi Through [Kernel]
  Port   0 : Midi Through Port-0 (RWe-)
Client  15 : OSS sequencer [Kernel]
  Port   0 : Receiver (-we-)
Connected From: 0:1

Dev Snd ---
controlC0  pcmC0D0c  pcmC0D0p  pcmC0D1p  seq  timer

CPU ---
model name  : Genuine Intel(R) CPU   T2500  @ 2.00GHz
cpu MHz : 1000.000
model name  : Genuine Intel(R) CPU   T2500  @ 2.00GHz
cpu MHz : 1000.000

RAM ---
MemTotal:  2074144 kB
SwapTotal: 2048248 kB

Hardware --
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] snd_hda_intel on Asus M2N32 WS Pro Asus MB

2006-11-15 Thread Mws
On Sunday 12 November 2006 23:51, steef wrote:
 Mws wrote:
  On Sunday 12 November 2006 00:05, steef wrote:

  Mws wrote:
  
  On Monday 06 November 2006 11:43, Mws wrote:


  hiho,
 
  i encountered some problems after upgrading to kernel 2.6.19-rc4 vanilla 
  from 
  kernel org.
  sound from the soundcard is very crappy, scratches when basses are 
  played,
  ect.
  
  
  the problem does still exist on today's 2.6.19-rc5 upgrade.
  but it seems that nobody is interested in a solution :/
 


  hi marcel
 
 
  ..so start working on a solution of the problem. after searching 
  and reading docu i found out with the kind help of others that after 
  compiling and loading alsa 1.0.13 into  the kernel of 1. debian_etch and 
  2. slackware11, a textfile in /etc/modprobe.d of both distros  options 
  hda-snd-intel index=0 disable_msi=1made the sounddriver worl like a 
  charm on *both*  distros. take this as a start and *dont leave the 
  solution of your problem(s) to others*.
 
so, what i tried sucks :)
even if i just started my machine, 
rmmod snd_intel_hda
and then
modprobe snd_hda_intel with the above mentioned options, 
my machine immediately freezes.
if the modules are loaded @boot time it is without a problem
to continue, except for that the sound is horrible like i described
before.

that makes it very hard to find a solution. 
each time to test the module, i have to reboot the machine
startup x, wait, test the sound
adjust params or code
compile install
reboot
and procedure starts over again.

i am thinking about taking the fine working 2.6.18-rc4 alsa stuff into kernel 
2.6.19...
to get a properly sound back and try from release to release if actual kernel
stuff works ok with my onboard sound.

we'll see.

regards
marcel

  reg. steef
 
   snip
 
  
  hi steef,
 
  that what you gave me is a hint. thanks so far for that. nothing more i 
  expected.
  at least i just wanted to say that _before_ the rework was done, everything 
  was fine.
  and at least the guy that reworked the hd stuff, maybe could need this 
  information
  for finding bugs that relate to his rework.

 sounds reasonable.
  and, this is a user mailing list, not a developer. if i would like to start 
  alsa development i would be on the dev list and post patches. 
  but, even if i do now kernel internals and although i am a member of some 
  opensource
  projects, i must say, i don't know anything about alsa and hd audio coding 
  at all.
  i'll see what i may find out, and i will bring up my results on this list.
 

 that 's the spirit!
 
  thanks again for pointing out a possible direction.
 

 you are welcome
 
  best regards.
  marcel
 
 

 regards,
 
 steef
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] snd_hda_intel on Asus M2N32 WS Pro Asus MB

2006-11-15 Thread Mws
--snip--
HA!

i just recognised the alsa hda_intel thread on kernel ml and
linus statements on MSI.

so my first try has been to disable msi in kernel config
make 
install

reboot

hmm, starting x and kde brought up a freezed machine like i had sometime before.

then i took my kernel config again, 
re-enabled msi 
make 
install
reboot BUT with kernel cmd pci=nomsi

fantastic, i get clear sound again. not complete on my 5.1 but sound is clear,
it doesn't sound like a hurdy gurdy anymore :))

i can live with the fact, that my rear left  right are not working by now. 
will investigate later on, but first i'll enjoy sound again 

best regards,
marcel

ps. steef - thanks for your help

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] snd_hda_intel on Asus M2N32 WS Pro Asus MB

2006-11-15 Thread Lee Revell
On Wed, 2006-11-15 at 20:51 +0100, Mws wrote:
 hmm, starting x and kde brought up a freezed machine like i had
 sometime before.
 
 then i took my kernel config again, 
 re-enabled msi 
 make 
 install
 reboot BUT with kernel cmd pci=nomsi 

Sounds like upstream kernel bug.  Apparently it's a known issue that
many machines hang without pci=nomsi.  There's a thread on LKML now
about how to solve it.

Lee


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] AC3 passthrough on nForce 570?

2006-11-15 Thread Sean Cier
Hello, all; I'm running Fedora Core 6 (with updates from Fedora and 
ATRPMS) on a new x86_64 machine with an nForce 570 motherboard chipset, 
and am passing SPDIF to an external receiver.  Stereo's working fine, 
but I can't get AC3 (or presumably DTS, though I haven't tried) 
passthrough to work.


mplayer gives an error (for both ac3 audio files and DVDs) if I specify 
-ao alsa (or alsa:device=iec958 or alsa:device=spdif), and if I 
specify -ao alsa:device=default, produces noise (in stereo); MythTV 
with AC3 passthrough enabled and video-as-timebase disabled produces 
similar noise -- though both work if I have them downsample to stereo 
PCM.  speaker-test -c6 plays sound on the two front channels, with 
silence on others.  Everything I've tried produces either 2-channel 
stereo, noise, or silence.


I *have* successfully passed AC3 audio from a different machine to this 
receiver in the past, so it's not a decoding issue.  I'm stuck; any 
ideas?  Is this chipset simply not fully supported?


I've attached all of the random data I can think of below; I'd be happy 
to provide more info...


-spc

- Installed RPMS (alsa-lib is from ATRPMS) -
kernel-2.6.18-1.2849.fc6
alsa-lib-1.0.13-32.fc6.at
alsa-utils-1.0.12-3.fc6

- mplayer -ac alsa -ao hwac3, test.ac3 (or dvd://)-
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000-192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==
alsa-lib: confmisc.c:1105:(snd_func_refer) Unable to find definition 
'cards.HDA-

Intel.pcm.iec958.1:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2'
alsa-lib: conf.c:3500:(_snd_config_evaluate) function snd_func_refer 
returned error: No such file or directory
alsa-lib: conf.c:3968:(snd_config_expand) Evaluate error: No such file 
or directory

alsa-lib: pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM iec958
alsa-init: playback open error: No such file or directory
Could not open/initialize audio device - no sound.

- aplay -l -
 List of PLAYBACK Hardware Devices 
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

- dmesg -
hda_codec: Unknown model for AD1988, trying auto-probe from BIOS...

- lspci -
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio 
(rev a2)





Simple mixer control 'Headphone',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 39
 Mono:
 Front Left: Playback 39 [100%] [on]
 Front Right: Playback 39 [100%] [on]
Simple mixer control 'PCM',0
 Capabilities: pvolume
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 255
 Mono:
 Front Left: Playback 191 [75%]
 Front Right: Playback 191 [75%]
Simple mixer control 'Front',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 39
 Mono:
 Front Left: Playback 39 [100%] [on]
 Front Right: Playback 39 [100%] [on]
Simple mixer control 'Front Line',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 31
 Mono:
 Front Left: Playback 0 [0%] [off]
 Front Right: Playback 0 [0%] [off]
Simple mixer control 'Front Mic',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 31
 Mono:
 Front Left: Playback 0 [0%] [off]
 Front Right: Playback 0 [0%] [off]
Simple mixer control 'Front Mic Boost',0
 Capabilities: volume
 Playback channels: Front Left - Front Right
 Capture channels: Front Left - Front Right
 Limits: 0 - 3
 Front Left: 0 [0%]
 Front Right: 0 [0%]
Simple mixer control 'Surround',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 39
 Mono:
 Front Left: Playback 0 [0%] [off]
 Front Right: Playback 0 [0%] [off]
Simple mixer control 'Center',0
 Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 Playback channels: Mono
 Limits: Playback 0 - 39
 Mono: Playback 0 [0%] [off]
Simple mixer control 'LFE',0
 Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 Playback channels: Mono
 Limits: Playback 0 - 39
 Mono: Playback 0 [0%] [off]
Simple mixer control 'Side',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 39
 Mono:
 Front Left: Playback 0 [0%] [off]
 Front Right: Playback 0 [0%] [off]
Simple mixer control 'Line',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 31
 Mono:
 Front Left: Playback 0 [0%] [off]
 Front Right: Playback 0 [0%] [off]
Simple mixer control 'CD',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left -