Skip to contentSkip to conversation

Conexant test code.

PATCH Tobin Davis 6 participants 8 messages Nov 4, 2006 – Nov 9, 2006

lore
Share & tools
lore
#0 lore raw

Here's test release 8. Changes of significance:

Preliminary Conexant 5045 support
Preliminary HP DV6000 series support. Preliminary test mode (when compiled with debugging).

Separation of Conexant 5047 support models
HP DV1000/2000/3000 series split from 5000/8000 series due to implementation differences. No change on HP muting speakers (still need to figure this one out).
HP DV5000/8000 series/Compaq V5209US/V5204NR series
Headphone mutes speakers ok (same as test7). Removed Internal Microphone from mixer.
Toshiba P100 series
changed EAPD default. Hopefully this triggers audio.
Code changes to "test" model.
Adjusted Mic gains (I think).

Areas to test:
5045 series - everything.
5047 series
HP DV1/2/3000 series - try test mode and start toggling controls until speakers are muted and headphones work. Report findings.
HP 5000/8000 series - make sure I didn't break things. Test recording.
Toshiba - everything.

For the new testers in the group, here's the instructions:

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.13.tar.bz2 tar -jxf alsa-driver-1.0.13.tar.bz2
cd alsa-driver-1.0.13
./configure --with-debug=full --with-cards=hda-intel
patch -p1 <conexant-test8.patch
make ; make install
dmesg -c

Stop all audio applications and remove all audio drivers (lsmod |fgrep snd). Reload the new driver with "modprobe snd-hda-intel" and test it out. Use alsamixer to report any mixer issues (easier to debug than kmix/gmix, whatever-gui-mixer). If nothing works, or one function doesn't work, try reloading the driver with "model=test" as a parameter. This should enable everything.

Send me your test results. Please include the system make/model, the subsystem line from "lspci -s 0:1b -vn" (Ex: Subsystem: 103c:30b2), and the output from "cat /proc/asound/card0/codec#0".
I need this for tracking what works on what systems.

Thanks for helping test this new driver.

Signature · 1 line
Tobin Davis <[email protected]>
pci/hda/patch_conexant.c new file +2 -0
@@ -0,0 +1,2 @@
+#define __NO_VERSION__
+#include "../../alsa-kernel/pci/hda/patch_conexant.c"
alsa-kernel/Documentation/ALSA-Configuration.txt +14 -0
diff -r d7fe584f7395 Documentation/ALSA-Configuration.txt
@@ -866,6 +865,20 @@ Prior to version 0.9.0rc4 options had a
          laptop        3-jack with hp-jack automute
          laptop-dig    ditto with SPDIF
          auto          auto-config reading BIOS (default)
+
+       Conexant 5045
+         laptop        Laptop config
+         test          for testing/debugging purpose, almost all controls can be
+                       adjusted.  Appearing only when compiled with
+                       $CONFIG_SND_DEBUG=y
+
+       Conexant 5047
+         laptop        Basic Laptop config
+         laptop-hp     Laptop config with Headphone detect
+         laptop-eapd   Laptop config EAPD support
+         test          for testing/debugging purpose, almost all controls can be
+                       adjusted.  Appearing only when compiled with
+                       $CONFIG_SND_DEBUG=y
 
        STAC9200/9205/9220/9221/9254
          ref           Reference board
alsa-kernel/pci/hda/Makefile +1 -1
diff -r d7fe584f7395 pci/hda/Makefile
@@ -1,5 +1,5 @@ snd-hda-intel-objs := hda_intel.o
 snd-hda-intel-objs := hda_intel.o
-snd-hda-codec-objs := hda_codec.o hda_generic.o patch_realtek.o patch_cmedia.o patch_analog.o patch_sigmatel.o patch_si3054.o patch_atihdmi.o
+snd-hda-codec-objs := hda_codec.o hda_generic.o patch_realtek.o patch_cmedia.o patch_analog.o patch_sigmatel.o patch_si3054.o patch_atihdmi.o patch_conexant.o
 ifdef CONFIG_PROC_FS
 snd-hda-codec-objs += hda_proc.o
 endif
alsa-kernel/pci/hda/hda_patch.h +3 -0
diff -r d7fe584f7395 pci/hda/hda_patch.h
@@ -14,6 +14,8 @@ extern struct hda_codec_preset snd_hda_p
 extern struct hda_codec_preset snd_hda_preset_si3054[];
 /* ATI HDMI codecs */
 extern struct hda_codec_preset snd_hda_preset_atihdmi[];
+/* Conexant audio codec */
+extern struct hda_codec_preset snd_hda_preset_conexant[];
 
 static const struct hda_codec_preset *hda_preset_tables[] = {
 	snd_hda_preset_realtek,
@@ -22,5 +24,6 @@ static const struct hda_codec_preset *hd
 	snd_hda_preset_sigmatel,
 	snd_hda_preset_si3054,
 	snd_hda_preset_atihdmi,
+	snd_hda_preset_conexant,
 	NULL
 };
alsa-kernel/pci/hda/patch_conexant.c new file +1281 -0

1,281 lines not on this page · raw message

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#1 lore raw

Hi Tobin,

Below you can find results of my testing of conexant test patch 8.

Model: HP pavilion DV2000
Subsystem: 103c:30b2

Sound and internal microphone is working (as with previous patch)

I've alsa noticed following strange behaviour of alsamixer: the first control named "Master" (in previous patches it was named "Headphones") affects only sound in headphones, sound in internal speakers can be modfied only by changing value of PCM control. PCM affects both headphones and internal speaker.

Quoted 1 line

From other side DV2000 has LED button to mute sound, when I mute "Master"

control this LED is glowing orange inicating that sound is muted (but actually sound muted only in headphones).

Unfortunately I can not test patch with model=test. Alsamixer can not be started and prints following error:
alsamixer: function snd_mixer_load failed: Invalid argument
At the same time dmesg says:
hda_codec: num_steps = 0 for NID=0x19

When I try to execute following command (from init scripts):
alsactl -f asound.state store
I get "unable to handle kernel paging request" error:

BUG: unable to handle kernel paging request at virtual address fffffff8
 printing eip:
f8cc4714
*pde = 00004067
*pte = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_pcm snd_timer snd
soundcore snd_page_alloc ohci1394 e100 nvidia i2c_core ntfs ipw3945 ieee80211
ieee80211_crypt firmware_class joydev
CPU:    1
EIP:    0060:[<f8cc4714>]    Tainted: PF     VLI
EFLAGS: 00010296   (2.6.18-suspend2 #5)

EIP is at snd_hda_ch_mode_info+0x24/0x50 [snd_hda_codec]
eax: ffffffff ebx: 00000000 ecx: 00000000 edx: f50dbe04
esi: f74a3140 edi: c1105511 ebp: f6f49014 esp: f50dbdb4
ds: 007b es: 007b ss: 0068
Process alsactl (pid: 31485, ti=f50da000 task=c266ba90 task.ti=f50da000)

Stack: 00000000 f6f49014 f6f49014 f8ccfec8 00000000 f7a5cb54 f88ee5a7
       f50dbe1c f57766c0 f50dbf34 c108ae93 f50dbe04 bff5cab0 f6ed9254
       00000000 f88fb000 00000000 f6bd7408 f6f49160 f6f49160 00000001
       00000002 00000000 00000000
Call Trace:
 [<f8ccfec8>] conexant_ch_mode_info+0x18/0x20 [snd_hda_codec]
 [<f88ee5a7>] snd_ctl_ioctl+0x4e7/0xb50 [snd]
 [<c108f85b>] do_ioctl+0x2b/0x90
 [<c108f91c>] vfs_ioctl+0x5c/0x2b0
 [<c108fbad>] sys_ioctl+0x3d/0x70
 [<c100311d>] sysenter_past_esp+0x56/0x79
 [<b7f80410>] 0xb7f80410
Code: 8d bc 27 00 00 00 00 83 ec 0c 8b 44 24 10 3b 42 54
 c7 42 40 03 00 00 00 c7 42 48 01 00 00 00 89 42 50 77 04
 48 89 42 54 8b 42 54 <8b> 04 c1 89 44 24 08 b8 38 1f cd
 f8 89 44 24 04 8d 42 58 89 04
EIP: [<f8cc4714>] snd_hda_ch_mode_info+0x24/0x50 [snd_hda_codec]

SS:ESP 0068:f50dbdb4

Regards,
Konstantin

Quoted 57 lines · Tobin Davis

Here's test release 8. Changes of significance:

Preliminary Conexant 5045 support
Preliminary HP DV6000 series support. Preliminary test mode (when compiled with debugging).

Separation of Conexant 5047 support models
HP DV1000/2000/3000 series split from 5000/8000 series due to implementation differences. No change on HP muting speakers (still need to figure this one out).
HP DV5000/8000 series/Compaq V5209US/V5204NR series
Headphone mutes speakers ok (same as test7). Removed Internal Microphone from mixer.
Toshiba P100 series
changed EAPD default. Hopefully this triggers audio.
Code changes to "test" model.
Adjusted Mic gains (I think).

Areas to test:
5045 series - everything.
5047 series
HP DV1/2/3000 series - try test mode and start toggling controls until speakers are muted and headphones work. Report findings.
HP 5000/8000 series - make sure I didn't break things. Test recording.
Toshiba - everything.

For the new testers in the group, here's the instructions:

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.13.tar.bz2 tar -jxf alsa-driver-1.0.13.tar.bz2
cd alsa-driver-1.0.13
./configure --with-debug=full --with-cards=hda-intel
patch -p1 <conexant-test8.patch
make ; make install
dmesg -c

Stop all audio applications and remove all audio drivers (lsmod |fgrep snd). Reload the new driver with "modprobe snd-hda-intel" and test it out. Use alsamixer to report any mixer issues (easier to debug than kmix/gmix, whatever-gui-mixer). If nothing works, or one function doesn't work, try reloading the driver with "model=test" as a parameter. This should enable everything.

Send me your test results. Please include the system make/model, the subsystem line from "lspci -s 0:1b -vn" (Ex: Subsystem: 103c:30b2), and the output from "cat /proc/asound/card0/codec#0".
I need this for tracking what works on what systems.

Thanks for helping test this new driver.

--
Tobin Davis <[email protected]>

Signature · 7 lines
http://step-inside.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#2 lore raw
In reply to Tobin Davis

Hi Tobin,

Here are the results of Patch 8 test: ========> No sound :-(

Model: Toshiba Satellite P100-114
Subsystem: 1179:ff31

Alsamixer shows:

- Master: ok
- PCM: ok
- Mic Bypass: ok
- IEC958: Just the mute/unmute case
- Capture: ok
- ExtMic: nothing
- IntMic: nothing

# cat /proc/asound/card0/codec#0

Codec: Conexant CXT5047
Address: 0
Vendor Id: 0x14f15047
Subsystem Id: 0x1179ff31
Revision Id: 0x100000
Default PCM: rates 0x040, bits 0x02, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x10 [Audio Output] wcaps 0x41d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1e 0x1e]
PCM: rates 0x040, bits 0x02, types 0x1
Power: 0x0
Node 0x11 [Audio Output] wcaps 0x611: Stereo Digital
PCM: rates 0x040, bits 0x02, types 0x1
Power: 0x0
Node 0x12 [Audio Input] wcaps 0x100d1b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x0e 0x0e] [0x80
0x80] [0x80 0x80]
PCM: rates 0x040, bits 0x02, types 0x1
Power: 0x0
Connection: 6

     0x19 0x14 0x15 0x1a* 0x16 0x10

Node 0x13 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1e 0x1e]
Pincap 0x081001c: OUT HP EAPD Detect
Pin Default 0xc3111010: [Both] Speaker at Ext Left
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 3

     0x19* 0x10 0x16

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x0833c: IN OUT HP Detect
Pin Default 0x03811011: [Jack] Line In at Ext Left
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Power: 0x0
Connection: 2

     0x19* 0x16

Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x0833c: IN OUT HP Detect
Pin Default 0x03a11012: [Jack] Mic at Ext Left
Conn = 1/8, Color = Black
Pin-ctls: 0x21: IN
Power: 0x0
Connection: 3

     0x1c 0x19* 0x16

