[alsa-devel] ca0106 broken (fwd)
Russell Whitaker
russ at ashlandhome.net
Fri Jan 22 20:55:58 CET 2010
On Fri, 22 Jan 2010, Takashi Iwai wrote:
> At Thu, 21 Jan 2010 21:30:43 -0800 (PST),
> Russell Whitaker wrote:
>>
>>
>> Hi
>> Sent msg below and no responce.
>> As a work-around replaced ng code with know good code into 2.6.29.6
>> and it worked. Tried same trick with 2.6.31.12 and it won't compile.
>> If you send me something to try will do it and report back.
>
> First off, please elaborate *what* is broken. What you tested, how,
> and what didn't work as expected.
Start with a box where sound works:
For example, in command-line mode, mplayer will play a mp3 file and there
is sound.
Next, build and install a new kernel:
first clue - from dmesg: (repeatable by running /etc/rc.d/rc.alsa)
Unknown hardware: "CA0106" "CA0106" "" "" ""
Hardware is initialized using a guess method
2nd clue: in command-line mode, mplayer goes thru the motions of playing
a mp3 file but there is no sound.
>
> Also, run alsa-info.sh with --no-upload option, and attach the
> generated file.
>
attached.
Thank you,
Russ
> Takashi
>
>> Russ
-------------- next part --------------
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.58
!!################################
!!Script ran on: Fri Jan 22 19:25:38 UTC 2010
!!Linux Distribution
!!------------------
Slackware 13.0.0.0.0
!!DMI Information
!!---------------
Manufacturer: Unknown
Product Name: Unknown
!!Kernel Information
!!------------------
Kernel release: 2.6.31.12-smp
Operating System: GNU/Linux
Architecture: i686
Processor: AMD Athlon(tm) MP 2000+
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.20
Library version: 1.0.18
Utilities version: 1.0.18
!!Loaded ALSA modules
!!-------------------
!!Sound Servers on this system
!!----------------------------
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - No
!!Soundcards recognised by ALSA
!!-----------------------------
0 [CA0106 ]: CA0106 - CA0106
Live! 7.1 24bit [SB0410] at 0x3080 irq 16
!!PCI Soundcards installed in the system
!!--------------------------------------
03:04.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
03:04.0 0401: 1102:0007
Subsystem: 1102:1006
!!Loaded sound module options
!!--------------------------
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 13 Jan 22 03:12 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 4 Jan 22 03:12 /dev/snd/midiC0D0
crw-rw---- 1 root audio 116, 12 Jan 22 03:12 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 11 Jan 22 03:12 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 10 Jan 22 03:12 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116, 9 Jan 22 03:12 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 8 Jan 22 03:12 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116, 7 Jan 22 03:12 /dev/snd/pcmC0D2p
crw-rw---- 1 root audio 116, 6 Jan 22 03:12 /dev/snd/pcmC0D3c
crw-rw---- 1 root audio 116, 5 Jan 22 03:12 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116, 3 Jan 22 03:12 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 Jan 22 03:12 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: CA0106 [CA0106], device 0: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 1: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 2: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 3: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: CA0106 [CA0106], device 0: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 1: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 2: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 3: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [CA0106]
Card hw:0 'CA0106'/'Live! 7.1 24bit [SB0410] at 0x3080 irq 16'
Mixer name : 'CA0106'
Components : ''
Controls : 30
Simple ctrls : 18
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 175 [69%] [-20.00dB]
Simple mixer control 'Line in',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 255
Front Left: Capture 207 [81%] [0.00dB]
Front Right: Capture 207 [81%] [0.00dB]
Simple mixer control 'Mic',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 255
Front Left: Capture 0 [0%] [-99999.99dB]
Front Right: Capture 0 [0%] [-99999.99dB]
Simple mixer control 'Phone',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 255
Front Left: Capture 207 [81%] [0.00dB]
Front Right: Capture 207 [81%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Center/LFE',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'IEC958 Front',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'IEC958 Rear',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'IEC958 Unknown',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'Aux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 255
Front Left: Capture 207 [81%] [0.00dB]
Front Right: Capture 207 [81%] [0.00dB]
Simple mixer control 'Analog Center/LFE',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'Analog Front',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'Analog Rear',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'Analog Side',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'Analog Source',0
Capabilities: cenum
Items: 'Phone' 'Mic' 'Line in' 'Aux'
Item0: 'Line in'
Simple mixer control 'CAPTURE feedback',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-99999.99dB]
Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'Digital Source',0
Capabilities: cenum
Items: 'IEC958 out' 'i2s mixer out' 'IEC958 in' 'i2s in' 'AC97 in' 'SRC out'
Item0: 'i2s in'
Simple mixer control 'Shared Mic/Line in',0
Capabilities: cenum
Items: 'Line in' 'Mic in'
Item0: 'Line in'
!!Alsactl output
!!-------------
--startcollapse--
state.CA0106 {
control.1 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'Analog Front Playback Volume'
value.0 0
value.1 0
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'Analog Rear Playback Volume'
value.0 0
value.1 0
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'Analog Center/LFE Playback Volume'
value.0 0
value.1 0
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'Analog Side Playback Volume'
value.0 0
value.1 0
}
control.5 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'IEC958 Front Playback Volume'
value.0 0
value.1 0
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'IEC958 Rear Playback Volume'
value.0 0
value.1 0
}
control.7 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'IEC958 Center/LFE Playback Volume'
value.0 0
value.1 0
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'IEC958 Unknown Playback Volume'
value.0 0
value.1 0
}
control.9 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -5175
comment.dbmax 1200
iface MIXER
name 'CAPTURE feedback Playback Volume'
value.0 0
value.1 0
}
control.10 {
comment.access read
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Mask'
value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.11 {
comment.access read
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Mask'
index 1
value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.12 {
comment.access read
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Mask'
index 2
value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.13 {
comment.access read
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Mask'
index 3
value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value false
}
control.15 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 'IEC958 out'
comment.item.1 'i2s mixer out'
comment.item.2 'IEC958 in'
comment.item.3 'i2s in'
comment.item.4 'AC97 in'
comment.item.5 'SRC out'
iface MIXER
name 'Digital Source Capture Enum'
value 'i2s in'
}
control.16 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Phone
comment.item.1 Mic
comment.item.2 'Line in'
comment.item.3 Aux
iface MIXER
name 'Analog Source Capture Enum'
value 'Line in'
}
control.17 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Default'
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.18 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Default'
index 1
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.19 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Default'
index 2
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.20 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback Default'
index 3
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.21 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback PCM Stream'
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.22 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback PCM Stream'
index 1
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.23 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback PCM Stream'
index 2
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.24 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface PCM
name 'IEC958 Playback PCM Stream'
index 3
value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -10350
comment.dbmax 2400
iface MIXER
name 'Phone Capture Volume'
value.0 207
value.1 207
}
control.26 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -10350
comment.dbmax 2400
iface MIXER
name 'Mic Capture Volume'
value.0 0
value.1 0
}
control.27 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -10350
comment.dbmax 2400
iface MIXER
name 'Line in Capture Volume'
value.0 207
value.1 207
}
control.28 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.dbmin -10350
comment.dbmax 2400
iface MIXER
name 'Aux Capture Volume'
value.0 207
value.1 207
}
control.29 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 'Line in'
comment.item.1 'Mic in'
iface MIXER
name 'Shared Mic/Line in Capture Switch'
value 'Line in'
}
control.30 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 255'
comment.dbmin -6375
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value 175
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
floppy
!!ALSA/HDA dmesg
!!------------------
snd-ca0106: Model 1006 Rev 00000000 Serial 10061102
ALSA device list:
#0: Live! 7.1 24bit [SB0410] at 0x3080 irq 16
More information about the Alsa-devel
mailing list