Codec + Mixer: Realtek ALC260 - card 0: SB [HDA ATI SB], device 0: ALC260 Analog [ALC260 Analog] - 00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller 1002:437b (rev 01) - headphones working, but not speakers when using ALSA model option "will" on Presario B1900 (RR178PA#AB2) in Ubuntu 11.10
I know there is already a post but too old.
I'm now using ubuntu 11.10 with snd-hda-intel model=will which can enable sound in earphone but still not speaker.
I tried to enable SND_DEBUG inside kernel in order to enable test model for alsa-source but alsa-source compile failed.
Now idea on how to solve this issue.
Why ubuntu not noticed this? Also I tried lastest Debian installation, same issue.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Joey Jiao
- Solved:
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Can you give the output of:
wget -O alsa-info.sh http://
Thanks
Revision history for this message
|
#2 |
Here's the alsa-info log.
upload=
!!#####
!!ALSA Information Script v 0.4.60
!!#####
!!Script ran on: Mon Feb 6 05:25:15 UTC 2012
!!Linux Distribution
!!-----
Ubuntu 11.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_
!!DMI Information
!!---------------
Manufacturer: Hewlett-Packard
Product Name: Presario B1900 (RR178PA#AB2)
Product Version: F.0A
!!Kernel Information
!!-----
Kernel release: 3.0.0-15-generic
Operating System: GNU/Linux
Architecture: i686
Processor: i686
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.24
Library version: 1.0.25
Utilities version: 1.0.24.2
!!Loaded ALSA modules
!!-----
snd_hda_intel
!!Sound Servers on this system
!!-----
Pulseaudio:
Installed - Yes (/usr/bin/
Running - Yes
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - No
!!Soundcards recognised by ALSA
!!-----
0 [SB ]: HDA-Intel - HDA ATI SB
!!PCI Soundcards installed in the system
!!-----
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
!!Advanced information - PCI Vendor/
!!-----
00:14.2 0403: 1002:437b (rev 01)
Subsystem: 103c:30ba
!!Modprobe options (Sound related)
!!-----
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-caiaq: index=-2
snd-usb-ua101: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-usb-audio: index=-2
snd-hda-intel: model=will
snd-hda-intel: enable_msi=1
!!Loaded sound module options
!!-----
!!Module: snd_hda_intel
bdl_pos_adj : 32,-1,-
beep_mode : 0,0,0,0,
enable : Y,Y,Y,Y,
enable_msi : 1
id : (null),
index : -1,-1,-
model : will,(null)
patch : (null),
position_fix : 0,0,0,0,
power_save : 0
power_
probe_mask : -1,-1,-
probe_only : 0,0,0,0,
single_cmd : N
!!HDA-Intel Codec information
!!-----
--startcollapse--
Codec: Realtek ALC260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0260
Subsystem Id: 0x103c0000
Revision Id: 0x100400
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
Device: name="ALC260 Analog", type="Audio", device=0
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x211: Stereo Digital
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="ALC260 Digital", type="SPDIF", device=1
Converter: stream=8, channel=0
Digital: Enabled
Digital category: 0x0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Input Source", index=0, device=0
Control: name="Capture Switch", index=0, device=0
Control: name="Capture Volume", index=0, device=0
Device: name="ALC260 Analog", type="Audio", device=0
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
Amp-In vals: [0x22 0x22] [0x22 0x22] [0x22 0x22] [0x22 0x22] [0x22 0x22] [0x22 0x22] [0x22 0x22]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 7
0x12 0x13 0x14* 0x15 0x16 0x0f 0x10
Node 0x05 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 8
0x12 0x13 0x14* 0x15 0x16 0x07 0x0f 0x10
Node 0x06 [Audio Input] wcaps 0x100391: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Unsolicited: tag=00, enabled=0
Connection: 1
0x19
Node 0x07 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Line Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Line Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="CD Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Control: name="CD Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Control: name="Beep Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=5, ofs=0
Control: name="Beep Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=5, ofs=0
Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0xa0 0xa0] [0x80 0x80] [0xc1 0xc1] [0xbf 0xbf] [0xa3 0xa3] [0xa3 0xa3]
Connection: 8
0x12 0x13 0x14 0x15 0x16 0x17 0x0f 0x10
Node 0x08 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Control: name="Master Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x32 0x32]
Connection: 2
0x02 0x07
Node 0x09 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 2
0x02 0x07
Node 0x0a [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80] [0x80]
Amp-Out caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=0
Amp-Out vals: [0x00]
Connection: 2
0x02 0x07
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x08* 0x09
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x08* 0x09
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x08* 0x09
Node 0x0e [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x08* 0x09
Node 0x0f [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
EAPD 0x2: EAPD
Pin Default 0x01014110: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x08
Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
EAPD 0x2: EAPD
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x09
Node 0x11 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00]
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x0a
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Mic Jack Mode", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x01a19c30: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x0b
Node 0x13 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x0c
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Line Jack Mode", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x16 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x17 [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x18 [Pin Complex] wcaps 0x400380: Mono Digital
Pincap 0x00000014: OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Connection: 1
0x03
Node 0x19 [Pin Complex] wcaps 0x400280: Mono Digital
Pincap 0x00000024: IN Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Node 0x1a [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=13
Node 0x1b [Volume Knob Widget] wcaps 0x600080: Mono
Volume-Knob: delta=0, steps=64, direct=0, val=0
Unsolicited: tag=00, enabled=0
Connection: 0
Codec: Conexant ID 2bfa
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x14f12bfa
Subsystem Id: 0x103c30ba
Revision Id: 0x90000
Modem Function Group: 0x2
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw----+ 1 root audio 116, 7 Feb 6 13:16 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 6 Feb 6 13:16 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 5 Feb 6 13:16 /dev/snd/hwC0D1
crw-rw----+ 1 root audio 116, 4 Feb 6 13:21 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Feb 6 13:25 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 2 Feb 6 13:21 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 1 Feb 6 13:16 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Feb 6 13:16 /dev/snd/timer
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Feb 6 13:16 .
drwxr-xr-x 3 root root 220 Feb 6 13:16 ..
lrwxrwxrwx 1 root root 12 Feb 6 13:16 pci-0000:00:14.2 -> ../controlC0
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC260 Analog [ALC260 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC260 Digital [ALC260 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC260 Analog [ALC260 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [SB]
Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 42'
Mixer name : 'Realtek ALC260'
Components : 'HDA:10ec0260,
Controls : 21
Simple ctrls : 12
Simple mixer control 'Master',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 50 [78%] [-14.00dB] [on]
Front Right: Playback 50 [78%] [-14.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 252 [99%] [0.60dB]
Front Right: Playback 252 [99%] [0.60dB]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65
Mono:
Front Left: Playback 32 [49%] [-3.00dB] [off]
Front Right: Playback 32 [49%] [-3.00dB] [off]
Simple mixer control 'Line Jack Mode',0
Capabilities: enum
Items: 'Mic 50pc bias' 'Mic 80pc bias' 'Line in' 'Line out' 'Headphone out'
Item0: 'Line in'
Simple mixer control 'CD',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65
Mono:
Front Left: Playback 65 [100%] [30.00dB] [off]
Front Right: Playback 65 [100%] [30.00dB] [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65
Mono:
Front Left: Playback 0 [0%] [-35.00dB] [off]
Front Right: Playback 0 [0%] [-35.00dB] [off]
Simple mixer control 'Mic Jack Mode',0
Capabilities: enum
Items: 'Mic 50pc bias' 'Mic 80pc bias' 'Line in'
Item0: 'Mic 80pc bias'
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65
Mono:
Front Left: Playback 63 [97%] [28.00dB] [off]
Front Right: Playback 63 [97%] [28.00dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 35
Front Left: Capture 34 [97%] [34.00dB] [on]
Front Right: Capture 34 [97%] [34.00dB] [on]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Mic'
!!Alsactl output
!!-------------
--startcollapse--
state.SB {
control.1 {
iface MIXER
name 'Master Playback Volume'
value.0 50
value.1 50
comment {
access 'read write'
type INTEGER
count 2
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 -1400
dbvalue.1 -1400
}
}
control.2 {
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 65'
dbmin -3500
dbmax 3000
dbvalue.0 -3500
dbvalue.1 -3500
}
}
control.4 {
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Mic Jack Mode'
value 'Mic 80pc bias'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Mic 50pc bias'
item.1 'Mic 80pc bias'
item.2 'Line in'
}
}
control.6 {
iface MIXER
name 'Line Playback Volume'
value.0 32
value.1 32
comment {
access 'read write'
type INTEGER
count 2
range '0 - 65'
dbmin -3500
dbmax 3000
dbvalue.0 -300
dbvalue.1 -300
}
}
control.7 {
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.8 {
iface MIXER
name 'Line Jack Mode'
value 'Line in'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Mic 50pc bias'
item.1 'Mic 80pc bias'
item.2 'Line in'
item.3 'Line out'
item.4 'Headphone out'
}
}
control.9 {
iface MIXER
name 'CD Playback Volume'
value.0 65
value.1 65
comment {
access 'read write'
type INTEGER
count 2
range '0 - 65'
dbmin -3500
dbmax 3000
dbvalue.0 3000
dbvalue.1 3000
}
}
control.10 {
iface MIXER
name 'CD Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.11 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.12 {
iface MIXER
name 'Capture Volume'
value.0 34
value.1 34
comment {
access 'read write'
type INTEGER
count 2
range '0 - 35'
dbmin 0
dbmax 3500
dbvalue.0 3400
dbvalue.1 3400
}
}
control.13 {
iface MIXER
name 'Input Source'
value Mic
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic
item.1 'Front Mic'
item.2 Line
item.3 CD
}
}
control.14 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff0000000000
comment {
access read
type IEC958
count 1
}
}
control.15 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f000000000000
comment {
access read
type IEC958
count 1
}
}
control.16 {
iface MIXER
name 'IEC958 Playback Default'
value '04000000000000
comment {
access 'read write'
type IEC958
count 1
}
}
control.17 {
iface MIXER
name 'IEC958 Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.18 {
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.19 {
iface MIXER
name 'Beep Playback Volume'
value.0 63
value.1 63
comment {
access 'read write'
type INTEGER
count 2
range '0 - 65'
dbmin -3500
dbmax 3000
dbvalue.0 2800
dbvalue.1 2800
}
}
control.20 {
iface MIXER
name 'Beep Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.21 {
iface MIXER
name 'PCM Playback Volume'
value.0 252
value.1 252
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '00000001000000
dbmin -5100
dbmax 0
dbvalue.0 -60
dbvalue.1 -60
}
}
}
--endcollapse--
!!All Loaded Modules
!!-----
Module
btusb
bnep
rfcomm
bluetooth
pci_stub
vboxpci
vboxnetadp
vboxnetflt
vboxdrv
parport_pc
ppdev
binfmt_misc
snd_hda_
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
joydev
snd_timer
snd_seq_device
radeon
snd
video
ttm
drm_kms_helper
drm
arc4
soundcore
i2c_algo_bit
snd_page_alloc
r592
b43
shpchp
psmouse
serio_raw
mac80211
memstick
cfg80211
ati_agp
i2c_piix4
lp
parport
sdhci_pci
firewire_ohci
8139too
usbhid
hid
firewire_core
8139cp
sdhci
crc_itu_t
sata_sil
pata_atiixp
ssb
!!Sysfs Files
!!-----------
/sys/class/
0x0f 0x01014110
0x10 0x411111f0
0x11 0x411111f0
0x12 0x01a19c30
0x13 0x411111f0
0x14 0x411111f0
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x18 0x411111f0
0x19 0x411111f0
/sys/class/
/sys/class/
/sys/class/
/sys/class/
0x73 0x016a0000
/sys/class/
/sys/class/
/sys/class/
!!ALSA/HDA dmesg
!!-----
[ 18.727487] input: SynPS/2 Synaptics TouchPad as /devices/
[ 18.956847] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 18.957042] HDA Intel 0000:00:14.2: irq 42 for MSI/MSI-X
[ 19.258582] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Revision history for this message
|
#3 |
I believe your sound card is experiencing the following bug, for which there is no solution yet:
https:/
Revision history for this message
|
#4 |
Yes, I know that post, but since it's a bug, then there could be a solution.
I can debug the alsa-driver inside kernel, but I'm not familiar with alsa structure and concept.
Revision history for this message
|
#5 |
Well, I now tried oss-linux which i compiled from source level.
However, I could not even enabled the sound from earphone, also tried together with pulseaudio but still failed.
Revision history for this message
|
#6 |
Some guess:
1. lspci shows SB4x0 but some official documents says it should be SB450, I think SB is stands for South Bridge.
2. ALC260 which is a controller or codec for DAC/ADC? Let's assume it should be controller.
So anyone can find the datasheet?
Meanwhile, anyone can find the maintanance manual for B1900 series on which there is schematic for the PCB...
Revision history for this message
|
#7 |
General Purpose Input/Output (a.k.a. GPIO) is a generic pin on a chip whose behavior (including whether it is an input or output pin) can be controlled (programmed) through software.
GPIO pins have no special purpose defined, and go unused by default. The idea is that sometimes the system integrator building a full system that uses the chip might find useful to have a handful of additional digital control lines, and having these available from the chip can save the hassle of having to arrange additional circuitry to provide them. For example, the Realtek ALC260 chips (audio codec) have 4 GPIO pins, which go unused by default. Some system integrators (Acer laptops) employing the ALC260 use the first GPIO (GPIO0) to turn on the amplifier used for the laptop's internal speakers and external headphone jack.
Above is an important notice and similar principle talk inside Documents of Alsa. The key is the GPIO pins to control the switch for EarPhone and Speaker. And model=will together with earphone has enabled the sound as I think the GPIO pin is in its default state while model=will without earphone doesn't enable the speaker as the GPIO pin hasn't been toggle as expected.
So the key point is to find the GPIO pin and enable it.
So who is familiar with ALSA structure can tell me which driver file it uses and then I can check more...
Revision history for this message
|
#8 |
OK, try find ALC260 inside kernel at sound dir:
pci/hda/
Revision history for this message
|
#9 |
ALC260 reference design link ftp://58.
ALC260 datasheet link http://
ALC260 alsa driver link http://
Revision history for this message
|
#10 |
I just went through the datasheet, I assume ATI SB450 is HDA controller which send/get digital sound to ALC260 meanwhile send command to it. And the ALC260 is DAC/ADC sound to speaker or earphone / get analog sound from mic...
So the speaker is hard connected to ALC260 and by sending some regs can enable sound output from speaker.
Now we come to some similar driver debug process to get/set parameters to reg which is the next step. But still, alsa structure is still not clear to me and i'm not sure if patch_realtek.c is the only file I need to go through. For me, without earphone is OK, with speaker is preferred.
Revision history for this message
|
#11 |
OK, the start from the kernel source is at hda_codec.c about functions of snd_hda_
[ 28.700236] JOEY: read- nid=0,verb=
[ 28.700288] JOEY: read- result=10ec0260
[ 28.700290] JOEY: read- nid=0,verb=
[ 28.700347] JOEY: read- result=0
[ 28.700349] JOEY: read- nid=0,verb=
[ 28.700389] JOEY: read- result=100400
[ 28.700392] JOEY: read- nid=0,verb=
[ 28.700430] JOEY: read- result=10001
[ 28.700433] JOEY: read- nid=1,verb=
[ 28.700472] JOEY: read- result=101
[ 28.700475] JOEY: read- nid=1,verb=
[ 28.700514] JOEY: read- result=2001a
[ 28.700518] JOEY: read- nid=2,verb=
[ 28.700555] JOEY: read- result=11
[ 28.700558] JOEY: read- nid=3,verb=
[ 28.700596] JOEY: read- result=211
[ 28.700599] JOEY: read- nid=4,verb=
[ 28.700638] JOEY: read- result=10011b
[ 28.700641] JOEY: read- nid=5,verb=
[ 28.700680] JOEY: read- result=10011b
[ 28.700682] JOEY: read- nid=6,verb=
[ 28.700721] JOEY: read- result=100391
[ 28.700724] JOEY: read- nid=7,verb=
[ 28.700763] JOEY: read- result=20010b
[ 28.700766] JOEY: read- nid=8,verb=
[ 28.700804] JOEY: read- result=20010f
[ 28.700807] JOEY: read- nid=9,verb=
[ 28.700846] JOEY: read- result=20010f
[ 28.700849] JOEY: read- nid=a,verb=
[ 28.700888] JOEY: read- result=20010e
[ 28.700890] JOEY: read- nid=b,verb=
[ 28.700929] JOEY: read- result=300101
[ 28.700932] JOEY: read- nid=c,verb=
[ 28.700971] JOEY: read- result=300101
[ 28.700973] JOEY: read- nid=d,verb=
[ 28.701012] JOEY: read- result=300101
[ 28.701015] JOEY: read- nid=e,verb=
[ 28.701054] JOEY: read- result=300101
[ 28.701057] JOEY: read- nid=f,verb=
[ 28.701096] JOEY: read- result=40018d
[ 28.701098] JOEY: read- nid=10,
[ 28.701137] JOEY: read- result=40018d
[ 28.701140] JOEY: read- nid=11,
[ 28.701179] JOEY: read- result=40010c
[ 28.701182] JOEY: read- nid=12,
[ 28.701220] JOEY: read- result=40018d
[ 28.701223] JOEY: read- nid=13,
[ 28.701262] JOEY: read- result=40018d
[ 28.701265] JOEY: read- nid=14,
[ 28.701304] JOEY: read- result=40018d
[ 28.701306] JOEY: read- nid=15,
[ 28.701345] JOEY: read- result=40018d
[ 28.701348] JOEY: read- nid=16,
[ 28.701387] JOEY: read- result=400001
[ 28.701389] JOEY: read- nid=17,
[ 28.701428] JOEY: read- result=400000
[ 28.701431] JOEY: read- nid=18,
[ 28.701470] JOEY: read- result=400380
[ 28.701473] JOEY: read- nid=19,
[ 28.701512] JOEY: read- result=400280
[ 28.701514] JOEY: read- nid=1a,
[ 28.701553] JOEY: read- result=f00040
[ 28.701556] JOEY: read- nid=1b,
[ 28.701595] JOEY: read- result=600080
[ 28.701599] JOEY: read- nid=f,verb=
[ 28.701637] JOEY: read- result=1014110
[ 28.701640] JOEY: read- nid=f,verb=
[ 28.701678] JOEY: read- result=20
[ 28.701681] JOEY: read- nid=10,
[ 28.701720] JOEY: read- result=411111f0
[ 28.701722] JOEY: read- nid=10,
[ 28.701761] JOEY: read- result=20
[ 28.701764] JOEY: read- nid=11,
[ 28.701803] JOEY: read- result=411111f0
[ 28.701806] JOEY: read- nid=11,
[ 28.701844] JOEY: read- result=40
[ 28.701847] JOEY: read- nid=12,
[ 28.701886] JOEY: read- result=1a19c30
[ 28.701889] JOEY: read- nid=12,
[ 28.701928] JOEY: read- result=21
[ 28.701930] JOEY: read- nid=13,
[ 28.701970] JOEY: read- result=411111f0
[ 28.701972] JOEY: read- nid=13,
[ 28.702011] JOEY: read- result=20
[ 28.702013] JOEY: read- nid=14,
[ 28.702052] JOEY: read- result=411111f0
[ 28.702055] JOEY: read- nid=14,
[ 28.702094] JOEY: read- result=20
[ 28.702097] JOEY: read- nid=15,
[ 28.702136] JOEY: read- result=411111f0
[ 28.702139] JOEY: read- nid=15,
[ 28.702177] JOEY: read- result=20
[ 28.702180] JOEY: read- nid=16,
[ 28.702219] JOEY: read- result=411111f0
[ 28.702222] JOEY: read- nid=16,
[ 28.702260] JOEY: read- result=0
[ 28.702263] JOEY: read- nid=17,
[ 28.702302] JOEY: read- result=411111f0
[ 28.702305] JOEY: read- nid=17,
[ 28.702344] JOEY: read- result=0
[ 28.702346] JOEY: read- nid=18,
[ 28.702385] JOEY: read- result=411111f0
[ 28.702388] JOEY: read- nid=18,
[ 28.702427] JOEY: read- result=0
[ 28.702429] JOEY: read- nid=19,
[ 28.702469] JOEY: read- result=411111f0
[ 28.702471] JOEY: read- nid=19,
[ 28.702510] JOEY: read- result=0
[ 28.702513] JOEY: read- nid=1,verb=
[ 28.702552] JOEY: read- result=103c0000
[ 28.702555] JOEY: read- nid=1,verb=
[ 28.702593] JOEY: read- result=0
[ 28.702597] JOEY: read- nid=1,verb=
[ 28.702635] JOEY: read- result=0
[ 28.702647] JOEY: read- nid=0,verb=
[ 28.702697] JOEY: read- result=14f12bfa
[ 28.702700] JOEY: read- nid=0,verb=
[ 28.702739] JOEY: read- result=0
[ 28.702741] JOEY: read- nid=0,verb=
[ 28.702781] JOEY: read- result=90000
[ 28.702783] JOEY: read- nid=0,verb=
[ 28.702822] JOEY: read- result=20001
[ 28.702825] JOEY: read- nid=2,verb=
[ 28.702864] JOEY: read- result=102
[ 28.702867] JOEY: read- nid=2,verb=
[ 28.702905] JOEY: read- result=700004
[ 28.702909] JOEY: read- nid=70,
[ 28.702947] JOEY: read- result=f00000
[ 28.702950] JOEY: read- nid=71,
[ 28.702988] JOEY: read- result=100100
[ 28.702991] JOEY: read- nid=72,
[ 28.703030] JOEY: read- result=0
[ 28.703033] JOEY: read- nid=73,
[ 28.703072] JOEY: read- result=400100
[ 28.703075] JOEY: read- nid=73,
[ 28.703113] JOEY: read- result=16a0000
[ 28.703116] JOEY: read- nid=73,
[ 28.703155] JOEY: read- result=1
[ 28.703158] JOEY: read- nid=2,verb=
[ 28.703197] JOEY: read- result=103c30ba
[ 28.703199] JOEY: read- nid=2,verb=
[ 28.703238] JOEY: read- result=0
[ 28.716054] JOEY: read- nid=2,verb=
[ 28.716100] JOEY: read- result=0
[ 28.806380] JOEY: read- nid=2,verb=
[ 28.806433] JOEY: read- result=e0560
[ 28.806436] JOEY: read- nid=2,verb=
[ 28.806489] JOEY: read- result=1
[ 28.806493] JOEY: read- nid=4,verb=
[ 28.806531] JOEY: read- result=60160
[ 28.806534] JOEY: read- nid=4,verb=
[ 28.806573] JOEY: read- result=1
[ 28.822483] JOEY: read- nid=3,verb=
[ 28.822543] JOEY: read- result=1e0560
[ 28.822553] JOEY: read- nid=3,verb=
[ 28.822597] JOEY: read- result=1
[ 28.832180] JOEY: write- nid=14,
[ 28.832253] JOEY: write- nid=16,
[ 28.832306] JOEY: write- nid=12,
[ 28.832347] JOEY: write- nid=13,
[ 28.832388] JOEY: write- nid=15,
[ 28.832430] JOEY: write- nid=e,verb=
[ 28.832471] JOEY: write- nid=f,verb=
[ 28.832513] JOEY: write- nid=10,
[ 28.832555] JOEY: write- nid=11,
[ 28.832597] JOEY: write- nid=4,verb=
[ 28.832638] JOEY: write- nid=4,verb=
[ 28.832680] JOEY: write- nid=5,verb=
[ 28.832721] JOEY: write- nid=5,verb=
[ 28.832763] JOEY: write- nid=8,verb=
[ 28.832804] JOEY: write- nid=f,verb=
[ 28.832846] JOEY: write- nid=9,verb=
[ 28.832888] JOEY: write- nid=10,
[ 28.832929] JOEY: write- nid=a,verb=
[ 28.832971] JOEY: write- nid=11,
[ 28.833012] JOEY: write- nid=15,
[ 28.833054] JOEY: write- nid=7,verb=
[ 28.833096] JOEY: write- nid=7,verb=
[ 28.833138] JOEY: write- nid=7,verb=
[ 28.833179] JOEY: write- nid=7,verb=
[ 28.833220] JOEY: write- nid=7,verb=
[ 28.833262] JOEY: write- nid=8,verb=
[ 28.833304] JOEY: write- nid=8,verb=
[ 28.833345] JOEY: write- nid=9,verb=
[ 28.833387] JOEY: write- nid=9,verb=
[ 28.833428] JOEY: write- nid=a,verb=
[ 28.833470] JOEY: write- nid=a,verb=
[ 28.833512] JOEY: write- nid=f,verb=
[ 28.833554] JOEY: write- nid=b,verb=
[ 28.833595] JOEY: write- nid=d,verb=
[ 28.833636] JOEY: write- nid=f,verb=
[ 28.833678] JOEY: write- nid=1a,
[ 28.833720] JOEY: write- nid=1a,
[ 28.833808] JOEY: read- nid=3,verb=
[ 28.833844] JOEY: read- result=0
[ 28.946055] JOEY: read- nid=8,verb=
[ 28.946128] JOEY: read- result=34040
[ 28.946225] JOEY: read- nid=7,verb=
[ 28.946271] JOEY: read- result=80034123
[ 28.946348] JOEY: read- nid=4,verb=
[ 28.946394] JOEY: read- result=80032300
[ 28.946589] JOEY: read- nid=8,verb=
[ 28.946645] JOEY: read- result=0
[ 28.946649] JOEY: write- nid=8,verb=
[ 28.946704] JOEY: read- nid=8,verb=
[ 28.946750] JOEY: read- result=0
[ 28.946752] JOEY: write- nid=8,verb=
[ 28.946815] JOEY: read- nid=8,verb=
[ 28.946871] JOEY: read- result=80
[ 28.946873] JOEY: write- nid=8,verb=
[ 28.946939] JOEY: read- nid=8,verb=
[ 28.946995] JOEY: read- result=80
[ 28.946997] JOEY: write- nid=8,verb=
[ 28.947064] JOEY: read- nid=8,verb=
[ 28.947119] JOEY: read- result=80
[ 28.947122] JOEY: write- nid=8,verb=
[ 28.947188] JOEY: read- nid=8,verb=
[ 28.947243] JOEY: read- result=80
[ 28.947246] JOEY: write- nid=8,verb=
[ 28.947308] JOEY: read- nid=7,verb=
[ 28.947353] JOEY: read- result=80
[ 28.947356] JOEY: write- nid=7,verb=
[ 28.947412] JOEY: read- nid=7,verb=
[ 28.947457] JOEY: read- result=80
[ 28.947460] JOEY: write- nid=7,verb=
[ 28.947522] JOEY: read- nid=7,verb=
[ 28.947578] JOEY: read- result=80
[ 28.947581] JOEY: read- nid=7,verb=
[ 28.947646] JOEY: read- result=80
[ 28.947649] JOEY: read- nid=7,verb=
[ 28.947708] JOEY: read- result=80
[ 28.947710] JOEY: read- nid=7,verb=
[ 28.947770] JOEY: read- result=80
[ 28.947773] JOEY: read- nid=7,verb=
[ 28.947833] JOEY: read- result=80
[ 28.947835] JOEY: read- nid=7,verb=
[ 28.947895] JOEY: read- result=80
[ 28.947898] JOEY: read- nid=7,verb=
[ 28.947957] JOEY: read- result=80
[ 28.947960] JOEY: read- nid=7,verb=
[ 28.948030] JOEY: read- result=80
[ 28.948043] JOEY: read- nid=12,
[ 28.948099] JOEY: read- result=24
[ 28.948131] JOEY: read- nid=14,
[ 28.948197] JOEY: read- result=20
[ 28.948227] JOEY: read- nid=4,verb=
[ 28.948272] JOEY: read- result=0
[ 28.948275] JOEY: read- nid=4,verb=
[ 28.948333] JOEY: read- result=0
[ 28.948351] JOEY: write- nid=4,verb=
[ 28.948397] JOEY: write- nid=4,verb=
[ 28.948493] JOEY: write- nid=3,verb=
[ 28.948561] JOEY: read- nid=7,verb=
[ 28.948627] JOEY: read- result=a3
[ 28.948629] JOEY: write- nid=7,verb=
[ 28.948687] JOEY: read- nid=7,verb=
[ 28.948752] JOEY: read- result=a3
[ 28.948755] JOEY: write- nid=7,verb=
[ 31.845631] JOEY: read- nid=12,
[ 31.845686] JOEY: read- result=24
[ 31.845719] JOEY: read- nid=14,
[ 31.845765] JOEY: read- result=20
[ 35.296499] JOEY: read- nid=2,verb=
[ 35.296567] JOEY: read- result=0
[ 35.296570] JOEY: write- nid=2,verb=
[ 35.296619] JOEY: read- nid=2,verb=
[ 35.296664] JOEY: read- result=20
[ 35.304033] JOEY: write- nid=2,verb=
[ 35.399209] JOEY: read- nid=14,
[ 35.399266] JOEY: read- result=20
[ 35.399314] JOEY: read- nid=12,
[ 35.399369] JOEY: read- result=24
[ 35.401717] JOEY: read- nid=4,verb=
[ 35.401763] JOEY: read- result=0
[ 35.401766] JOEY: write- nid=4,verb=
[ 35.401804] JOEY: read- nid=4,verb=
[ 35.401845] JOEY: read- result=20
[ 35.408028] JOEY: write- nid=4,verb=
[ 35.503004] JOEY: read- nid=14,
[ 35.503056] JOEY: read- result=20
[ 35.503098] JOEY: read- nid=12,
[ 35.503143] JOEY: read- result=24
[ 35.552461] JOEY: write- nid=3,verb=
[ 35.552530] JOEY: write- nid=3,verb=
[ 35.552652] JOEY: write- nid=3,verb=
[ 35.552723] JOEY: read- nid=3,verb=
[ 35.552779] JOEY: read- result=0
[ 35.552781] JOEY: write- nid=3,verb=
[ 35.552842] JOEY: read- nid=3,verb=
[ 35.552899] JOEY: read- result=20
[ 35.560046] JOEY: write- nid=3,verb=
[ 35.560109] JOEY: write- nid=3,verb=
[ 35.560233] JOEY: write- nid=3,verb=
[ 35.560303] JOEY: write- nid=3,verb=
[ 35.588192] JOEY: read- nid=14,
[ 35.588246] JOEY: read- result=20
[ 35.588291] JOEY: read- nid=12,
[ 35.588348] JOEY: read- result=24
[ 35.590929] JOEY: write- nid=3,verb=
[ 35.590971] JOEY: write- nid=3,verb=
[ 35.601132] JOEY: read- nid=14,
[ 35.601183] JOEY: read- result=20
[ 35.601229] JOEY: read- nid=12,
[ 35.601284] JOEY: read- result=24
[ 35.627140] JOEY: read- nid=14,
[ 35.627204] JOEY: read- result=20
[ 35.627253] JOEY: read- nid=12,
[ 35.627302] JOEY: read- result=24
[ 39.928045] JOEY: read- nid=f,verb=
[ 39.928118] JOEY: read- result=1003f
[ 39.928121] JOEY: write- nid=f,verb=
[ 39.928178] JOEY: read- nid=10,
[ 39.928230] JOEY: read- result=1003f
[ 39.928233] JOEY: write- nid=10,
[ 40.132062] JOEY: read- nid=f,verb=
[ 40.132141] JOEY: read- result=0
[ 40.132143] JOEY: read- nid=10,
[ 40.132200] JOEY: read- result=0
[ 40.132203] JOEY: read- nid=11,
[ 40.132249] JOEY: read- result=0
[ 40.132252] JOEY: read- nid=12,
[ 40.132317] JOEY: read- result=0
[ 40.132319] JOEY: read- nid=13,
[ 40.132376] JOEY: read- result=0
[ 40.132379] JOEY: read- nid=14,
[ 40.132435] JOEY: read- result=0
[ 40.132438] JOEY: read- nid=15,
[ 40.132503] JOEY: read- result=0
[ 40.132506] JOEY: read- nid=16,
[ 40.132562] JOEY: read- result=0
[ 40.132565] JOEY: read- nid=17,
[ 40.132630] JOEY: read- result=0
[ 40.132633] JOEY: read- nid=18,
[ 40.132698] JOEY: read- result=0
[ 40.132701] JOEY: read- nid=19,
[ 40.132748] JOEY: read- result=0
[ 40.132752] JOEY: write- nid=2,verb=
[ 40.132818] JOEY: write- nid=2,verb=
[ 40.132875] JOEY: write- nid=4,verb=
[ 40.132941] JOEY: write- nid=4,verb=
[ 40.133008] JOEY: write- nid=3,verb=
[ 40.133064] JOEY: write- nid=3,verb=
[ 40.236082] JOEY: read- nid=1,verb=
[ 40.236159] JOEY: read- result=0
[ 41.428673] JOEY: read- nid=1,verb=
[ 41.428734] JOEY: read- result=0
[ 41.428737] JOEY: read- nid=1,verb=
[ 41.428795] JOEY: read- result=0
[ 41.428799] JOEY: write- nid=f,verb=
[ 41.428858] JOEY: write- nid=f,verb=
[ 41.428913] JOEY: write- nid=f,verb=
[ 41.428959] JOEY: write- nid=f,verb=
[ 41.429025] JOEY: write- nid=10,
[ 41.429081] JOEY: write- nid=10,
[ 41.429126] JOEY: write- nid=10,
[ 41.429182] JOEY: write- nid=10,
[ 41.429228] JOEY: write- nid=11,
[ 41.429294] JOEY: write- nid=11,
[ 41.429349] JOEY: write- nid=11,
[ 41.429395] JOEY: write- nid=11,
[ 41.429461] JOEY: write- nid=12,
[ 41.429517] JOEY: write- nid=12,
[ 41.429563] JOEY: write- nid=12,
[ 41.429618] JOEY: write- nid=12,
[ 41.429664] JOEY: write- nid=13,
[ 41.429730] JOEY: write- nid=13,
[ 41.429786] JOEY: write- nid=13,
[ 41.429831] JOEY: write- nid=13,
[ 41.429897] JOEY: write- nid=14,
[ 41.429953] JOEY: write- nid=14,
[ 41.429999] JOEY: write- nid=14,
[ 41.430064] JOEY: write- nid=14,
[ 41.430120] JOEY: write- nid=15,
[ 41.430166] JOEY: write- nid=15,
[ 41.430221] JOEY: write- nid=15,
[ 41.430267] JOEY: write- nid=15,
[ 41.430313] JOEY: write- nid=16,
[ 41.430368] JOEY: write- nid=16,
[ 41.430414] JOEY: write- nid=16,
[ 41.430480] JOEY: write- nid=16,
[ 41.430535] JOEY: write- nid=17,
[ 41.430581] JOEY: write- nid=17,
[ 41.430647] JOEY: write- nid=17,
[ 41.430702] JOEY: write- nid=17,
[ 41.430748] JOEY: write- nid=18,
[ 41.430804] JOEY: write- nid=18,
[ 41.430849] JOEY: write- nid=18,
[ 41.430895] JOEY: write- nid=18,
[ 41.430951] JOEY: write- nid=19,
[ 41.430996] JOEY: write- nid=19,
[ 41.431062] JOEY: write- nid=19,
[ 41.431118] JOEY: write- nid=19,
[ 41.431163] JOEY: write- nid=f,verb=
[ 41.431229] JOEY: write- nid=10,
[ 41.431285] JOEY: write- nid=11,
[ 41.431330] JOEY: write- nid=12,
[ 41.431386] JOEY: write- nid=13,
[ 41.431432] JOEY: write- nid=14,
[ 41.431498] JOEY: write- nid=15,
[ 41.431554] JOEY: write- nid=16,
[ 41.431599] JOEY: write- nid=17,
[ 41.431665] JOEY: write- nid=18,
[ 41.431721] JOEY: write- nid=19,
[ 41.584041] JOEY: write- nid=14,
[ 41.584103] JOEY: write- nid=16,
[ 41.584149] JOEY: write- nid=12,
[ 41.584204] JOEY: write- nid=13,
[ 41.584250] JOEY: write- nid=15,
[ 41.584316] JOEY: write- nid=e,verb=
[ 41.584372] JOEY: write- nid=f,verb=
[ 41.584417] JOEY: write- nid=10,
[ 41.584483] JOEY: write- nid=11,
[ 41.584539] JOEY: write- nid=4,verb=
[ 41.584585] JOEY: write- nid=4,verb=
[ 41.584640] JOEY: write- nid=5,verb=
[ 41.584686] JOEY: write- nid=5,verb=
[ 41.584752] JOEY: write- nid=8,verb=
[ 41.584808] JOEY: write- nid=f,verb=
[ 41.584853] JOEY: write- nid=9,verb=
[ 41.584919] JOEY: write- nid=10,
[ 41.584975] JOEY: write- nid=a,verb=
[ 41.585020] JOEY: write- nid=11,
[ 41.585086] JOEY: write- nid=15,
[ 41.585142] JOEY: write- nid=7,verb=
[ 41.585189] JOEY: write- nid=7,verb=
[ 41.585245] JOEY: write- nid=7,verb=
[ 41.585291] JOEY: write- nid=7,verb=
[ 41.585348] JOEY: write- nid=7,verb=
[ 41.585393] JOEY: write- nid=8,verb=
[ 41.585439] JOEY: write- nid=8,verb=
[ 41.585495] JOEY: write- nid=9,verb=
[ 41.585541] JOEY: write- nid=9,verb=
[ 41.585599] JOEY: write- nid=a,verb=
[ 41.585645] JOEY: write- nid=a,verb=
[ 41.585711] JOEY: write- nid=f,verb=
[ 41.585768] JOEY: write- nid=b,verb=
[ 41.585834] JOEY: write- nid=d,verb=
[ 41.585900] JOEY: write- nid=f,verb=
[ 41.585957] JOEY: write- nid=1a,
[ 41.586023] JOEY: write- nid=1a,
[ 41.586082] JOEY: write- nid=8,verb=
[ 41.586148] JOEY: write- nid=8,verb=
[ 41.586204] JOEY: write- nid=7,verb=
[ 41.586271] JOEY: write- nid=7,verb=
[ 41.586337] JOEY: write- nid=4,verb=
[ 41.586394] JOEY: write- nid=4,verb=
[ 41.586459] JOEY: write- nid=8,verb=
[ 41.586516] JOEY: write- nid=8,verb=
[ 41.586583] JOEY: write- nid=8,verb=
[ 41.586648] JOEY: write- nid=8,verb=
[ 41.586706] JOEY: write- nid=7,verb=
[ 41.586771] JOEY: write- nid=7,verb=
[ 41.586828] JOEY: write- nid=7,verb=
[ 41.586895] JOEY: write- nid=7,verb=
[ 41.586961] JOEY: write- nid=7,verb=
[ 41.587018] JOEY: write- nid=7,verb=
[ 41.587083] JOEY: write- nid=7,verb=
[ 41.587140] JOEY: write- nid=7,verb=
[ 41.587207] JOEY: write- nid=7,verb=
[ 41.587273] JOEY: write- nid=7,verb=
[ 41.587330] JOEY: write- nid=3,verb=
[ 41.587396] JOEY: write- nid=3,verb=
[ 41.599218] JOEY: read- nid=2,verb=
[ 41.599274] JOEY: read- result=0
[ 41.599278] JOEY: write- nid=2,verb=
[ 41.599327] JOEY: read- nid=2,verb=
[ 41.599394] JOEY: read- result=0
[ 41.604039] JOEY: write- nid=2,verb=
[ 41.606630] JOEY: read- nid=14,
[ 41.606686] JOEY: read- result=20
[ 41.606722] JOEY: read- nid=12,
[ 41.606767] JOEY: read- result=24
[ 41.608841] JOEY: read- nid=4,verb=
[ 41.608897] JOEY: read- result=0
[ 41.608899] JOEY: write- nid=4,verb=
[ 41.608956] JOEY: read- nid=4,verb=
[ 41.609023] JOEY: read- result=0
[ 41.620071] JOEY: write- nid=4,verb=
[ 41.625560] JOEY: read- nid=14,
[ 41.625636] JOEY: read- result=20
[ 41.625677] JOEY: read- nid=12,
[ 41.625732] JOEY: read- result=24
[ 41.680835] JOEY: write- nid=3,verb=
[ 41.680904] JOEY: write- nid=3,verb=
[ 41.681069] JOEY: write- nid=3,verb=
[ 41.681129] JOEY: read- nid=3,verb=
[ 41.681188] JOEY: read- result=0
[ 41.681191] JOEY: write- nid=3,verb=
[ 41.681247] JOEY: read- nid=3,verb=
[ 41.681314] JOEY: read- result=4011
[ 41.681317] JOEY: write- nid=3,verb=
[ 41.681418] JOEY: write- nid=3,verb=
[ 41.681488] JOEY: write- nid=3,verb=
[ 41.681820] JOEY: read- nid=14,
[ 41.681877] JOEY: read- result=20
[ 41.681914] JOEY: read- nid=12,
[ 41.681979] JOEY: read- result=24
[ 41.684794] JOEY: write- nid=3,verb=
[ 41.684851] JOEY: write- nid=3,verb=
[ 41.694946] JOEY: read- nid=14,
[ 41.695004] JOEY: read- result=20
[ 41.695043] JOEY: read- nid=12,
[ 41.695099] JOEY: read- result=24
[ 41.731070] JOEY: read- nid=14,
[ 41.731128] JOEY: read- result=20
[ 41.731167] JOEY: read- nid=12,
[ 41.731223] JOEY: read- result=24
[ 47.836051] JOEY: write- nid=f,verb=
[ 47.836124] JOEY: write- nid=10,
[ 48.040049] JOEY: read- nid=f,verb=
[ 48.040102] JOEY: read- result=0
[ 48.040105] JOEY: read- nid=10,
[ 48.040162] JOEY: read- result=0
[ 48.040165] JOEY: read- nid=11,
[ 48.040203] JOEY: read- result=0
[ 48.040206] JOEY: read- nid=12,
[ 48.040245] JOEY: read- result=0
[ 48.040247] JOEY: read- nid=13,
[ 48.040286] JOEY: read- result=0
[ 48.040289] JOEY: read- nid=14,
[ 48.040328] JOEY: read- result=0
[ 48.040331] JOEY: read- nid=15,
[ 48.040370] JOEY: read- result=0
[ 48.040372] JOEY: read- nid=16,
[ 48.040411] JOEY: read- result=0
[ 48.040414] JOEY: read- nid=17,
[ 48.040453] JOEY: read- result=0
[ 48.040455] JOEY: read- nid=18,
[ 48.040495] JOEY: read- result=0
[ 48.040497] JOEY: read- nid=19,
[ 48.040536] JOEY: read- result=0
[ 48.040540] JOEY: write- nid=2,verb=
[ 48.040578] JOEY: write- nid=2,verb=
[ 48.040620] JOEY: write- nid=4,verb=
[ 48.040661] JOEY: write- nid=4,verb=
[ 48.040703] JOEY: write- nid=3,verb=
[ 48.040744] JOEY: write- nid=3,verb=
[ 48.144047] JOEY: read- nid=1,verb=
[ 48.144102] JOEY: read- result=0
Revision history for this message
|
#12 |
Here is a link that may help and that you should read all the way through:
http://
I suggest installing and using the codecgraph package from Ubuntu universe repository, hda-jack-retask package from ppa:diwic/hda and snd-hda-tools package from ppa:diwic/hda repository to assist in troubleshooting.
Revision history for this message
|
#13 |
Thanks, I will try it.
Anyway, analyze part of the read/write, and many VERB not listed in the datasheet.
[ 28.608401] JOEY: read- nid=0,verb=
[ 28.608454] JOEY: read- result=10ec0260
Get Vendor ID [verb ID=F00h means get parameters]
[ 28.608456] JOEY: read- nid=0,verb=
[ 28.608496] JOEY: read- result=0
Get Subsystem ID: not ALC260 and ALC260-LF, for others
[ 28.608498] JOEY: read- nid=0,verb=
[ 28.608540] JOEY: read- result=100400
Get Revision ID, MajRev=1, MinRev=0, Revision ID=04, Stepping ID=0
[ 28.608543] JOEY: read- nid=0,verb=
[ 28.608677] JOEY: read- result=10001
Get Subordinate Node Count, Starting Node Number=1, Total Number of Nodes=1
[ 28.608680] JOEY: read- nid=1,verb=
[ 28.608731] JOEY: read- result=101
N/A
[ 28.608734] JOEY: read- nid=1,verb=
[ 28.608796] JOEY: read- result=2001a
N/A
[ 28.608801] JOEY: read- nid=2,verb=
[ 28.608871] JOEY: read- result=11
[ 28.608874] JOEY: read- nid=3,verb=
[ 28.608938] JOEY: read- result=211
[ 28.608941] JOEY: read- nid=4,verb=
[ 28.608993] JOEY: read- result=10011b
[ 28.608996] JOEY: read- nid=5,verb=
[ 28.609047] JOEY: read- result=10011b
[ 28.609050] JOEY: read- nid=6,verb=
[ 29.612031] JOEY: read- result=100391
[ 29.612034] JOEY: read- nid=7,verb=
[ 30.616022] JOEY: read- result=20010b
[ 30.616025] JOEY: read- nid=8,verb=
[ 31.620090] JOEY: read- result=20010f
[ 31.620093] JOEY: read- nid=9,verb=
[ 31.620147] JOEY: read- result=20010f
[ 31.620150] JOEY: read- nid=a,verb=
[ 31.620203] JOEY: read- result=20010e
[ 31.620206] JOEY: read- nid=b,verb=
[ 31.620248] JOEY: read- result=300101
[ 31.620250] JOEY: read- nid=c,verb=
[ 31.620291] JOEY: read- result=300101
[ 31.620294] JOEY: read- nid=d,verb=
[ 31.620347] JOEY: read- result=300101
[ 31.620349] JOEY: read- nid=e,verb=
[ 31.620390] JOEY: read- result=300101
[ 31.620393] JOEY: read- nid=f,verb=
[ 31.620434] JOEY: read- result=40018d
[ 31.620437] JOEY: read- nid=10,
[ 31.620479] JOEY: read- result=40018d
[ 31.620481] JOEY: read- nid=11,
[ 31.620535] JOEY: read- result=40010c
[ 31.620537] JOEY: read- nid=12,
[ 31.620579] JOEY: read- result=40018d
[ 31.620581] JOEY: read- nid=13,
[ 31.620622] JOEY: read- result=40018d
[ 31.620625] JOEY: read- nid=14,
[ 31.620666] JOEY: read- result=40018d
[ 31.620669] JOEY: read- nid=15,
[ 31.620721] JOEY: read- result=40018d
[ 31.620724] JOEY: read- nid=16,
[ 31.620765] JOEY: read- result=400001
[ 31.620768] JOEY: read- nid=17,
[ 31.620809] JOEY: read- result=400000
[ 31.620812] JOEY: read- nid=18,
[ 31.620853] JOEY: read- result=400380
[ 31.620855] JOEY: read- nid=19,
[ 31.620908] JOEY: read- result=400280
[ 31.620911] JOEY: read- nid=1a,
[ 31.620953] JOEY: read- result=f00040
[ 31.620956] JOEY: read- nid=1b,
[ 31.620996] JOEY: read- result=600080
[ 31.621000] JOEY: read- nid=f,verb=
[ 31.621053] JOEY: read- result=1014110
8.23 Get Configuration Default for each pin widget, NID=0Fh,
[ 31.621056] JOEY: read- nid=f,verb=
[ 31.621097] JOEY: read- result=20
8.17 Get Pin Widget Control, NID=0Fh,
[ 31.621100] JOEY: read- nid=10,
[ 31.621141] JOEY: read- result=411111f0
[ 31.621144] JOEY: read- nid=10,
[ 31.621185] JOEY: read- result=20
[ 31.621188] JOEY: read- nid=11,
[ 31.621240] JOEY: read- result=411111f0
[ 31.621243] JOEY: read- nid=11,
[ 31.621284] JOEY: read- result=40
[ 31.621287] JOEY: read- nid=12,
[ 31.621328] JOEY: read- result=1a19c30
[ 31.621331] JOEY: read- nid=12,
[ 31.621372] JOEY: read- result=21
[ 31.621374] JOEY: read- nid=13,
[ 31.621427] JOEY: read- result=411111f0
[ 31.621430] JOEY: read- nid=13,
[ 31.621471] JOEY: read- result=20
[ 31.621474] JOEY: read- nid=14,
[ 31.621515] JOEY: read- result=411111f0
[ 31.621517] JOEY: read- nid=14,
[ 31.621558] JOEY: read- result=20
[ 31.621561] JOEY: read- nid=15,
[ 31.621602] JOEY: read- result=411111f0
[ 31.621605] JOEY: read- nid=15,
[ 31.621658] JOEY: read- result=20
[ 31.621660] JOEY: read- nid=16,
[ 31.621702] JOEY: read- result=411111f0
[ 31.621704] JOEY: read- nid=16,
[ 31.621745] JOEY: read- result=0
[ 31.621748] JOEY: read- nid=17,
[ 31.621789] JOEY: read- result=411111f0
[ 31.621792] JOEY: read- nid=17,
[ 31.621845] JOEY: read- result=0
[ 31.621847] JOEY: read- nid=18,
[ 31.621888] JOEY: read- result=411111f0
[ 31.621891] JOEY: read- nid=18,
[ 31.621932] JOEY: read- result=0
[ 31.621934] JOEY: read- nid=19,
[ 31.621975] JOEY: read- result=411111f0
[ 31.621978] JOEY: read- nid=19,
[ 31.622031] JOEY: read- result=0
[ 31.622033] JOEY: read- nid=1,verb=
[ 31.622074] JOEY: read- result=103c0000
8.40 Get Subsystem ID
[ 31.622077] JOEY: read- nid=1,verb=
[ 31.622118] JOEY: read- result=0
8.14 Set Power State
[ 31.622121] JOEY: read- nid=1,verb=
[ 31.622162] JOEY: read- result=0
[ 31.622178] JOEY: read- nid=0,verb=
[ 31.622219] JOEY: read- result=14f12bfa
[ 31.622222] JOEY: read- nid=0,verb=
[ 31.622263] JOEY: read- result=0
[ 31.622265] JOEY: read- nid=0,verb=
[ 31.622306] JOEY: read- result=90000
[ 31.622309] JOEY: read- nid=0,verb=
[ 31.622350] JOEY: read- result=20001
[ 31.622353] JOEY: read- nid=2,verb=
[ 31.622405] JOEY: read- result=102
[ 31.622408] JOEY: read- nid=2,verb=
[ 31.622449] JOEY: read- result=700004
[ 31.622452] JOEY: read- nid=70,
[ 31.622493] JOEY: read- result=f00000
[ 31.622496] JOEY: read- nid=71,
[ 31.622537] JOEY: read- result=100100
[ 31.622539] JOEY: read- nid=72,
[ 31.622592] JOEY: read- result=0
[ 31.622595] JOEY: read- nid=73,
[ 31.622636] JOEY: read- result=400100
[ 31.622639] JOEY: read- nid=73,
[ 31.622680] JOEY: read- result=16a0000
[ 31.622682] JOEY: read- nid=73,
[ 31.622723] JOEY: read- result=1
[ 31.622726] JOEY: read- nid=2,verb=
[ 31.622767] JOEY: read- result=103c30ba
[ 31.622770] JOEY: read- nid=2,verb=
[ 31.622822] JOEY: read- result=0
[ 31.636286] JOEY: read- nid=2,verb=
[ 31.636333] JOEY: read- result=0
[ 31.905510] JOEY: read- nid=2,verb=
[ 31.905559] JOEY: read- result=e0560
[ 31.905563] JOEY: read- nid=2,verb=
[ 31.905615] JOEY: read- result=1
[ 31.905618] JOEY: read- nid=4,verb=
[ 31.905659] JOEY: read- result=60160
[ 31.905662] JOEY: read- nid=4,verb=
[ 31.905703] JOEY: read- result=1
[ 31.942439] JOEY: read- nid=3,verb=
[ 31.942496] JOEY: read- result=1e0560
[ 31.942499] JOEY: read- nid=3,verb=
[ 31.942552] JOEY: read- result=1
[ 31.958195] JOEY: write- nid=14,
8.18 Set Pin Widget Control
[ 31.958239] JOEY: write- nid=16,
[ 31.958290] JOEY: write- nid=12,
[ 31.958348] JOEY: write- nid=13,
[ 31.958385] JOEY: write- nid=15,
[ 31.958503] JOEY: write- nid=e,verb=
8.3 Set Connection Select
[ 31.958558] JOEY: write- nid=f,verb=
[ 31.958600] JOEY: write- nid=10,
[ 31.958644] JOEY: write- nid=11,
[ 31.958701] JOEY: write- nid=4,verb=
N/A
[ 31.958746] JOEY: write- nid=4,verb=
[ 31.958788] JOEY: write- nid=5,verb=
[ 31.958845] JOEY: write- nid=5,verb=
[ 31.958893] JOEY: write- nid=8,verb=
[ 31.958989] JOEY: write- nid=f,verb=
[ 31.959031] JOEY: write- nid=9,verb=
[ 31.959074] JOEY: write- nid=10,
[ 31.959116] JOEY: write- nid=a,verb=
[ 31.959158] JOEY: write- nid=11,
[ 31.959200] JOEY: write- nid=15,
[ 31.959243] JOEY: write- nid=7,verb=
[ 31.959286] JOEY: write- nid=7,verb=
[ 31.959329] JOEY: write- nid=7,verb=
[ 31.959385] JOEY: write- nid=7,verb=
[ 31.959429] JOEY: write- nid=7,verb=
[ 31.959473] JOEY: write- nid=8,verb=
[ 31.959517] JOEY: write- nid=8,verb=
[ 31.959575] JOEY: write- nid=9,verb=
[ 31.959688] JOEY: write- nid=9,verb=
[ 31.959743] JOEY: write- nid=a,verb=
[ 31.959785] JOEY: write- nid=a,verb=
[ 31.959829] JOEY: write- nid=f,verb=
[ 31.969424] JOEY: write- nid=b,verb=
[ 31.969470] JOEY: write- nid=d,verb=
[ 31.969512] JOEY: write- nid=f,verb=
[ 31.969554] JOEY: write- nid=1a,
[ 31.969596] JOEY: write- nid=1a,
[ 31.969673] JOEY: read- nid=3,verb=
[ 31.969726] JOEY: read- result=0
8.36 Get Digital Converter Control
[ 32.073089] JOEY: read- nid=8,verb=
[ 32.073148] JOEY: read- result=34040
[ 32.073251] JOEY: read- nid=7,verb=
[ 32.073307] JOEY: read- result=80034123
[ 32.073384] JOEY: read- nid=4,verb=
[ 32.073428] JOEY: read- result=80032300
[ 32.073616] JOEY: read- nid=8,verb=
[ 32.073661] JOEY: read- result=0
[ 32.073664] JOEY: write- nid=8,verb=
[ 32.073706] JOEY: read- nid=8,verb=
[ 32.073747] JOEY: read- result=0
[ 32.073749] JOEY: write- nid=8,verb=
[ 32.073798] JOEY: read- nid=8,verb=
[ 32.073851] JOEY: read- result=80
[ 32.073853] JOEY: write- nid=8,verb=
[ 32.073895] JOEY: read- nid=8,verb=
[ 32.073935] JOEY: read- result=80
[ 32.073938] JOEY: write- nid=8,verb=
[ 32.073992] JOEY: read- nid=8,verb=
[ 32.074033] JOEY: read- result=80
[ 32.074036] JOEY: write- nid=8,verb=
[ 32.074077] JOEY: read- nid=8,verb=
[ 32.074118] JOEY: read- result=80
[ 32.074120] JOEY: write- nid=8,verb=
[ 32.074177] JOEY: read- nid=7,verb=
[ 32.074219] JOEY: read- result=80
[ 32.074222] JOEY: write- nid=7,verb=
[ 32.074265] JOEY: read- nid=7,verb=
[ 32.074309] JOEY: read- result=80
[ 32.074311] JOEY: write- nid=7,verb=
[ 32.074376] JOEY: read- nid=7,verb=
[ 32.074432] JOEY: read- result=80
[ 32.074435] JOEY: read- nid=7,verb=
[ 32.074491] JOEY: read- result=80
[ 32.074494] JOEY: read- nid=7,verb=
[ 32.074538] JOEY: read- result=80
[ 32.074541] JOEY: read- nid=7,verb=
[ 32.074597] JOEY: read- result=80
[ 32.074600] JOEY: read- nid=7,verb=
[ 32.074644] JOEY: read- result=80
[ 32.074647] JOEY: read- nid=7,verb=
[ 32.074703] JOEY: read- result=80
[ 32.074706] JOEY: read- nid=7,verb=
[ 32.074762] JOEY: read- result=80
[ 32.074765] JOEY: read- nid=7,verb=
[ 32.074809] JOEY: read- result=80
[ 32.074820] JOEY: read- nid=12,
[ 32.074864] JOEY: read- result=24
[ 32.074883] JOEY: write- nid=7,verb=
[ 32.074928] JOEY: write- nid=7,verb=
[ 32.074989] JOEY: read- nid=14,
[ 32.075034] JOEY: read- result=20
[ 32.075036] JOEY: write- nid=14,
[ 32.075082] JOEY: read- nid=14,
[ 32.075137] JOEY: read- result=0
[ 32.075139] JOEY: write- nid=14,
[ 32.075181] JOEY: read- nid=14,
[ 32.075223] JOEY: read- result=0
[ 32.075226] JOEY: write- nid=14,
[ 32.075267] JOEY: read- nid=14,
[ 32.075308] JOEY: read- result=80
[ 32.075310] JOEY: write- nid=14,
[ 32.075363] JOEY: read- nid=14,
[ 32.075404] JOEY: read- result=80
[ 32.075407] JOEY: write- nid=14,
[ 32.075464] JOEY: write- nid=7,verb=
[ 32.075517] JOEY: write- nid=7,verb=
[ 32.075571] JOEY: read- nid=4,verb=
[ 32.075612] JOEY: read- result=0
[ 32.075615] JOEY: read- nid=4,verb=
[ 32.075656] JOEY: read- result=0
[ 32.075674] JOEY: write- nid=4,verb=
[ 32.075727] JOEY: write- nid=4,verb=
[ 32.075809] JOEY: write- nid=3,verb=
8.37 Set Digital Converter Contgrol 1 & Control 2
[ 32.075871] JOEY: read- nid=7,verb=
[ 32.075913] JOEY: read- result=a3
[ 32.075915] JOEY: write- nid=7,verb=
[ 32.075968] JOEY: read- nid=7,verb=
[ 32.076032] JOEY: read- result=a3
[ 32.076035] JOEY: write- nid=7,verb=
[ 35.233725] JOEY: read- nid=2,verb=
[ 35.233768] JOEY: read- result=0
8.15 Get Converter Stream
[ 35.233772] JOEY: write- nid=2,verb=
8.16 Set Converter Stream
[ 35.233825] JOEY: read- nid=2,verb=
[ 35.233866] JOEY: read- result=20
[ 35.240090] JOEY: write- nid=2,verb=
[ 35.322407] JOEY: read- nid=14,
[ 35.322455] JOEY: read- result=40
[ 35.322497] JOEY: read- nid=12,
[ 35.322539] JOEY: read- result=24
[ 35.324992] JOEY: read- nid=4,verb=
[ 35.325034] JOEY: read- result=0
[ 35.325037] JOEY: write- nid=4,verb=
[ 35.325079] JOEY: read- nid=4,verb=
[ 35.325120] JOEY: read- result=20
[ 35.332056] JOEY: write- nid=4,verb=
[ 35.450122] JOEY: read- nid=14,
[ 35.450180] JOEY: read- result=40
[ 35.450223] JOEY: read- nid=12,
[ 35.450264] JOEY: read- result=24
[ 35.501220] JOEY: write- nid=3,verb=
[ 35.501265] JOEY: write- nid=3,verb=
[ 35.501362] JOEY: write- nid=3,verb=
[ 35.501420] JOEY: read- nid=3,verb=
[ 35.501473] JOEY: read- result=0
[ 35.501476] JOEY: write- nid=3,verb=
[ 35.501517] JOEY: read- nid=3,verb=
[ 35.501558] JOEY: read- result=20
[ 35.508041] JOEY: write- nid=3,verb=
[ 35.508085] JOEY: write- nid=3,verb=
[ 35.508194] JOEY: write- nid=3,verb=
[ 35.508251] JOEY: write- nid=3,verb=
[ 35.514377] JOEY: read- nid=14,
[ 35.514432] JOEY: read- result=40
[ 35.514470] JOEY: read- nid=12,
[ 35.514523] JOEY: read- result=24
[ 35.517174] JOEY: write- nid=3,verb=
[ 35.517230] JOEY: write- nid=3,verb=
[ 35.525171] JOEY: read- nid=14,
[ 35.525227] JOEY: read- result=40
[ 35.525264] JOEY: read- nid=12,
[ 35.525306] JOEY: read- result=24
[ 35.543364] JOEY: read- nid=14,
[ 35.543408] JOEY: read- result=40
[ 35.543448] JOEY: read- nid=12,
[ 35.543489] JOEY: read- result=24
[ 43.154574] JOEY: read- nid=14,
[ 43.154620] JOEY: read- result=40
[ 43.154655] JOEY: read- nid=12,
[ 43.154697] JOEY: read- result=24
[ 43.163007] JOEY: read- nid=14,
[ 43.163053] JOEY: read- result=40
[ 43.163093] JOEY: read- nid=12,
[ 43.163135] JOEY: read- result=24
[ 43.214099] JOEY: write- nid=3,verb=
[ 43.214143] JOEY: write- nid=3,verb=
[ 43.214292] JOEY: write- nid=3,verb=
[ 43.214351] JOEY: write- nid=3,verb=
[ 43.214441] JOEY: write- nid=3,verb=
[ 43.214498] JOEY: write- nid=3,verb=
[ 43.214810] JOEY: read- nid=14,
[ 43.214865] JOEY: read- result=40
[ 43.214901] JOEY: read- nid=12,
[ 43.214954] JOEY: read- result=24
[ 43.217414] JOEY: write- nid=3,verb=
[ 43.217457] JOEY: write- nid=3,verb=
[ 43.225270] JOEY: read- nid=14,
[ 43.225313] JOEY: read- result=40
[ 43.225350] JOEY: read- nid=12,
[ 43.225392] JOEY: read- result=24
[ 43.245836] JOEY: read- nid=14,
[ 43.245892] JOEY: read- result=40
[ 43.245934] JOEY: read- nid=12,
[ 43.245975] JOEY: read- result=24
Revision history for this message
|
#14 |
Mark, your answer is very intesting.
codecgraph
Reading codec data from /proc/asound/
Codec: Realtek ALC260
Node 0x04: Amp-In vals count is wrong: values found: 7. expected: 1
Node 0x05: Amp-In vals count is wrong: values found: 8. expected: 1
Generating codec#0.svg
So codecgraph points out some val is wrong for these two NIDs.
Need to know what it means and how to deal with codec#0.svg
Revision history for this message
|
#15 |
OK, codec#0.svg can be reviewed by installed picture viewer.
Save below as a svg file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: _anonymous_0 Pages: 1 -->
<svg width="3394pt" height="1292pt"
viewBox="0.00 0.00 3394.00 1292.00" xmlns="http://
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1288)">
<title>
<polygon fill="white" stroke="white" points="-4,5 -4,-1288 3391,-1288 3391,5 -4,5"/>
<g id="graph2" class="
<polygon fill="none" stroke="#cccccc" points="971,-1085 971,-1163 1075,-1163 1075,-1085 971,-1085"/>
</g>
<g id="graph3" class="
<polygon fill="none" stroke="#cccccc" points="83,-1094 83,-1172 257,-1172 257,-1094 83,-1094"/>
</g>
<g id="graph4" class="
<polygon fill="none" stroke="#cccccc" points="613,-149 613,-227 1075,-227 1075,-149 613,-149"/>
</g>
<g id="graph5" class="
<polygon fill="none" stroke="#cccccc" points="1363,-303 1363,-381 1825,-381 1825,-303 1363,-303"/>
</g>
<g id="graph6" class="
<polygon fill="none" stroke="#cccccc" points="561,-1189 561,-1267 735,-1267 735,-1189 561,-1189"/>
</g>
<g id="graph7" class="
<polygon fill="none" stroke="#cccccc" points="532,-235 532,-969 1082,-969 1082,-235 532,-235"/>
</g>
<g id="graph8" class="
<polygon fill="none" stroke="#cccccc" points="1282,-793 1282,-975 2102,-975 2102,-793 1282,-793"/>
</g>
<g id="graph9" class="
<polygon fill="none" stroke="#cccccc" points="1282,-603 1282,-785 2102,-785 2102,-603 1282,-603"/>
</g>
<g id="graph10" class="
<polygon fill="none" stroke="#cccccc" points="1282,-987 1282,-1169 2102,-1169 2102,-987 1282,-987"/>
</g>
<g id="graph11" class="
<polygon fill="none" stroke="#cccccc" points="2391,-543 2391,-647 2537,-647 2537,-543 2391,-543"/>
</g>
<g id="graph12" class="
<polygon fill="none" stroke="#cccccc" points="2391,-879 2391,-983 2537,-983 2537,-879 2391,-879"/>
</g>
<g id="graph13" class="
<polygon fill="none" stroke="#cccccc" points="2391,-767 2391,-871 2537,-871 2537,-767 2391,-767"/>
</g>
<g id="graph14" class="
<polygon fill="none" stroke="#cccccc" points="2391,-655 2391,-759 2537,-759 2537,-655 2391,-655"/>
</g>
<g id="graph15" class="
<polygon fill="none" stroke="#cccccc" points="2302,-991 2302,-1087 3002,-1087 3002,-991 2302,-991"/>
</g>
<g id="graph16" class="
<polygon fill="none" stroke="#cccccc" points="8,-8 8,-104 332,-104 332,-8 8,-8"/>
</g>
<g id="graph17" class="
<polygon fill="none" stroke="#cccccc" points="2302,-439 2302,-535 3002,-535 3002,-439 2302,-439"/>
</g>
<g id="graph18" class="
<polygon fill="none" stroke="#cccccc" points="8,-894 8,-990 332,-990 332,-894 8,-894"/>
</g>
<g id="graph19" class="
<polygon fill="none" stroke="#cccccc" points="2359,-1095 2359,-1191 2569,-1191 2569,-1095 2359,-1095"/>
</g>
<g id="graph21" class="
<polygon fill="none" stroke="#cccccc" points="2826,-547 2826,-643 3378,-643 3378,-547 2826,-547"/>
</g>
<g id="graph22" class="
<polygon fill="none" stroke="#cccccc" points="29,-582 29,-678 311,-678 311,-582 29,-582"/>
</g>
<g id="graph23" class="
<polygon fill="none" stroke="#cccccc" points="2826,-883 2826,-979 3378,-979 3378,-883 2826,-883"/>
</g>
<g id="graph24" class="
<polygon fill="none" stroke="#cccccc" points="29,-320 29,-416 311,-416 311,-320 29,-320"/>
</g>
<g id="graph25" class="
<polygon fill="none" stroke="#cccccc" points="2826,-771 2826,-867 3378,-867 3378,-771 2826,-771"/>
</g>
<g id="graph26" class="
<polygon fill="none" stroke="#cccccc" points="29,-216 29,-312 311,-312 311,-216 29,-216"/>
</g>
<g id="graph27" class="
<polygon fill="none" stroke="#cccccc" points="2826,-659 2826,-755 3378,-755 3378,-659 2826,-659"/>
</g>
<g id="graph28" class="
<polygon fill="none" stroke="#cccccc" points="29,-790 29,-886 311,-886 311,-790 29,-790"/>
</g>
<g id="graph30" class="
<polygon fill="none" stroke="#cccccc" points="65,-112 65,-208 275,-208 275,-112 65,-112"/>
</g>
<g id="graph32" class="
<polygon fill="none" stroke="#cccccc" points="65,-686 65,-782 275,-782 275,-686 65,-686"/>
</g>
<g id="graph33" class="
<polygon fill="none" stroke="#cccccc" points="543,-1085 543,-1181 753,-1181 753,-1085 543,-1085"/>
</g>
<g id="graph36" class="
<polygon fill="none" stroke="#cccccc" points="65,-1180 65,-1276 275,-1276 275,-1180 65,-1180"/>
</g>
<!-- nid-02 -->
<g id="node2" class="
<ellipse fill="none" stroke="blue" cx="1023" cy="-1124" rx="43.8406" ry="31.1127"/>
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="node70" class="
<polygon fill="none" stroke="#0000ff" points=
<text text-anchor=
</g>
<!-- nid-
<g id="edge83" class="
<path fill="none" stroke="#333333" d="M1057.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="node80" class="
<polygon fill="none" stroke="#c8c8c8" points=
<text text-anchor=
</g>
<!-- nid-
<g id="edge94" class="
<path fill="none" stroke="#333333" d="M1054.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="node90" class="
<polygon fill="none" stroke="#c8c8c8" points=
<text text-anchor=
</g>
<!-- nid-
<g id="edge105" class="
<path fill="none" stroke="#333333" d="M1067.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-03 -->
<g id="node4" class="
<ellipse fill="none" stroke="blue" cx="170" cy="-1133" rx="79.196" ry="31.1127"/>
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-18-in -->
<g id="node157" class="
<polygon fill="none" stroke="green" points="745,-1173 551,-1173 551,-1093 745,-1093 745,-1173"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge175" class="
<path fill="none" stroke="#333333" d="M249.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-04 -->
<g id="node6" class="
<ellipse fill="none" stroke="red" cx="1023" cy="-188" rx="43.8406" ry="31.1127"/>
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="node7" class="
<polygon fill="none" stroke="#c2c2c9" points="675,-201 634.5,-219 634.5,-183 675,-201"/>
</g>
<!-- nid-
<g id="edge5" class="
<path fill="none" stroke="#c2c2c9" d="M673.
<polygon fill="#c2c2c9" stroke="#c2c2c9" points=
</g>
<!-- nid-12-out -->
<g id="node9" class="
<polygon fill="none" stroke="green" points="302,-670 38,-670 38,-590 302,-590 302,-670"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge7" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node25" class="
<polygon fill="none" stroke="#0000ff" points="1425,-342 1384.5,-360 1384.5,-324 1425,-342"/>
</g>
<!-- nid-
<g id="edge24" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node41" class="
<polygon fill="none" stroke="#5c5ce5" points="754.98,-648 594.51,-684.77 594.51,-611.23 754.98,-648"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge60" class="
<path fill="none" stroke="#333333" d="M302.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-13-out -->
<g id="node11" class="
<polygon fill="none" stroke="green" points="302,-408 38,-408 38,-328 302,-328 302,-408"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge9" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge26" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node43" class="
<polygon fill="none" stroke="#c8c8c8" points="754.98,-556 594.51,-592.77 594.51,-519.23 754.98,-556"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge62" class="
<path fill="none" stroke="#333333" d="M271.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-14-out -->
<g id="node13" class="
<polygon fill="none" stroke="green" points="302,-304 38,-304 38,-224 302,-224 302,-304"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge11" class="
<path fill="none" stroke="#333333" d="M302.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="edge28" class="
<path fill="none" stroke="#333333" d="M300.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="node45" class="
<polygon fill="none" stroke="#5c5ce5" points="754.98,-464 594.51,-500.77 594.51,-427.23 754.98,-464"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge64" class="
<path fill="none" stroke="#333333" d="M301.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-15-out -->
<g id="node15" class="
<polygon fill="none" stroke="green" points="302,-878 38,-878 38,-798 302,-798 302,-878"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge13" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge30" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node47" class="
<polygon fill="none" stroke="#c8c8c8" points="754.98,-832 594.51,-868.77 594.51,-795.23 754.98,-832"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge66" class="
<path fill="none" stroke="#333333" d="M302.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-16-out -->
<g id="node17" class="
<polygon fill="none" stroke="green" points="267,-200 73,-200 73,-120 267,-120 267,-200"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge15" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge32" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node49" class="
<polygon fill="none" stroke="#5c5ce5" points="754.98,-372 594.51,-408.77 594.51,-335.23 754.98,-372"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge68" class="
<path fill="none" stroke="#333333" d="M267.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-0f-out -->
<g id="node19" class="
<polygon fill="none" stroke="green" points="324,-96 16,-96 16,-16 324,-16 324,-96"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge17" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge36" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node53" class="
<polygon fill="none" stroke="#c8c8c8" points="747.91,-280 598.045,-316.77 598.045,-243.23 747.91,-280"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge72" class="
<path fill="none" stroke="#333333" d="M303.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-10-out -->
<g id="node21" class="
<polygon fill="none" stroke="green" points="324,-982 16,-982 16,-902 324,-902 324,-982"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge19" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge38" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node55" class="
<polygon fill="none" stroke="#c8c8c8" points="754.98,-924 594.51,-960.77 594.51,-887.23 754.98,-924"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge74" class="
<path fill="none" stroke="#333333" d="M324.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-05 -->
<g id="node24" class="
<ellipse fill="none" stroke="red" cx="1773" cy="-342" rx="43.8406" ry="31.1127"/>
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge22" class="
<path fill="none" stroke="#0000ff" d="M1425.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-07 -->
<g id="node32" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge34" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="node72" class="
<polygon fill="none" stroke="#0000ff" points=
<text text-anchor=
</g>
<!-- nid-
<g id="edge85" class="
<path fill="none" stroke="#333333" d="M1058.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="node82" class="
<polygon fill="none" stroke="#c8c8c8" points=
<text text-anchor=
</g>
<!-- nid-
<g id="edge96" class="
<path fill="none" stroke="#333333" d="M1073.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="node92" class="
<polygon fill="none" stroke="#c8c8c8" points=
<text text-anchor=
</g>
<!-- nid-
<g id="edge107" class="
<path fill="none" stroke="#333333" d="M1043.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-06 -->
<g id="node37" class="
<ellipse fill="none" stroke="red" cx="648" cy="-1228" rx="79.196" ry="31.1127"/>
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-19-out -->
<g id="node38" class="
<polygon fill="none" stroke="green" points="267,-1268 73,-1268 73,-1188 267,-1188 267,-1268"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge41" class="
<path fill="none" stroke="#333333" d="M267.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="edge44" class="
<path fill="none" stroke="#5c5ce5" d="M755.
<polygon fill="#5c5ce5" stroke="#5c5ce5" points=
</g>
<!-- nid-
<g id="edge46" class="
<path fill="none" stroke="#c8c8c8" d="M700.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="edge48" class="
<path fill="none" stroke="#5c5ce5" d="M686.
<polygon fill="#5c5ce5" stroke="#5c5ce5" points=
</g>
<!-- nid-
<g id="edge50" class="
<path fill="none" stroke="#c8c8c8" d="M686.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="edge52" class="
<path fill="none" stroke="#5c5ce5" d="M691.
<polygon fill="#5c5ce5" stroke="#5c5ce5" points=
</g>
<!-- nid-
<g id="node51" class="
<polygon fill="none" stroke="#5c5ce5" points="754.98,-740 594.51,-776.77 594.51,-703.23 754.98,-740"/>
<text text-anchor=
</g>
<!-- nid-
<g id="edge54" class="
<path fill="none" stroke="#5c5ce5" d="M700.
<polygon fill="#5c5ce5" stroke="#5c5ce5" points=
</g>
<!-- nid-
<g id="edge56" class="
<path fill="none" stroke="#c8c8c8" d="M692.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="edge58" class="
<path fill="none" stroke="#c8c8c8" d="M691.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-17-out -->
<g id="node62" class="
<polygon fill="none" stroke="green" points="267,-774 73,-774 73,-694 267,-694 267,-774"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge70" class="
<path fill="none" stroke="#333333" d="M267.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-08 -->
<g id="node67" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="node68" class="
<polygon fill="none" stroke="#0000ff" points="2094,-838 2053.5,-856 2053.5,-820 2094,-838"/>
</g>
<!-- nid-
<g id="edge77" class="
<path fill="none" stroke="#0000ff" d="M1823.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-0b -->
<g id="node97" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge110" class="
<path fill="none" stroke="#333333" d="M2075.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-0c -->
<g id="node101" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge115" class="
<path fill="none" stroke="#333333" d="M2084.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-0d -->
<g id="node105" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge120" class="
<path fill="none" stroke="#333333" d="M2091.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-0e -->
<g id="node109" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge125" class="
<path fill="none" stroke="#333333" d="M2082.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-0f-in -->
<g id="node113" class="
<polygon fill="none" stroke="green" points="2618,-1079 2310,-1079 2310,-999 2618,-999 2618,-1079"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge133" class="
<path fill="none" stroke="#333333" d="M2077.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="edge79" class="
<path fill="none" stroke="#0000ff" d="M1450.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-
<g id="edge81" class="
<path fill="none" stroke="#0000ff" d="M1505.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-09 -->
<g id="node77" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="node78" class="
<polygon fill="none" stroke="#0000ff" points="2094,-707 2053.5,-725 2053.5,-689 2094,-707"/>
</g>
<!-- nid-
<g id="edge88" class="
<path fill="none" stroke="#0000ff" d="M1823.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-
<g id="edge112" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge117" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge122" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-
<g id="edge127" class="
<path fill="none" stroke="gray" stroke-
<polygon fill="gray" stroke="gray" points=
</g>
<!-- nid-10-in -->
<g id="node119" class="
<polygon fill="none" stroke="green" points="2618,-527 2310,-527 2310,-447 2618,-447 2618,-527"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge139" class="
<path fill="none" stroke="#333333" d="M2076.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="edge90" class="
<path fill="none" stroke="#c8c8c8" d="M1475.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="edge92" class="
<path fill="none" stroke="#c8c8c8" d="M1461.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-0a -->
<g id="node87" class="
<polygon fill="none" stroke="black" points=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="node88" class="
<polygon fill="none" stroke="#0000ff" points="2094,-1124 2053.5,-1142 2053.5,-1106 2094,-1124"/>
</g>
<!-- nid-
<g id="edge99" class="
<path fill="none" stroke="#0000ff" d="M1817.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-11-in -->
<g id="node125" class="
<polygon fill="none" stroke="green" points="2561,-1183 2367,-1183 2367,-1103 2561,-1103 2561,-1183"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge143" class="
<path fill="none" stroke="#333333" d="M2091.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="edge101" class="
<path fill="none" stroke="#c8c8c8" d="M1505.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="edge103" class="
<path fill="none" stroke="#c8c8c8" d="M1450.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-12-in -->
<g id="node129" class="
<polygon fill="none" stroke="green" points="3099,-635 2835,-635 2835,-555 3099,-555 3099,-635"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge149" class="
<path fill="none" stroke="#333333" d="M2515.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-13-in -->
<g id="node135" class="
<polygon fill="none" stroke="green" points="3099,-971 2835,-971 2835,-891 3099,-891 3099,-971"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge155" class="
<path fill="none" stroke="#333333" d="M2515.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-14-in -->
<g id="node141" class="
<polygon fill="none" stroke="green" points="3099,-859 2835,-859 2835,-779 3099,-779 3099,-859"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge161" class="
<path fill="none" stroke="#333333" d="M2515.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-15-in -->
<g id="node147" class="
<polygon fill="none" stroke="green" points="3099,-747 2835,-747 2835,-667 3099,-667 3099,-747"/>
<text text-anchor=
<text text-anchor=
<text text-anchor=
<text text-anchor=
</g>
<!-- nid-
<g id="edge167" class="
<path fill="none" stroke="#333333" d="M2515.
<polygon fill="#333333" stroke="#333333" points=
</g>
<!-- nid-
<g id="node114" class="
<polygon fill="none" stroke="#0000ff" points="2994,-1039 2953.5,-1057 2953.5,-1021 2994,-1039"/>
</g>
<!-- nid-
<g id="edge130" class="
<path fill="none" stroke="#0000ff" d="M2618.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-
<g id="node120" class="
<polygon fill="none" stroke="#0000ff" points="2994,-487 2953.5,-505 2953.5,-469 2994,-487"/>
</g>
<!-- nid-
<g id="edge136" class="
<path fill="none" stroke="#0000ff" d="M2618.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-
<g id="node130" class="
<polygon fill="none" stroke="#c8c8c8" points="3370,-595 3329.5,-613 3329.5,-577 3370,-595"/>
</g>
<!-- nid-
<g id="edge146" class="
<path fill="none" stroke="#c8c8c8" d="M3099.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="node136" class="
<polygon fill="none" stroke="#c8c8c8" points="3370,-931 3329.5,-949 3329.5,-913 3370,-931"/>
</g>
<!-- nid-
<g id="edge152" class="
<path fill="none" stroke="#c8c8c8" d="M3099.
<polygon fill="#c8c8c8" stroke="#c8c8c8" points=
</g>
<!-- nid-
<g id="node142" class="
<polygon fill="none" stroke="#0000ff" points="3370,-819 3329.5,-837 3329.5,-801 3370,-819"/>
</g>
<!-- nid-
<g id="edge158" class="
<path fill="none" stroke="#0000ff" d="M3099.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
<!-- nid-
<g id="node148" class="
<polygon fill="none" stroke="#0000ff" points="3370,-707 3329.5,-725 3329.5,-689 3370,-707"/>
</g>
<!-- nid-
<g id="edge164" class="
<path fill="none" stroke="#0000ff" d="M3099.
<polygon fill="#0000ff" stroke="#0000ff" points=
</g>
</g>
</svg>
Revision history for this message
|
#16 |
hda-verb /dev/snd/hwC0D0 0x0 0xf00 0
nid = 0x0, verb = 0xf00, param = 0x0
value = 0x10ec0260
So hda-verb is possible to debug without adding printk in kernel.
Revision history for this message
|
#17 |
Good news, I have enabled noise from speaker which approves it's problem of the codec problem. For sure I'm still not for sure what exactly can make it perfect.
Here's some interesting things. (So GPIO pins controls the switch for the speaker for sure)
1) Get GPIO ENABLE MASK
hda-verb /dev/snd/hwCOD0 0x01 0xF16 0x0
returns 0
2) Set GPIO ENABLE MASK
hda-verb /dev/snd/hwCOD0 0x01 0x716 0x0F
3) Get GPIO Direction
hda-verb /dev/snd/hwCOD0 0x01 0xF17 0x0
returns 0
4) Set GPIO Direction
hda-verb /dev/snd/hwCOD0 0x01 0x717 0x0F
5) Set GPIO Data
this also seems will enable/disable the noise depends on the giving value
Hope more can contribute to test.
Revision history for this message
|
#18 |
OK, tested with above settings, music plays, but much noise just like the headphone plays.
Alsa problem or others? Meanwhile, needs to find out which pin instead of 0xF acts
Revision history for this message
|
#19 |
OK, to enable speaker. Do like below which works well.
(After several months suffer and got the one week on source and debug, finally works. Sometimes have noise and sometimes not)
Steps: [Should works for all B1900 series]
0. sudo vi /etc/modprobe.
add below lines at the bottom of this file.
options snd-hda-intel model=will
1. Create a script file like compaq.sh
#!/bin/sh
sudo hda-verb /dev/snd/hwC0D0 0x1 0x716 0x01
sudo hda-verb /dev/snd/hwC0D0 0x1 0x717 0x01
2. run the script when you want to enable sound from speaker.
3. Use this script if you want make autostart under init.d.
4. Not sure if conflict with headphone since I seldom use it.
Revision history for this message
|
#20 |
Well, after test, sudo is not necessary. Not check /dev/snd/hwC0D0 permission. But you don't need to use sudo.
Meanwhile, use either one below to disable speaker.
hda-verb /dev/snd/hwC0D0 0x1 0x716 0x00
hda-verb /dev/snd/hwC0D0 0x1 0x717 0x00
Revision history for this message
|
#21 |
I use alsamixer, press F5, to adjust all volume below white zone (that is around 55), then all noise gone. Great. Hope helpful to ubuntu and alsa team. I don't want to go deep into code to add fix but if needing any information, I can give comments as I already go through patch_realtek.c.
Revision history for this message
|
#22 |
Previously, I'm using a kernel I compiled, after removing it, I realized I need sudo to execute hda-verb.
So please attention to this if you are using ubuntu official kernel. Btw, if you are using debian or any other linux version on B1900 series, this method should also works.
Revision history for this message
|
#23 |
Today, I tested headphone and earphone.
1) By default, headphone plays
2) After enable speaker, headphone stops and speaker plays
sudo hda-verb /dev/snd/hwC0D0 0x1 0x716 0x01
sudo hda-verb /dev/snd/hwC0D0 0x1 0x717 0x01
3) After disable speaker, headphone plays and speaker stops.
sudo hda-verb /dev/snd/hwC0D0 0x1 0x716 0x00
sudo hda-verb /dev/snd/hwC0D0 0x1 0x717 0x00
4) Alsa cannot detect headphone plug in event.
Revision history for this message
|
#24 |
Adding Headphone detection method:
1) If no headphone attached
sudo hda-verb /dev/snd/hwC0D0 0x0F 0xF09 0x0
nid = 0xf, verb = 0xf09, param = 0x0
value = 0x7fffffff
=>value =0x7fffffff means nothing attached
2) If headphone attached
$ sudo hda-verb /dev/snd/hwC0D0 0x0F 0xF09 0x0
nid = 0xf, verb = 0xf09, param = 0x0
value = 0x800000c8
=>value != 0x7fffffff means something attached
Revision history for this message
|
#25 |
Adding micphone detect:
$ sudo hda-verb /dev/snd/hwC0D0 0x12 0xF09 0x0
nid = 0x12, verb = 0xf09, param = 0x0
value = 0x800000c8
Revision history for this message
|
#26 |
I don't know how to use ppa to upload. But below is a script to easy switch between speaker and headphone.
Copy and paste in a file named b1900. save and give x permission. mv to /usr/bin/. use sudo b1900 to enable speaker if headphone not plugged in, if headphone plugged, it will disable speaker and enable headphone.
#!/bin/sh
VER=1.0.0
echo "Fix for HP COMPAQ B1900 series no sound from speaker when model=will"
echo "Version=$VER"
echo "USAGE: sudo b1900"
#1) Is Headphone attached
HEADPHONE_ON=FALSE
MICPHONE_ON=FALSE
TEMP=`hda-verb /dev/snd/hwC0D0 0x0F 0xF09 0x0`
TEMP=`echo $TEMP|awk -F "=" '{printf $2}'`
if test $TEMP = 0x7fffffff -o $TEMP = 0x7FFFFFFF
then
echo "HeadPhone not plugged in, enable Speaker"
HEADPHONE_ON=FALSE
hda-verb /dev/snd/hwC0D0 0x01 0x716 0x01
hda-verb /dev/snd/hwC0D0 0x01 0x717 0x01
else
echo "HeadPhone plugged in, disable Speaker"
HEADPHONE_ON=TRUE
hda-verb /dev/snd/hwC0D0 0x01 0x716 0x00
hda-verb /dev/snd/hwC0D0 0x01 0x717 0x00
fi
#2) Is Micphone attached?
#TEMP=`hda-verb /dev/snd/hwC0D0 0x12 0xF09 0x0`
#TEMP=`echo $TEMP|awk -F "=" '{printf $2}'`
#if test $TEMP = 0x7fffffff -o $TEMP = 0x7FFFFFFF
#then
# MICPHONE_ON=FALSE
#else
# MICPHONE_ON=TRUE
#fi
Revision history for this message
|
#27 |
Except above solution, there could be another two solutions:
1) refer to HD-Audio.txt
write a firmware patch file which executes during driver loading inside hda_intel.c
2) Modify patch_realtek.c
Modify alc260_init_verbs or alc260_will_verbs to include NID=01 controls which I think is the bug mentioned by ALSA as there is no any control to NID=01.
Revision history for this message
|
#28 |
I have posted the modified source code to alsa-group and hope they can add into next release. The fix can auto switch between speaker and headphone based on HP state.
The modification is based on ubuntu 11.10 lastest kernel source 3.0.13 (alsa version 1.0.24) for file patch_realtek.c under sound/pci/hda/.
Not modified file at http://
Modified file at http://
Revision history for this message
|
#29 |
Below is the diff of the patch. ALSA has replied and probably will merge.
--- patch_realtek.c.bk 2012-02-15 17:29:44.851620661 +0800
+++ patch_realtek.c 2012-02-15 17:29:40.887601285 +0800
@@ -80,6 +80,7 @@ enum {
ALC260_WILL,
ALC260_
ALC260_
+ ALC260_B1900,
#ifdef CONFIG_SND_DEBUG
ALC260_TEST,
#endif
@@ -1323,6 +1324,34 @@ static void alc_inithook(struct hda_code
alc_mic_
}
+/* toggle speaker-output according to the hp-jack state */
+static void alc260_
+{
+ unsigned int present;
+
+ present = snd_hda_
+ if (present) {
+ snd_hda_
+ AC_VERB_
+ snd_hda_
+ AC_VERB_
+ 0);
+ snd_hda_
+ AC_VERB_
+ PIN_HP);
+ } else {
+ snd_hda_
+ AC_VERB_
+ snd_hda_
+ AC_VERB_
+ 1);
+ snd_hda_
+ AC_VERB_
+ PIN_OUT);
+ }
+}
+
+
/* additional initialization for ALC888 variants */
static void alc888_
{
@@ -6899,6 +6928,18 @@ static const struct hda_verb alc260_will
{}
};
+static const struct hda_verb alc260_
+ {0x0f, AC_VERB_
+ {0x0b, AC_VERB_
+ {0x0d, AC_VERB_
+ {0x0f, AC_VERB_
+ {0x1a, AC_VERB_
+ {0x1a, AC_VERB_
+ {0x0f, AC_VERB_
+ {}
+};
+
+
static const struct hda_verb alc260_
{0x0f, AC_VERB_
{0x1a, AC_VERB_
@@ -6941,6 +6982,12 @@ static void alc260_
}
+static void alc260_
+ unsigned int res)
+{
+ if ((res >> 26) == ALC880_HP_EVENT)
+ alc260_
+}
static const struct hda_verb alc260_
{0x05, AC_VERB_
{0x15, AC_VERB_
@@ -7431,6 +7478,7 @@ static const char * const alc260_models[
[ALC260_WILL] = "will",
[ALC260_
[ALC260_
+ [ALC260_B1900] = "b1900",
#ifdef CONFIG_SND_DEBUG
[ALC260_TEST] = "test",
#endif
@@ -7458,6 +7506,7 @@ static const struct snd_pci_quirk alc260
SND_PCI_
SND_PCI_
SND_PCI_
+ SND_PCI_
{}
};
@@ -7570,6 +7619,20 @@ static const struct alc_config_preset al
.channel_mode = alc260_modes,
.input_mux = &alc260_
},
+ [ALC260_B1900] = {
+ .mixers = { alc260_will_mixer },
+ .init_verbs = { alc260_init_verbs, alc260_b1900_verbs },
+ .num_dacs = ARRAY_SIZE(
+ .dac_nids = alc260_dac_nids,
+ .num_adc_nids = ARRAY_SIZE(
+ .adc_nids = alc260_adc_nids,
+ .dig_out_nid = ALC260_DIGOUT_NID,
+ .num_channel_mode = ARRAY_SIZE(
+ .channel_mode = alc260_modes,
+ .input_mux = &alc260_
+ .unsol_event = alc260_
+ .init_hook = alc260_
+ },
[ALC260_
.mixers = { alc260_
.init_verbs = { alc260_init_verbs, alc260_
Revision history for this message
|
#30 |
ALSA Team has accepted to merge code into future release. The final diff code worked on my Ubuntu 11.10 with kernel 3.0.13 is below:
--- /usr/src/
+++ /usr/src/
@@ -80,6 +80,7 @@ enum {
ALC260_WILL,
ALC260_
ALC260_
+ ALC260_B1900,
#ifdef CONFIG_SND_DEBUG
ALC260_TEST,
#endif
@@ -1323,6 +1324,24 @@ static void alc_inithook(struct hda_code
alc_mic_
}
+/* toggle speaker-output according to the hp-jack state */
+static void alc260_
+{
+ unsigned int present;
+
+ present = snd_hda_
+ if (present) {
+ snd_hda_
+ AC_VERB_
+ 1);
+ } else {
+ snd_hda_
+ AC_VERB_
+ 0);
+ }
+}
+
+
/* additional initialization for ALC888 variants */
static void alc888_
{
@@ -6899,6 +6918,20 @@ static const struct hda_verb alc260_will
{}
};
+static const struct hda_verb alc260_
+ {0x0f, AC_VERB_
+ {0x0b, AC_VERB_
+ {0x0d, AC_VERB_
+ {0x0f, AC_VERB_
+ {0x1a, AC_VERB_
+ {0x1a, AC_VERB_
+ {0x01, AC_VERB_
+ {0x01, AC_VERB_
+ {0x0f, AC_VERB_
+ {}
+};
+
+
static const struct hda_verb alc260_
{0x0f, AC_VERB_
{0x1a, AC_VERB_
@@ -6941,6 +6974,12 @@ static void alc260_
}
+static void alc260_
+ unsigned int res)
+{
+ if ((res >> 26) == ALC880_HP_EVENT)
+ alc260_
+}
static const struct hda_verb alc260_
{0x05, AC_VERB_
{0x15, AC_VERB_
@@ -7431,6 +7470,7 @@ static const char * const alc260_models[
[ALC260_WILL] = "will",
[ALC260_
[ALC260_
+ [ALC260_B1900] = "b1900",
#ifdef CONFIG_SND_DEBUG
[ALC260_TEST] = "test",
#endif
@@ -7458,6 +7498,7 @@ static const struct snd_pci_quirk alc260
SND_PCI_
SND_PCI_
SND_PCI_
+ SND_PCI_
{}
};
@@ -7570,6 +7611,20 @@ static const struct alc_config_preset al
.channel_mode = alc260_modes,
.input_mux = &alc260_
},
+ [ALC260_B1900] = {
+ .mixers = { alc260_will_mixer },
+ .init_verbs = { alc260_init_verbs, alc260_b1900_verbs },
+ .num_dacs = ARRAY_SIZE(
+ .dac_nids = alc260_dac_nids,
+ .num_adc_nids = ARRAY_SIZE(
+ .adc_nids = alc260_adc_nids,
+ .dig_out_nid = ALC260_DIGOUT_NID,
+ .num_channel_mode = ARRAY_SIZE(
+ .channel_mode = alc260_modes,
+ .input_mux = &alc260_
+ .unsol_event = alc260_
+ .init_hook = alc260_
+ },
[ALC260_
.mixers = { alc260_
.init_verbs = { alc260_init_verbs, alc260_
Revision history for this message
|
#31 |
Thanks a lot and congratulations, Joey! Good job!
Revision history for this message
|
#32 |
refer to #24 and #25 ,
the presence detect bit is correct but the impedance of microphone should be higher than headphone
http://
does it need a delay after set_pin_sense before issue get_pin_sense ?
#24
2) If headphone attached
$ sudo hda-verb /dev/snd/hwC0D0 0x0F 0xF09 0x0
nid = 0xf, verb = 0xf09, param = 0x0
value = 0x800000c8
=>value != 0x7fffffff means something attached
Joey Jiao (tufeijoe) said on 2012-02-14:
#25
Adding micphone detect:
$ sudo hda-verb /dev/snd/hwC0D0 0x12 0xF09 0x0
nid = 0x12, verb = 0xf09, param = 0x0
value = 0x800000c8
Revision history for this message
|
#33 |
This works perfectly for me.
Thanks buddy :)