* "modprobe snd_hda_intel" crashes on my hardware
@ 2011-09-27 6:41 Abdelghani Ouchabane
2011-09-27 13:18 ` Clemens Ladisch
2011-09-28 6:00 ` Takashi Iwai
0 siblings, 2 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-27 6:41 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: linux-2.6.27-sound-ezono.patch --]
[-- Type: text/x-patch, Size: 3030 bytes --]
diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c
--- kernel-2.6.26.orig/sound/pci/hda/patch_via.c 2008-10-17 18:58:06.000000000 +0200
+++ kernel-2.6.26.new/sound/pci/hda/patch_via.c 2008-10-17 19:01:21.000000000 +0200
@@ -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) {
[-- Attachment #3: alsa-info.txt.GvL1bsgeRt --]
[-- Type: text/plain, Size: 18348 bytes --]
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
[-- Attachment #4: codec#2 --]
[-- Type: text/plain, Size: 0 bytes --]
[-- Attachment #5: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 13:18 ` Clemens Ladisch
@ 2011-09-27 12:20 ` Abdelghani Ouchabane
2011-09-28 4:01 ` Raymond Yau
` (4 subsequent siblings)
5 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-27 12:20 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
Clemens Ladisch wrote:
> Or not. Who wrote that BIOS? Somebody whose brain was damaged by too
> much ultrasound?
>
Not me ;-) ,
>
> 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
>
Thanks a lot Clemens for your great feedback, I will test your solution
and let you know.
My best regards,
Ghani
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 6:41 "modprobe snd_hda_intel" crashes on my hardware Abdelghani Ouchabane
@ 2011-09-27 13:18 ` Clemens Ladisch
2011-09-27 12:20 ` Abdelghani Ouchabane
` (5 more replies)
2011-09-28 6:00 ` Takashi Iwai
1 sibling, 6 replies; 28+ messages in thread
From: Clemens Ladisch @ 2011-09-27 13:18 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: alsa-devel
This looks like a patch, not like a crash report.
Please check linux/Documentation/SubmittingPatches.
Abdelghani Ouchabane wrote:
> + /* 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.
> + /* 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.
> 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);
> +
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:
> 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.
> 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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 13:18 ` Clemens Ladisch
2011-09-27 12:20 ` Abdelghani Ouchabane
@ 2011-09-28 4:01 ` Raymond Yau
2011-09-28 6:15 ` Abdelghani Ouchabane
` (3 subsequent siblings)
5 siblings, 0 replies; 28+ messages in thread
From: Raymond Yau @ 2011-09-28 4:01 UTC (permalink / raw)
To: ALSA Development Mailing List
2011/9/27 Clemens Ladisch <clemens@ladisch.de>:
> 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]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 6:41 "modprobe snd_hda_intel" crashes on my hardware Abdelghani Ouchabane
2011-09-27 13:18 ` Clemens Ladisch
@ 2011-09-28 6:00 ` Takashi Iwai
2011-09-28 6:24 ` Abdelghani Ouchabane
` (3 more replies)
1 sibling, 4 replies; 28+ messages in thread
From: Takashi Iwai @ 2011-09-28 6:00 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: alsa-devel
At Tue, 27 Sep 2011 08:41:20 +0200,
Abdelghani Ouchabane wrote:
>
> diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c
> --- kernel-2.6.26.orig/sound/pci/hda/patch_via.c 2008-10-17 18:58:06.000000000 +0200
> +++ kernel-2.6.26.new/sound/pci/hda/patch_via.c 2008-10-17 19:01:21.000000000 +0200
...
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 13:18 ` Clemens Ladisch
2011-09-27 12:20 ` Abdelghani Ouchabane
2011-09-28 4:01 ` Raymond Yau
@ 2011-09-28 6:15 ` Abdelghani Ouchabane
2011-09-28 6:50 ` Abdelghani Ouchabane
` (2 subsequent siblings)
5 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 6:15 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 6:00 ` Takashi Iwai
@ 2011-09-28 6:24 ` Abdelghani Ouchabane
2011-09-28 9:07 ` Takashi Iwai
2011-09-28 6:51 ` Abdelghani Ouchabane
` (2 subsequent siblings)
3 siblings, 1 reply; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 6:24 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 13:18 ` Clemens Ladisch
` (2 preceding siblings ...)
2011-09-28 6:15 ` Abdelghani Ouchabane
@ 2011-09-28 6:50 ` Abdelghani Ouchabane
2011-09-28 6:54 ` Abdelghani Ouchabane
2011-09-28 7:10 ` Abdelghani Ouchabane
5 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 6:50 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 6:00 ` Takashi Iwai
2011-09-28 6:24 ` Abdelghani Ouchabane
@ 2011-09-28 6:51 ` Abdelghani Ouchabane
2011-09-28 7:00 ` Abdelghani Ouchabane
2011-09-28 7:54 ` Abdelghani Ouchabane
3 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 6:51 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 13:18 ` Clemens Ladisch
` (3 preceding siblings ...)
2011-09-28 6:50 ` Abdelghani Ouchabane
@ 2011-09-28 6:54 ` Abdelghani Ouchabane
2011-09-28 7:10 ` Abdelghani Ouchabane
5 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 6:54 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 6:00 ` Takashi Iwai
2011-09-28 6:24 ` Abdelghani Ouchabane
2011-09-28 6:51 ` Abdelghani Ouchabane
@ 2011-09-28 7:00 ` Abdelghani Ouchabane
2011-09-28 7:54 ` Abdelghani Ouchabane
3 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 7:00 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 13:18 ` Clemens Ladisch
` (4 preceding siblings ...)
2011-09-28 6:54 ` Abdelghani Ouchabane
@ 2011-09-28 7:10 ` Abdelghani Ouchabane
5 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 7:10 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
> 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/.
>
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?
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 6:00 ` Takashi Iwai
` (2 preceding siblings ...)
2011-09-28 7:00 ` Abdelghani Ouchabane
@ 2011-09-28 7:54 ` Abdelghani Ouchabane
2011-09-28 8:20 ` Abdelghani Ouchabane
2011-09-28 13:43 ` Takashi Iwai
3 siblings, 2 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 7:54 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]
Takashi Iwai wrote:
> At Tue, 27 Sep 2011 08:41:20 +0200,
> Abdelghani Ouchabane wrote:
>
>> diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c
>> --- kernel-2.6.26.orig/sound/pci/hda/patch_via.c 2008-10-17 18:58:06.000000000 +0200
>> +++ kernel-2.6.26.new/sound/pci/hda/patch_via.c 2008-10-17 19:01:21.000000000 +0200
>>
> ...
>
> Does the problem occur with 3.0 or 3.1-rc kernel?
>
Hallo Takashi,
It occurs with Fedora 15 ( Kernel : 2.6.39 )
> (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
[-- Attachment #2: alsa-info.txt-ezonopatch-1.0.24 --]
[-- Type: text/plain, Size: 11933 bytes --]
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
[-- Attachment #3: alsa-info.txt-alsa-driver-snapshot --]
[-- Type: text/plain, Size: 11959 bytes --]
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
[-- Attachment #4: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 7:54 ` Abdelghani Ouchabane
@ 2011-09-28 8:20 ` Abdelghani Ouchabane
2011-09-28 13:43 ` Takashi Iwai
1 sibling, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 8:20 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
> 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
[-- Attachment #2: alsa-info.txt-alsa-driver-snapshot-right --]
[-- Type: text/plain, Size: 12009 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 9:50 ` Paul Menzel
@ 2011-09-28 8:34 ` Abdelghani Ouchabane
2011-09-28 13:42 ` Takashi Iwai
1 sibling, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 8:34 UTC (permalink / raw)
To: Paul Menzel; +Cc: alsa-devel
> 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
>
It was my mistake that I used HTML mail.
Cheers,
Ghani
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 6:24 ` Abdelghani Ouchabane
@ 2011-09-28 9:07 ` Takashi Iwai
2011-09-28 9:50 ` Paul Menzel
0 siblings, 1 reply; 28+ messages in thread
From: Takashi Iwai @ 2011-09-28 9:07 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: alsa-devel
At Wed, 28 Sep 2011 08:24:43 +0200,
Abdelghani Ouchabane wrote:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
Please stop using HTML mail.
Takashi
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 9:07 ` Takashi Iwai
@ 2011-09-28 9:50 ` Paul Menzel
2011-09-28 8:34 ` Abdelghani Ouchabane
2011-09-28 13:42 ` Takashi Iwai
0 siblings, 2 replies; 28+ messages in thread
From: Paul Menzel @ 2011-09-28 9:50 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 452 bytes --]
Am Mittwoch, den 28.09.2011, 11:07 +0200 schrieb Takashi Iwai:
> At Wed, 28 Sep 2011 08:24:43 +0200,
> Abdelghani Ouchabane wrote:
> >
> > <!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
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 13:43 ` Takashi Iwai
@ 2011-09-28 12:22 ` Abdelghani Ouchabane
2011-09-28 14:23 ` Takashi Iwai
0 siblings, 1 reply; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 12:22 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
>
> 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
>
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 14:23 ` Takashi Iwai
@ 2011-09-28 12:51 ` Abdelghani Ouchabane
2011-09-28 14:58 ` Takashi Iwai
2011-09-28 15:01 ` Clemens Ladisch
0 siblings, 2 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 12:51 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
> At Wed, 28 Sep 2011 14:22:02 +0200,
> Abdelghani Ouchabane wrote:
>
>>
>>> 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
>>>
>>>
>> 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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 14:58 ` Takashi Iwai
@ 2011-09-28 13:19 ` Abdelghani Ouchabane
0 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 13:19 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
> At Wed, 28 Sep 2011 14:51:26 +0200,
> Abdelghani Ouchabane wrote:
>
>> Takashi Iwai wrote:
>>
>>> At Wed, 28 Sep 2011 14:22:02 +0200,
>>> Abdelghani Ouchabane wrote:
>>>
>>>
>>>>
>>>>
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>> 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?
>>
>
> Don't know. All look very broken. Are the machines really OK?
>
>
Yes , they are.
>> 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?
>>
>
> You could apply the patch like below, and pass 0 or -1 to vendor and
> subsystem ids.
>
>
> Takashi
>
> ---
> diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> index bf3ced5..c074ed2 100644
> --- a/sound/pci/hda/hda_hwdep.c
> +++ b/sound/pci/hda/hda_hwdep.c
> @@ -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.
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 15:01 ` Clemens Ladisch
@ 2011-09-28 13:22 ` Abdelghani Ouchabane
0 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-28 13:22 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: Takashi Iwai, alsa-devel
Clemens Ladisch wrote:
> Abdelghani Ouchabane wrote:
>
>> 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
>
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 9:50 ` Paul Menzel
2011-09-28 8:34 ` Abdelghani Ouchabane
@ 2011-09-28 13:42 ` Takashi Iwai
1 sibling, 0 replies; 28+ messages in thread
From: Takashi Iwai @ 2011-09-28 13:42 UTC (permalink / raw)
To: Paul Menzel; +Cc: alsa-devel
At Wed, 28 Sep 2011 11:50:21 +0200,
Paul Menzel wrote:
>
> Am Mittwoch, den 28.09.2011, 11:07 +0200 schrieb Takashi Iwai:
> > At Wed, 28 Sep 2011 08:24:43 +0200,
> > Abdelghani Ouchabane wrote:
> > >
> > > <!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.
It looks like the ML server translates to text/plain automagically...
Takashi
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 7:54 ` Abdelghani Ouchabane
2011-09-28 8:20 ` Abdelghani Ouchabane
@ 2011-09-28 13:43 ` Takashi Iwai
2011-09-28 12:22 ` Abdelghani Ouchabane
1 sibling, 1 reply; 28+ messages in thread
From: Takashi Iwai @ 2011-09-28 13:43 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: alsa-devel
At Wed, 28 Sep 2011 09:54:46 +0200,
Abdelghani Ouchabane wrote:
>
> Takashi Iwai wrote:
> > At Tue, 27 Sep 2011 08:41:20 +0200,
> > Abdelghani Ouchabane wrote:
> >
> >> diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c
> >> --- kernel-2.6.26.orig/sound/pci/hda/patch_via.c 2008-10-17 18:58:06.000000000 +0200
> >> +++ kernel-2.6.26.new/sound/pci/hda/patch_via.c 2008-10-17 19:01:21.000000000 +0200
> >>
> > ...
> >
> > Does the problem occur with 3.0 or 3.1-rc kernel?
> >
> Hallo Takashi,
>
> It occurs with Fedora 15 ( Kernel : 2.6.39 )
> > (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"
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 12:22 ` Abdelghani Ouchabane
@ 2011-09-28 14:23 ` Takashi Iwai
2011-09-28 12:51 ` Abdelghani Ouchabane
0 siblings, 1 reply; 28+ messages in thread
From: Takashi Iwai @ 2011-09-28 14:23 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: alsa-devel
At Wed, 28 Sep 2011 14:22:02 +0200,
Abdelghani Ouchabane wrote:
>
>
> >
> > 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
> >
> 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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 12:51 ` Abdelghani Ouchabane
@ 2011-09-28 14:58 ` Takashi Iwai
2011-09-28 13:19 ` Abdelghani Ouchabane
2011-09-28 15:01 ` Clemens Ladisch
1 sibling, 1 reply; 28+ messages in thread
From: Takashi Iwai @ 2011-09-28 14:58 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: alsa-devel
At Wed, 28 Sep 2011 14:51:26 +0200,
Abdelghani Ouchabane wrote:
>
> Takashi Iwai wrote:
> > At Wed, 28 Sep 2011 14:22:02 +0200,
> > Abdelghani Ouchabane wrote:
> >
> >>
> >>> 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
> >>>
> >>>
> >> 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?
Don't know. All look very broken. Are the machines really OK?
> 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?
You could apply the patch like below, and pass 0 or -1 to vendor and
subsystem ids.
Takashi
---
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
index bf3ced5..c074ed2 100644
--- a/sound/pci/hda/hda_hwdep.c
+++ b/sound/pci/hda/hda_hwdep.c
@@ -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;
^ permalink raw reply related [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-28 12:51 ` Abdelghani Ouchabane
2011-09-28 14:58 ` Takashi Iwai
@ 2011-09-28 15:01 ` Clemens Ladisch
2011-09-28 13:22 ` Abdelghani Ouchabane
1 sibling, 1 reply; 28+ messages in thread
From: Clemens Ladisch @ 2011-09-28 15:01 UTC (permalink / raw)
To: Abdelghani Ouchabane; +Cc: Takashi Iwai, alsa-devel
Abdelghani Ouchabane wrote:
> 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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: "modprobe snd_hda_intel" crashes on my hardware
2011-09-27 5:42 Abdelghani Ouchabane
@ 2011-09-27 5:46 ` Abdelghani Ouchabane
0 siblings, 0 replies; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-27 5:46 UTC (permalink / raw)
Cc: alsa-devel
Hallo,
additional info : kernel-2.6.40.3-0.fc15.i686 uses alsa-driver-1.0.24
Abdelghani Ouchabane wrote:
> Description of problem:
>
> I have a customized sound hardware, it looks that it doesn't follow the
> standard 100 %.
>
> I had to patch the sound driver under fedora 9 (
> 2.6.27.25-78.2.56.fc9.i686 ),
> exactly I patched ./sound/pci/hda/patch_via.c by forcing the driver to
> program
> the codec. It was working fine in Fedora 9.
>
> But in Fedora 15, I have tried the patch the
> ./sound/pci/hda/patch_via.c, but
> unfortunately the path doesn't work.
>
> Please : could you help me to figure out how to patch
> ./sound/pci/hda/patch_via.c to make sound works in my hardware.
>
>
> Version-Release number of selected component (if applicable):
>
> kernel-2.6.40.3-0.fc15.i686.rpm
>
>
> Additional info:
>
> ****************************************************************************************************************************************************************************
>
>
> dmesg log :
>
> [ 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]
> [ 95.398685] [<f81f5aaf>] snd_hda_build_pcms+0x17/0x2e [snd_hda_codec]
> [ 95.398699] [<f816e6fd>] azx_probe+0x9a6/0xa44 [snd_hda_intel]
> [ 95.398713] [<f816d1cd>] ? azx_pcm_open+0x1c8/0x1c8 [snd_hda_intel]
> [ 95.398725] [<f816d394>] ? azx_acquire_irq+0x9b/0x9b [snd_hda_intel]
> [ 95.398737] [<f816dbb9>] ? kzalloc.constprop.5+0x14/0x14
> [snd_hda_intel]
> [ 95.398749] [<f816db45>] ? azx_resume+0xfa/0xfa [snd_hda_intel]
> [ 95.398761] [<f816d9e7>] ? azx_init_chip+0x1d5/0x1d5 [snd_hda_intel]
> [ 95.398775] [<c05dfcc1>] pci_device_probe+0x5e/0xa7
> [ 95.398787] [<c06616ef>] driver_probe_device+0x121/0x1fc
> [ 95.398794] [<c05dfc39>] ? pci_match_device+0x5d/0x68
> [ 95.398802] [<c0661812>] __driver_attach+0x48/0x64
> [ 95.398810] [<c0660931>] bus_for_each_dev+0x42/0x6b
> [ 95.398817] [<c0661350>] driver_attach+0x1f/0x23
> [ 95.398824] [<c06617ca>] ? driver_probe_device+0x1fc/0x1fc
> [ 95.398832] [<c0660fcb>] bus_add_driver+0xca/0x210
> [ 95.398840] [<c0661c2a>] driver_register+0x84/0xe3
> [ 95.398848] [<c05e03f7>] __pci_register_driver+0x34/0x91
> [ 95.398862] [<f820c017>] alsa_card_azx_init+0x17/0x19 [snd_hda_intel]
> [ 95.398871] [<c0401173>] do_one_initcall+0x8b/0x138
> [ 95.398878] [<f820c000>] ? 0xf820bfff
> [ 95.398889] [<c045945f>] sys_init_module+0x12bd/0x14dc
> [ 95.398905] [<c07c0e94>] syscall_call+0x7/0xb
> [ 95.398909] Code: 00 f3 a5 8d b8 f0 00 00 00 8b 48 50 8b 70 3c 0f
> b7 09 66
> 89 88 cc 00 00 00 b9 0c 00 00 00 f3 a5 8b 88 9c 00 00 00 66 83 78 5c
> 00 <0f> b7
> 09 66 89 88 fc 00 00 00 8b 48 64 89 88 c8 00 00 00 75 0a [
> 95.398972] EIP: [<f83740ac>] via_build_pcms+0x60/0xdc [snd_hda_codec_via]
> SS:ESP 0068:f17afd20
> [ 95.398984] CR2: 0000000000000000
> [ 95.488158] ---[ end trace e7a4603bcd7d8946 ]---
>
> ****************************************************************************************************************************************************************************
>
>
> lspci -v :
>
> 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High
> Definition Audio
> Controller (rev 02)
> Flags: bus master, fast devsel, latency 0, IRQ 10
> Memory at fea38000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 2
> Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> Capabilities: [100] Virtual Channel
> Capabilities: [130] Root Complex Link
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
>
> ****************************************************************************************************************************************************************************
>
>
> * Please, I need your great help to make my sound card works as I did for
> Fedora 9.
>
> * Or any workaround.
>
>
> * If you need any information, please don't hesitate.
>
> ****************************************************************************************************************************************************************************
>
>
> * I have used the attached patch to force the driver to program the code.
>
> ****************************************************************************************************************************************************************************
>
>
>
> Thanks a lot in advance.
>
>
^ permalink raw reply [flat|nested] 28+ messages in thread
* "modprobe snd_hda_intel" crashes on my hardware
@ 2011-09-27 5:42 Abdelghani Ouchabane
2011-09-27 5:46 ` Abdelghani Ouchabane
0 siblings, 1 reply; 28+ messages in thread
From: Abdelghani Ouchabane @ 2011-09-27 5:42 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 5922 bytes --]
Description of problem:
I have a customized sound hardware, it looks that it doesn't follow the
standard 100 %.
I had to patch the sound driver under fedora 9 ( 2.6.27.25-78.2.56.fc9.i686 ),
exactly I patched ./sound/pci/hda/patch_via.c by forcing the driver to program
the codec. It was working fine in Fedora 9.
But in Fedora 15, I have tried the patch the ./sound/pci/hda/patch_via.c, but
unfortunately the path doesn't work.
Please : could you help me to figure out how to patch
./sound/pci/hda/patch_via.c to make sound works in my hardware.
Version-Release number of selected component (if applicable):
kernel-2.6.40.3-0.fc15.i686.rpm
Additional info:
****************************************************************************************************************************************************************************
dmesg log :
[ 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]
[ 95.398685] [<f81f5aaf>] snd_hda_build_pcms+0x17/0x2e [snd_hda_codec]
[ 95.398699] [<f816e6fd>] azx_probe+0x9a6/0xa44 [snd_hda_intel]
[ 95.398713] [<f816d1cd>] ? azx_pcm_open+0x1c8/0x1c8 [snd_hda_intel]
[ 95.398725] [<f816d394>] ? azx_acquire_irq+0x9b/0x9b [snd_hda_intel]
[ 95.398737] [<f816dbb9>] ? kzalloc.constprop.5+0x14/0x14 [snd_hda_intel]
[ 95.398749] [<f816db45>] ? azx_resume+0xfa/0xfa [snd_hda_intel]
[ 95.398761] [<f816d9e7>] ? azx_init_chip+0x1d5/0x1d5 [snd_hda_intel]
[ 95.398775] [<c05dfcc1>] pci_device_probe+0x5e/0xa7
[ 95.398787] [<c06616ef>] driver_probe_device+0x121/0x1fc
[ 95.398794] [<c05dfc39>] ? pci_match_device+0x5d/0x68
[ 95.398802] [<c0661812>] __driver_attach+0x48/0x64
[ 95.398810] [<c0660931>] bus_for_each_dev+0x42/0x6b
[ 95.398817] [<c0661350>] driver_attach+0x1f/0x23
[ 95.398824] [<c06617ca>] ? driver_probe_device+0x1fc/0x1fc
[ 95.398832] [<c0660fcb>] bus_add_driver+0xca/0x210
[ 95.398840] [<c0661c2a>] driver_register+0x84/0xe3
[ 95.398848] [<c05e03f7>] __pci_register_driver+0x34/0x91
[ 95.398862] [<f820c017>] alsa_card_azx_init+0x17/0x19 [snd_hda_intel]
[ 95.398871] [<c0401173>] do_one_initcall+0x8b/0x138
[ 95.398878] [<f820c000>] ? 0xf820bfff
[ 95.398889] [<c045945f>] sys_init_module+0x12bd/0x14dc
[ 95.398905] [<c07c0e94>] syscall_call+0x7/0xb
[ 95.398909] Code: 00 f3 a5 8d b8 f0 00 00 00 8b 48 50 8b 70 3c 0f b7 09 66
89 88 cc 00 00 00 b9 0c 00 00 00 f3 a5 8b 88 9c 00 00 00 66 83 78 5c 00 <0f> b7
09 66 89 88 fc 00 00 00 8b 48 64 89 88 c8 00 00 00 75 0a
[ 95.398972] EIP: [<f83740ac>] via_build_pcms+0x60/0xdc [snd_hda_codec_via]
SS:ESP 0068:f17afd20
[ 95.398984] CR2: 0000000000000000
[ 95.488158] ---[ end trace e7a4603bcd7d8946 ]---
****************************************************************************************************************************************************************************
lspci -v :
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio
Controller (rev 02)
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at fea38000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
****************************************************************************************************************************************************************************
* Please, I need your great help to make my sound card works as I did for
Fedora 9.
* Or any workaround.
* If you need any information, please don't hesitate.
****************************************************************************************************************************************************************************
* I have used the attached patch to force the driver to program the code.
****************************************************************************************************************************************************************************
Thanks a lot in advance.
[-- Attachment #2: linux-2.6.27-sound-ezono.patch --]
[-- Type: text/x-patch, Size: 3030 bytes --]
diff -auNrp kernel-2.6.26.orig/sound/pci/hda/patch_via.c kernel-2.6.26.new/sound/pci/hda/patch_via.c
--- kernel-2.6.26.orig/sound/pci/hda/patch_via.c 2008-10-17 18:58:06.000000000 +0200
+++ kernel-2.6.26.new/sound/pci/hda/patch_via.c 2008-10-17 19:01:21.000000000 +0200
@@ -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) {
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2011-09-28 15:22 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27 6:41 "modprobe snd_hda_intel" crashes on my hardware Abdelghani Ouchabane
2011-09-27 13:18 ` Clemens Ladisch
2011-09-27 12:20 ` Abdelghani Ouchabane
2011-09-28 4:01 ` Raymond Yau
2011-09-28 6:15 ` Abdelghani Ouchabane
2011-09-28 6:50 ` Abdelghani Ouchabane
2011-09-28 6:54 ` Abdelghani Ouchabane
2011-09-28 7:10 ` Abdelghani Ouchabane
2011-09-28 6:00 ` Takashi Iwai
2011-09-28 6:24 ` Abdelghani Ouchabane
2011-09-28 9:07 ` Takashi Iwai
2011-09-28 9:50 ` Paul Menzel
2011-09-28 8:34 ` Abdelghani Ouchabane
2011-09-28 13:42 ` Takashi Iwai
2011-09-28 6:51 ` Abdelghani Ouchabane
2011-09-28 7:00 ` Abdelghani Ouchabane
2011-09-28 7:54 ` Abdelghani Ouchabane
2011-09-28 8:20 ` Abdelghani Ouchabane
2011-09-28 13:43 ` Takashi Iwai
2011-09-28 12:22 ` Abdelghani Ouchabane
2011-09-28 14:23 ` Takashi Iwai
2011-09-28 12:51 ` Abdelghani Ouchabane
2011-09-28 14:58 ` Takashi Iwai
2011-09-28 13:19 ` Abdelghani Ouchabane
2011-09-28 15:01 ` Clemens Ladisch
2011-09-28 13:22 ` Abdelghani Ouchabane
-- strict thread matches above, loose matches on Subject: below --
2011-09-27 5:42 Abdelghani Ouchabane
2011-09-27 5:46 ` Abdelghani Ouchabane
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.