[Alsa-user] Still Audigy2 and digital output. Routing issue?

2003-11-11 Thread Ingo Reimann
Hi list,

sorry to bother you, but i still have trouble in getting the digital
output of my audigy working.

I use alsa 0.9.8 with my audigy2 in an analog 6.1 configuration wich
works fine (in 5.1) as well as with the digital link over the "a/d
output Jack" - no Livedrive

Up to a couple of days ago, i used debian alsa0.9.6-3 with gave me a pcm
signal over the digital link. ac3-passthru did not work, but xine was
able to decode DD5.1 and send it over the analog links to my amp.
Trying ac3-passthru gave my that
"ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D3p failed:
[...]"


Now i switched to 0.9.8, the error dissappeared but also any sound over
the digital link. I tried different configurations of extin/extout while
loading the module but with no effect. it seems to me, as something with
the routing is not correct.


On xine-user, James advised me
"Once you have standard stereo working, just enable passthru in the xine
config, and passthru will work."
so, this seems to be my problem. 

What may i try, how can i fix this.

Any help would be nice.

Ingo

PS:
[EMAIL PROTECTED]:~$ cat /proc/asound/Audigy2/emu10k1
EMU10K1
 
Card  : Audigy
Internal TRAM (words) : 0x2000
External TRAM (words) : 0x0
 
Effect Send Routing   : A=20, B=21, C=0, D=1
 
Captured FX Outputs   :
  Output 00 [PCM Left]
  Output 12 [MIDI Reverb]
 
All FX Outputs:
  Output 00 [PCM Left]
  Output 01 [PCM Right]
  Output 02 [PCM Surround Left]
  Output 03 [PCM Surround Right]
  Output 04 [MIDI Left]
  Output 05 [MIDI Right]
  Output 06 [PCM Center]
  Output 07 [PCM LFE]
  Output 08 [???]
  Output 09 [???]
  Output 10 [???]
  Output 11 [???]
  Output 12 [MIDI Reverb]
  Output 13 [MIDI Chorus]
  Output 14 [???]
  Output 15 [???]
  Output 16 [???]
  Output 17 [???]
  Output 18 [ADC Left / CDROM S/PDIF Left]
  Output 19 [ADC Right / CDROM S/PDIF Right]
  Output 20 [MIC / Zoom Video Left]
  Output 21 [Zoom Video Right]
  Output 22 [S/PDIF Left]
  Output 23 [S/PDIF Right]
  Output 24 [???]
  Output 25 [???]
  Output 26 [???]
  Output 27 [???]
  Output 28 [???]
  Output 29 [???]
  Output 30 [???]
  Output 31 [???]
 
S/PDIF Output 0
Professional Mode : no
Not Audio Data: yes
Copyright : yes
Emphasis  : none
Mode  : 0
Category Code : 0x2
Generation Status : original
Source Mask   : 0
Channel Number: unspec
Sample Rate   : 48000Hz
Clock Accuracy: 1000ppm
 
S/PDIF Output 1
Professional Mode : no
Not Audio Data: no
Copyright : yes
Emphasis  : none
Mode  : 0
Category Code : 0x12
Generation Status : original
Source Mask   : 0
Channel Number: left
Sample Rate   : 48000Hz
Clock Accuracy: 1000ppm
 
S/PDIF Output 2/3
Professional Mode : no
Not Audio Data: no
Copyright : yes
Emphasis  : none
Mode  : 0
Category Code : 0x12
Generation Status : original
Source Mask   : 0
Channel Number: left
Sample Rate   : 48000Hz
Clock Accuracy: 1000ppm
 
CD-ROM S/PDIF
Professional Mode : yes
Not Audio Data: yes
Copyright : yes
Emphasis  : 7
Mode  : 3
Category Code : 0x7f
Generation Status : original
Source Mask   : 15
Channel Number: 15
Sample Rate   : 15Hz
Clock Accuracy: unknown
S/PDIF Locked : off
Rate Locked   : off
Estimated Sample Rate : 0x0
 
General purpose S/PDIF
Professional Mode : yes
Not Audio Data: yes
Copyright : yes
Emphasis  : 7
Mode  : 3
Category Code : 0x7f
Generation Status : original
Source Mask   : 15
Channel Number: 15
Sample Rate   : 15Hz
Clock Accuracy: unknown
S/PDIF Locked : off
Rate Locked   : off
Estimated Sample Rate : 0x0
 
