Re: SigmaTel stac9221 A1 no sound from rear speakers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I notice below that there is no predefined alsa mixer alias for rear
speakers in the driver.  You might want to post this to the alsa-devel
list to see if someone knowledgeable of driver internals can explain if
this is deliberate or an oversight, or if there is a workaround.

I have marked it with #### below ####.

On Wed, 30 May 2007 18:21:07 -0400
"Micah Bucy" <Micah.B.Bucy@xxxxxxxxxxx> wrote:

> alsa-info.sh results:
> [start]
> ################################
> ALSA Information Script v 0.4.24
> ################################
> 
> 
> Linux Distribution
> ------------------
> 
> Ubuntu 7.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 7.04"
> 
> 
> Kernel Information
> ------------------
> 
> Kernel release:    2.6.20-16-generic
> Operating System:  GNU/Linux
> Architecture:      i686
> Processor:         unknown
> SMP Enabled:       Yes
> 
> 
> ALSA Version
> ------------
> 
> Driver version:     1.0.14rc4
> Library version:    1.0.14rc4
> Utilities version:  1.0.14rc4
> 
> 
> Loaded ALSA modules
> -------------------
> 
> snd_hda_intel
> 
> 
> Soundcards recognised by ALSA
> -----------------------------
> 
>  0 [Intel          ]: HDA-Intel - HDA Intel
>                       HDA Intel at 0xefffc000 irq 16
> 
> 
> PCI Soundcards installed in the system
> --------------------------------------
> 
> 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> Definition Audio Controller (rev 01)
> 
> 
> Advanced information - PCI Vendor/Device/Susbsystem ID's
> --------------------------------------------------------
> 
> 00:1b.0 0403: 8086:27d8 (rev 01)
> 	Subsystem: 1028:01d2
> 
> 
> HDA-Intel Codec information
> ---------------------------
> 
> Codec: SigmaTel STAC9221 A1
> Address: 0
> Vendor Id: 0x83847680
> Subsystem Id: 0x102801ab
> Revision Id: 0x103201
> Default PCM:
>     rates [0x7e0]: 44100 48000 88200 96000 176400 192000
>     bits [0xe]: 16 20 24
>     formats [0x1]: PCM
> Default Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=1
> Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
> Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0x7f 0x7f]
>   Power: 0x0
> Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0x7f 0x7f]
>   Power: 0x0
> Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0x7f 0x7f]
>   Power: 0x0
> Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0x7f 0x7f]
>   Power: 0x0
> Node 0x06 [Audio Input] wcaps 0x1d0541: Stereo
>   Power: 0x0
>   Connection: 1
>      0x17
> Node 0x07 [Audio Input] wcaps 0x1d0541: Stereo
>   Power: 0x0
>   Connection: 1
>      0x18
> Node 0x08 [Audio Output] wcaps 0x40211: Stereo Digital
>   PCM:
>     rates [0x7e0]: 44100 48000 88200 96000 176400 192000
>     bits [0xe]: 16 20 24
>     formats [0x5]: PCM AC3
> Node 0x09 [Audio Input] wcaps 0x140311: Stereo Digital
>   PCM:
>     rates [0x160]: 44100 48000 96000
>     bits [0xe]: 16 20 24
>     formats [0x5]: PCM AC3
>   Connection: 1
>      0x11
> Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x08173f: IN OUT HP Detect
>   Pin Default 0x0221101f: [Jack] HP Out at Ext Front
>     Conn = 1/8, Color = Black
>   Pin-ctls: 0xc0: OUT HP
>   Connection: 1
>      0x02
> Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x081737: IN OUT Detect
>   Pin Default 0x01019014: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Pink
>   Pin-ctls: 0x20: IN
>   Connection: 1
>      0x04
> Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x081737: IN OUT Detect
>   Pin Default 0x01011012: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Black
>   Pin-ctls: 0x20: IN
>   Connection: 1
>      0x03
> Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x08173f: IN OUT HP Detect
>   Pin Default 0x01014010: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Green
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x02
> Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
>   Pincap 0x0824: IN Detect
>   Pin Default 0x02a11020: [Jack] Mic at Ext Front
>     Conn = 1/8, Color = Black
>   Pin-ctls: 0x20: IN
> Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x0837: IN OUT Detect
>   Pin Default 0x01017011: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Yellow
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x05
> Node 0x10 [Pin Complex] wcaps 0x400301: Stereo Digital
>   Pincap 0x0810: OUT
>   Pin Default 0x40f000f0: [N/A] Other at Ext N/A
>     Conn = Unknown, Color = Unknown
>   Pin-ctls: 0x00:
>   Connection: 3
>      0x08* 0x17 0x19
> Node 0x11 [Pin Complex] wcaps 0x430681: Stereo Digital
>   Pincap 0x0810024: IN EAPD Detect
>   Pin Default 0x40f000f1: [N/A] Other at Ext N/A
>     Conn = Unknown, Color = Unknown
>   Pin-ctls: 0x00:
>   Power: 0x0
> Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
>   Amp-Out vals:  [0x00 0x00]
>   Connection: 7
>      0x0e 0x15* 0x0f 0x0b 0x0c 0x0d 0x0a
> Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
>   Amp-Out vals:  [0x00 0x00]
>   Connection: 7
>      0x0e 0x15* 0x0f 0x0b 0x0c 0x0d 0x0a
> Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
>   Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
>   Amp-Out vals:  [0x00]
> Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
>   Pincap 0x0820: IN
>   Pin Default 0x0181332e: [Jack] Line In at Ext Rear
>     Conn = 1/8, Color = Blue
>   Pin-ctls: 0x20: IN
> Node 0x16 [Volume Knob Widget] wcaps 0x600000: Mono
> Node 0x17 [Audio Selector] wcaps 0x300903: Stereo Amp-In
>   Amp-In caps: N/A
>   Amp-In vals:  [0x0c 0x0c]
>   Connection: 1
>      0x12
> Node 0x18 [Audio Selector] wcaps 0x300903: Stereo Amp-In
>   Amp-In caps: N/A
>   Amp-In vals:  [0x80 0x80]
>   Connection: 1
>      0x13
> Node 0x19 [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital
> Node 0x1a [Audio Output] wcaps 0x30201: Stereo Digital
> Node 0x1b [Pin Complex] wcaps 0x400301: Stereo Digital
>   Pincap 0x0810: OUT
>   Pin Default 0x40f000f2: [N/A] Other at Ext N/A
>     Conn = Unknown, Color = Unknown
>   Pin-ctls: 0x00:
>   Connection: 1
>      0x1a
> 
> 
> ALSA Device nodes
> -----------------
> 
> crw-rw---- 1 root audio 116,  0 2007-05-30 13:39 /dev/snd/controlC0
> crw-rw---- 1 root audio 116, 24 2007-05-30 13:39 /dev/snd/pcmC0D0c
> crw-rw---- 1 root audio 116, 16 2007-05-30 13:39 /dev/snd/pcmC0D0p
> crw-rw---- 1 root audio 116,  1 2007-05-30 13:39 /dev/snd/seq
> crw-rw---- 1 root audio 116, 33 2007-05-30 13:39 /dev/snd/timer
> 
> 
> ALSA configuration files
> ------------------------
> 
> User specific config file (~/.asoundrc)
> 
> pcm.snd_card {
>      type hw
>      card 0 # change to your cards number or name
> }
> 
> # 6 channel dmix:
> pcm.dmix6 {
>      type dmix
>         ipc_key 1024
>         ipc_key_add_uid false # let multiple users share
>         ipc_perm 0660 # IPC permissions (octal, default 0600)
>         slave {
>                 pcm snd_card # see below
>                 rate 48000
>                 channels 6
>                 period_time 0
>                 period_size 1024 # try 2048 against skipping
>                 buffer_time 0
>                 buffer_size 5120 # in case of problems reduce this
>                                  # in case of skipping, try increasing
>         }
>      }
> 
> # upmixing:
> pcm.ch51dup {
>         type route
>         slave.pcm dmix6
>         slave.channels 6
>         ttable.0.0 1
>         ttable.1.1 1
>         ttable.0.2 1
>         ttable.1.3 1
>         ttable.0.4 0.5
>         ttable.1.4 0.5
>         ttable.0.5 0.5
>         ttable.1.5 0.5
>    }
> 
> pcm.duplex {
>      type asym
>      playback.pcm "ch51dup" # upmix first
> #     playback.pcm "dmix6"  # just pass to 6 channel dmix
> #     capture.pcm "dsnoop:0" # doesn't work for me
>      capture.pcm "snd_card"
> }
> 
> # change default device:
> pcm.!default {
>      type plug
>      slave.pcm "duplex"
> }
> 
> 
> 
> Aplay output
> ------------
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 

#### below ####
> 
> Amixer output
> -------------
> 
> -------Mixer controls for card 0 [Intel]
> 
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 255 [100%] [0.00dB]
>   Front Right: Playback 255 [100%] [0.00dB]
> Simple mixer control 'Front',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [100%] [0.00dB] [on]
>   Front Right: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'Surround',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [100%] [0.00dB] [on]
>   Front Right: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'Center',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 127
>   Mono: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'LFE',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 127
>   Mono: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'Side',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [100%] [0.00dB] [on]
>   Front Right: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 14
>   Front Left: Capture 12 [86%] [18.00dB] [on]
>   Front Right: Capture 12 [86%] [18.00dB] [on]
> Simple mixer control 'Input Source',0
>   Capabilities: enum
>   Items: 'Front Mic' 'Line'
>   Item0: 'Line'
> Simple mixer control 'Mux',0
>   Capabilities: cvolume
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 4
>   Front Left: Capture 0 [0%] [0.00dB]
>   Front Right: Capture 0 [0%] [0.00dB]
> 
> 
> All Loaded Modules
> ------------------
> 
> Module
> smbfs
> binfmt_misc
> rfcomm
> l2cap
> bluetooth
> vmnet
> vmmon
> ppdev
> fglrx
> xt_state
> nf_nat_irc
> nf_nat_ftp
> nf_conntrack_irc
> nf_conntrack_ftp
> speedstep_lib
> cpufreq_userspace
> cpufreq_stats
> cpufreq_powersave
> cpufreq_ondemand
> freq_table
> cpufreq_conservative
> tc1100_wmi
> pcc_acpi
> dev_acpi
> sony_acpi
> video
> sbs
> i2c_ec
> i2c_core
> dock
> button
> battery
> container
> ac
> asus_acpi
> backlight
> ndiswrapper
> nls_iso8859_1
> nls_cp437
> vfat
> fat
> af_packet
> fuse
> parport_pc
> lp
> parport
> iptable_nat
> nf_nat
> nf_conntrack_ipv4
> nf_conntrack
> nfnetlink
> iptable_filter
> snd_hda_intel
> ip_tables
> snd_pcm_oss
> snd_mixer_oss
> joydev
> x_tables
> snd_pcm
> snd_seq_oss
> snd_seq_midi_event
> snd_seq
> snd_timer
> iTCO_wdt
> usbhid
> hid
> xpad
> snd_seq_device
> iTCO_vendor_support
> intel_agp
> shpchp
> pci_hotplug
> psmouse
> agpgart
> pcspkr
> snd
> soundcore
> snd_page_alloc
> serio_raw
> ipv6
> evdev
> tsdev
> ext3
> jbd
> mbcache
> usb_storage
> sg
> sd_mod
> libusual
> ide_cd
> cdrom
> ata_piix
> ata_generic
> libata
> scsi_mod
> piix
> e100
> via_rhine
> mii
> raid10
> generic
> ehci_hcd
> uhci_hcd
> usbcore
> raid456
> xor
> raid1
> raid0
> multipath
> linear
> md_mod
> thermal
> processor
> fan
> dm_mod
> capability
> commoncap
> vesafb
> fbcon
> tileblit
> font
> bitblit
> softcursor
> 
> [end]
> 
> Front left, front right, front center, and lfe work perfectly
> 
> /etc/modprobe.d/alsa-base
> [start]
> # autoloader aliases
> install sound-slot-0 /sbin/modprobe snd-card-0
> install sound-slot-1 /sbin/modprobe snd-card-1
> install sound-slot-2 /sbin/modprobe snd-card-2
> install sound-slot-3 /sbin/modprobe snd-card-3
> install sound-slot-4 /sbin/modprobe snd-card-4
> install sound-slot-5 /sbin/modprobe snd-card-5
> install sound-slot-6 /sbin/modprobe snd-card-6
> install sound-slot-7 /sbin/modprobe snd-card-7
> 
> # Cause optional modules to be loaded above generic modules
> install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && {
> /sbin/modprobe -Qb snd-ioctl32 ; : ; }
> install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS
> && { /sbin/modprobe -Qb snd-pcm-oss ; : ; }
> install snd-mixer /sbin/modprobe --ignore-install snd-mixer
> $CMDLINE_OPTS && { /sbin/modprobe --Qb snd-mixer-oss ; : ; }
> install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS
> && { /sbin/modprobe -Qb snd-seq-midi ; /sbin/modprobe --quiet
> snd-seq-oss ; : ; }
> 
> # Cause optional modules to be loaded above sound card driver modules
> install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
> $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
> install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
> $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
> 
> # Load saa7134-alsa instead of saa7134 (which gets dragged in by it
> anyway) install saa7134 /sbin/modprobe --ignore-install saa7134
> $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
> 
> # Load snd-seq for devices that don't have hardware midi;
> #   Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
> #   non-Creative Labs PCI hardware
> install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && {
> /sbin/modprobe -Qb snd-seq ; }
> # Prevent abnormal drivers from grabbing index 0
> options snd-bt87x index=-2
> options cx88-alsa index=-2
> options saa7134-alsa index=-2
> options snd-atiixp-modem index=-2
> options snd-intel8x0m index=-2
> options snd-via82xx-modem index=-2
> options snd-usb-audio index=-2
> options snd-usb-usx2y index=-2
> # Ubuntu #62691, enable MPU for snd-cmipci
> options snd-cmipci mpu_port=0x330 fm_port=0x388
> options snd-hda-intel model=auto
> 
> [end]
> 
> any help would be appreciated
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux