soundon for intel hd audio controller tiggers a kernel oops

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium, kodachi

soundon for intel hd audio controller tiggers a kernel oops

Postby jams » Mon Sep 26, 2011 2:14 pm

Hello,
I am attempting to use OSS4 with an asus p8z68-m pro motherboard and intel i3-2120T processor.
Whenever soundon is run the oss_hdaudio module tries to load, but triggers a kernel oops. This occurs with both the trial edition and the gpl edition (OSS version: 4.2 (b 2005/201109260012)).

Please advise.
Below is relevant system and oss info.
-james



This is the output from lspci:

00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition Audio Controller [8086:1c20] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:841b]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at fe600000 (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: oss_hdaudio



This is the stacktrace that occurs when running soundon:
[root@Zeal ~]# soundon
2011 Sep 26 08:36:06 Zeal [ 824.787995] Oops: 0000 [#1] PREEMPT SMP
2011 Sep 26 08:36:06 Zeal [ 824.787999] last sysfs file: /sys/module/osscore/initstate
2011 Sep 26 08:36:06 Zeal [ 824.788101] Process modprobe (pid: 1690, ti=ded6a000 task=dfec08a0 task.ti=ded6a000)
2011 Sep 26 08:36:06 Zeal [ 824.788108] Stack:
2011 Sep 26 08:36:06 Zeal [ 824.788143] Call Trace:
2011 Sep 26 08:36:06 Zeal [ 824.788429] Code: d2 90 8d 74 26 00 83 c2 01 80 3c 11 00 89 d0 75 f5 5d c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 57 56 53 3e 8d 74 26 00 89 cf <0f> b6 0a 84 c9 74 30 85 ff 89 c6 bb 01 00 00 00 75 10 eb 1e 8d
2011 Sep 26 08:36:06 Zeal [ 824.788465] EIP: [<f9b8f1cd>] oss_strncpy+0xd/0x50 [osscore] SS:ESP 0068:ded6bb20
2011 Sep 26 08:36:06 Zeal [ 824.788476] CR2: 0000000000000000
/usr/sbin/soundon: line 174: 1690 Killed /sbin/modprobe $n $OPTIONS
Loading module oss_hdaudio failed - ignored


From dmesg:

28.050296] eth0: no IPv6 routers present
[ 824.783883] oss_hdaudio 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 824.783929] osscore: oss_register_device: name==NULL
[ 824.787978] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 824.787984] IP: [<f9b8f1cd>] oss_strncpy+0xd/0x50 [osscore]
[ 824.787993] *pde = 00000000
[ 824.787995] Oops: 0000 [#1] PREEMPT SMP
[ 824.787999] last sysfs file: /sys/module/osscore/initstate
[ 824.788003] Modules linked in: oss_hdaudio(+) osscore rpcsec_gss_krb5 nfsd ipv6 cx8800 ivtv cx2341x bttv lirc_i2c ir_lirc_codec lirc_dev ir_sony_decoder cx88_vp3054_i2c ir_jvc_decoder cx8802 ir_rc6_decoder videobuf_dvb cx88xx ir_rc5_decoder ir_nec_decoder rc_core videobuf_dma_sg videobuf_core btcx_risc tveeprom v4l2_common videodev media dvb_core joydev hid_microsoft usbhid hid uas usb_storage ftdi_sio i915 drm_kms_helper drm eeepc_wmi asus_wmi sparse_keymap rfkill i2c_i801 ppdev intel_agp i2c_algo_bit psmouse pci_hotplug parport_pc evdev intel_gtt iTCO_wdt pcspkr serio_raw sg iTCO_vendor_support parport i2c_core agpgart button video wmi usbserial processor ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod xhci_hcd ahci libahci r8169 libata ehci_hcd mii usbcore scsi_mod nfs lockd fscache auth_rpcgss nfs_acl sunrpc
[ 824.788068]
[ 824.788070] Pid: 1690, comm: modprobe Not tainted 2.6.39-LinHES #1 System manufacturer System Product Name/P8Z68-M PRO
[ 824.788077] EIP: 0060:[<f9b8f1cd>] EFLAGS: 00010292 CPU: 0
[ 824.788082] EIP is at oss_strncpy+0xd/0x50 [osscore]
[ 824.788085] EAX: f83a5010 EBX: f837c008 ECX: 00000040 EDX: 00000000
[ 824.788089] ESI: 00000000 EDI: 00000040 EBP: ded6bb2c ESP: ded6bb20
[ 824.788092] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 824.788101] Process modprobe (pid: 1690, ti=ded6a000 task=dfec08a0 task.ti=ded6a000)
[ 824.788108] Stack:
[ 824.788112] f837c008 00000000 00000100 ded6bcec f861b272 c10c8520 f5c064c0 f5c01500
[ 824.788123] f5c07914 00000000 ded6bb64 00000086 f5c0791c 00000000 00000000 f5c07914
[ 824.788133] 00000000 ded6bb94 c10c8681 c146c340 f5c03874 000f41a8 00000000 00000000
[ 824.788143] Call Trace:
[ 824.788154] [<f861b272>] hdaudio_mixer_create+0x82/0x2b30 [oss_hdaudio]
[ 824.788164] [<c10c8520>] ? perf_ctx_adjust_freq+0xb0/0x150
[ 824.788172] [<c10c8681>] ? perf_event_task_tick+0xc1/0x220
[ 824.788180] [<c10412ef>] ? scheduler_tick+0x1df/0x220
[ 824.788192] [<c10d52a6>] ? __alloc_pages_nodemask+0xf6/0x790
[ 824.788200] [<c104ca7c>] ? irq_exit+0x3c/0x90
[ 824.788208] [<c1350f4b>] ? smp_apic_timer_interrupt+0x5b/0x8a
[ 824.788217] [<c129bfe5>] ? raw_pci_write+0x45/0x80
[ 824.788225] [<c10d59cb>] ? __get_free_pages+0x2b/0x30
[ 824.788234] [<f9b906a5>] ? oss_contig_malloc+0x65/0xa0 [osscore]
[ 824.788246] [<f8629589>] oss_hdaudio_attach+0xb19/0x1600 [oss_hdaudio]
[ 824.788255] [<f86275b0>] ? hda_get_buffer_pointer+0x30/0x30 [oss_hdaudio]
[ 824.788264] [<f8628710>] ? do_corb_read_poll+0x120/0x120 [oss_hdaudio]
[ 824.788273] [<c126935d>] ? _dev_info+0x2d/0x30
[ 824.788283] [<f862a2d5>] osspci_probe+0xcb/0x106 [oss_hdaudio]
[ 824.788291] [<c11dc187>] local_pci_probe+0x47/0xb0
[ 824.788299] [<c11dc878>] pci_device_probe+0x68/0x90
[ 824.788306] [<c126c98f>] driver_probe_device+0x7f/0x190
[ 824.788313] [<c126cb21>] __driver_attach+0x81/0x90
[ 824.788321] [<c126bbd9>] bus_for_each_dev+0x49/0x70
[ 824.788328] [<c11dc700>] ? pci_dev_put+0x20/0x20
[ 824.788335] [<c126c69e>] driver_attach+0x1e/0x20
[ 824.788342] [<c126caa0>] ? driver_probe_device+0x190/0x190
[ 824.788349] [<c126c377>] bus_add_driver+0x187/0x260
[ 824.788357] [<c11dc700>] ? pci_dev_put+0x20/0x20
[ 824.788364] [<c126d076>] driver_register+0x66/0x110
[ 824.788372] [<c106c165>] ? jump_label_module_notify+0x105/0x250
[ 824.788379] [<c11dcab5>] __pci_register_driver+0x45/0xb0
[ 824.788388] [<f836e017>] pcidrv_init+0x17/0x29 [oss_hdaudio]
[ 824.788395] [<c1001205>] do_one_initcall+0x35/0x170
[ 824.788404] [<f836e000>] ? 0xf836dfff
[ 824.788412] [<c107dbfe>] sys_init_module+0x11e/0x1950
[ 824.788423] [<c135081f>] sysenter_do_call+0x12/0x28
[ 824.788429] Code: d2 90 8d 74 26 00 83 c2 01 80 3c 11 00 89 d0 75 f5 5d c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 57 56 53 3e 8d 74 26 00 89 cf <0f> b6 0a 84 c9 74 30 85 ff 89 c6 bb 01 00 00 00 75 10 eb 1e 8d
[ 824.788465] EIP: [<f9b8f1cd>] oss_strncpy+0xd/0x50 [osscore] SS:ESP 0068:ded6bb20
[ 824.788476] CR2: 0000000000000000
[ 825.314762] ---[ end trace b319c5a876bf3c0d ]---
[ 825.321634] usbcore: registered new interface driver oss_usb
28.050296] eth0: no IPv6 routers present
[ 824.783883] oss_hdaudio 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 824.783929] osscore: oss_register_device: name==NULL
[ 824.787978] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 824.787984] IP: [<f9b8f1cd>] oss_strncpy+0xd/0x50 [osscore]
[ 824.787993] *pde = 00000000
[ 824.787995] Oops: 0000 [#1] PREEMPT SMP
[ 824.787999] last sysfs file: /sys/module/osscore/initstate
[ 824.788003] Modules linked in: oss_hdaudio(+) osscore rpcsec_gss_krb5 nfsd ipv6 cx8800 ivtv cx2341x bttv lirc_i2c ir_lirc_codec lirc_dev ir_sony_decoder cx88_vp3054_i2c ir_jvc_decoder cx8802 ir_rc6_decoder videobuf_dvb cx88xx ir_rc5_decoder ir_nec_decoder rc_core videobuf_dma_sg videobuf_core btcx_risc tveeprom v4l2_common videodev media dvb_core joydev hid_microsoft usbhid hid uas usb_storage ftdi_sio i915 drm_kms_helper drm eeepc_wmi asus_wmi sparse_keymap rfkill i2c_i801 ppdev intel_agp i2c_algo_bit psmouse pci_hotplug parport_pc evdev intel_gtt iTCO_wdt pcspkr serio_raw sg iTCO_vendor_support parport i2c_core agpgart button video wmi usbserial processor ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod xhci_hcd ahci libahci r8169 libata ehci_hcd mii usbcore scsi_mod nfs lockd fscache auth_rpcgss nfs_acl sunrpc
[ 824.788068]
[ 824.788070] Pid: 1690, comm: modprobe Not tainted 2.6.39-LinHES #1 System manufacturer System Product Name/P8Z68-M PRO
[ 824.788077] EIP: 0060:[<f9b8f1cd>] EFLAGS: 00010292 CPU: 0
[ 824.788082] EIP is at oss_strncpy+0xd/0x50 [osscore]
[ 824.788085] EAX: f83a5010 EBX: f837c008 ECX: 00000040 EDX: 00000000
[ 824.788089] ESI: 00000000 EDI: 00000040 EBP: ded6bb2c ESP: ded6bb20
[ 824.788092] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 824.788101] Process modprobe (pid: 1690, ti=ded6a000 task=dfec08a0 task.ti=ded6a000)
[ 824.788108] Stack:
[ 824.788112] f837c008 00000000 00000100 ded6bcec f861b272 c10c8520 f5c064c0 f5c01500
[ 824.788123] f5c07914 00000000 ded6bb64 00000086 f5c0791c 00000000 00000000 f5c07914
[ 824.788133] 00000000 ded6bb94 c10c8681 c146c340 f5c03874 000f41a8 00000000 00000000
[ 824.788143] Call Trace:
[ 824.788154] [<f861b272>] hdaudio_mixer_create+0x82/0x2b30 [oss_hdaudio]
[ 824.788164] [<c10c8520>] ? perf_ctx_adjust_freq+0xb0/0x150
[ 824.788172] [<c10c8681>] ? perf_event_task_tick+0xc1/0x220
[ 824.788180] [<c10412ef>] ? scheduler_tick+0x1df/0x220
[ 824.788192] [<c10d52a6>] ? __alloc_pages_nodemask+0xf6/0x790
[ 824.788200] [<c104ca7c>] ? irq_exit+0x3c/0x90
[ 824.788208] [<c1350f4b>] ? smp_apic_timer_interrupt+0x5b/0x8a
[ 824.788217] [<c129bfe5>] ? raw_pci_write+0x45/0x80
[ 824.788225] [<c10d59cb>] ? __get_free_pages+0x2b/0x30
[ 824.788234] [<f9b906a5>] ? oss_contig_malloc+0x65/0xa0 [osscore]
[ 824.788246] [<f8629589>] oss_hdaudio_attach+0xb19/0x1600 [oss_hdaudio]
[ 824.788255] [<f86275b0>] ? hda_get_buffer_pointer+0x30/0x30 [oss_hdaudio]
[ 824.788264] [<f8628710>] ? do_corb_read_poll+0x120/0x120 [oss_hdaudio]
[ 824.788273] [<c126935d>] ? _dev_info+0x2d/0x30
[ 824.788283] [<f862a2d5>] osspci_probe+0xcb/0x106 [oss_hdaudio]
[ 824.788291] [<c11dc187>] local_pci_probe+0x47/0xb0
[ 824.788299] [<c11dc878>] pci_device_probe+0x68/0x90
[ 824.788306] [<c126c98f>] driver_probe_device+0x7f/0x190
[ 824.788313] [<c126cb21>] __driver_attach+0x81/0x90
[ 824.788321] [<c126bbd9>] bus_for_each_dev+0x49/0x70
[ 824.788328] [<c11dc700>] ? pci_dev_put+0x20/0x20
[ 824.788335] [<c126c69e>] driver_attach+0x1e/0x20
[ 824.788342] [<c126caa0>] ? driver_probe_device+0x190/0x190
[ 824.788349] [<c126c377>] bus_add_driver+0x187/0x260
[ 824.788357] [<c11dc700>] ? pci_dev_put+0x20/0x20
[ 824.788364] [<c126d076>] driver_register+0x66/0x110
[ 824.788372] [<c106c165>] ? jump_label_module_notify+0x105/0x250
[ 824.788379] [<c11dcab5>] __pci_register_driver+0x45/0xb0
[ 824.788388] [<f836e017>] pcidrv_init+0x17/0x29 [oss_hdaudio]
[ 824.788395] [<c1001205>] do_one_initcall+0x35/0x170
[ 824.788404] [<f836e000>] ? 0xf836dfff
[ 824.788412] [<c107dbfe>] sys_init_module+0x11e/0x1950
[ 824.788423] [<c135081f>] sysenter_do_call+0x12/0x28
[ 824.788429] Code: d2 90 8d 74 26 00 83 c2 01 80 3c 11 00 89 d0 75 f5 5d c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 57 56 53 3e 8d 74 26 00 89 cf <0f> b6 0a 84 c9 74 30 85 ff 89 c6 bb 01 00 00 00 75 10 eb 1e 8d
[ 824.788465] EIP: [<f9b8f1cd>] oss_strncpy+0xd/0x50 [osscore] SS:ESP 0068:ded6bb20
[ 824.788476] CR2: 0000000000000000
[ 825.314762] ---[ end trace b319c5a876bf3c0d ]---
[ 825.321634] usbcore: registered new interface driver oss_usb
jams
 