Zoomed Video
Rate Locked   : off
Estimated Sample Rate : 0x0




---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Maestro3 sound recording problem on Omnibook Xe3

2003-11-11 Thread Szabolcs Rozsa
Hi,

I've installed the latest ALSA drivers on an Omnibook Xe3 having an
ESS Allegro-1 soundcard. I have RedHat 9, kernel 2.4.20-8 on the notebook.
Unfortunately I can not record sound using the microphone in an acceptable
quality. This means, that after enablig Mic Boost, and setting the volumes
in alsamixer to 100%, I can record loud noise, and silent speech in the
background.

I've read many articles on this problem, but until now, I could not find
any solution for the problem. Has/had anyone the same problem?
Moreover, knows anyone a solution, for this problem?

Thanks in advance,

Szabolcs







---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: RE:[Alsa-user] Still Audigy2 and digital output. Routing issue?

2003-11-11 Thread Ingo Reimann
Hi Peter,

i have a single coaxial line from my card to the Amp. It is plugged into
the "Digital/analog Jack"
The alternative analog discrete 7.1 connection works fine, but i want my
denon AMP to decode DTS, DD and PCM.

regards,

Ingo
On Tue, 2003-11-11 at 09:15, p z  wrote:
> Hi,
> 
> How you have connected speakers 
> Analog 5.1 to AMP, Digital (coax or optical) to Amp ??? or 5.1 
> digital to AMP ???
> 
> 
> Peter Zubaj
> 
> 
> 
> == REKLAMA =
> Neobmedzený rýchly prístup na internet už od 666,- Sk mesačne!
> Nextra ADSLink. http://adsl.nextra.sk



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Kernel 2.6.0-test9 and /dev/sequencer

2003-11-11 Thread Mark Constable
Would anyone have a suggestion about getting sfxload to
work with an in-kernel ALSA ?

 # sfxload sf2/merlin_gm35.sf2
 /dev/sequencer: No such device or address

 /dev/sequencer -> sound/sequencer
 /dev/sound/sequencer (does exist)

Seems like sfxload does not like the kind of /dev/sequencer
provided by 2.6.0-test9. I've obviously got things set up
so that /dev/sequencer does indeed exist but sfxload does
not like it ?

# cat /proc/asound/seq/*
Client info
  cur  clients : 5
  peak clients : 10
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
Client  64 : "Rawmidi 0 - EMU10K1 MPU-401 (UART)" [Kernel]
  Port   0 : "EMU10K1 MPU-401 (UART)" (RWeX)
Client  65 : "Emu10k1 WaveTable" [Kernel]
  Port   0 : "Emu10k1 Port 0" (-We-)
  Port   1 : "Emu10k1 Port 1" (-We-)
  Port   2 : "Emu10k1 Port 2" (-We-)
  Port   3 : "Emu10k1 Port 3" (-We-)
Client 128 : "Client-128" [User]
  Output pool :
Pool size  : 500
Cells in use   : 0
Peak cells in use  : 1
Alloc success  : 32
Alloc failures : 0
  Input pool :
Pool size  : 200
Cells in use   : 0
Peak cells in use  : 0
Alloc success  : 0
Alloc failures : 0
snd-seq-oss,loaded,1
snd-seq-midi,loaded,1
snd-emu10k1-synth,loaded,1
OSS sequencer emulation version 0.1.8
ALSA client number 63
ALSA receiver port 0

Number of applications: 0

Number of synth devices: 1

synth 0: [Emu10k1]
  type 0x1 : subtype 0x20 : voices 64
  capabilities : ioctl enabled / load_patch enabled

Number of MIDI devices: 0
queue 0: [Queue-0]
owned by client: 128
lock status: Locked
queued time events : 0
queued tick events : 0
timer state: Stopped
timer PPQ  : 96
current tempo  : 50
current BPM: 120
current time   : 0.0 s
current tick   : 0

Timer for queue 0 : system timer
  Period time : 0.0
  Skew : 65536 / 65536

# cat /proc/asound/oss/*
  1:   : sequencer
  8:   : sequencer
  2: [0- 2]: raw midi
 13: [0-13]: raw midi
  0: [0- 0]: mixer
  3: [0- 3]: digital audio
 12: [0-12]: digital audio
Sound Driver:3.8.1a-980706 (ALSA v0.9.7 emulation code)
Kernel: Linux gw 2.6.0-test9 #1 Mon Nov 3 03:29:44 EST 2003 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Sound Blaster Live! (rev.5) at 0xa000, irq 5

