Skip to contentSkip to conversation

"modprobe snd_hda_intel" crashes on my hardware

PATCH Abdelghani Ouchabane 5 participants 26 messages Sep 27, 2011 – Sep 28, 2011 Sound

lore
Share & tools
lore
#0 lore raw
sound/pci/hda/patch_via.c +47 -1
diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c
@@ -891,6 +891,49 @@ static int via_auto_init(struct hda_code
 	return 0;
 }
 
+static int ezono_vt1708_init(struct hda_codec *codec)
+{
+    /* THis is added because Ezono sound card doesn't support auto detection */
+    
+    /* Port_A PW0 */
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x00);
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0x00);
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x00);
+
+    /* Port_B Pw1 */
+    snd_hda_codec_write(codec, 0x1d, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x40);
+    snd_hda_codec_write(codec, 0x1d, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x1d, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0xa0);
+    snd_hda_codec_write(codec, 0x1d, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x00);
+
+    /* Port_D PW3 */
+    snd_hda_codec_write(codec, 0x1f, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x10);
+    snd_hda_codec_write(codec, 0x1f, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x1f, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0x00);
+    snd_hda_codec_write(codec, 0x1f, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x01);
+
+    /* Port_E PW4 */
+    snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x00);
+    snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0x20);
+    snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x00);
+
+    /* Port_G PW6 */
+    snd_hda_codec_write(codec, 0x22, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x02);
+    snd_hda_codec_write(codec, 0x22, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x22, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0x00);
+    snd_hda_codec_write(codec, 0x22, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x00);
+
+    /* Port_H PW7 */
+    snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x04);
+    snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0x00);
+    snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x00);
+    
+    return 0;
+}
+
 static int patch_vt1708(struct hda_codec *codec)
 {
 	struct via_spec *spec;
@@ -902,7 +945,10 @@ static int patch_vt1708(struct hda_codec
 		return -ENOMEM;
 
 	codec->spec = spec;
-
+	
+	/* Init Ezono Sound card */
+	ezono_vt1708_init(codec);
+	
 	/* automatic parse from the BIOS config */
 	err = vt1708_parse_auto_config(codec);
 	if (err < 0) {

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Mon Aug 22 22:33:45 UTC 2011

!!Linux Distribution
!!------------------

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)

!!DMI Information
!!---------------

Manufacturer:
Product Name:
Product Version:

!!Kernel Information
!!------------------

Kernel release:    2.6.40.3-0.119.delos.i686
Operating System:  GNU/Linux
Architecture:      i686
Processor:         i686
SMP Enabled:       No

!!ALSA Version
!!------------

Driver version: 1.0.24
Library version:
Utilities version: 1.0.24.1

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

No sound servers found.

!!Soundcards recognised by ALSA
!!-----------------------------

0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xfea38000 irq 10

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)

!!Advanced information - PCI Vendor/Device/Subsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel

	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: VIA VT1708
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11061708
Subsystem Id: 0xffffffff
Revision Id: 0x100700
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x10 [Audio Output] wcaps 0x411: Stereo
Device: name="VT1708 Analog", type="Audio", device=0
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x13 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3
Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="VT1708 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x0f 0x0f]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Validity
Digital category: 0x0
PCM:

    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3
  Connection: 1
     0x26
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Master Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Master Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1
  Amp-In vals:  [0x18 0x18] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x10 0x24 0x1d 0x1e 0x21 0x13
Node 0x18 [Audio Selector] wcaps 0x300101: Stereo
  Control: name="Input Source", index=0, device=0
  Connection: 5
     0x17* 0x24 0x1d 0x1e 0x21

Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00]
Connection: 1

     0x11

Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00]
Connection: 1

     0x12

Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00]
Connection: 1

     0x13

Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x00 0x00]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x0000f000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Other DefAssociation = 0x0, Sequence = 0x0
Pin-ctls: 0x00:
Connection: 1

     0x19

Node 0x1d [Pin Complex] wcaps 0x400101: Stereo
Control: name="Smart 5.1", index=0, device=0
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0x00a0f040: [Jack] Mic at Ext N/A
Conn = Unknown, Color = Other
DefAssociation = 0x4, Sequence = 0x0
Pin-ctls: 0x41: OUT VREF_50
Connection: 1

     0x1a

Node 0x1e [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xfffff7ff: [Both] Other at Oth UNKNOWN
Conn = Other, Color = Other DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x19
Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x15 0x15]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0100f010: [Jack] Line Out at Ext Rear
    Conn = Unknown, Color = Other
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x17
Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0020f000: [Jack] HP Out at Ext N/A
    Conn = Unknown, Color = Other
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Connection: 1
     0x17

Node 0x21 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xffffffff: [Both] Other at Oth UNKNOWN
Conn = Other, Color = Other DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1b

Node 0x22 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x0000f002: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Other DefAssociation = 0x0, Sequence = 0x2
Pin-ctls: 0x00:
Connection: 1

     0x1a

Node 0x23 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x0000f004: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Other DefAssociation = 0x0, Sequence = 0x4
Pin-ctls: 0x00:
Connection: 1

     0x1b

Node 0x24 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0xfffbffff: [Both] Other at Oth UNKNOWN
Conn = Comb, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0xffffffff: [Both] Other at Oth UNKNOWN
Conn = Other, Color = Other DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x14

Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital
Pincap 0x00010030: IN OUT EAPD
EAPD 0x2: EAPD
Pin Default 0xffffffff: [Both] Other at Oth UNKNOWN
Conn = Other, Color = Other DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Control: name="Capture Volume", index=1, device=0

    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x0f 0x0f]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x21

--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root cyclades 116,  5 Aug 23 00:33 /dev/snd/controlC0
crw-rw---- 1 root cyclades 116,  4 Aug 23 00:33 /dev/snd/hwC0D2
crw-rw---- 1 root cyclades 116,  3 Aug 23 00:33 /dev/snd/pcmC0D0c
crw-rw---- 1 root cyclades 116,  2 Aug 23 00:33 /dev/snd/pcmC0D0p
crw-rw---- 1 root cyclades 116,  1 Aug 23 00:33 /dev/snd/seq

crw-rw---- 1 root cyclades 116, 33 Aug 23 00:33 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Aug 23 00:33 .
drwxr-xr-x 3 root root 180 Aug 23 00:33 ..
lrwxrwxrwx 1 root root 12 Aug 23 00:33 pci-0000:00:1b.0 -> ../controlC0

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here... #

@hooks [

	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}

]

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708 Analog [VT1708 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708 Analog [VT1708 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfea38000 irq 10'
Mixer name : 'VIA VT1708'
Components : 'HDA:11061708,ffffffff,00100700'
Controls : 15
Simple ctrls : 9
Simple mixer control 'Master Front',0
Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.75dB] [on] Front Right: Playback 24 [77%] [1.75dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right
Limits: Playback 0 - 27
Mono:
Front Left: Playback 27 [100%] [0.00dB] [on] Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right
Limits: Playback 0 - 27
Mono:
Front Left: Playback 21 [78%] [-10.50dB] [on] Front Right: Playback 21 [78%] [-10.50dB] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-40.25dB] [off] Front Right: Playback 0 [0%] [-40.25dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right
Limits: Capture 0 - 20
Front Left: Capture 15 [75%] [26.25dB] [on] Front Right: Capture 15 [75%] [26.25dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right
Limits: Capture 0 - 20
Front Left: Capture 15 [75%] [26.25dB] [on] Front Right: Capture 15 [75%] [26.25dB] [on]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Stereo Mixer' 'Mic'
Item0: 'Stereo Mixer'
Simple mixer control 'Jack Detect',0
Capabilities: pswitch pswitch-joined penum Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Smart 5.1',0
Capabilities: pswitch pswitch-joined penum Playback channels: Mono
Mono: Playback [on]

!!Alsactl output
!!-------------

--startcollapse--

state.Intel {
	control.1 {
		iface MIXER
		name 'Jack Detect'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'Master Front Playback Volume'
		value.0 24
		value.1 24
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4025
			dbmax 1400
			dbvalue.0 175
			dbvalue.1 175
		}
	}
	control.3 {
		iface MIXER
		name 'Master Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 21
		value.1 21
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 -1050
			dbvalue.1 -1050
		}
	}
	control.5 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.7 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4025
			dbmax 1400
			dbvalue.0 -4025
			dbvalue.1 -4025
		}
	}
	control.9 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.10 {
		iface MIXER
		name 'Smart 5.1'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'Capture Volume'
		value.0 15
		value.1 15
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 20'
			dbmin 0
			dbmax 3500
			dbvalue.0 2625
			dbvalue.1 2625
		}
	}
	control.12 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 15
		value.1 15
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 20'
			dbmin 0
			dbmax 3500
			dbvalue.0 2625
			dbvalue.1 2625
		}
	}
	control.14 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Input Source'
		value 'Stereo Mixer'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Stereo Mixer'
			item.1 Mic
		}
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
snd_hda_codec_via
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
soundcore
snd_page_alloc
ipv6
fakephp
cgosdrv
joydev
mcs7830
usbnet
mii
usbtouchscreen
iTCO_wdt
iTCO_vendor_support
i2c_i801
serio_raw
pciehp
xfs
i915
drm_kms_helper
drm
i2c_algo_bit
i2c_core
video

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D2/init_pin_configs:
0x1c 0x0000f000
0x1d 0x00a0f040
0x1e 0xfffff7ff
0x1f 0x0100f010
0x20 0x0020f000
0x21 0xffffffff
0x22 0x0000f002
0x23 0x0000f004
0x24 0xfffbffff
0x25 0xffffffff
0x26 0xffffffff

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

!!ALSA/HDA dmesg
!!------------------

[   43.978457] XFS (sda2): Ending clean mount
[  153.600185] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[  153.600227] HDA Intel 0000:00:1b.0: setting latency timer to 64
#1 lore raw

This looks like a patch, not like a crash report.

Please check linux/Documentation/SubmittingPatches.

Quoted 1 line · Abdelghani Ouchabane

+ /* THis is added because Ezono sound card doesn't support auto detection */

         "This"

_All_ VT1708 chips support autodetection; the registers just have to be initialized correctly by the BIOS.

sound/pci/hda/patch_via.c static int via_auto_init(struct hda_code · line 902

Quoted 6 lines
sound/pci/hda/patch_via.c +5 -0
+    /* Port_A PW0 */
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_0, 0x00);
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_1, 0xf0);
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_2, 0x00);
+    snd_hda_codec_write(codec, 0x1c, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0x00);
...

A table of initialization values that gets written in a loop would look less ugly.

sound/pci/hda/patch_via.c static int patch_vt1708(struct hda_codec · line 951

Quoted 12 lines

static int patch_vt1708(struct hda_codec *codec)
{

sound/pci/hda/patch_via.c +4 -1
 	struct via_spec *spec;
@@ -902,7 +945,10 @@ static int patch_vt1708(struct hda_codec
 		return -ENOMEM;
 
 	codec->spec = spec;
-
+	
+	/* Init Ezono Sound card */
+	ezono_vt1708_init(codec);
+	

Please don't add whitespace to empty lines.

This initialization gets applied to _all_ VT1708 chips; thus it will break all non-Ezono machines.

The driver has to check whether it is running on this particular model of an Ezono computer. The correct way to do this is to check the PCI IDs:

Quoted 3 lines

00:1b.0 0403: 8086:27d8
...
Subsystem Id: 0xffffffff

Oh well, somebody forgot to initialize them. Probably the same BIOS programmer that forgot to initialize the VT1708 registers.

Another way would be to check the DMI strings.

Quoted 3 lines

Manufacturer:
Product Name:
Product Version:

Or not. Who wrote that BIOS? Somebody whose brain was damaged by too much ultrasound?

Anyway, you could just override the pin configs with a HDA patch file. Ensure that your kernel is compiled with CONFIG_SND_HDA_PATCH_LOADER; then create a file /lib/firmware/forgotten-ezono-hda-settings with the following contents:

[codec]
0x11061708 0xffffffff 2
[pincfg]
0x1c 0x0000f000
0x1d 0x00a0f040
0x1f 0x0100f010
0x20 0x0020f000
0x22 0x0000f002
0x23 0x0000f004

Then load the snd-hda-intel driver with the parameter "patch=forgotten-ezono-hda-settings", either by adding that parameter to the modprobe command line, or by putting the line

options snd-hda-intel patch=forgotten-ezono-hda-settings

into a .conf file in /etc/modprobe.d/.

Regards,
Clemens

#2 lore raw
Quoted 3 lines · Clemens Ladisch

Or not. Who wrote that BIOS? Somebody whose brain was damaged by too much ultrasound?

Not me ;-) ,

Quoted 20 lines

Anyway, you could just override the pin configs with a HDA patch file. Ensure that your kernel is compiled with CONFIG_SND_HDA_PATCH_LOADER; then create a file /lib/firmware/forgotten-ezono-hda-settings with the following contents:

[codec]
0x11061708 0xffffffff 2
[pincfg]
0x1c 0x0000f000
0x1d 0x00a0f040
0x1f 0x0100f010
0x20 0x0020f000
0x22 0x0000f002
0x23 0x0000f004

Then load the snd-hda-intel driver with the parameter "patch=forgotten-ezono-hda-settings", either by adding that parameter to the modprobe command line, or by putting the line

Quoted 8 lines

options snd-hda-intel patch=forgotten-ezono-hda-settings

into a .conf file in /etc/modprobe.d/.

Regards,
Clemens

Thanks a lot Clemens for your great feedback, I will test your solution and let you know.

My best regards,
Ghani

Quoted 6 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
In reply to Clemens Ladisch

2011/9/27 Clemens Ladisch <[email protected]>:

Quoted 2 lines

This looks like a patch, not like a crash report.

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5451

[ 95.366164] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 10
(level, low) -> IRQ 10
[ 95.366209] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 95.398391] hda_codec: Cannot set up configuration from BIOS. Using genenic
mode...
[ 95.398470] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 95.398477] IP: [<f83740ac>] via_build_pcms+0x60/0xdc [snd_hda_codec_via]
[ 95.398494] *pde = 3173f067 *pte = 00000000
[ 95.398501] Oops: 0000 [#1] PREEMPT
[ 95.398509] Modules linked in: snd_hda_codec_via snd_hda_intel(+)

snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc ipv6 fakephp cgosdrv(P) joydev mcs7830 usbnet mii usbtouchscreen iTCO_wdt i2c_i801 pciehp iTCO_vendor_support serio_raw xfs i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]

[ 95.398558]
[ 95.398564] Pid: 4208, comm: modprobe Tainted: P
2.6.40.3-0.119.delos.i686 #1
[ 95.398572] EIP: 0060:[<f83740ac>] EFLAGS: 00010246 CPU: 0
[ 95.398581] EIP is at via_build_pcms+0x60/0xdc [snd_hda_codec_via]
[ 95.398587] EAX: f174f000 EBX: 00000000 ECX: 00000000 EDX: dd58f400
[ 95.398592] ESI: f837c760 EDI: f174f120 EBP: f17afd28 ESP: f17afd20
[ 95.398597] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 95.398603] Process modprobe (pid: 4208, ti=f17ae000 task=f0e5be30
task.ti=f17ae000)
[ 95.398607] Stack:
[ 95.398610] dd58f400 00000001 f17afd68 f81ef28a 00000050 f81f6511 f16aa960
f16aa968
[ 95.398622] 00000001 11061708 2d646e73 2d616468 65646f63 64692d63 3031313a
dd58f400
[ 95.398634] f578642c 00000001 f17afd78 f81f5aaf f171da00 f5786424 f17afde4
f816e6fd
[ 95.398645] Call Trace:
[ 95.398665] [<f81ef28a>] snd_hda_codec_build_pcms+0x25/0x230

[snd_hda_codec]

#8 lore raw
In reply to Abdelghani Ouchabane

At Tue, 27 Sep 2011 08:41:20 +0200,

sound/pci/hda/patch_via.c

Quoted 4 lines · Abdelghani Ouchabane

diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c

sound/pci/hda/patch_via.c +0 -0

...

Does the problem occur with 3.0 or 3.1-rc kernel? (Alternatively you can try alsa-driver-snapshot tarball.)

If yes, load the driver with probe_only=1 option, run alsa-info.sh with --no-upload option, and attach the output.

thanks,

Takashi

#7 lore raw
In reply to Clemens Ladisch
Quoted 16 lines

Anyway, you could just override the pin configs with a HDA patch file. Ensure that your kernel is compiled with CONFIG_SND_HDA_PATCH_LOADER; then create a file /lib/firmware/forgotten-ezono-hda-settings with the following contents:

[codec]
0x11061708 0xffffffff 2
[pincfg]
0x1c 0x0000f000
0x1d 0x00a0f040
0x1f 0x0100f010
0x20 0x0020f000
0x22 0x0000f002
0x23 0x0000f004

Quoted 8 lines

Then load the snd-hda-intel driver with the parameter "patch=forgotten-ezono-hda-settings", either by adding that parameter to the modprobe command line, or by putting the line

options snd-hda-intel patch=forgotten-ezono-hda-settings

into a .conf file in /etc/modprobe.d/.

Hi Clemens ,

I tested your solution and here is the result:

1 - Keep my changes in sound/pci/hda/patch_via.c + your solution ----> The kernel did not crash + alsamixer showed the full interface, but the there was no sound, after rebooting the system, I had sound.

2 - Only your solution ----> The kernel crashed ( always ).

Maybe I am still missing some more settings in
/lib/firmware/forgotten-ezono-hda-settings?

What do you think Clemens?

#11 lore raw
In reply to Takashi Iwai

Am Mittwoch, den 28.09.2011, 11:07 +0200 schrieb Takashi Iwai:

Quoted 7 lines

At Wed, 28 Sep 2011 08:24:43 +0200,

Quoted 3 lines · Abdelghani Ouchabane

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>

Please stop using HTML mail.

I did get plain text messages

Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

which are/were all but one empty though.

Thanks,

Paul

#16 lore raw
In reply to Takashi Iwai
Quoted 11 lines · Takashi Iwai

At Tue, 27 Sep 2011 08:41:20 +0200,

sound/pci/hda/patch_via.c

Quoted 4 lines · Abdelghani Ouchabane

diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c

sound/pci/hda/patch_via.c +0 -0

...

Does the problem occur with 3.0 or 3.1-rc kernel?

Hallo Takashi,

It occurs with Fedora 15 ( Kernel : 2.6.39 )

Quoted 5 lines

(Alternatively you can try alsa-driver-snapshot tarball.)

If yes, load the driver with probe_only=1 option, run alsa-info.sh with --no-upload option, and attach the output.

I attached to you the following :

1 - The output of alsa-info.sh ( probe_only=1 + --no-upload + my
changes(ezonopatch) + alsa-driver 1.0.24 )

2 - The output of alsa-info.sh ( probe_only=1 + --no-upload +
alsa-driver-snapshot ( alsa-driver-1.0.24.72.g7c48f.1314.geb1d0)

3 - With alsa-driver-1.0.24.72.g7c48f.1314.geb1d0 : modprobe
snd_hda_intel : The system did not crash but alsamixer said that "This sound device does not have any controls"

Many thanks,
Ghani

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Sun Aug 21 22:14:37 UTC 2011

!!Linux Distribution
!!------------------

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)

!!DMI Information
!!---------------

Manufacturer:
Product Name:
Product Version:

!!Kernel Information
!!------------------

Kernel release:    2.6.40.3-0.119.delos.i686
Operating System:  GNU/Linux
Architecture:      i686
Processor:         i686
SMP Enabled:       No

!!ALSA Version
!!------------

Driver version: 1.0.24
Library version:
Utilities version: 1.0.24.1

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

No sound servers found.

!!Soundcards recognised by ALSA
!!-----------------------------

0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xfea38000 irq 10

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)

!!Advanced information - PCI Vendor/Device/Subsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel

	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Not Set
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11061708
Subsystem Id: 0x7fafffdd
Revision Id: 0x100700
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x13 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3

Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Validity
Digital category: 0x0
PCM:

    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3
  Connection: 1
     0x26

Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6

     0x10 0x24 0x1d 0x1e 0x21 0x13
Node 0x18 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 5
     0x17* 0x24 0x1d 0x1e 0x21

Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x11

Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x12

Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x13

Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x00 0x00]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x7febf7ff: [N/A] Reserved at Oth UNKNOWN
Conn = Comb, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x19

Node 0x1d [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xffbff7ff: [Both] Telephony at Oth UNKNOWN
Conn = Other, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1a

Node 0x1e [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xfffef6fd: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Other DefAssociation = 0xf, Sequence = 0xd
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x19

Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0xfffdfffe: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Other
DefAssociation = 0xf, Sequence = 0xe
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x17

Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0xffad7fff: [Both] Mic at Oth UNKNOWN
Conn = UNKNOWN, Color = Yellow
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x17

Node 0x21 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xffbe3eff: [Both] Telephony at Oth UNKNOWN
Conn = UNKNOWN, Color = Blue
DefAssociation = 0xf, Sequence = 0xf
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1b

Node 0x22 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0xfe7fa67f: [Both] Modem Hand at Oth UNKNOWN
Conn = Other, Color = UNKNOWN
DefAssociation = 0x7, Sequence = 0xf
Pin-ctls: 0x00:
Connection: 1

     0x1a

Node 0x23 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0xbffffff5: [Fixed] Other at Oth UNKNOWN
Conn = Other, Color = Other DefAssociation = 0xf, Sequence = 0x5
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x1b

Node 0x24 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0xdbfbbfff: [Both] Other at Int UNKNOWN
Conn = Comb, Color = UNKNOWN
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0xffefbf7d: [Both] Reserved at Oth UNKNOWN
Conn = Other, Color = UNKNOWN DefAssociation = 0x7, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x14

Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital
Pincap 0x00010030: IN OUT EAPD
EAPD 0x0:
Pin Default 0xfffe3fef: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Blue
DefAssociation = 0xe, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x21

--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root cyclades 116,  3 Aug 22 00:12 /dev/snd/controlC0
crw-rw---- 1 root cyclades 116,  2 Aug 22 00:12 /dev/snd/hwC0D2
crw-rw---- 1 root cyclades 116,  1 Aug 22 00:12 /dev/snd/seq

crw-rw---- 1 root cyclades 116, 33 Aug 22 00:12 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Aug 22 00:12 .
drwxr-xr-x 3 root root 140 Aug 22 00:12 ..
lrwxrwxrwx 1 root root 12 Aug 22 00:12 pci-0000:00:1b.0 -> ../controlC0

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here... #

@hooks [

	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}

]

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****

ARECORD

**** List of CAPTURE Hardware Devices ****

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfea38000 irq 10'
Mixer name : ''
Components : 'HDA:11061708,7fafffdd,00100700'
Controls : 0
Simple ctrls : 0

!!Alsactl output
!!-------------

--startcollapse--

state.Intel {
	control {
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
soundcore
snd_page_alloc
ipv6
fakephp
cgosdrv
joydev
mcs7830
usbnet
mii
iTCO_wdt
iTCO_vendor_support
i2c_i801
usbtouchscreen
serio_raw
pciehp
xfs
i915
drm_kms_helper
drm
i2c_algo_bit
i2c_core
video

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D2/init_pin_configs:
0x1c 0x7febf7ff
0x1d 0xffbff7ff
0x1e 0xfffef6fd
0x1f 0xfffdfffe
0x20 0xffad7fff
0x21 0xffbe3eff
0x22 0xfe7fa67f
0x23 0xbffffff5
0x24 0xdbfbbfff
0x25 0xffefbf7d
0x26 0xfffe3fef

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

!!ALSA/HDA dmesg
!!------------------

[   23.202024] eth0: no IPv6 routers present
[  297.563955] HDA Intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[  297.563995] HDA Intel 0000:00:1b.0: setting latency timer to 64

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Sun Aug 21 23:16:47 UTC 2011

!!Linux Distribution
!!------------------

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)

!!DMI Information
!!---------------

Manufacturer:
Product Name:
Product Version:

!!Kernel Information
!!------------------

Kernel release:    2.6.40.3-0.119.delos.i686
Operating System:  GNU/Linux
Architecture:      i686
Processor:         i686
SMP Enabled:       No

!!ALSA Version
!!------------

Driver version: 1.0.24
Library version:
Utilities version: 1.0.24.1

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

No sound servers found.

!!Soundcards recognised by ALSA
!!-----------------------------

0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xfea38000 irq 10

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)

!!Advanced information - PCI Vendor/Device/Subsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel

	align_buffer_size : N
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Not Set
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11061708
Subsystem Id: 0x7faffedd
Revision Id: 0x100700
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x13 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3

Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Validity
Digital category: 0x0
PCM:

    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3
  Connection: 1
     0x26

Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6

     0x10 0x24 0x1d 0x1e 0x21 0x13
Node 0x18 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 5
     0x17* 0x24 0x1d 0x1e 0x21

Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x11

Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x12

Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x13

Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x00 0x00]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x7febf7ff: [N/A] Reserved at Oth UNKNOWN
Conn = Comb, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x19