Posts: 6
Joined: Mon Sep 26, 2011 1:56 pm

Re: soundon for intel hd audio controller tiggers a kernel

Postby jams » Mon Sep 26, 2011 6:02 pm

Pretty sure it's safe to say this doesn't have anything to do with OSS support not being enabled.
I have two other machines with the same OS/kernel/patchset. OSS4 works just fine on those machines, it's only this one that is giving trouble.

To be sure I did download and use a archlinux live CD. OSS fails with the same msg as it does with the installed OS on the harddrive.
jams
 
Posts: 6
Joined: Mon Sep 26, 2011 1:56 pm

Re: soundon for intel hd audio controller tiggers a kernel

Postby cesium » Mon Sep 26, 2011 10:28 pm

Thanks for all the info. Can you try to rebuild OSS, after applying first a small patch? Then load it and see if it crashes.

Code: Select all
diff -r 2bf7db11c82d kernel/drv/oss_hdaudio/oss_hdaudio.c
--- a/kernel/drv/oss_hdaudio/oss_hdaudio.c   Wed Jul 20 03:58:10 2011 +0300
+++ b/kernel/drv/oss_hdaudio/oss_hdaudio.c   Tue Sep 27 01:26:42 2011 +0300
@@ -30,6 +30,7 @@
#define INTEL_DEVICE_ICH9       0x293f
#define INTEL_DEVICE_ICH10      0x3a3e
#define INTEL_DEVICE_ICH10_B   0x3a6e
+#define INTEL_DEVICE_CPT      0x1c20
#define INTEL_DEVICE_PCH      0x3b56
#define INTEL_DEVICE_PCH2      0x3b57
#define INTEL_DEVICE_SCH      0x811b
@@ -1838,6 +1839,7 @@
     case INTEL_DEVICE_ICH10_B:
     case INTEL_DEVICE_PCH:
     case INTEL_DEVICE_PCH2:
+    case INTEL_DEVICE_CPT:
       devc->chip_name = "Intel HD Audio";
       break;

cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Re: soundon for intel hd audio controller tiggers a kernel

Postby jams » Tue Sep 27, 2011 12:42 am

cesium.
For some reason hunk 1 of that patch failed, but I was able to apply it manually (think is was whitespace) .
After applying the patch, soundon works as expected. The device is detected and also the mixer!
Now for the bad news, the output is awful. osstest plays the sample piano, but it's FULL of static, and the piano kind of stutters. Sometimes the static goes away and then the piano tune plays as normal.

I'm going to play with the mixer controls & try digital audio. Any other suggestions?
jams
 
Posts: 6
Joined: Mon Sep 26, 2011 1:56 pm

Re: soundon for intel hd audio controller tiggers a kernel

Postby jams » Tue Sep 27, 2011 12:57 am

couldn't seem to find any mixer combo that worked.
Also adding or removing vmix didn't make a difference.

spdif out also shows the same static & stuttering as analog.
Last edited by jams on Tue Sep 27, 2011 1:18 am, edited 1 time in total.
jams
 
Posts: 6
Joined: Mon Sep 26, 2011 1:56 pm

Re: soundon for intel hd audio controller tiggers a kernel

Postby cesium » Tue Sep 27, 2011 1:16 am