Audio devices:
0: EMU10K1 (DUPLEX)

Synth devices:
0: Emu10k1

Midi devices:
0: EMU10K1 MPU-401 (UART)

Timers:
7: system timer

Mixers:
0: TriTech TR28602


--markc



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] CMI9739A and volume control

2003-11-11 Thread Steven Bergom
Greetings:

I recently puchased an 865PE motherboard from MSI, which includes
a CMedia 9739A audio chip.  I then compiled linux 2.6.0-test8 and,
after a little digging around chose the intel8x0 ALSA driver to
drive my sound system.  The system booted, I un-muted the PCM and
Master volume, played an MP3 and was absolutely astounded at the
extremely good sound quality and the absolute lack of volume control.
So I searched the archive for this mailing list and found two messages
expounding the same problem.  The respondent answered that the
CM9xxx chips do not have a PCM Mixer control and, after reading
through the CMI9739A Technical Brief available from C-Media's web
site I was able to verify this fact.  This is all well and good,
but I still want volume control and I am not sure how to go about
doing it at this point.  Should I
  1. Forget using ALSA and use a deprecated OSS driver,

  2. Continue my attempts to hack the Linux driver that C-Media
 distributes so that it works with the 2.6 kernels (it runs,
 but still no volume and the sound output is noticeably
 inferior),
  3. Find/write some user-space utility that programmatically
 controls the volume,
  4. Pony up the dough to buy a real sound card and stop relying
 on on-board codecs, or
  5. Scream, rant and rave and people and projects wholly
 disconnected with my perceived problem.
While no. 5 sounds like the most fun, I have been informed by others
that it might not be the most political of responses.  Any input is
greatly appreciated.
--
Steven Bergom


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] CMI9739A and volume control

2003-11-11 Thread Takashi Iwai
At Tue, 11 Nov 2003 11:12:02 -0700,
Steven Bergom wrote:
> 
> Greetings:
> 
> I recently puchased an 865PE motherboard from MSI, which includes
> a CMedia 9739A audio chip.  I then compiled linux 2.6.0-test8 and,
> after a little digging around chose the intel8x0 ALSA driver to
> drive my sound system.  The system booted, I un-muted the PCM and
> Master volume, played an MP3 and was absolutely astounded at the
> extremely good sound quality and the absolute lack of volume control.
> 
> So I searched the archive for this mailing list and found two messages
> expounding the same problem.  The respondent answered that the
> CM9xxx chips do not have a PCM Mixer control and, after reading
> through the CMI9739A Technical Brief available from C-Media's web
> site I was able to verify this fact.  This is all well and good,
> but I still want volume control and I am not sure how to go about
> doing it at this point.  Should I
> 
>1. Forget using ALSA and use a deprecated OSS driver,
> 
>2. Continue my attempts to hack the Linux driver that C-Media
>   distributes so that it works with the 2.6 kernels (it runs,
>   but still no volume and the sound output is noticeably
>   inferior),
> 
>3. Find/write some user-space utility that programmatically
>   controls the volume,
> 
>4. Pony up the dough to buy a real sound card and stop relying
>   on on-board codecs, or
> 
>5. Scream, rant and rave and people and projects wholly
>   disconnected with my perceived problem.
> 
> While no. 5 sounds like the most fun, I have been informed by others
> that it might not be the most political of responses.  Any input is
> greatly appreciated.

there is also "master" control on this chip, and this control should
work.  on many mobos, the true line-out (aka headphone) pin is
connected to the line-out jack.  in such a case, ac97 master control
doesn't do anything but other control such as "headphone" or
"surround" might affect the volume.

anyway, there must be some way to control the "master" volume, in
addition to "pcm" switch.
if not, it should be a bug of the driver, or the chip is messy and we
need a workaround.



Takashi


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] CMI9739A and volume control

2003-11-11 Thread Steven Bergom
Takashi:

Thank you for your quick response.  Unfortunately I've already tried
all of the other volume controls, including headphone and surround,
and nothing worked.  I'm going to continue looking at the chip/driver
and see what I can come up with, but at least you've given me a
direction to look.  Thanks!
Takashi Iwai wrote:
there is also "master" control on this chip, and this control should
work.  on many mobos, the true line-out (aka headphone) pin is
connected to the line-out jack.  in such a case, ac97 master control
doesn't do anything but other control such as "headphone" or
"surround" might affect the volume.
anyway, there must be some way to control the "master" volume, in
addition to "pcm" switch.
if not, it should be a bug of the driver, or the chip is messy and we
need a workaround.