Node 0x16 [Pin Complex] wcaps 0x400401: Stereo
Pincap 0x0860: IN
Pin Default 0x99330100: [Fixed] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Power: 0x0
Node 0x17 [Pin Complex] wcaps 0x400481: Stereo
Pincap 0x08324: IN Detect
Pin Default 0xb7a00100: [Fixed] Mic at Oth Mobile-In
Conn = Unknown, Color = Unknown
Pin-ctls: 0x21: IN
Power: 0x0
Node 0x18 [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x21440100: [Jack] SPDIF Out at Sep Rear
Conn = RCA, Color = Unknown
Pin-ctls: 0x00:
Power: 0x0
Connection: 1

     0x11

Node 0x19 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-In vals: [0x17 0x17] [0x80 0x80] [0x00 0x00] [0x17 0x17]
Power: 0x0
Connection: 4

     0x10 0x1b 0x1a 0x16

Node 0x1a [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x1f, mute=0 Amp-Out vals: [0x03 0x03]
Power: 0x0
Connection: 3

     0x15 0x14* 0x17
Node 0x1b [Audio Selector] wcaps 0x300501: Stereo
  Power: 0x0
  Connection: 2
     0x14* 0x15

Node 0x1c [Audio Output] wcaps 0x41d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80]
PCM: rates 0x040, bits 0x02, types 0x1
Power: 0x0
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x08314: OUT Detect
Pin Default 0x90100112: [Fixed] Speaker at Int N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 3

     0x1c 0x19* 0x16

Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono

Thank's for your work !

Guy-jo.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw
In reply to Tobin Davis

Conexant 5047, HP DV3000.

Only difference I see from patch 7 is Headphone mixer is renamed to Main.

Same issues with headphones not muting speakers and scratchy sound.

I'd like to try model=test, but I still get a bunch of Unknown symbols and unknown parameter model. Am I doing something wrong? Need to compile a kernel with debugging enabled? I am using ./configure --with-debug=full --with-cards=hda-intel

lspci -s 0:1b -vn
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 103c:30b2
Flags: bus master, fast devsel, latency 0, IRQ 74
Memory at d4340000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

root@anders-laptop:~/Desktop/alsa/alsa-driver-1.0.13# modprobe snd-hda-intel
root@anders-laptop:~/Desktop/alsa/alsa-driver-1.0.13# dmesg
[17182639.584000] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
[17182653.732000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) ->
IRQ 66
[17182653.732000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[17182654.888000] ALSA
/home/anders/Desktop/alsa/alsa-driver-1.0.13/pci/hda/\
../../alsa-kernel/pci/hda/hda_intel.c:540:
hda_intel: azx_get_response timeout, switching to polling mode...
root@anders-laptop:~/Desktop/alsa/alsa-driver-1.0.13# /etc/init.d/alsasound
stop; dmesg -c; modprobe snd-hda-intel model=test
Shutting down sound driver: done
[17182639.584000] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
[17182653.732000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) ->
IRQ 66
[17182653.732000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[17182654.888000] ALSA
/home/anders/Desktop/alsa/alsa-driver-1.0.13/pci/hda/\
../../alsa-kernel/pci/hda/hda_intel.c:540:
hda_intel: azx_get_response timeout, switching to polling mode...
[17182741.976000] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
FATAL: Error inserting snd
(/lib/modules/2.6.17-10-generic/kernel/sound/acore/snd.ko): Unknown symbol in
module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer
(/lib/modules/2.6.17-10-generic/kernel/sound/acore/snd-timer.ko): Unknown symbol
in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd
(/lib/modules/2.6.17-10-generic/kernel/sound/acore/snd.ko): Unknown symbol in
module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer
(/lib/modules/2.6.17-10-generic/kernel/sound/acore/snd-timer.ko): Unknown symbol
in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm
(/lib/modules/2.6.17-10-generic/kernel/sound/acore/snd-pcm.ko): Unknown symbol
in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_hda_codec
(/lib/modules/2.6.17-10-generic/kernel/sound/pci/hda/snd-hda-codec.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_hda_intel
(/lib/modules/2.6.17-10-generic/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
root@anders-laptop:~/Desktop/alsa/alsa-driver-1.0.13# dmesg
[17182742.056000] snd: Unknown parameter `model'
[17182742.056000] snd_timer: Unknown symbol snd_verbose_printd
[17182742.056000] snd_timer: Unknown symbol snd_hidden_kzalloc
[17182742.056000] snd_timer: Unknown symbol snd_info_register
[17182742.056000] snd_timer: Unknown symbol snd_info_create_module_entry
[17182742.056000] snd_timer: Unknown symbol snd_info_free_entry
[17182742.056000] snd_timer: Unknown symbol snd_hidden_kfree
[17182742.056000] snd_timer: Unknown symbol snd_verbose_printk
[17182742.056000] snd_timer: Unknown symbol snd_iprintf
[17182742.056000] snd_timer: Unknown symbol snd_ecards_limit
[17182742.056000] snd_timer: Unknown symbol snd_oss_info_register
[17182742.056000] snd_timer: Unknown symbol snd_unregister_device
[17182742.056000] snd_timer: Unknown symbol snd_hidden_kstrdup
[17182742.056000] snd_timer: Unknown symbol snd_device_new
[17182742.056000] snd_timer: Unknown symbol snd_hidden_kmalloc
[17182742.056000] snd_timer: Unknown symbol snd_register_device
[17182742.068000] snd: Unknown parameter `model'
[17182742.072000] snd_timer: Unknown symbol snd_verbose_printd
[17182742.072000] snd_timer: Unknown symbol snd_hidden_kzalloc
[17182742.072000] snd_timer: Unknown symbol snd_info_register
[17182742.072000] snd_timer: Unknown symbol snd_info_create_module_entry
[17182742.072000] snd_timer: Unknown symbol snd_info_free_entry
[17182742.072000] snd_timer: Unknown symbol snd_hidden_kfree
[17182742.072000] snd_timer: Unknown symbol snd_verbose_printk
[17182742.072000] snd_timer: Unknown symbol snd_iprintf
[17182742.072000] snd_timer: Unknown symbol snd_ecards_limit
[17182742.072000] snd_timer: Unknown symbol snd_oss_info_register
[17182742.072000] snd_timer: Unknown symbol snd_unregister_device
[17182742.072000] snd_timer: Unknown symbol snd_hidden_kstrdup
[17182742.072000] snd_timer: Unknown symbol snd_device_new
[17182742.072000] snd_timer: Unknown symbol snd_hidden_kmalloc
[17182742.072000] snd_timer: Unknown symbol snd_register_device
[17182742.076000] snd_pcm: Unknown symbol snd_verbose_printd
[17182742.076000] snd_pcm: Unknown symbol snd_hidden_kzalloc
[17182742.076000] snd_pcm: Unknown symbol snd_info_register
[17182742.076000] snd_pcm: Unknown symbol snd_info_create_module_entry
[17182742.076000] snd_pcm: Unknown symbol snd_timer_notify
[17182742.076000] snd_pcm: Unknown symbol snd_timer_interrupt
[17182742.076000] snd_pcm: Unknown symbol snd_info_free_entry
[17182742.076000] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[17182742.076000] snd_pcm: Unknown symbol snd_info_get_str
[17182742.076000] snd_pcm: Unknown symbol snd_hidden_kcalloc
[17182742.076000] snd_pcm: Unknown symbol snd_hidden_kfree
[17182742.076000] snd_pcm: Unknown symbol snd_verbose_printk
[17182742.076000] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[17182742.076000] snd_pcm: Unknown symbol snd_card_file_add
[17182742.076000] snd_pcm: Unknown symbol snd_iprintf
[17182742.076000] snd_pcm: Unknown symbol snd_major
[17182742.076000] snd_pcm: Unknown symbol snd_unregister_device
[17182742.076000] snd_pcm: Unknown symbol snd_timer_new
[17182742.076000] snd_pcm: Unknown symbol snd_device_new
[17182742.076000] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[17182742.076000] snd_pcm: Unknown symbol snd_lookup_minor_data
[17182742.076000] snd_pcm: Unknown symbol snd_info_create_card_entry
[17182742.076000] snd_pcm: Unknown symbol snd_power_wait
[17182742.076000] snd_pcm: Unknown symbol snd_hidden_kmalloc
[17182742.076000] snd_pcm: Unknown symbol snd_device_free
[17182742.076000] snd_pcm: Unknown symbol snd_card_file_remove
[17182742.076000] snd_pcm: Unknown symbol snd_device_register
[17182742.076000] snd_pcm: Unknown symbol snd_register_device
[17182742.076000] snd_pcm: Unknown symbol snd_info_get_line
[17182742.080000] snd_hda_codec: Unknown symbol snd_verbose_printd
[17182742.080000] snd_hda_codec: Unknown symbol snd_hidden_kzalloc
[17182742.080000] snd_hda_codec: Unknown symbol snd_ctl_add
[17182742.080000] snd_hda_codec: Unknown symbol snd_card_proc_new
[17182742.080000] snd_hda_codec: Unknown symbol snd_hidden_kcalloc
[17182742.080000] snd_hda_codec: Unknown symbol snd_hidden_kfree
[17182742.080000] snd_hda_codec: Unknown symbol snd_ctl_find_id
[17182742.080000] snd_hda_codec: Unknown symbol snd_verbose_printk
[17182742.080000] snd_hda_codec: Unknown symbol snd_ctl_new1
[17182742.080000] snd_hda_codec: Unknown symbol snd_component_add
[17182742.080000] snd_hda_codec: Unknown symbol snd_iprintf
[17182742.080000] snd_hda_codec: Unknown symbol snd_ctl_elem_read
[17182742.080000] snd_hda_codec: Unknown symbol snd_ctl_elem_write
[17182742.080000] snd_hda_codec: Unknown symbol snd_hidden_kstrdup
[17182742.080000] snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_list
[17182742.080000] snd_hda_codec: Unknown symbol snd_device_new
[17182742.080000] snd_hda_codec: Unknown symbol snd_hidden_kmalloc
[17182742.080000] snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_step
[17182742.080000] snd_hda_codec: Unknown symbol snd_pcm_format_width
[17182742.084000] snd_hda_intel: Unknown symbol snd_verbose_printd
[17182742.084000] snd_hda_intel: Unknown symbol snd_hidden_kzalloc
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_new
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates
[17182742.084000] snd_hda_intel: Unknown symbol snd_card_register
[17182742.084000] snd_hda_intel: Unknown symbol snd_card_free
[17182742.084000] snd_hda_intel: Unknown symbol
snd_pcm_lib_preallocate_pages_for_all
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_bus_new
[17182742.084000] snd_hda_intel: Unknown symbol snd_hidden_kcalloc
[17182742.084000] snd_hda_intel: Unknown symbol snd_hidden_kfree
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_build_pcms
[17182742.084000] snd_hda_intel: Unknown symbol snd_verbose_printk
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_codec_new
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_queue_unsol_event
[17182742.084000] snd_hda_intel: Unknown symbol snd_card_new
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_calc_stream_format
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_set_ops
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_suspend
[17182742.084000] snd_hda_intel: Unknown symbol snd_device_new
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_suspend_all
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_resume
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer
[17182742.084000] snd_hda_intel: Unknown symbol snd_hda_build_controls
[17182742.084000] snd_hda_intel: Unknown symbol snd_hidden_kmalloc
[17182742.084000] snd_hda_intel: Unknown symbol snd_pcm_period_elapsed
root@anders-laptop:~/Desktop/alsa/alsa-driver-1.0.13# \
cat /proc/asound/card0/codec#0
Codec: Conexant CXT5047
Address: 0
Vendor Id: 0x14f15047
Subsystem Id: 0x103c30b2
Revision Id: 0x100000
Default PCM: rates 0x040, bits 0x02, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x10 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-Out vals:  [0x0e 0x0e]
  PCM: rates 0x040, bits 0x02, types 0x1
  Power: 0x0
Node 0x11 [Audio Output] wcaps 0x611: Stereo Digital
  PCM: rates 0x040, bits 0x02, types 0x1
  Power: 0x0
Node 0x12 [Audio Input] wcaps 0x100d1b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x8e 0x8e] [0x80 0x80]
[0x80 0x80]
  PCM: rates 0x040, bits 0x02, types 0x1
  Power: 0x0
  Connection: 6
     0x19 0x14 0x15 0x1a* 0x16 0x10
Node 0x13 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-Out vals:  [0x9e 0x9e]
  Pincap 0x081001c: OUT HP EAPD Detect
  Pin Default 0x0221101f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 3
     0x19* 0x10 0x16
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Pincap 0x0833c: IN OUT HP Detect
  Pin Default 0x02a1102e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Power: 0x0
  Connection: 2
     0x19* 0x16
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Pincap 0x0833c: IN OUT HP Detect
  Pin Default 0x40000180: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x21: IN
  Power: 0x0
  Connection: 3
     0x1c 0x19* 0x16
Node 0x16 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x0860: IN
  Pin Default 0x94330121: [Fixed] CD at Int Right
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x20: IN
  Power: 0x0
Node 0x17 [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x08324: IN Detect
  Pin Default 0x95a70122: [Fixed] Mic at Int Top
    Conn = Analog, Color = Unknown
  Pin-ctls: 0x21: IN
  Power: 0x0
Node 0x18 [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x04440131: [Jack] SPDIF Out at Ext Right
    Conn = RCA, Color = Unknown
  Pin-ctls: 0x00:
  Power: 0x0
  Connection: 1
     0x11
Node 0x19 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-In vals:  [0x17 0x17] [0x80 0x80] [0x80 0x80] [0x17 0x17]
  Power: 0x0
  Connection: 4
     0x10 0x1b 0x1a 0x16
Node 0x1a [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x1f, mute=0
  Amp-Out vals:  [0x03 0x03]
  Power: 0x0
  Connection: 3
     0x15 0x14 0x17*
Node 0x1b [Audio Selector] wcaps 0x300501: Stereo
  Power: 0x0
  Connection: 2
     0x14* 0x15
Node 0x1c [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  PCM: rates 0x040, bits 0x02, types 0x1
  Power: 0x0
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Pincap 0x08314: OUT Detect
  Pin Default 0x92170110: [Fixed] Speaker at Int Front
    Conn = Analog, Color = Unknown
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 3
     0x1c 0x19* 0x16
Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono
Signature · 8 lines
Anders


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#4 lore raw
In reply to Tobin Davis

Hi Tobin,

I had the same results for my HP DV2000 (with same subsystem) except for me alsactl -f asound.state store worked. It exits successfully without comment.

Funnily enough also for me when I press the mute button it doesn't glow orange. That's hardly an important issue however.

Thanks,
Matthew

Quoted 125 lines

From: Konstantin Shaposhnikov <k.shaposhnikov <at> gmail.com>
Subject: Re: Conexant test code.
<http://news.gmane.org/find-root.php?message_id=%3cb12092cb0611040435k38bb2094if074160cc9769ec4%40mail.gmail.com%3e>
<http://news.gmane.org/gmane.linux.alsa.devel>
Hi Tobin,

Below you can find results of my testing of conexant test patch 8.

Model: HP pavilion DV2000
Subsystem: 103c:30b2

Sound and internal microphone is working (as with previous patch)

I've alsa noticed following strange behaviour of alsamixer: the first control named "Master" (in previous patches it was named "Headphones") affects only sound in headphones, sound in internal speakers can be modfied only by changing value of PCM control. PCM affects both headphones and internal speaker.

Quoted 1 line

From other side DV2000 has LED button to mute sound, when I mute "Master"

control this LED is glowing orange inicating that sound is muted (but actually sound muted only in headphones).

Unfortunately I can not test patch with model=test. Alsamixer can not be started and prints following error:
alsamixer: function snd_mixer_load failed: Invalid argument
At the same time dmesg says:

   hda_codec: num_steps = 0 for NID=0x19

When I try to execute following command (from init scripts):
alsactl -f asound.state store
I get "unable to handle kernel paging request" error:

BUG: unable to handle kernel paging request at virtual address fffffff8
 printing eip:
f8cc4714
*pde = 00004067
*pte = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_pcm snd_timer snd
soundcore snd_page_alloc ohci1394 e100 nvidia i2c_core ntfs ipw3945 ieee80211
ieee80211_crypt firmware_class joydev
CPU:    1
EIP:    0060:[<f8cc4714>]    Tainted: PF     VLI
EFLAGS: 00010296   (2.6.18-suspend2 #5)

EIP is at snd_hda_ch_mode_info+0x24/0x50 [snd_hda_codec]
eax: ffffffff ebx: 00000000 ecx: 00000000 edx: f50dbe04
esi: f74a3140 edi: c1105511 ebp: f6f49014 esp: f50dbdb4
ds: 007b es: 007b ss: 0068
Process alsactl (pid: 31485, ti=f50da000 task=c266ba90 task.ti=f50da000)

Stack: 00000000 f6f49014 f6f49014 f8ccfec8 00000000 f7a5cb54 f88ee5a7
       f50dbe1c f57766c0 f50dbf34 c108ae93 f50dbe04 bff5cab0 f6ed9254
       00000000 f88fb000 00000000 f6bd7408 f6f49160 f6f49160 00000001
       00000002 00000000 00000000
Call Trace:
 [<f8ccfec8>] conexant_ch_mode_info+0x18/0x20 [snd_hda_codec]
 [<f88ee5a7>] snd_ctl_ioctl+0x4e7/0xb50 [snd]
 [<c108f85b>] do_ioctl+0x2b/0x90
 [<c108f91c>] vfs_ioctl+0x5c/0x2b0
 [<c108fbad>] sys_ioctl+0x3d/0x70
 [<c100311d>] sysenter_past_esp+0x56/0x79
 [<b7f80410>] 0xb7f80410
Code: 8d bc 27 00 00 00 00 83 ec 0c 8b 44 24 10 3b 42 54
 c7 42 40 03 00 00 00 c7 42 48 01 00 00 00 89 42 50 77 04
 48 89 42 54 8b 42 54 <8b> 04 c1 89 44 24 08 b8 38 1f cd
 f8 89 44 24 04 8d 42 58 89 04
EIP: [<f8cc4714>] snd_hda_ch_mode_info+0x24/0x50 [snd_hda_codec]

SS:ESP 0068:f50dbdb4

Regards,
Konstantin

Quoted 50 lines · On 11/4/06, Tobin Davis <tdavis <at> dsl-only.net> wrote:

Here's test release 8. Changes of significance:

Preliminary Conexant 5045 support
Preliminary HP DV6000 series support. Preliminary test mode (when compiled with debugging).

Separation of Conexant 5047 support models
HP DV1000/2000/3000 series split from 5000/8000 series due to implementation differences. No change on HP muting speakers (still need to figure this one out).
HP DV5000/8000 series/Compaq V5209US/V5204NR series
Headphone mutes speakers ok (same as test7). Removed Internal Microphone from mixer.
Toshiba P100 series
changed EAPD default. Hopefully this triggers audio.
Code changes to "test" model.
Adjusted Mic gains (I think).

Areas to test:
5045 series - everything.
5047 series
HP DV1/2/3000 series - try test mode and start toggling controls until speakers are muted and headphones work. Report findings.
HP 5000/8000 series - make sure I didn't break things. Test recording.
Toshiba - everything.

For the new testers in the group, here's the instructions:

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.13.tar.bz2 tar -jxf alsa-driver-1.0.13.tar.bz2
cd alsa-driver-1.0.13
./configure --with-debug=full --with-cards=hda-intel
patch -p1 <conexant-test8.patch
make ; make install
dmesg -c

Stop all audio applications and remove all audio drivers (lsmod |fgrep snd). Reload the new driver with "modprobe snd-hda-intel" and test it out. Use alsamixer to report any mixer issues (easier to debug than kmix/gmix, whatever-gui-mixer). If nothing works, or one function doesn't work, try reloading the driver with "model=test" as a parameter. This should enable everything.

Send me your test results. Please include the system make/model, the subsystem line from "lspci -s 0:1b -vn" (Ex: Subsystem: 103c:30b2), and the output from "cat /proc/asound/card0/codec#0".
I need this for tracking what works on what systems.

Quoted 17 lines
Quoted 7 lines

Thanks for helping test this new driver.

--
Tobin Davis <tdavis <at> dsl-only.net>

Signature · 7 lines
http://step-inside.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#5 lore raw

Hi,

I want to clarify that bugs with alsamixer and alsactl that I have described occure only with model=test option to the driver.

As for mute button, I think that color of this LED is determined by mute status of sound card and this functionlaity is implemented in hardware.

When you press this button soundcard is not muted, such thing should be implemented programmatically, f.e. you can configure your window manager to execute alsactl with appropriate parameters on button click.

Regards,
Konstantin

Quoted 165 lines · Matthew Strahan

Hi Tobin,

I had the same results for my HP DV2000 (with same subsystem) except for me alsactl -f asound.state store worked. It exits successfully without comment.

Funnily enough also for me when I press the mute button it doesn't glow orange. That's hardly an important issue however.

Thanks,
Matthew

Quoted 133 lines

From: Konstantin Shaposhnikov <k.shaposhnikov <at> gmail.com>
Subject: Re: Conexant test code.
<http://news.gmane.org/find-root.php?message_id=%3cb12092cb0611040435k38bb2094if074160cc9769ec4%40mail.gmail.com%3e>
<http://news.gmane.org/gmane.linux.alsa.devel>
Hi Tobin,

Below you can find results of my testing of conexant test patch 8.

Model: HP pavilion DV2000
Subsystem: 103c:30b2

Sound and internal microphone is working (as with previous patch)

I've alsa noticed following strange behaviour of alsamixer: the first control named "Master" (in previous patches it was named "Headphones") affects only sound in headphones, sound in internal speakers can be modfied only by changing value of PCM control. PCM affects both headphones and internal speaker.

Quoted 1 line

From other side DV2000 has LED button to mute sound, when I mute "Master"

control this LED is glowing orange inicating that sound is muted (but actually sound muted only in headphones).

Unfortunately I can not test patch with model=test. Alsamixer can not be started and prints following error:
alsamixer: function snd_mixer_load failed: Invalid argument
At the same time dmesg says:

   hda_codec: num_steps = 0 for NID=0x19

When I try to execute following command (from init scripts):
alsactl -f asound.state store
I get "unable to handle kernel paging request" error:

BUG: unable to handle kernel paging request at virtual address fffffff8
 printing eip:
f8cc4714
*pde = 00004067
*pte = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_pcm snd_timer snd
soundcore snd_page_alloc ohci1394 e100 nvidia i2c_core ntfs ipw3945 ieee80211
ieee80211_crypt firmware_class joydev
CPU:    1
EIP:    0060:[<f8cc4714>]    Tainted: PF     VLI
EFLAGS: 00010296   (2.6.18-suspend2 #5)

EIP is at snd_hda_ch_mode_info+0x24/0x50 [snd_hda_codec]
eax: ffffffff ebx: 00000000 ecx: 00000000 edx: f50dbe04
esi: f74a3140 edi: c1105511 ebp: f6f49014 esp: f50dbdb4
ds: 007b es: 007b ss: 0068
Process alsactl (pid: 31485, ti=f50da000 task=c266ba90 task.ti=f50da000)

Stack: 00000000 f6f49014 f6f49014 f8ccfec8 00000000 f7a5cb54 f88ee5a7
       f50dbe1c f57766c0 f50dbf34 c108ae93 f50dbe04 bff5cab0 f6ed9254
       00000000 f88fb000 00000000 f6bd7408 f6f49160 f6f49160 00000001
       00000002 00000000 00000000
Call Trace:
 [<f8ccfec8>] conexant_ch_mode_info+0x18/0x20 [snd_hda_codec]
 [<f88ee5a7>] snd_ctl_ioctl+0x4e7/0xb50 [snd]
 [<c108f85b>] do_ioctl+0x2b/0x90
 [<c108f91c>] vfs_ioctl+0x5c/0x2b0
 [<c108fbad>] sys_ioctl+0x3d/0x70
 [<c100311d>] sysenter_past_esp+0x56/0x79
 [<b7f80410>] 0xb7f80410
Code: 8d bc 27 00 00 00 00 83 ec 0c 8b 44 24 10 3b 42 54
 c7 42 40 03 00 00 00 c7 42 48 01 00 00 00 89 42 50 77 04
 48 89 42 54 8b 42 54 <8b> 04 c1 89 44 24 08 b8 38 1f cd
 f8 89 44 24 04 8d 42 58 89 04
EIP: [<f8cc4714>] snd_hda_ch_mode_info+0x24/0x50 [snd_hda_codec]

SS:ESP 0068:f50dbdb4

Regards,
Konstantin

Quoted 50 lines · On 11/4/06, Tobin Davis <tdavis <at> dsl-only.net> wrote:

Here's test release 8. Changes of significance:

Preliminary Conexant 5045 support
Preliminary HP DV6000 series support. Preliminary test mode (when compiled with debugging).

Separation of Conexant 5047 support models
HP DV1000/2000/3000 series split from 5000/8000 series due to implementation differences. No change on HP muting speakers (still need to figure this one out).
HP DV5000/8000 series/Compaq V5209US/V5204NR series
Headphone mutes speakers ok (same as test7). Removed Internal Microphone from mixer.
Toshiba P100 series
changed EAPD default. Hopefully this triggers audio.
Code changes to "test" model.
Adjusted Mic gains (I think).

Areas to test:
5045 series - everything.
5047 series
HP DV1/2/3000 series - try test mode and start toggling controls until speakers are muted and headphones work. Report findings.
HP 5000/8000 series - make sure I didn't break things. Test recording.
Toshiba - everything.

For the new testers in the group, here's the instructions:

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.13.tar.bz2 tar -jxf alsa-driver-1.0.13.tar.bz2
cd alsa-driver-1.0.13
./configure --with-debug=full --with-cards=hda-intel
patch -p1 <conexant-test8.patch
make ; make install
dmesg -c

Stop all audio applications and remove all audio drivers (lsmod |fgrep snd). Reload the new driver with "modprobe snd-hda-intel" and test it out. Use alsamixer to report any mixer issues (easier to debug than kmix/gmix, whatever-gui-mixer). If nothing works, or one function doesn't work, try reloading the driver with "model=test" as a parameter. This should enable everything.

Send me your test results. Please include the system make/model, the subsystem line from "lspci -s 0:1b -vn" (Ex: Subsystem: 103c:30b2), and the output from "cat /proc/asound/card0/codec#0".
I need this for tracking what works on what systems.

Quoted 7 lines

Thanks for helping test this new driver.

--
Tobin Davis <tdavis <at> dsl-only.net>

Quoted 9 lines

--
http://step-inside.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 7 lines
http://step-inside.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#6 lore raw

Just adding my results...

HP dv6000z does not work at all...

Loading driver as so:

--code--
modprobe snd-hda-intel disable_msi=1
--code--

Yields no sound, athough I can launch alsamixer and whatnot

Loading the driver as so:

--code--
modprobe snd-hda-intel disable_msi=1 model=test
--code--

causes a(lsa)mixer to freeze on launch, kill will not kill processes.

dmesg:

--code--

[17199716.196000] ACPI: PCI interrupt for device 0000:00:10.1 disabled
[17199802.688000] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LAZA]
-> GSI 18 (level, high) -> IRQ 58
[17199802.688000] PCI: Setting latency timer of device 0000:00:10.1 to 64
[17199802.812000] ALSA
/home/enigma/src/build/alsa/test/alsa-driver-1.0.13/pci/hda/hda_codec.c:1741:
hda_codec: model 'test' is selected
[17199802.892000] hda_codec: num_steps = 0 for NID=0x17
[17199803.024000] BUG: unable to handle kernel paging request at
virtual address fffffff8
[17199803.024000]  printing eip:
[17199803.024000] f8eca71e
[17199803.024000] *pde = 00002067
[17199803.024000] Oops: 0000 [#1]
[17199803.024000] Modules linked in: snd_hda_intel snd_hda_codec

snd_pcm_oss snd_pcm snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc ipv6 rfcomm hidp l2cap bluetooth powernow_k8 cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi s
bs sony_acpi pcc_acpi i2c_ec hotkey dev_acpi button battery container ac asus_acpi nls_utf8 ntfs ext2 dm_mod md_mod ndiswrapper sr_mod sbp2 parport_pc lp parport joydev af_packe
t nvidia tsdev psmouse sg agpgart serio_raw evdev sdhci mmc_core i2c_core rtc shpchp pci_hotplug usbhid ext3 jbd ehci_hcd ohci1394 ieee1394 ohci_hcd usbcore forcedeth ide_generi
c ide_cd cdrom generic sd_mod amd74xx sata_nv libata scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor vesafb capability commoncap

[17199803.024000] CPU:    0
[17199803.024000] EIP:    0060:[<f8eca71e>]    Tainted: P      VLI
[17199803.024000] EFLAGS: 00010297   (2.6.17-10-386 #2)
[17199803.024000] EIP is at snd_hda_ch_mode_info+0x2e/0x50 [snd_hda_codec]
[17199803.024000] eax: ffffffff   ebx: 00000000   ecx: 00000000   edx: d6151e0c
[17199803.024000] esi: f1fdcbd4   edi: ed156560   ebp: d6151e0c   esp: d6151dcc
[17199803.024000] ds: 007b   es: 007b   ss: 0068
[17199803.024000] Process alsactl (pid: 17349, threadinfo=d6150000
task=ec7f4540)
[17199803.024000] Stack: 00000246 f8ed8c98 ed156414 f8ed6c58 00000000
ed156414 f8aec977 d6151e38
[17199803.024000]        de352814 d6151f44 c0165443 bfaf40a0 e65d86d4
00000001 c016572f d6151e38
[17199803.024000]        00000001 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[17199803.024000] Call Trace:
[17199803.024000]  <f8ed6c58> conexant_ch_mode_info+0x18/0x20
[snd_hda_codec]  <f8aec977> snd_ctl_ioctl+0x4f7/0xc60 [snd]
[17199803.024000]  <c0165443> do_lookup+0x53/0x160  <c016572f>
permission+0xbf/0xd0
[17199803.024000]  <c0148023> __handle_mm_fault+0x1e3/0x840
<c0156b05> nameidata_to_filp+0x35/0x40
[17199803.024000]  <c0156b60> do_filp_open+0x50/0x60  <f8aec480>
snd_ctl_ioctl+0x0/0xc60 [snd]
[17199803.024000]  <c0169bef> do_ioctl+0x1f/0x70  <c02c7ba9>
do_page_fault+0x3d9/0x6e0
[17199803.024000]  <c0169c9c> vfs_ioctl+0x5c/0x270  <c0169f22>
sys_ioctl+0x72/0x90
[17199803.024000]  <c0102dbb> sysenter_past_esp+0x54/0x79
[17199803.024000] Code: 8b 44 24 10 3b 42 54 c7 42 40 03 00 00 00 c7
42 48 01 00 00 00 89 42 50 77 06 83 e8 01 89 42 54 8b 42 54 c7 44 24
04 98 8c ed f8 <8b> 04 c1 89 44 24 08 8
d 42 58 89 04 24 e8 30 21 30 c7 31 c0 83
[17199803.024000] EIP: [<f8eca71e>] snd_hda_ch_mode_info+0x2e/0x50

[snd_hda_codec] SS:ESP 0068:d6151dcc
--code--

/proc/asound/card0/codec#0:

--code--
Codec: Conexant CXT5045
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x103c30b7
Revision Id: 0x100100
Default PCM: rates 0x140, bits 0x0e, types 0x1 Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1 Amp-Out vals: [0xa2 0xa2]
Pincap 0x0810014: OUT EAPD Detect
Pin Default 0x92170010: [Fixed] Speaker at Int Front
Conn = Analog, Color = Unknown
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 2

     0x19* 0x17

Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x08113c: IN OUT HP Detect
Pin Default 0x01214020: [Jack] HP Out at Ext Rear
Conn = 1/8, Color = Green
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 2

     0x19* 0x17

Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x08113c: IN OUT HP Detect
Pin Default 0x01813030: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 2

     0x19* 0x17

Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x21447040: [Jack] SPDIF Out at Sep Rear
Conn = RCA, Color = Yellow
Pin-ctls: 0x00:
Connection: 1

     0x18

Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081124: IN Detect
Pin Default 0x97a70050: [Fixed] Mic at Int Riser
Conn = Analog, Color = Unknown
Pin-ctls: 0x00:
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x99330060: [Fixed] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1 Amp-Out vals: [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Power: 0x0
Connection: 5

     0x19 0x14 0x12 0x11 0x15

Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
PCM: rates 0x040, bits 0x06, types 0x5
Node 0x19 [Audio Output] wcaps 0xc11: Stereo
PCM: rates 0x540, bits 0x0e, types 0x1
Power: 0x0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Power: 0x0
Connection: 5

     0x17* 0x14 0x12 0x11 0x15

Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono --code--

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#7 lore raw
In reply to Konstantin Shaposhnikov

I can confirm this behavior.

HP dv3000, Subsystem: 103c:30b2

model=test gives some kind of kernel problem that brakes alsa:
It's ubuntu patched kernel 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35, in case that's relevant.
dmesg:

[17179844.140000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) \
-> IRQ 66
[17179844.140000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[17179844.264000] ALSA \
/home/anders/Desktop/alsa/alsa-driver-1.0.13/pci/hda/hda_codec.c:1741: \
hda_codec: model 'test' is selected
[17179844.420000] BUG: unable to handle kernel paging request at virtual \
address fffffff8
[17179844.420000]  printing eip:
[17179844.420000] f8f3771e
[17179844.420000] *pde = 00004067
[17179844.420000] Oops: 0000 [#1]
[17179844.420000] SMP 
[17179844.420000] Modules linked in: snd_hda_intel snd_hda_codec snd_pcm \

snd_timer snd snd_page_alloc ipv6 binfmt_misc i915 drm speedstep_centrino \
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand \
cpufreq_conservative video tc1100_wmi sony_acpi sbs pcc_acpi i2c_ec i2c_core \
hotkey dev_acpi container button battery asus_acpi ac af_packet sbp2 \
parport_pc lp parport joydev tsdev sdhci mmc_core e100 mii sg ipw3945 psmouse \
hw_random ieee80211 ieee80211_crypt shpchp pci_hotplug serio_raw intel_agp \
agpgart soundcore evdev ext3 jbd ohci1394 ieee1394 ehci_hcd uhci_hcd usbcore \
ide_generic sd_mod ata_piix libata scsi_mod ide_cd cdrom piix generic thermal \
processor fan fbcon tileblit font bitblit softcursor vesafb capability \
commoncap

[17179844.420000] CPU:    1
[17179844.420000] EIP:    0060:[<f8f3771e>]    Not tainted VLI
[17179844.420000] EFLAGS: 00010297   (2.6.17-10-generic #2) 
[17179844.420000] EIP is at snd_hda_ch_mode_info+0x2e/0x50 [snd_hda_codec]
[17179844.420000] eax: ffffffff   ebx: 00000000   ecx: 00000000   edx: f17f3e04
[17179844.420000] esi: f5ea56d4   edi: f63e7160   ebp: f17f3e04   esp: f17f3dc4
[17179844.420000] ds: 007b   es: 007b   ss: 0068
[17179844.420000] Process alsactl \
(pid: 6297, threadinfo=f17f2000 task=f5d78560)
[17179844.420000] Stack: f8e1de67 f8f45c98 f63e7014 f8f43c48 00000000 \
f63e7014 f8e1bc09 f17f3e34 
[17179844.420000]        f17ce84c f17f3f44 c0178953 bfeefca0 f1b83a54 \
00000001 f17ce114 f17d4e80 
[17179844.420000]        00000001 00000000 00000000 00000000 00000000 \
00000000 00000000 00000000 
[17179844.420000] Call Trace:
[17179844.420000]  <f8e1de67> snd_hidden_kfree+0x77/0xa0 [snd]  <f8f43c48> \
conexant_ch_mode_info+0x18/0x20 [snd_hda_codec]
[17179844.420000]  <f8e1bc09> snd_ctl_ioctl+0x509/0xc80 [snd]  <c0178953> \
do_lookup+0x53/0x160
[17179844.420000]  <c0158f41> __handle_mm_fault+0x211/0x900  <c0168f25> \
nameidata_to_filp+0x35/0x40
[17179844.420000]  <f8e1b700> snd_ctl_ioctl+0x0/0xc80 [snd]  <c017d5eb> \
do_ioctl+0x2b/0x90
[17179844.420000]  <c017d6ac> vfs_ioctl+0x5c/0x2b0  <c017d972> \
sys_ioctl+0x72/0x90
[17179844.420000]  <c0102fbb> sysenter_past_esp+0x54/0x79 
[17179844.420000] Code: 8b 44 24 10 3b 42 54 c7 42 40 03 00 00 00 c7 42 48 01 \
00 00 00 89 42 50 77 06 83 e8 01 89 42 54 8b 42 54 c7 44 24 04 98 5c f4 f8 \
<8b> 04 c1 89 44 24 08 8d 42 58 89 04 24 e8 50 d2 2a c7 31 c0 83 
[17179844.420000] EIP: [<f8f3771e>] snd_hda_ch_mode_info+0x2e/0x50 \
[snd_hda_codec] SS:ESP 0068:f17f3dc4
[17179844.420000]  

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642