A) Can you paste output of 'ossmix -a'?
B) Another idea is to try moving the "case INTEL_DEVICE_CPT:" line above the "case INTEL_DEVICE_SCH:" line and rebuild OSS.
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Re: soundon for intel hd audio controller tiggers a kernel

Postby jams » Tue Sep 27, 2011 1:27 am

Tried moving the case statement, didn't make the snd output any better.

As requested, here is the output of ossmix -a .

[root@Faith oss]# ossmix -a
Selected mixer 0/High Definition Audio ALC892
Known controls are:
jack.green.mode <front|input> (currently front)
jack.green.mute ON|OFF (currently OFF)
jack.green.front [<leftvol>:<rightvol>] (currently 49.9:49.9 dB)
jack.green.front-mute ON|OFF (currently OFF)
jack.green.input-mix-mute ON|OFF (currently ON)
jack.black.mode <rear|input> (currently rear)
jack.black.mute ON|OFF (currently ON)
jack.black.rear [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.black.rear-mute ON|OFF (currently ON)
jack.black.input-mix-mute ON|OFF (currently ON)
jack.orange.mode <center/LFE|input> (currently center/LFE)
jack.orange.mute ON|OFF (currently ON)
jack.orange.center/lfe [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.orange.center/lfe-mute ON|OFF (currently ON)
jack.orange.input-mix-mute ON|OFF (currently ON)
jack.gray.mode <side|input> (currently side)
jack.gray.mute ON|OFF (currently OFF)
jack.gray.side [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.gray.side-mute ON|OFF (currently OFF)
jack.gray.input-mix-mute ON|OFF (currently OFF)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently ON)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently ON)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently ON)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently ON)
record.mix.mute.mic1 ON|OFF (currently ON)
record.mix.mute.fp-mic1 ON|OFF (currently ON)
record.mix.mute.linein1 ON|OFF (currently ON)
record.mix.mute.fp-headphone1 ON|OFF (currently ON)
record.mix.mute.front1 ON|OFF (currently ON)
record.mix.mute.rear1 ON|OFF (currently ON)
record.mix.mute.center/lfe1 ON|OFF (currently ON)
record.mix.mute.side1 ON|OFF (currently ON)
record.mix.mute.input-mix1 ON|OFF (currently ON)
record.mix1 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.front2 ON|OFF (currently OFF)
record.mix.mute.rear2 ON|OFF (currently OFF)
record.mix.mute.center/lfe2 ON|OFF (currently OFF)
record.mix.mute.side2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.front [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.rear [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.center/lfe [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.side [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.pcm41 [<leftvol>:<rightvol>] (currently 19.9:19.9 dB)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute ON|OFF (currently OFF)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
vmix0-enable ON|OFF (currently OFF)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 17.2 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm12 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
jams
 
Posts: 6
Joined: Mon Sep 26, 2011 1:56 pm

Re: soundon for intel hd audio controller tiggers a kernel

Postby cesium » Tue Sep 27, 2011 1:59 am

Hmm.. is there noise only when you play, or always? Also, when I suggested moving the CPT case line, you didn't add "break;", right? It was supposed to fall to the SCH case.
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Re: soundon for intel hd audio controller tiggers a kernel

Postby jams » Tue Sep 27, 2011 2:23 am

Also, when I suggested moving the CPT case line, you didn't add "break;", right? It was supposed to fall to the SCH case.


So I went back to doublecheck that bit about the break line.
Turns out I moved the INTEL_DEVICE_CPT only a few lines, so that it was above INTEL_DEVICE_PCH and not _SCH.
After moving it to the correct spot *ABOVE* INTEL_DEVICE_SCH the audio cleared right up. Osstest produces decent sound!

Now I need to figure out why "/dev/oss/oss_hdaudio0/spdout1 (audio engine 6): HD Audio play spdifout" can be heard over both headphones and optical out, but thats minor.

Also need to verify that 7.1 works, hard to do that with only headphones =)

THANK you for your help!

PS:
i'm open to trying other patches if you want to try them.
jams
 
Posts: 6
Joined: Mon Sep 26, 2011 1:56 pm


Return to Linux

Who is online

Users browsing this forum: Google [Bot] and 7 guests