Takashi



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Red Hat 9

2003-11-11 Thread Sujan Swearingen
I installed the kernel update RPMS.  I recompiled the
alsa driver RPM with the new kernel.  I also installed
the alsa driver from source.  The version.h problem
went away with the kernel update.  However,  when I
try and install the module snd I get:
/lib/modules/2.4.20-20.7custom/kernel/sound/acore/snd.o:
unresolved symbol schedule_work.  This error does not
seem to want to go away.  I am not running any cron
jobs so what else could this be?

=
Sujan Swearingen B.S.
[EMAIL PROTECTED]

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Free sound device after crashing of mpg123

2003-11-11 Thread Bernhard Walle
Hello,

if I play a song in mpg123 and try to finish it with Ctrl+C, it crashes
with a segmentation fault. After that the sound device is blocked and I
cannot play anything after this. I have to reboot.

The errro messages:

[~] $ mpg321 /home/bwalle/media/radio/ausland/jp_RadioJapan/2003-08-06.mp3
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or 
resource busy
No default libao driver available.

[~] $ mpg123 /home/bwalle/media/radio/ausland/jp_RadioJapan/2003-08-06.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59s-mh4 (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!


fuser doesn't report any process which may block the sound device.
Trying to stop ALSA and restart it does not work, either.

Is there any posibility to free the sound device without rebooting?


Regards,
Bernhard





---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Re: diamond mx-300 vortex2 chip problems with quake3 wolfenstein etc.

2003-11-11 Thread Erik
Jeff Muizelaar helped me out

It solved my problem:

> > Do you know what the problem is? 
> > I've searched on the internet but no one seems to have 
> > this problem. 

Yeah this is sort of an interesting problem..
My best suggestion is try running:
$ setpci -d '12eb:*' 40.B=ff

This seems to fix problems with the via chipsets.
Also you may want to try the latest code in the openvortex
cvs as it has a similar fix included.

















On Monday 10 November 2003 15:25, Erik wrote:
> system specs:
> - AMD XP 1800+ processor
> - MSI K7Turbo moederboard
> - VIA chipset
> - linux mandrake 9.2
> - ALSA 0.9.8
> - Promise RAID
> - kernel 2.4.23-pre9
>
> My sound in games like wolfenstein and quake3 dies after a couple of
> seconds i have great sound but then it stops
>
> i used dmesg and snipped this from it:
>
> devfs_mk_dir(snd): using old entry in dir: c12c85c0 ""
> PCI: Found IRQ 5 for device 00:0c.0
> Vortex: hardware init <6>done.
> SDAC detected <3>Vortex: vortex_fifo_setadbctrl fail
> Vortex: vortex_fifo_setadbctrl fail
> Vortex: vortex_fifo_setadbctrl fail  (# this failures shows up when i
> stop Vortex: vortex_fifo_setadbctrl fail   and start alsasound
> after Vortex: vortex_fifo_setadbctrl fail   soundcrash in
> wolfenstein) Vortex: vortex_fifo_setadbctrl fail
>
> lspci -vv :
>
> 00:0c.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
> Subsystem: Diamond Multimedia Systems Monster Sound II
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
> Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> SERR-  Latency: 32 (1000ns min, 3000ns max), cache line size 08
> Interrupt: pin A routed to IRQ 5
> Region 0: Memory at df10 (32-bit, non-prefetchable) [size=256K]
> Region 1: I/O ports at b000 [size=8]
> Region 2: I/O ports at b400 [size=8]
> Capabilities: [dc] Power Management version 1
> Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
>
> i have to stop alsasound and restart it to get my sound back
> and have to do modprobe snd-pcm-oss to get it to work again in wolfenstein
>
> aplay is also not playing correctly some wav files (for example icq sounds
> Message.wav has an echo,
>  with aplay -Dplug:dmix /usr/share/licq/sounds/icq/Message.wav the wav
> sounded ok echo is gone
>
> esdplay can play all wav files (when module snd-pcm-oss is loaded)
>
>
> does anyone know a solution?
>
> Erik
>
>
>
> ---
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> ___
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] mplayer and audigy digital spdif

2003-11-11 Thread Mario Medina
Hi! does anyone knows how to play DVDs with an audigy card, using the digital 
output in the front, to output 5.1 channels to a external decoder?

I tried emu10k1 driver from creative labs, also i tested alsa 9.6, using this 
line:

mplayer -ac hwac3 -ao alsa9 dvd://1

and

mplayer -ac hwac3 -ao alsa9 -channels 6 dvd://1


in both cases i get:

Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
alsa-init: requested format: 48000 Hz, 2 channels, AC3
alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
ALSA lib pcm.c:1787:(snd_pcm_open_conf) Invalid type for PCM 
iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958, value: 
cards.pcm.iec958)
alsa-init: playback open error: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound


and

Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/6ch/8bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
alsa-init: requested format: 48000 Hz, 6 channels, AC3
alsa-init: soundcard set to surround51
ALSA lib pcm.c:1787:(snd_pcm_open_conf) Invalid type for PCM surround51 
definition (id: surround51, value: cards.pcm.surround51)
alsa-init: playback open error: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound



Do you know what can be the problem? can you tell me that if another sound 
card can output digital spdif for 5.1 audio?

Thank you



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] CMI9739A and volume control

2003-11-11 Thread J. Laboy
> Takashi:
>  
>  
> Thank you for your quick response.  Unfortunately I've already tried
> all of the other volume controls, including headphone and surround,
> and nothing worked.  I'm going to continue looking at the chip/driver
> and see what I can come up with, but at least you've given me a
> direction to look.  Thanks!
> 
> >  Takashi Iwai wrote: 
> > 
> > there is also "master" control on this chip, and this control should
> > work.  on many mobos, the true line-out (aka headphone) pin is
> > connected to the line-out jack.  in such a case, ac97 master control
> > doesn't do anything but other control such as "headphone" or
> > "surround" might affect the volume.
> > 
> >  
> > anyway, there must be some way to control the "master" volume, in
> > addition to "pcm" switch.
> > if not, it should be a bug of the driver, or the chip is messy and we
> > need a workaround.
> > 
> >  
> >  
> >  Takashi

Steven and Takashi,

During the past few months many have complained about the problems with the 
Master and PCM volume controls not working with the CMI9739 AC97 codec. In my 
case I have a MB with a VIA VT8237 and a CMEDIA CMI9739. When using the ALSA 
mixer the PCM volume control is disabled (you can only mute/unmute PCM) and 
the master volume control does not work - the sound out of the speakers is 
muted with the master volume at 0% and at full volume otherwise regardless of 
setting.

Takashi and others have pointed out that the CMI9739 does not provide PCM 
Volume control. Although this is correct please note that both the Windows 
driver as well as the CMEDIA Linux driver (available at www.cmedia.com.tw) 
provide  fully operational volume controls for both Master and PCM volumes.

I also downloaded the VIA Linux driver for the VT8237 (available from the VIA 
website). Unlike the very basic CMEDIA driver, the VIA driver is "full 
featured" and interestingly enough has the same problems with the volume 
control as the ALSA driver. This leads me to believe that the problem is with 
the ALSA ac97_codec driver which is used by the VIA driver and not with the 
snd-via82xx driver.

Steven, note that the CMEDIA driver, although basic and not based on ALSA, 
works just fine (both volume controls work). You may want to consider using 
it until the ALSA driver is fixed.

Since the source code for the CMEDIA driver is available (unlike the VIA 
driver) I have been trying to figure out how they implemented the volume 
controls. Unfortunately I am not familiar enough with linux sound to really 
make much sense of the code (and the ALSA documentation is a bit skimpy). I 
have written a small perl program that displays register value changes  (from 
/proc/asound/card0/ac97#0regs) to see if I can spot the problem with the ALSA 
driver. I was hoping to compare them to the register values set by the CMEDIA 
driver, but this driver does not use the /proc interface. (Perhaps someone 
with the right knowledge can modify the CMEDIA driver to write register 
values to /proc like the ALSA driver does.)

Takashi, do you know if there is some other way to display the register values 
used by the CMEDIA driver? Alternatively, do you know how to configure the 
ASLA driver so that at least the master volume control works? Or, is there 
some data I can capture to help the alsa developers debug this problem?

Jose

By the way,
The CMEDIA driver is at 
http://www.cmedia.com.tw/driver/Linux/Ac97/cmaudio-041.tar.gz

The specification sheet for the 9739 is at 
http://www.cmedia.com.tw/e_tech_01.htm

The VIA driver is available at http://www.viaarena.com/?PageID=2

 

 
 



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user