Node 0x1d [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xfbbff7ff: [Both] Telephony at Oth UNKNOWN
Conn = Other, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1a

Node 0x1e [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xfffef6fd: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Other DefAssociation = 0xf, Sequence = 0xd
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x19

Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0xfffdfffe: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Other
DefAssociation = 0xf, Sequence = 0xe
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x17

Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0xffa97fff: [Both] Mic at Oth UNKNOWN
Conn = XLR, Color = Yellow
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x17

Node 0x21 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xffb63eff: [Both] Telephony at Oth UNKNOWN
Conn = Digital, Color = Blue
DefAssociation = 0xf, Sequence = 0xf
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1b

Node 0x22 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0xfe7fa67f: [Both] Modem Hand at Oth UNKNOWN
Conn = Other, Color = UNKNOWN
DefAssociation = 0x7, Sequence = 0xf
Pin-ctls: 0x00:
Connection: 1

     0x1a

Node 0x23 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0xbffbfff5: [Fixed] Other at Oth UNKNOWN
Conn = Comb, Color = Other
DefAssociation = 0xf, Sequence = 0x5
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x1b

Node 0x24 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0xdbfbbfff: [Both] Other at Int UNKNOWN
Conn = Comb, Color = UNKNOWN
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0xffefbf7d: [Both] Reserved at Oth UNKNOWN
Conn = Other, Color = UNKNOWN DefAssociation = 0x7, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x14

Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital
Pincap 0x00010030: IN OUT EAPD
EAPD 0x0:
Pin Default 0xfffe3fed: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Blue
DefAssociation = 0xe, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x21

--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root cyclades 116,  3 Aug 22 01:16 /dev/snd/controlC0
crw-rw---- 1 root cyclades 116,  2 Aug 22 01:16 /dev/snd/hwC0D2
crw-rw---- 1 root cyclades 116,  1 Aug 22 01:16 /dev/snd/seq

crw-rw---- 1 root cyclades 116, 33 Aug 22 01:16 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Aug 22 01:16 .
drwxr-xr-x 3 root root 140 Aug 22 01:16 ..
lrwxrwxrwx 1 root root 12 Aug 22 01:16 pci-0000:00:1b.0 -> ../controlC0

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here... #

@hooks [

	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}

]

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****

ARECORD

**** List of CAPTURE Hardware Devices ****

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfea38000 irq 10'
Mixer name : ''
Components : 'HDA:11061708,7faffedd,00100700'
Controls : 0
Simple ctrls : 0

!!Alsactl output
!!-------------

--startcollapse--

state.Intel {
	control {
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
soundcore
snd_page_alloc
ipv6
fakephp
cgosdrv
joydev
mcs7830
usbnet
mii
usbtouchscreen
pciehp
serio_raw
iTCO_wdt
iTCO_vendor_support
i2c_i801
xfs
i915
drm_kms_helper
drm
i2c_algo_bit
i2c_core
video

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D2/init_pin_configs:
0x1c 0x7febf7ff
0x1d 0xfbbff7ff
0x1e 0xfffef6fd
0x1f 0xfffdfffe
0x20 0xffa97fff
0x21 0xffb63eff
0x22 0xfe7fa67f
0x23 0xbffbfff5
0x24 0xdbfbbfff
0x25 0xffefbf7d
0x26 0xfffe3fed

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

!!ALSA/HDA dmesg
!!------------------

[   22.306024] eth0: no IPv6 routers present
[   48.149978] snd_hda_intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[   48.150180] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
#17 lore raw
Quoted 4 lines

I attached to you the following :

   2 - The output of alsa-info.sh  ( probe_only=1  +  --no-upload + 

alsa-driver-snapshot ( alsa-driver-1.0.24.72.g7c48f.1314.geb1d0)

Hi Takashi,
I have attached to you the right output of alsa-info.sh (
probe_only=1 + --no-upload + alsa-driver-snapshot ( alsa-driver-1.0.24.72.g7c48f.1314.geb1d0)

Cheers,
Ghani

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Sun Aug 21 23:46:19 UTC 2011

!!Linux Distribution
!!------------------

Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)

!!DMI Information
!!---------------

Manufacturer:
Product Name:
Product Version:

!!Kernel Information
!!------------------

Kernel release:    2.6.40.3-0.119.delos.i686
Operating System:  GNU/Linux
Architecture:      i686
Processor:         i686
SMP Enabled:       No

!!ALSA Version
!!------------

Driver version: 1.0.24.72.g7c48f.1314.geb1d0
Library version:
Utilities version: 1.0.24.1

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

No sound servers found.

!!Soundcards recognised by ALSA
!!-----------------------------

0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xfea38000 irq 10

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)

!!Advanced information - PCI Vendor/Device/Subsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel

	align_buffer_size : N
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Not Set
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11061708
Subsystem Id: 0x7fafffdd
Revision Id: 0x100700
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x13 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Power states: D0 D1
Power: setting=D0, actual=D0
Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3

Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Validity
Digital category: 0x0
PCM:

    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3
  Connection: 1
     0x26

Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6

     0x10 0x24 0x1d 0x1e 0x21 0x13
Node 0x18 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 5
     0x17* 0x24 0x1d 0x1e 0x21

Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x11

Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x12

Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 1

     0x13

Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x00 0x00]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x7febf7ff: [N/A] Reserved at Oth UNKNOWN
Conn = Comb, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x19

Node 0x1d [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xffbff7ff: [Both] Telephony at Oth UNKNOWN
Conn = Other, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1a

Node 0x1e [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xfffef7fd: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Other DefAssociation = 0xf, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x19

Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0xfffffffe: [Both] Other at Oth UNKNOWN
Conn = Other, Color = Other
DefAssociation = 0xf, Sequence = 0xe
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x17

Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0xffef7fff: [Both] Reserved at Oth UNKNOWN
Conn = Other, Color = Yellow
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x17

Node 0x21 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000334: IN OUT Detect
Vref caps: HIZ 50
Pin Default 0xffbe7eff: [Both] Telephony at Oth UNKNOWN
Conn = UNKNOWN, Color = Yellow DefAssociation = 0xf, Sequence = 0xf
Pin-ctls: 0x00: VREF_HIZ
Connection: 1

     0x1b

Node 0x22 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0xffffa67f: [Both] Other at Oth UNKNOWN
Conn = Other, Color = UNKNOWN DefAssociation = 0x7, Sequence = 0xf
Pin-ctls: 0x00:
Connection: 1

     0x1a

Node 0x23 [Pin Complex] wcaps 0x400101: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0xbffdfffd: [Fixed] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Other DefAssociation = 0xf, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x1b

Node 0x24 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0xdbfbffff: [Both] Other at Int UNKNOWN
Conn = Comb, Color = Other
DefAssociation = 0xf, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0xffefbf7d: [Both] Reserved at Oth UNKNOWN
Conn = Other, Color = UNKNOWN DefAssociation = 0x7, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x14

Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital
Pincap 0x00010030: IN OUT EAPD
EAPD 0x0:
Pin Default 0xfffe7fef: [Both] Other at Oth UNKNOWN
Conn = UNKNOWN, Color = Yellow
DefAssociation = 0xe, Sequence = 0xf
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x440]: 48000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1
  Power: setting=D0, actual=D0
  Connection: 1
     0x21

--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root cyclades 116,  3 Aug 22 01:45 /dev/snd/controlC0
crw-rw---- 1 root cyclades 116,  2 Aug 22 01:45 /dev/snd/hwC0D2
crw-rw---- 1 root cyclades 116,  1 Aug 22 01:45 /dev/snd/seq

crw-rw---- 1 root cyclades 116, 33 Aug 22 01:45 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Aug 22 01:45 .
drwxr-xr-x 3 root root 140 Aug 22 01:45 ..
lrwxrwxrwx 1 root root 12 Aug 22 01:45 pci-0000:00:1b.0 -> ../controlC0

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here... #

@hooks [

	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}

]

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****

ARECORD

**** List of CAPTURE Hardware Devices ****

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfea38000 irq 10'
Mixer name : ''
Components : 'HDA:11061708,7fafffdd,00100700'
Controls : 0
Simple ctrls : 0

!!Alsactl output
!!-------------

--startcollapse--

state.Intel {
	control {
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
snd
soundcore
snd_page_alloc
ipv6
fakephp
cgosdrv
joydev
mcs7830
usbnet
mii
usbtouchscreen
iTCO_wdt
iTCO_vendor_support
i2c_i801
serio_raw
pciehp
xfs
i915
drm_kms_helper
drm
i2c_algo_bit
i2c_core
video

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D2/init_pin_configs:
0x1c 0x7febf7ff
0x1d 0xffbff7ff
0x1e 0xfffef7fd
0x1f 0xfffffffe
0x20 0xffef7fff
0x21 0xffbe7eff
0x22 0xffffa67f
0x23 0xbffdfffd
0x24 0xdbfbffff
0x25 0xffefbf7d
0x26 0xfffe7fef

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

!!ALSA/HDA dmesg
!!------------------

[   21.586023] eth0: no IPv6 routers present
[   34.037438] snd_hda_intel 0000:00:1b.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[   34.037477] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
#12 lore raw
In reply to Paul Menzel
Quoted 6 lines

I did get plain text messages

Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Quoted 7 lines

which are/were all but one empty though.

Thanks,

Paul

It was my mistake that I used HTML mail.

Cheers,
Ghani

#13 lore raw
In reply to Paul Menzel

At Wed, 28 Sep 2011 11:50:21 +0200,

Quoted 8 lines · Paul Menzel

Am Mittwoch, den 28.09.2011, 11:07 +0200 schrieb Takashi Iwai:

Quoted 6 lines

At Wed, 28 Sep 2011 08:24:43 +0200,

Quoted 3 lines · Abdelghani Ouchabane

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>

Quoted 8 lines
Quoted 1 line

Please stop using HTML mail.

I did get plain text messages

Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

which are/were all but one empty though.

It looks like the ML server translates to text/plain automagically...

Takashi

#18 lore raw
In reply to Abdelghani Ouchabane

At Wed, 28 Sep 2011 09:54:46 +0200,

Quoted 24 lines · Abdelghani Ouchabane
Quoted 11 lines · Takashi Iwai

At Tue, 27 Sep 2011 08:41:20 +0200,

sound/pci/hda/patch_via.c

Quoted 4 lines · Abdelghani Ouchabane

diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c

sound/pci/hda/patch_via.c +0 -0

...

Does the problem occur with 3.0 or 3.1-rc kernel?

Hallo Takashi,

It occurs with Fedora 15 ( Kernel : 2.6.39 )

Quoted 5 lines

(Alternatively you can try alsa-driver-snapshot tarball.)

If yes, load the driver with probe_only=1 option, run alsa-info.sh with --no-upload option, and attach the output.

I attached to you the following :

    1 - The output of alsa-info.sh  ( probe_only=1  +  --no-upload + my 
Quoted 8 lines

changes(ezonopatch) + alsa-driver 1.0.24 )

    2 - The output of alsa-info.sh  ( probe_only=1  +  --no-upload + 

alsa-driver-snapshot ( alsa-driver-1.0.24.72.g7c48f.1314.geb1d0)

    3 - With alsa-driver-1.0.24.72.g7c48f.1314.geb1d0 : modprobe 

snd_hda_intel : The system did not crash but alsamixer said that "This sound device does not have any controls"

OK, it's good to hear. So 3.1 kernel is fine as is. Only 3.0 and earlier can get Oops with buggy BIOS setups.

I can easily fix it up, but maybe better first stabilize 3.1 and make similar 3.0 stable patch.

thanks,

Takashi

#19 lore raw
Quoted 5 lines

OK, it's good to hear. So 3.1 kernel is fine as is. Only 3.0 and earlier can get Oops with buggy BIOS setups.

Quoted 8 lines

I can easily fix it up, but maybe better first stabilize 3.1 and make similar 3.0 stable patch.

thanks,

Takashi

Do I need to contact the manufacturer of my board to fix the BIOS as well, or it can be fixed by a patch?

Many thanks,
Ghani

#20 lore raw

At Wed, 28 Sep 2011 14:22:02 +0200,

Quoted 10 lines · Abdelghani Ouchabane
Quoted 10 lines

OK, it's good to hear. So 3.1 kernel is fine as is. Only 3.0 and earlier can get Oops with buggy BIOS setups.

I can easily fix it up, but maybe better first stabilize 3.1 and make similar 3.0 stable patch.

Quoted 6 lines
Quoted 4 lines

thanks,

Takashi

Do I need to contact the manufacturer of my board to fix the BIOS as well, or it can be fixed by a patch?

The easiest way is to create a file and feed via "patch" option of snd-hda-intel module as Clemens suggested.

Takashi

#21 lore raw
Quoted 16 lines · Takashi Iwai

At Wed, 28 Sep 2011 14:22:02 +0200,

Quoted 13 lines · Abdelghani Ouchabane
Quoted 13 lines

OK, it's good to hear. So 3.1 kernel is fine as is. Only 3.0 and earlier can get Oops with buggy BIOS setups.

I can easily fix it up, but maybe better first stabilize 3.1 and make similar 3.0 stable patch.

thanks,

Takashi

Quoted 8 lines
Quoted 3 lines

Do I need to contact the manufacturer of my board to fix the BIOS as well, or it can be fixed by a patch?

The easiest way is to create a file and feed via "patch" option of snd-hda-intel module as Clemens suggested.

I have three systems with the same hardware and software,

in /proc/asound/card0/codec#2

system 1 : Subsystem Id: 0x7fafffdd
system 2 : Subsystem Id: 0xffffffff
system 3 : Subsystem Id: 0xff7f7fa3

Why the "Subsystem Id" is different between the three systems?

Is there a way to don't use it in :

[codec]
vendor-id subsystem-id address

If I set the right subsystem-id in /lib/firmware/forgotten-ezono-hda-settings, the kernel doesn't crash and the sound works perfectly.

I need one /lib/firmware/forgotten-ezono-hda-settings for all systems and I can not get "Subsystem Id" before loading snd_hda_intel successfully

Any idea please?

Thanks,
Ghani

#22 lore raw

At Wed, 28 Sep 2011 14:51:26 +0200,

Quoted 28 lines · Abdelghani Ouchabane
Quoted 16 lines · Takashi Iwai

At Wed, 28 Sep 2011 14:22:02 +0200,

Quoted 13 lines · Abdelghani Ouchabane
Quoted 13 lines

OK, it's good to hear. So 3.1 kernel is fine as is. Only 3.0 and earlier can get Oops with buggy BIOS setups.

I can easily fix it up, but maybe better first stabilize 3.1 and make similar 3.0 stable patch.

thanks,

Takashi

Quoted 8 lines
Quoted 3 lines

Do I need to contact the manufacturer of my board to fix the BIOS as well, or it can be fixed by a patch?

The easiest way is to create a file and feed via "patch" option of snd-hda-intel module as Clemens suggested.

I have three systems with the same hardware and software,

Quoted 7 lines

in /proc/asound/card0/codec#2

system 1 : Subsystem Id: 0x7fafffdd
system 2 : Subsystem Id: 0xffffffff
system 3 : Subsystem Id: 0xff7f7fa3

Why the "Subsystem Id" is different between the three systems?

Don't know. All look very broken. Are the machines really OK?

Quoted 5 lines

Is there a way to don't use it in :

[codec]
vendor-id subsystem-id address

Quoted 8 lines

If I set the right subsystem-id in /lib/firmware/forgotten-ezono-hda-settings, the kernel doesn't crash and the sound works perfectly.

I need one /lib/firmware/forgotten-ezono-hda-settings for all systems and I can not get "Subsystem Id" before loading snd_hda_intel successfully

Any idea please?

You could apply the patch like below, and pass 0 or -1 to vendor and subsystem ids.

Takashi

---

sound/pci/hda/hda_hwdep.c +2 -2
index bf3ced5..c074ed2 100644
@@ -649,8 +649,8 @@ static void parse_codec_mode(char *buf, struct hda_bus *bus,
 	*codecp = NULL;
 	if (sscanf(buf, "%i %i %i", &vendorid, &subid, &caddr) == 3) {
 		list_for_each_entry(codec, &bus->codec_list, list) {
-			if (codec->vendor_id == vendorid &&
-			    codec->subsystem_id == subid &&
+			if ((vendor <= 0 || codec->vendor_id == vendorid) &&
+			    (subid <= 0 || codec->subsystem_id == subid) &&
 			    codec->addr == caddr) {
 				*codecp = codec;
 				break;
#24 lore raw
In reply to Abdelghani Ouchabane
Quoted 7 lines · Abdelghani Ouchabane

in /proc/asound/card0/codec#2

system 1 : Subsystem Id: 0x7fafffdd
system 2 : Subsystem Id: 0xffffffff
system 3 : Subsystem Id: 0xff7f7fa3

Why the "Subsystem Id" is different between the three systems?

This is a HDA codec register that should be initialized by the BIOS. Apparently, yours doesn't, and the register contents are somewhat random.

Bug whoever is responsible for that BIOS. A system not initializing the pin config and subsystem registers is a violation of the HDA specification.

Regards,
Clemens

#23 lore raw
In reply to Takashi Iwai
Quoted 37 lines · Takashi Iwai

At Wed, 28 Sep 2011 14:51:26 +0200,

Quoted 34 lines · Abdelghani Ouchabane
Quoted 19 lines · Takashi Iwai

At Wed, 28 Sep 2011 14:22:02 +0200,

Quoted 15 lines · Abdelghani Ouchabane
Quoted 15 lines

OK, it's good to hear. So 3.1 kernel is fine as is. Only 3.0 and earlier can get Oops with buggy BIOS setups.

I can easily fix it up, but maybe better first stabilize 3.1 and make similar 3.0 stable patch.

thanks,

Takashi

Quoted 9 lines
Quoted 4 lines

Do I need to contact the manufacturer of my board to fix the BIOS as well, or it can be fixed by a patch?

The easiest way is to create a file and feed via "patch" option of snd-hda-intel module as Clemens suggested.

I have three systems with the same hardware and software,

in /proc/asound/card0/codec#2

Quoted 10 lines
Quoted 6 lines

system 1 : Subsystem Id: 0x7fafffdd
system 2 : Subsystem Id: 0xffffffff
system 3 : Subsystem Id: 0xff7f7fa3

Why the "Subsystem Id" is different between the three systems?

Don't know. All look very broken. Are the machines really OK?

Yes , they are.

Quoted 29 lines
Quoted 5 lines

Is there a way to don't use it in :

[codec]
vendor-id subsystem-id address

Quoted 9 lines

If I set the right subsystem-id in /lib/firmware/forgotten-ezono-hda-settings, the kernel doesn't crash and the sound works perfectly.

I need one /lib/firmware/forgotten-ezono-hda-settings for all systems and I can not get "Subsystem Id" before loading snd_hda_intel successfully

Any idea please?

You could apply the patch like below, and pass 0 or -1 to vendor and subsystem ids.

Takashi

---

sound/pci/hda/hda_hwdep.c +0 -0
index bf3ced5..c074ed2 100644

sound/pci/hda/hda_hwdep.c static void parse_codec_mode(char *buf, struct hda_bus *bus, · line 656

Quoted 10 lines
sound/pci/hda/hda_hwdep.c +2 -2
@@ -649,8 +649,8 @@ static void parse_codec_mode(char *buf, struct hda_bus *bus,
 	*codecp = NULL;
 	if (sscanf(buf, "%i %i %i", &vendorid, &subid, &caddr) == 3) {
 		list_for_each_entry(codec, &bus->codec_list, list) {
-			if (codec->vendor_id == vendorid &&
-			    codec->subsystem_id == subid &&
+			if ((vendor <= 0 || codec->vendor_id == vendorid) &&
+			    (subid <= 0 || codec->subsystem_id == subid) &&
 			    codec->addr == caddr) {
 				*codecp = codec;
 				break;

Thanks a lot.

#25 lore raw
In reply to Clemens Ladisch
Quoted 14 lines · Clemens Ladisch
Quoted 8 lines · Abdelghani Ouchabane

in /proc/asound/card0/codec#2

system 1 : Subsystem Id: 0x7fafffdd
system 2 : Subsystem Id: 0xffffffff
system 3 : Subsystem Id: 0xff7f7fa3

Why the "Subsystem Id" is different between the three systems?

This is a HDA codec register that should be initialized by the BIOS. Apparently, yours doesn't, and the register contents are somewhat random.

Quoted 8 lines

Bug whoever is responsible for that BIOS. A system not initializing the pin config and subsystem registers is a violation of the HDA specification.

Regards,
Clemens

Thanks, I will use your solution + patch and I will contact the manufacturer of the boards to fix the BIOS.

Many thanks Clemens & Takashi for your great supports.

Cheers,
Ghani