* mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-05 10:24 akpm
2007-03-05 14:49 ` Michal Piotrowski
` (3 more replies)
0 siblings, 4 replies; 48+ messages in thread
From: akpm @ 2007-03-05 10:24 UTC (permalink / raw)
To: mm-commits
The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
It contains the following patches against 2.6.21-rc2:
origin.patch
cyclades-return-closing_wait.patch
io_apic-needs-apicdefh.patch
msi-sanely-support-hardware-level-msi-disabling.patch
msi-fixup-the-msi-enable-disable-logic.patch
msi-support-masking-msi-irqs-without-a-mask-bit.patch
ecryptfs-check-xattr-operation-support-fix.patch
parport-is-an-orphan.patch
fix-soft-lockup-with-iseries-viocd-driver.patch
add-config_generic_gpio.patch
gpio_keys-driver-shouldnt-be-arm-specific.patch
dz-remove-struct-pt_regs-references.patch
shmem-and-simple-const-super_operations.patch
sched-remove-smt-nice.patch
fb-sm501fb-off-by-1-sysfs-store.patch
page-migration-fix-vma-flag-checking.patch
vmi-timer-fixes-round-two.patch
vmi-sched-clock-paravirt-op-fix.patch
vmi-cpu-cycles-fix.patch
vmi-fix-highpte.patch
vmi-paravirt-drop-udelay-op.patch
vmi-pit-override.patch
vmi-fix-nohz-compile.patch
vmi-apic-ops.patch
vmi-smp-fixes.patch
md-fix-for-raid6-reshape.patch
fix-nmi-appears-to-be-stuck.patch
ecryptfs-lower-root-result-must-be-adirectory.patch
ecryptfs-handles-aop_truncated_page-better.patch
ipmi-check-if-default-ports-are-accessible-on-ppc.patch
x86_64-remove-unusued-flags-variable.patch
clocksource-init-adjustments-fix-bug-7426.patch
timer-hrtimer-take-per-cpu-locks-in-sane-order.patch
char-epcac-remove-unused-function.patch
atyfb-fix-kconfig-error.patch
documentation-for-io-accounting--reporting-via-procfs.patch
usb-storage-do-not-rebuild-when-kernel-version-changes.patch
arch-i386-kernel-vmic-must-include-asm-kmap_typesh.patch
bugfix-dont-use-the-tsc-in-sched_clock-if-unstable.patch
cleanup-unify-tsc_unstable-and-tsc_disable.patch
possible-bugfix-make-dmi_mark_tsc_unstable-call-mark_tsc_unstable.patch
slab-introduce-krealloc.patch
slab-introduce-krealloc-fix.patch
make-aout-executables-work-again.patch
make-aout-executables-work-again-fix.patch
macintosh-mangle-caps-lock-events-on-adb-keyboards.patch
git-acpi.patch
git-acpi-fix-cpuidle-borkage-2.patch
exit-acpi-processor-module-gracefully-if-acpi-is-disabled.patch
sony-laptop-fix-uninitialised-variable.patch
altix-reinitialize-acpi-tables.patch
fix-acpi-documentation-in-kernel-parameterstxt.patch
asus_acpi-invert-read-of-wled-proc-file-to-show-correct.patch
git-alsa.patch
git-alsa-oops-fix.patch
agp-prevent-probe-collision-of-sis-agp-and-amd64_agp.patch
git-arm.patch
arm-dma-mappingh.patch
git-avr32.patch
avr32-dma-mappingh.patch
git-cifs.patch
powerpc-rtas-msi-support.patch
gregkh-driver-platform-reorder-platform_device_del.patch
gregkh-driver-driver-core-udev-triggered-device-driver-binding.patch
gregkh-driver-driver-core-per-subsystem-multithreaded-probing.patch
gregkh-driver-powerpc-make-it-compile-for-multithread-change.patch
gregkh-driver-driver-core-don-t-fail-attaching-the-device-if-it-cannot-be-bound.patch
gregkh-driver-uio.patch
gregkh-driver-uio-documentation.patch
gregkh-driver-uio-dummy.patch
gregkh-driver-uio-irq.patch
gregkh-driver-uio-support-for-multiple-mappings.patch
gregkh-driver-uio-update-documentation-for-multiple-mappings.patch
gregkh-driver-put_device-might_sleep.patch
gregkh-driver-sysfs-crash-debugging.patch
gregkh-driver-kobject-warn.patch
gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch
gregkh-driver-nozomi.patch
driver-core-cleanup-device-links-code.patch
driver-core-add-missing-symlinks-error-handling.patch
driver-core-check-sysfs_create_link-errors.patch
git-drm.patch
git-dvb.patch
video4linux-fix-audio-input-for-avertv-go-007.patch
fix-saa7146_clipping_mem-size.patch
drivers-media-video-cpia_ppc-dont-use-_work_nar.patch
jdelvare-i2c-i2c-amd8111-missed-cleanup.patch
jdelvare-i2c-i2c-02-revert-core-warning-removal.patch
jdelvare-i2c-i2c-03-use-i2c_adapterdevparent-for-messages.patch
jdelvare-i2c-i2c-04-kill-i2c_adapterclass_dev.patch
jdelvare-i2c-i2c-05-i2c_adapter-devices-have-no-driver.patch
jdelvare-i2c-i2c-06-remove-duplicate-i2c-drivers-list.patch
jdelvare-i2c-i2c-algo-bit-always-send-stop-before-leaving.patch
jdelvare-i2c-i2c-add-smbus-block-read-emulation.patch
jdelvare-i2c-i2c-algo-bit-emulate-smbus-block-read.patch
jdelvare-i2c-i2c-parport-optimize-size.patch
jdelvare-i2c-i2c-nforce2-add-mcp61-mcp65-support.patch
jdelvare-i2c-clean-up-i2c-header-includes.patch
jdelvare-i2c-i2c-i801-restore-initial-state.patch
i2c-tsl2550-support.patch
ds1374-check-for-workqueue-creation.patch
jdelvare-hwmon-hwmon-smsc47m192-document-lpc47m292-support.patch
jdelvare-hwmon-hwmon-request-regions.patch
jdelvare-hwmon-hwmon-smsc47m1-add-lpc47m292-support.patch
jdelvare-hwmon-hwmon-smsc47m1-drop-useless-lock.patch
jdelvare-hwmon-hwmon-only-call-vid_which_vrm-when-needed.patch
jdelvare-hwmon-hwmon-fix-vid-table.patch
git-gfs2-nmw.patch
git-hid.patch
git-ia64.patch
ia64-point-saved_max_pfn-to-the-max_pfn-of-the-entire-system.patch
remove-stack-hard-limit-on-ia64.patch
always-build-arch-ia64-lib-xoro.patch
ia64-sync-compat-getdents-on-ia64-and-parisc.patch
ia64-permon-use-after-free-fix.patch
ia64-kexec-use-efi_loader_data-for-elf-core-header.patch
ia64-kexec-use-efi_loader_data-for-elf-core-header-tidy.patch
git-ieee1394.patch
git-input.patch
crash-on-evdev-disconnect.patch
setstream-param-for-psmouse.patch
setstream-param-for-psmouse-tweak.patch
fix-locking-in-mousedev.patch
kbuild-override-build-timestamp.patch
kconfig-abort-configuration-with-recursive-dependencies.patch
git-leds.patch
git-libata-all.patch
sata_nv-add-back-some-verbosity-into-adma-error_handler.patch
libata-warn-if-speed-limited-due-to-40-wire-cable-v2.patch
expose-set_mode-method-so-it-can-be-wrapped.patch
acpi-driver-support-for-pata.patch
pcmcia-spot-slave-decode-flaws-for-testing.patch
libata-handle-ata_pci_device_do_resume-failure-while-resuming-v2.patch
libata-add-ncq-blacklist-entries-from-silicon-image-windows.patch
libata-cable-detection-fixes.patch
pata_platform-set-a-cable-type-which-to-set.patch
pata_qdi-set-cable-type.patch
pata_sl82c105-missing-methods-cable.patch
ata_generic-remove-lots-of-code-using-the-new-cable_detect.patch
pata_ali-remove-lots-of-code-by-using-the-cable_detect.patch
pata_cs55x0-clean-up-by-using-the-cable_detect-method.patch
pata_cypress-clean-up-by-using-cable_detect-method.patch
pata_isapnp-set-cable-type.patch
pata_ixp4xx_cf-set-cable-type.patch
pata_legacy-fix-missing-methods-and-add-cable-types.patch
pata_netcell-remove-lots-of-crud-by-using-the-cable-method.patch
pata_radisys-switch-to-cable-method-to-cleanup-code.patch
pata_sc1200-set-cable-type-add-freeze-thaw-methods.patch
pata_rz1000-remove-lots-of-crap-by-using-cable-method.patch
pata_winbond-set-cable-type.patch
pata_cmd64x-various-fixes.patch
pata_hpt3x3-clean-up-by-using-cable-method.patch
support-for-marvell-7042-chip.patch
pata_cmd640-cmd640-pci-support.patch
libata-kconfig-update-the-various-experimentality-levels.patch
libata-fix-hopefully-all-the-remaining-problems-with.patch
ide-cmd64x-remove-broken-sw-mw-dma-support.patch
ide-cmd64x-fix-recovery-time-calculation.patch
ide-sl82c105-rework-pio-support.patch
ide-sl82c105-dma-support-code-cleanup-take3.patch
ide-cmd64x-interrupt-status-fixes-resend.patch
ide-cmd64x-add-fix-enablebits.patch
ide-cmd64x-procfs-code-fixes-cleanups.patch
ide-cmd64x-use-interrupt-status-from-mrdmode-register.patch
ide-ide-fix-dma-masks-v3.patch
ide-ide-max-dma-mode-v2.patch
ide-ide-tune-dma-helper.patch
ide-ide-proc-fs.patch
ide-ide-split-off-ioctls-from-settings-v2.patch
ide-ide-move-settings-to-ide-proc.patch
ide-ide-fix-cable-checks.patch
ide-alim15x3-pio-fallback-fix.patch
ide-alim15x3-use-ide-tune-dma.patch
ide-pdc202xx_new-use-ide-tune-dma.patch
ide-ide-register-hw-initializing-arg.patch
ide-ide-proc-register-port.patch
ide-ide-pci-pcibus-order.patch
git-md-accel.patch
git-md-accel-fixup.patch
git-mmc.patch
mtd-maps-ck804xromc-pci_module_init-to-pci_register_driver.patch
remove-fs-jffs2-ioctlc.patch
nommu-present-backing-device-capabilities-for-mtd.patch
nommu-present-backing-device-capabilities-for-mtd-fix.patch
nommu-add-support-for-direct-mapping-through-mtdconcat.patch
nommu-generalise-the-handling-of-mtd-specific-superblocks.patch
nommu-make-it-possible-for-romfs-to-use-mtd-devices.patch
mtd-chips-oops-in-cfi_amdstd_sync.patch
mtd-esb2-check-for-closed-rom-window.patch
git-ubi.patch
git-netdev-all.patch
git-netdev-all-ipw2200-fix.patch
sundance-change-phy-address-search-from-phy=1-to-phy=0.patch
user-of-the-jiffies-rounding-code-e1000.patch
phy-layer-add-kernel-doc-docbook.patch
s2io-add-pci-error-recovery-support.patch
revert-drivers-net-tulip-dmfe-support-basic-carrier-detection.patch
dmfe-trivial-spelling-fixes.patch
dmfe-fix-two-bugs.patch
dmfe-fix-link-detection.patch
dmfe-add-support-for-suspend-resume.patch
dmfe-add-support-for-suspend-resume-fix.patch
dmfe-add-support-for-wake-on-lan.patch
sis900-warning-fixes.patch
8139too-fix-irq-problem-with-napi-netpoll.patch
cxgb3-add-sw-lro-support.patch
drivers-net-vioc-vioc_driverc-replace-pci_module_init-with-pci_register_driver.patch
3c59x-handle-pci_enable_device-failure-while-resuming.patch
__devinit-__devexit-cleanups-for-de2104x-driver.patch
sk98lin-handle-pci_enable_device-return-value-in-skge_resume.patch
mv643xx-ethernet-driver-irq-registration-fix.patch
network-add-the-missing-phy_device-speed-information-to-phy_mii_ioctl.patch
drivers-net-vioc-possible-cleanups.patch
3x59x-fix-pci-resource-management.patch
update-smc91x-driver-with-arm-versatile-board-info.patch
drivers-net-ns83820c-add-paramter-to-disable-auto.patch
tulip-fix-shutdown-dma-irq-race.patch
tulip-fix-for-64-bit-mips.patch
tulip-natsemi-dp83840a-phy-fix.patch
8139too-force-media-setting-fix.patch
div64_64-common-code.patch
div64_64-common-code-fix.patch
schedule-wext-rtnl-for-removal.patch
bonding-replace-system-timer-with-work-queue.patch
bonding-replace-system-timer-with-work-queue-tidy.patch
resend-iphase-64bit-cleanup.patch
git-backlight.patch
bluetooth-hid-quirks-mightymouse-quirk.patch
net-uninline-skb_put.patch
net-uninline-skb_put-fix.patch
git-ioat.patch
git-ioat-vs-git-md-accel.patch
ioat-warning-fix.patch
fix-i-oat-for-kexec.patch
auth_gss-unregister-gss_domain-when-unloading-module.patch
nfs-kill-the-obsolete-nfs_paranoia.patch
nfs-fix-congestion-control-v4.patch
nfs-nfs_getattr-cant-call-nfs_sync_mapping_range-for-non-regular-files.patch
git-ocfs2.patch
git-parisc.patch
parisc-sync-compat-getdents-on-ia64-and-parisc.patch
pcmcia-pccard-deadlock-fix.patch
git-r8169.patch
git-selinux.patch
8250-make-probing-for-txen-bug-a-config-option.patch
serial-driver-pmc-msp71xx.patch
rm9000-serial-driver.patch
rm9000-serial-driver-tidy.patch
serial-define-fixed_port-flag-for-serial_core.patch
serial-use-resource_size_t-for-serial-port-io-addresses.patch
gregkh-pci-pci-allow-multiple-calls-to-pcim_pin_device.patch
gregkh-pci-pci-new-pci-e-reset-api.patch
pcie-fix-section-mismatch-warning.patch
aer-fix-section-mismatch-warning.patch
pci-do-not-mark-exported-functions-as-__devinit.patch
scatterlisth-needs-typesh.patch
cleanup-the-includes-of-linux-pcih.patch
git-pciseg.patch
pci-device-ensure-sysdata-initialised-v2.patch
git-s390.patch
s390-kmalloc-kzalloc-casting-cleanups.patch
git-sh.patch
drivers-scsi-small-cleanups.patch
drivers-scsi-advansysc-cleanups.patch
megaraid-fix-warnings-when-config_proc_fs=n.patch
remove-unnecessary-check-in-drivers-scsi-sgc.patch
pci_module_init-convertion-in-tmscsimc.patch
drivers-scsi-dpt_i2oc-remove-dead-code.patch
mpt-fusion-handle-pci-layer-error-on-resume.patch
mpt-fusion-handle-mpt_resume-failure-while-resuming.patch
drivers-scsi-ncr5380c-replacing-yield-with-a.patch
drivers-scsi-megaraidc-replacing-yield-with-a.patch
scsi-whitespace-cleanup-in-the-dpt-driver.patch
drivers-scsi-mca_53c9xc-save_flags-cli-removal.patch
drivers-scsi-aic7xxx-make-functions-static.patch
sym53c8xx_2-claims-cpqarray-device.patch
drivers-scsi-wd33c93c-cleanups.patch
scsi-cover-up-bugs-fix-up-compiler-warnings-in-megaraid-driver.patch
fix-the-reproducible-oops-in-scsi.patch
drivers-scsi-qla4xxx-possible-cleanups.patch
make-seagate_st0x_detect-static.patch
remove-some-unused-scsi-related-kernel-config-variables.patch
scsi-fix-obvious-typo-spin_lock_irqrestore-in-gdthc.patch
drivers-scsi-aacraid-cleanups.patch
drivers-scsi-aic7xxx_old-convert-to-generic-boolean-values.patch
cleanup-variable-usage-in-mesh-interrupt-handler.patch
fix--confusion-in-fusion-driver.patch
scsi-megaraid_sas-throttle-io-if-cmds-are-in-risk-of.patch
remove-the-broken-scsi_acornscsi_3-driver.patch
fusion-kernel-doc-warning-fixes.patch
bug-in-gdthc-crashing-machine.patch
revert-md-avoid-possible-bug_on-in-md-bitmap-handling-for-git-block.patch
git-block.patch
git-block-fixup.patch
git-block-dupe-definitions.patch
git-block-xfs-barriers-broke.patch
block-blk_max_pfn-is-somtimes-wrong.patch
git-block-another-md-fix.patch
git-unionfs.patch
unionfs-fix-slab-abuses-with-krealloc.patch
gregkh-usb-pxa2xx_udc-cleanups-use-platform_get_irq.patch
gregkh-usb-usb-at91_udc-fix-more-modpost-bogosity.patch
gregkh-usb-usb-storage-removed-duplicate-supertop-unusual_dev-entry.patch
gregkh-usb-usb-storage-nokia-6288-unusual_devs-entry.patch
gregkh-usb-usb-goku_udc-remove-crude-cache-coherency-code.patch
gregkh-usb-usb-set-the-correct-interval-for-interrupt-urbs.patch
gregkh-usb-uhci-fix-port-resume-problem.patch
gregkh-usb-usbmon-extended-text-api.patch
gregkh-usb-usb-gotemp.patch
gregkh-usb-always-announce-new-usb-devices.patch
gregkh-usb-usb-stimulus.patch
usbatm-create-sysfs-link-device-from-atm-class-device.patch
usbatm-create-sysfs-link-device-from-atm-class-device-tidy.patch
usb-elan-ftdi-check-for-workqueue-creation-v2.patch
cxacru-export-detailed-device-info-through-sysfs-updated.patch
maintainers-add-myself-for-cxacru-in-drivers-usb-atm.patch
usb-serial-secret-patch.patch
git-wireless.patch
git-wireless-fixup.patch
git-ipwireless_cs.patch
x86_64-mm-defconfig-update.patch
x86_64-mm-i386-defconfig-update.patch
x86_64-mm-revert-i386-fix-the-verify_quirk_intel_irqbalance.patch
x86_64-mm-revert-x86_64-mm-add-genapic_force.patch
x86_64-mm-revert-x86_64-mm-fix-the-irqbalance-quirk-for-e7320-e7520-e7525.patch
x86_64-mm-optimize-fix-apic-mode-setup.patch
x86_64-mm-always-use-physical-delivery-mode-on-8-cpus.patch
x86_64-mm-remove-clustered-apic-mode.patch
x86_64-mm-default-to-physical-mode-on-hotplug-cpu-kernels.patch
x86_64-mm-a-memcpy-that-tries-to-reduce-cache-pressure.patch
x86_64-mm-fam10-l3cache.patch
x86_64-mm-fix-i386-and-x86_64-fault-information-pollution.patch
x86_64-mm-adjustments-to-page-table-dump-during-oops-v4.patch
x86_64-mm-adjust-inclusion-of-asm-fixmap_h.patch
x86_64-mm-adjust-inclusion-of-asm-vsyscall32_h.patch
x86_64-mm-consolidate-smp_send_stop.patch
x86_64-mm-no-need-to-use-traditional-for-processing-asm-in-i386-kernel.patch
x86_64-mm-mtrr-range-check-correction.patch
x86_64-mm-add-an-option-for-the-via-c7-which-sets-appropriate-l1-cache.patch
x86_64-mm-probe_roms-cleanup.patch
x86_64-mm-dont-probe-for-ddc-on-vbe1_2.patch
x86_64-mm-timer-prototype-cleanup.patch
x86_64-mm-i386-make-nmi-use-perfctr1-for-architectural-perfmon-take-2.patch
x86_64-mm-x86_64-make-nmi-use-perfctr1-for-architectural-perfmon-take-2.patch
x86_64-mm-add-__init-to-probe_bigsmp.patch
x86_64-mm-change-sysenter_setup-to-__cpuinit-improve-__init-__initdata.patch
x86_64-mm-number-of-cpus.patch
revert-x86_64-mm-change-sysenter_setup-to-__cpuinit-improve-__init-__initdata.patch
after-before-x86_64-mm-mmconfig-share.patch
i386-irq-kill-irq-compression.patch
i386-irq-kill-irq-compression-fix.patch
x86_64-do-not-enable-the-nmi-watchdog-by-default.patch
x86-64-system-crashes-when-no-memory-populating-node-0.patch
mm-set-hashdist_default-to-1-for-x86_64-numa.patch
spin_lock_irq-enable-interrupts-while-spinning-preparatory-patch.patch
spin_lock_irq-enable-interrupts-while-spinning-x86_64-implementation.patch
spin_lock_irq-enable-interrupts-while-spinning-i386-implementation.patch
i386-modpost-apic-related-warning-fixes.patch
arch-i386-kernel-alternativec-should-include-asm-bugsh.patch
arch-i386-kernel-alternativec-dont-include-bugsh.patch
make-struct-vmi_ops-static.patch
type-cast-clean-up-for-find_next_zero_bit.patch
x86_64-wire-up-compat-sched_rr_get_interval2.patch
x86_64-fix-2618-regression-ptrace_oldsetoptions-should-be-accepted.patch
i386-asm-offsetsc-workaround-for-a-wmissing-prototypes-warning.patch
x86_64-fix-section-mismatch-warnings.patch
log-reason-why-tsc-was-marked-unstable.patch
x86_64-shut-up-vm862.patch
x86_64-fix-ia32_binfmtc-build-error.patch
linux-sysdevh-needs-to-include-linux-moduleh.patch
linux-sysdevh-needs-to-include-linux-moduleh-up-fix.patch
linux-sysdevh-needs-to-include-linux-moduleh-up-fix-2.patch
x86_64-configurable-fake-numa-node-sizes.patch
x86_64-split-remaining-fake-nodes-equally.patch
x86_64-fixed-size-remaining-fake-nodes.patch
x86_64-map-fake-nodes-to-real-nodes.patch
x86_64-map-fake-nodes-to-real-nodes-fix.patch
x86_64-disable-alien-cache-for-fake-numa.patch
x86_64-export-physnode-mapping-to-userspace.patch
x86_64-fake-numa-for-cpusets-document.patch
remove-constant_tsc-reporting-from-proc-cpuinfo-power.patch
cleanup-initialize-esp0-properly-all-the-time.patch
lguest-preparation-export_symbol_gpl-5-functions.patch
lguest-preparation-expose-futex-infrastructure.patch
lguest-kconfig-and-headers.patch
lguest-kconfig-and-headers-fix.patch
lguest-the-host-code-lgko.patch
lguest-guest-code.patch
lguest-makefile.patch
lguest-trivial-guest-network-driver.patch
lguest-trivial-guest-network-driver-fix.patch
lguest-trivial-guest-console-driver.patch
lguest-trivial-guest-block-driver.patch
lguest-documentatation-and-example-launcher.patch
remove-hardcoding-of-hard_smp_processor_id-on-up.patch
remove-hardcoding-of-hard_smp_processor_id-on-up-move-definition-of-hard_smp_processor_id-to-asm-smph.patch
use-the-apic-to-determine-the-hardware-processor-id-i386.patch
use-the-apic-to-determine-the-hardware-processor-id-i386-fix.patch
use-the-apic-to-determine-the-hardware-processor-id-x86_64.patch
always-ask-the-hardware-to-obtain-hardware-processor.patch
i386-extend-alternative-instructions-framework.patch
x86_64-changes-to-x86_64-architecture-for.patch
i386-add-the-x86_feature_sync_rdtsc-flag.patch
optimize-and-simplify-get_cycles_sync.patch
make-xfs-workqueues-nonfreezable.patch
mm.patch
acpi-fan-after-suspend-to-mem-fix.patch
safer-nr_node_ids-and-nr_node_ids-determination-and-initial.patch
safer-nr_node_ids-and-nr_node_ids-determination-and-initial-up-fix.patch
safer-nr_node_ids-and-nr_node_ids-determination-and-initial-tweak.patch
use-zvc-counters-to-establish-exact-size-of-dirtyable-pages.patch
use-zvc-counters-to-establish-exact-size-of-dirtyable-pages-fix.patch
make-try_to_unmap-return-a-special-exit-code.patch
proper-prototype-for-hugetlb_get_unmapped_area.patch
mm-remove-gcc-workaround.patch
slab-ensure-cache_alloc_refill-terminates.patch
mm-more-rmap-checking.patch
mm-make-read_cache_page-synchronous.patch
fs-buffer-dont-pageuptodate-without-page-locked.patch
allow-oom_adj-of-saintly-processes.patch
introduce-config_has_dma.patch
mm-slabc-proper-prototypes.patch
mm-detach_vmas_to_be_unmapped-fix.patch
add-nr_mlock-zvc.patch
add-pagemlocked-page-state-bit-and-lru-infrastructure.patch
add-pagemlocked-page-state-bit-and-lru-infrastructure-fix.patch
logic-to-move-mlocked-pages.patch
consolidate-new-anonymous-page-code-paths.patch
avoid-putting-new-mlocked-anonymous-pages-on-lru.patch
opportunistically-move-mlocked-pages-off-the-lru.patch
take-anonymous-pages-off-the-lru-if-we-have-no-swap.patch
free-swap-space-of-reactivated-pages.patch
lumpy-reclaim-v2.patch
lumpy-reclaim-v2-page_to_pfn-fix.patch
lumpy-reclaim-v2-tidy.patch
lumpy-reclaim-cleanup.patch
add-a-bitmap-that-is-used-to-track-flags-affecting-a-block-of-pages.patch
add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated.patch
add-__gfp_movable-for-callers-to-flag-allocations-from-low-memory-that-may-be-migrated.patch
split-the-free-lists-for-movable-and-unmovable-allocations.patch
choose-pages-from-the-per-cpu-list-based-on-migration-type.patch
add-a-configure-option-to-group-pages-by-mobility.patch
drain-per-cpu-lists-when-high-order-allocations-fail.patch
move-free-pages-between-lists-on-steal.patch
group-short-lived-and-reclaimable-kernel-allocations.patch
group-high-order-atomic-allocations.patch
bias-the-placement-of-kernel-pages-at-lower-pfns.patch
be-more-agressive-about-stealing-when-migrate_reclaimable-allocations-fallback.patch
create-the-zone_movable-zone.patch
allow-huge-page-allocations-to-use-gfp_high_movable.patch
x86-specify-amount-of-kernel-memory-at-boot-time.patch
ppc-and-powerpc-specify-amount-of-kernel-memory-at-boot-time.patch
x86_64-specify-amount-of-kernel-memory-at-boot-time.patch
ia64-specify-amount-of-kernel-memory-at-boot-time.patch
add-documentation-for-additional-boot-parameter-and-sysctl.patch
smaps-extract-pmd-walker-from-smaps-code.patch
smaps-add-pages-referenced-count-to-smaps.patch
smaps-add-clear_refs-file-to-clear-reference.patch
smaps-add-clear_refs-file-to-clear-reference-fix.patch
smaps-add-clear_refs-file-to-clear-reference-fix-fix.patch
smaps-add-clear_refs-file-to-clear-reference-docs.patch
implement-file-posix-capabilities.patch
file-capabilities-dont-do-file-caps-if-mnt_nosuid.patch
file-capabilities-honor-secure_noroot.patch
blackfin-Documentation.patch
blackfin-arch.patch
driver_bfin_serial_core.patch
driver_bfin_serial_core-update.patch
blackfin-on-chip-ethernet-mac-controller-driver.patch
blackfin-on-chip-ethernet-mac-controller-driver-update.patch
blackfin-patch-add-blackfin-support-in-smc91x.patch
blackfin-on-chip-rtc-controller-driver.patch
convert-h8-300-to-generic-timekeeping.patch
fix-refrigerator-vs-thaw_process-race.patch
uml-delete-unused-code.patch
uml-formatting-fixes.patch
uml-host_info-tidying.patch
uml-fix-prototypes.patch
v850-generic-timekeeping-conversion.patch
deprecate-smbfs-in-favour-of-cifs.patch
deprecate-smbfs-in-favour-of-cifs-docs.patch
cpuset-remove-sched-domain-hooks-from-cpusets.patch
doc-atomic_add_unless-doesnt-imply-mb-on-failure.patch
procfs-fix-race-between-proc_readdir-and-remove_proc_entry.patch
procfs-fix-race-between-proc_readdir-and-remove_proc_entry-fix.patch
clone-flag-clone_parent_tidptr-leaves-invalid-results-in-memory.patch
factor-outstanding-i-o-error-handling.patch
factor-outstanding-i-o-error-handling-tidy.patch
block_write_full_page-handle-enospc.patch
simplify-the-stacktrace-code.patch
fix-rmmod-read-write-races-in-proc-entries.patch
fix-rmmod-read-write-races-in-proc-entries-fix.patch
filesystem-disk-errors-at-boot-time-caused-by-probe.patch
filesystem-disk-errors-at-boot-time-caused-by-probe-fix.patch
allow-access-to-proc-pid-fd-after-setuid.patch
allow-access-to-proc-pid-fd-after-setuid-fix.patch
allow-access-to-proc-pid-fd-after-setuid-update.patch
allow-access-to-proc-pid-fd-after-setuid-update-2.patch
ext2-3-4-fix-file-date-underflow-on-ext2-3-filesystems-on-64-bit-systems.patch
reduce-size-of-task_struct-on-64-bit-machines.patch
fix-quadratic-behavior-of-shrink_dcache_parent.patch
fix-quadratic-behavior-of-shrink_dcache_parent-update.patch
mm-shrink-parent-dentries-when-shrinking-slab.patch
ipmi-add-powerpc-openfirmware-sensing.patch
ipmi-allow-shared-interrupts.patch
ipmi-add-new-ipmi-nmi-watchdog-handling.patch
ipmi-add-new-ipmi-nmi-watchdog-handling-cleanup.patch
ipmi-add-pci-remove-handling.patch
freezer-task-exit_state-should-be-treated-as-bolean.patch
softlockup-trivial-s-99-max_rt_prio.patch
fix-constant-folding-and-poor-optimization-in-byte-swapping.patch
documentation-ask-driver-writers-to-provide-pm-support.patch
kill-net-rxrpc-rxrpc_symsc.patch
fix-__d_path-for-lazy-unmounts-and-make-it-unambiguous.patch
fix-__d_path-for-lazy-unmounts-and-make-it-unambiguous-tidy.patch
use-symbolic-constants-in-generic-lseek-code.patch
use-use-seek_max-to-validate-user-lseek-arguments.patch
devpts-add-fsnotify-create-event.patch
tty-clarify-documentation-of-write.patch
cciss-fix-for-2tb-support.patch
cciss-fix-for-2tb-support-again.patch
cciss-supercedes-add-shutdown-support-replaces-reboot-notifier.patch
drivers-char-hvc_consolec-cleanups.patch
is_power_of_2-in-fat.patch
is_power_of_2-in-fs-hfs.patch
is_power_of_2-in-fs-block_devc.patch
freevxfs-possible-null-pointer-dereference-fix.patch
reiserfs-possible-null-pointer-dereference-during-resize.patch
scripts-kernel-doc-whitespace-cleanup.patch
fix-section-mismatch-warning-in-lib-swiotlbc.patch
init-do_mountsc-proper-prepare_namespace-prototype.patch
fix-compilation-of-drivers-with-o0.patch
update-__copy_to_user_inatomic.patch
reiserfs-shrink-superblock-if-no-xattrs.patch
module-use-krealloc.patch
reiserfs-correct-misspelled-reiserfs_proc_info-to.patch
kconfig-centralize-the-selection-of-semaphore-debugging.patch
irq-add-__must_check-to-request_irq.patch
use-stop_machine_run-in-the-intel-rng-driver.patch
cap-shmmax-at-int_max-in-compat-shminfo.patch
exec-fix-remove_arg_zero.patch
merge-sys_clone-sys_unshare-nsproxy-and-namespace.patch
merge-sys_clone-sys_unshare-nsproxy-and-namespace-fix.patch
merge-sys_clone-sys_unshare-nsproxy-and-namespace-fix-2.patch
rcutorture-mark-rcu_torture_init-as-__init.patch
extend-print_symbol-capability.patch
init-dma-masks-in-pnp_dev.patch
optimize-timespec_trunc.patch
consolidate-generic_writepages-and-mpage_writepages.patch
consolidate-generic_writepages-and-mpage_writepages-tidy.patch
sync_sb_inodes-propagate-errors.patch
mips-convert-to-use-shared-apm-emulation-fix.patch
make-static-counters-in-new_inode-and-iunique-be-32-bits.patch
change-libfs-sb-creation-routines-to-avoid-collisions-with-their-root-inodes.patch
schedule_on_each_cpu-use-preempt_disable.patch
reimplement-flush_workqueue.patch
implement-flush_work.patch
implement-flush_work-sanity.patch
implement-flush_work_keventd.patch
flush_workqueue-use-preempt_disable-to-hold-off-cpu-hotplug.patch
flush_cpu_workqueue-dont-flush-an-empty-worklist.patch
aio-use-flush_work.patch
kblockd-use-flush_work.patch
relayfs-use-flush_keventd_work.patch
tg3-use-flush_keventd_work.patch
e1000-use-flush_keventd_work.patch
libata-use-flush_work.patch
phy-use-flush_work.patch
extend-notifier_call_chain-to-count-nr_calls-made.patch
extend-notifier_call_chain-to-count-nr_calls-made-fixes.patch
extend-notifier_call_chain-to-count-nr_calls-made-fixes-2.patch
extend-notifier_call_chain-to-count-nr_calls-made-fixes-3.patch
define-and-use-new-eventscpu_lock_acquire-and-cpu_lock_release.patch
define-and-use-new-eventscpu_lock_acquire-and-cpu_lock_release-fix.patch
eliminate-lock_cpu_hotplug-in-kernel-schedc.patch
eliminate-lock_cpu_hotplug-in-kernel-schedc-fix.patch
call-cpu_chain-with-cpu_down_failed-if-cpu_down_prepare-failed.patch
call-cpu_chain-with-cpu_down_failed-if-cpu_down_prepare-failed-vs-reduce-size-of-task_struct-on-64-bit-machines.patch
slab-use-cpu_lock_.patch
workqueue-fix-freezeable-workqueues-implementation.patch
workqueue-fix-flush_workqueue-vs-cpu_dead-race.patch
workqueue-dont-clear-cwq-thread-until-it-exits.patch
workqueue-dont-migrate-pending-works-from-the-dead-cpu.patch
workqueue-kill-run_scheduled_work.patch
workqueue-dont-save-interrupts-in-run_workqueue.patch
workqueue-dont-save-interrupts-in-run_workqueue-update-2.patch
workqueue-make-cancel_rearming_delayed_workqueue-work-on-idle-dwork.patch
workqueue-introduce-cpu_singlethread_map.patch
workqueue-introduce-workqueue_struct-singlethread.patch
workqueue-make-init_workqueues-__init.patch
make-queue_delayed_work-friendly-to-flush_fork.patch
unify-queue_delayed_work-and-queue_delayed_work_on.patch
unify-queue_delayed_work-and-queue_delayed_work_on-fix.patch
workqueue-introduce-wq_per_cpu-helper.patch
make-cancel_rearming_delayed_work-work-on-any-workqueue-not-just-keventd_wq.patch
ipvs-flush-defense_work-before-module-unload.patch
workqueue-kill-noautorel-works.patch
worker_thread-dont-play-with-signals.patch
slab-shutdown-cache_reaper-when-cpu-goes-down.patch
unify-flush_work-flush_work_keventd-and-rename-it-to-cancel_work_sync.patch
____call_usermodehelper-dont-flush_signals.patch
freezer-read-pf_borrowed_mm-in-a-nonracy-way.patch
freezer-close-theoretical-race-between-refrigerator-and-thaw_tasks.patch
freezer-remove-pf_nofreeze-from-rcutorture-thread.patch
freezer-remove-pf_nofreeze-from-bluetooth-threads.patch
freezer-add-try_to_freeze-calls-to-all-kernel-threads.patch
freezer-fix-vfork-problem.patch
freezer-take-kernel_execve-into-consideration.patch
move-page-writeback-acounting-out-of-macros.patch
per-backing_dev-dirty-and-writeback-page-accounting.patch
per-backing_dev-dirty-and-writeback-page-accounting-fix.patch
ext2-reservations.patch
ext2-fix-reservation-extension.patch
make-ext2_get_blocks-static.patch
ext2-balloc-fix-_with_rsv-freeze.patch
ext2-balloc-reset-windowsz-when-full.patch
ext2-balloc-fix-off-by-one-against-rsv_end.patch
ext2-balloc-fix-off-by-one-against-grp_goal.patch
ext2-balloc-say-rb_entry-not-list_entry.patch
ext2-balloc-use-io_error-label.patch
edac-new-opteron-athlon64-memory-controller-driver.patch
drivers-edac-make-code-static.patch
pci_module_init-convertion-for-k8_edacc.patch
edac-k8-driver-coding-tidy.patch
edac-k8-memory-scrubbing-patch.patch
drivers-isdn-gigaset-mark-some-static-data-as-const-v2.patch
the-nfsv2-nfsv3-server-does-not-handle-zero-length-write.patch
fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine.patch
fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine-gfs2-fix.patch
fsaio-rename-__lock_page-to-lock_page_blocking.patch
fsaio-interfaces-to-initialize-and-to-test-a-wait-bit-key.patch
fsaio-add-a-default-io-wait-bit-field-in-task-struct.patch
fsaio-enable-wait-bit-based-filtered-wakeups-to-work-for-aio.patch
fsaio-enable-wait-bit-based-filtered-wakeups-to-work-for-aio-fix.patch
fsaio-enable-wait-bit-based-filtered-wakeups-to-work-for-aio-fix-sparse-fix.patch
fsaio-enable-asynchronous-wait-page-and-lock-page.patch
fsaio-filesystem-aio-read.patch
fsaio-aio-o_sync-filesystem-write.patch
aio-is-unlikely.patch
rework-compat_sys_io_submit.patch
fix-aioh-includes.patch
fix-access_ok-checks.patch
make-good_sigevent-non-static.patch
make-good_sigevent-non-static-fix.patch
make-__sigqueue_free-and.patch
aio-completion-signal-notification.patch
aio-completion-signal-notification-fix.patch
aio-completion-signal-notification-fixes-and-cleanups.patch
aio-completion-signal-notification-small-cleanup.patch
add-listio-syscall-support.patch
sched-fix-idle-load-balancing-in-softirqd-context.patch
sched-dynticks-idle-load-balancing-v3.patch
sched-dynticks-idle-load-balancing-v3-fix.patch
speedup-divides-by-cpu_power-in-scheduler.patch
speedup-divides-by-cpu_power-in-scheduler-up-fix.patch
sched2-sched-domain-sysctl.patch
sched2-sched-domain-sysctl-use-ctl_unnumbered.patch
sched-add-above-background-load-function.patch
mm-implement-swap-prefetching.patch
mm-implement-swap-prefetching-vs-zvc-stuff.patch
mm-implement-swap-prefetching-vs-zvc-stuff-2.patch
mm-implement-swap-prefetching-use-ctl_unnumbered.patch
swap_prefetch-vs-zoned-counters.patch
add-include-linux-freezerh-and-move-definitions-from-prefetch.patch
zvc-support-nr_slab_reclaimable--nr_slab_unreclaimable-swap_prefetch.patch
reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.patch
sched-cleanup-remove-task_t-convert-to-struct-task_struct-prefetch.patch
numa-add-zone_to_nid-function-swap_prefetch.patch
remove-uses-of-kmem_cache_t-from-mm-and-include-linux-slabh-prefetch.patch
add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated-swap-prefetch.patch
rcutorture-use-array_size-macro-when-appropriate.patch
rcutorture-style-cleanup-avoid-=-null-in-boolean-tests.patch
rcutorture-remove-redundant-assignment-to-cur_ops-in.patch
rcu-split-classic-rcu.patch
rcu-softirq-for-rcu.patch
rcu-fix-barriers.patch
rcu-preemptible-rcu.patch
rcu-preemptible-rcu-fix.patch
rcu-debug-trace-for-rcu.patch
lutimesat-simplify-utime2.patch
lutimesat-extend-do_utimes-with-flags.patch
lutimesat-actual-syscall-and-wire-up-on-i386.patch
lutimesat-compat-syscall-and-wire-up-on-x86_64.patch
lutimesat-compat-syscall-and-wire-up-on-x86_64-tidy.patch
rtc-remove-sys-class-rtc-dev.patch
rtc-rtc-interfaces-dont-use-class_device.patch
rtc-simplified-rtc-sysfs-attribute-handling.patch
rtc-simplified-proc-driver-rtc-handling.patch
rtc-remove-rest-of-class_device.patch
rtc-suspend-resume-restores-system-clock.patch
rtc-simplified-rtc-sysfs-attribute-handling-tidy.patch
utrace-prep.patch
utrace-prep-2.patch
utrace-utrace-tracehook.patch
utrace-utrace-tracehook-ia64.patch
utrace-utrace-tracehook-sparc64.patch
utrace-utrace-tracehook-s390.patch
utrace-utrace-regset.patch
utrace-utrace-regset-ia64.patch
utrace-utrace-regset-sparc64.patch
utrace-utrace-regset-s390.patch
utrace-utrace-core.patch
utrace-utrace-ptrace-compat.patch
utrace-utrace-ptrace-compat-ia64.patch
utrace-utrace-ptrace-compat-sparc64.patch
utrace-utrace-ptrace-compat-s390.patch
revert-utrace-prep-2.patch
utrace-vs-reduce-size-of-task_struct-on-64-bit-machines.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-alpha.patch
atomich-complete-atomic_long-operations-in-asm-generic.patch
atomich-i386-type-safety-fix.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-ia64.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-mips.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-parisc.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-powerpc.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-powerpc-fix.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-powerpc-fix-2.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-sparc64.patch
atomich-add-atomic64-cmpxchg-xchg-and-add_unless-to-x86_64.patch
atomich-atomic_add_unless-as-inline-remove-systemh-atomich-circular-dependency.patch
local_t-architecture-independant-extension.patch
local_t-alpha-extension.patch
local_t-i386-extension.patch
local_t-ia64-extension.patch
local_t-mips-extension.patch
local_t-mips-extension-fix.patch
local_t-mips-extension-shrink-duplicated-mips-32-64-bits-functions-from-localh.patch
local_t-mips-extension-shrink-duplicated-mips-32-64-bits-functions-from-localh-fix.patch
local_t-mips-extension-shrink-duplicated-mips-32-64-bits-functions-from-localh-fix-2.patch
local_t-parisc-cleanup.patch
local_t-powerpc-extension.patch
local_t-powerpc-extension-fix.patch
local_t-powerpc-extension-shrink-powerpc-localh.patch
local_t-powerpc-extension-fix-build-fix.patch
local_t-sparc64-cleanup.patch
local_t-x86_64-extension.patch
linux-kernel-markers-kconfig-menus.patch
linux-kernel-markers-kconfig-menus-fix.patch
linux-kernel-markers-kconfig-menus-fix-2.patch
linux-kernel-markers-kconfig-menus-fix-3.patch
linux-kernel-markers-kconfig-menus-fix-4.patch
linux-kernel-markers-kconfig-menus-fix-5.patch
linux-kernel-markers-architecture-independant-code.patch
linux-kernel-markers-architecture-independant-code-license-fix.patch
linux-kernel-markers-architecture-independant-code-flags.patch
linux-kernel-markers-powerpc-optimization.patch
linux-kernel-markers-powerpc-optimization-flags.patch
linux-kernel-markers-i386-optimization.patch
linux-kernel-markers-i386-optimization-fix.patch
linux-kernel-markers-i386-optimization-export-fix.patch
linux-kernel-markers-i386-optimization-flags.patch
linux-kernel-markers-non-optimized-architectures.patch
linux-kernel-markers-non-optimized-architures-fallback-flags.patch
linux-kernel-markers-documentation.patch
linux-kernel-markers-documentation-fix.patch
linux-kernel-markers-documentation-update-adds-context.patch
linux-kernel-markers-documentation-update-markerh.patch
linux-kernel-markers-documentation-update-flags.patch
nfs-fix-congestion-control-use-atomic_longs.patch
readahead-kconfig-options.patch
readahead-kconfig-options-fix.patch
radixtree-introduce-scan-hole-data-functions.patch
mm-introduce-probe_page.patch
mm-introduce-pg_readahead.patch
readahead-add-look-ahead-support-to-__do_page_cache_readahead.patch
readahead-insert-cond_resched-calls.patch
readahead-minmax_ra_pages.patch
readahead-events-accounting.patch
readahead-events-accounting-make-readahead_debug_level-static.patch
readahead-rescue_pages.patch
readahead-sysctl-parameters.patch
readahead-sysctl-parameters-use-ctl_unnumbered.patch
readahead-sysctl-parameters-fix.patch
readahead-sysctl-parameters-set-readahead_hit_rate=1.patch
readahead-min-max-sizes.patch
readahead-min-max-sizes-remove-get_readahead_bounds.patch
readahead-min-max-sizes-increase-vm_min_readahead-to-32kb.patch
readahead-state-based-method-aging-accounting.patch
readahead-state-based-method-aging-accounting-vs-zvc-changes.patch
readahead-state-based-method-routines.patch
readahead-state-based-method.patch
readahead-state-based-method-prevent-tiny-size.patch
readahead-state-based-method-move-readahead_ratio-out-of-compute_thrashing_threshold.patch
readahead-context-based-method.patch
readahead-context-based-method-locking-fix.patch
readahead-context-based-method-locking-fix-2.patch
readahead-context-based-method-update-ra_min.patch
readahead-context-based-method-remove-readahead_ratio.patch
readahead-initial-method-guiding-sizes.patch
readahead-initial-method-thrashing-guard-size.patch
readahead-initial-method-user-recommended-size.patch
readahead-initial-method-user-recommended-size-rename-to-read_ahead_initial_kb.patch
readahead-initial-method.patch
readahead-backward-prefetching-method.patch
readahead-thrashing-recovery-method.patch
readahead-thrashing-recovery-method-fix.patch
readahead-call-scheme.patch
readahead-call-scheme-ifdef-fix.patch
readahead-call-scheme-build-fix.patch
readahead-call-scheme-remove-get_readahead_bounds.patch
readahead-call-scheme-fix-thrashed-unaligned-read.patch
readahead-laptop-mode.patch
readahead-laptop-mode-fix.patch
readahead-loop-case.patch
readahead-nfsd-case.patch
readahead-nfsd-case-fix.patch
readahead-nfsd-case-fix-uninitialized-ra_min-ra_max.patch
readahead-nfsd-case-remove-ra_min.patch
readahead-turn-on-by-default.patch
readahead-remove-size-limit-on-read_ahead_kb.patch
readahead-remove-size-limit-of-max_sectors_kb-on-read_ahead_kb.patch
readahead-partial-sendfile-fix.patch
reiser4-sb_sync_inodes.patch
reiser4-sb_sync_inodes-fix.patch
reiser4-export-remove_from_page_cache.patch
reiser4-export-remove_from_page_cache-fix.patch
reiser4-export-radix_tree_preload.patch
reiser4-export-find_get_pages.patch
make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch
reiser4.patch
reiser4-configh.patch
resier4-add-include-linux-freezerh-and-move-definitions-from.patch
reiser4-reiser4_drop_page-dont-call-remove_from_page_cache.patch
make-kmem_cache_destroy-return-void-reiser4.patch
reiser4-hardirq-include-fix.patch
reiser4-fix-trivial-tyops-which-were-hard-to-hit.patch
reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch
reiser4-bug-fixes.patch
reiser4-fix-gcc-ws-compains.patch
fs-reiser4-possible-cleanups.patch
reiser4-get_sb_dev-fix.patch
reiser4-vs-zoned-allocator.patch
inode_diet-replace-inodeugeneric_ip-with-inodei_private-reiser4.patch
inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default-reiser4.patch
reiser4-vs-streamline-generic_file_-interfaces-and-filemap.patch
reiser4-vs-streamline-generic_file_-interfaces-and-filemap-fix.patch
reiser4-rename-generic_sounding_globalspatch.patch
reiser4-get-rid-of-semaphores-wherever-it-is-possible.patch
reiser4-decribe-new-atom-locking-and-nested-atom-locks-to-lock-validator.patch
reiser4-use-generic-file-read.patch
reiser4-use-generic-file-read-fix-readpages-unix-file.patch
reiser4-simplify-reading-of-partially-converted-files.patch
reiser4-use-page_offset.patch
reiser4-use-reiser4_gfp_mask_get-in-reiser4-inode-allocation.patch
reiser4-re-add-page_count-check-to-reiser4_releasepage.patch
reiser4-restore-fibmap-ioctl-support-for-packed-files.patch
reiser4-possible-cleanups-2.patch
reiser4-format-subversion-numbers-heir-set-and-file-conversion.patch
reiser4-format-subversion-numbers-heir-set-and-file-conversion-fix-readpages-cryptcompress.patch
reiser4-cleanups-in-lzo-compression-library.patch
reiser4-get-rid-of-deprecated-crypto-api.patch
reiser4-get-rid-of-deprecated-crypto-api-build-fix.patch
reiser4-fix-missed-unlock-and-exit_context.patch
reiser4-use-list_head-instead-of-struct-blocknr.patch
reiser4-use-list_empty-instead-of-list_empty_careful-for.patch
reiser4-update-comments-fix-write-and-truncate-cryptcompress.patch
reiser4-temp-fix.patch
reiser4-fix-write_extent-1.patch
fs-reiser4-possible-cleanups-2.patch
fs-reiser4-more-possible-cleanups.patch
reiser4-use-null-for-pointers.patch
reiser4-kmem_cache_t-removal.patch
reiser4-test_clear_page_dirty.patch
reiser4-fix-readpage_cryptcompress.patch
reiser4-improve-estimation-for-number-of-nodes-occupied.patch
reiser4-drop-check_cryptcompress.patch
reiser4-drop-unused-semaphores.patch
reiser4-use-dynamic-lattice-for-adaptive-compression.patch
reiser4-fix-freeze-and-corruption.patch
reiser4-vs-git-block.patch
reiser4-vs-git-block-2.patch
reiser4-vs-git-block3.patch
ps3fb-thread-updates.patch
ps3fb-thread-updates-update.patch
ps3fb-thread-updates-2.patch
ps3fb-thread-updates-42.patch
ps3av-thread-updates.patch
ps3fb-kill-superfluous-zero-initializations.patch
ps3fb-atomic-fixes.patch
ps3av-misc-updates.patch
aty128fb-fix-blanking.patch
change-rivafb_remove-to-__devexit.patch
atyfb-replace-busy-loop-with-mdelay.patch
fbdev-display-class.patch
fbdev-display-class-update.patch
fbdev-add-ultrasharp-uxga-to-broken-monitor-database.patch
fbdev-add-ultrasharp-uxga-to-broken-monitor-database-fix.patch
intelfb-fix-ring-space-calculation.patch
nvidiafb-bring-back-generic-ddc-reading.patch
nvidiafb-bring-back-generic-ddc-reading-fix.patch
fbdev-ignore-vesa-modes-if-framebuffer-is-disabled.patch
fbdev-fix-obvious-bug-in-show_pan.patch
neofb-fill-transp-msb_right-with-the-correct.patch
atyfb-kill-dead-code.patch
fbdev-mm-deferred-io-support.patch
fbdev-hecuba-framebuffer-driver.patch
fbdev-hecuba-framebuffer-driver-fix.patch
tgafb-turbochannel-support.patch
tgafb-accelerated-code.patch
nvidiafb-backlight-fix-implicit-declaration-in-nv_backlight.patch
atyfb-fix-kconfig-error-part-2.patch
fbdev-fix-kconfig-error-if-fb_ddc=n.patch
drivers-mdc-use-array_size-macro-when-appropriate.patch
md-dm-reduce-stack-usage-with-stacked-block-devices.patch
statistics-infrastructure-prerequisite-list.patch
statistics-infrastructure-prerequisite-parser.patch
statistics-infrastructure-prerequisite-timestamp.patch
statistics-infrastructure-make-printk_clock-a-generic-kernel-wide-nsec-resolution.patch
statistics-infrastructure-make-printk_clock-a-generic-kernel-wide-nsec-resolution-ia64-fix.patch
statistics-infrastructure-documentation.patch
statistics-infrastructure.patch
statistics-infrastructure-fix-buffer-overflow-in-histogram-with-linear.patch
statistics-infrastructure-fix-buffer-overflow-in-histogram-with-linear-tidy.patch
statistics-infrastructure-adapt-output-format-of-utilisation-indicator.patch
statistics-use-the-enhanced-percpu-interface.patch
statistics-replace-inode-ugeneric_ip-with-i_private.patch
statistics-infrastructure-exploitation-zfcp.patch
zfcp-gather-hba-specific-latencies-in-statistics.patch
mark-pci_module_init-deprecated.patch
mprotect-patch-for-use-by-slim.patch
integrity-service-api-and-dummy-provider.patch
integrity-service-api-and-dummy-provider-cleanup-use-of-configh.patch
integrity-service-api-and-dummy-provider-compilation-warning-fix.patch
integrity-service-api-and-dummy-provider-fix.patch
slim-main-patch.patch
slim-main-patch-socket_post_create-hook-return-code.patch
slim-main-patch-misc-cleanups-requested-at-inclusion-time.patch
slim-main-patch-handle-failure-to-register.patch
slim-main-patch-fix-bug-with-mm_users-usage.patch
slim-main-patch-security-slim-slm_mainc-make-2-functions-static.patch
slim-main-include-fix.patch
slim-secfs-patch.patch
slim-secfs-patch-slim-correct-use-of-snprintf.patch
slim-secfs-patch-cleanup-use-of-configh.patch
slim-make-and-config-stuff.patch
slim-make-and-config-stuff-makefile-fix.patch
slim-debug-output.patch
slim-debug-output-slm_set_taskperm-remove-horrible-error-handling-code.patch
slim-fix-security-issue-with-the-task_post_setuid-hook.patch
slim-secfs-inode-i_private-build-fix.patch
slim-documentation.patch
fdtable-make-fdarray-and-fdsets-equal-in-size-slim.patch
panic-on-slim-selinux.patch
scheduled-removal-of-sa_xxx-interrupt-flags-fixups-3.patch
make-sure-nobodys-leaking-resources.patch
journal_add_journal_head-debug.patch
page-owner-tracking-leak-detector.patch
firestream-warnings.patch
releasing-resources-with-children.patch
nr_blockdev_pages-in_interrupt-warning.patch
detect-atomic-counter-underflows.patch
device-suspend-debug.patch
mm-debug-dump-pageframes-on-bad_page.patch
make-frame_pointer-default=y.patch
i386-enable-4k-stacks-by-default.patch
mutex-subsystem-synchro-test-module.patch
mutex-subsystem-synchro-test-module-fix.patch
slab-leaks3-default-y.patch
profile-likely-unlikely-macros.patch
profile_likely-export-do_check_likely.patch
profile-likely-unlikely-macros_remove-likely-profiling-int-cast.patch
profile-likely-unlikely-macros-x86_64-fix.patch
vdso-print-fatal-signals.patch
vdso-improve-print_fatal_signals-support-by-adding-memory-maps.patch
vdso-print-fatal-signals-use-ctl_unnumbered.patch
restore-rogue-readahead-printk.patch
put_bh-debug.patch
e1000_7033_dump_ring.patch
e1000-printk-warning-fixes.patch
acpi_format_exception-debug.patch
lockdep-show-held-locks-when-showing-a-stackdump.patch
lockdep-show-held-locks-when-showing-a-stackdump-fix.patch
lockdep-show-held-locks-when-showing-a-stackdump-fix-2.patch
add-debugging-aid-for-memory-initialisation-problems.patch
add-debugging-aid-for-memory-initialisation-problems-fix.patch
kmap_atomic-debugging.patch
shrink_slab-handle-bad-shrinkers.patch
ia64-enable-config_debug_spinlock_sleep.patch
keep-track-of-network-interface-renaming.patch
mm-only-free-swap-space-of-reactivated-pages-debug.patch
git-gccbug.patch
squash-ipc-warnings.patch
squash-udf-warnings.patch
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-05 10:24 mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded akpm
@ 2007-03-05 14:49 ` Michal Piotrowski
2007-03-05 14:49 ` Michal Piotrowski
` (2 subsequent siblings)
3 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-05 14:49 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, Andrew Morton, perex, linux-kernel
Hi,
akpm@linux-foundation.org napisał(a):
> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
>
> It contains the following patches against 2.6.21-rc2:
>
Outstanding issue - my 3d surround doesn't work since 2.6.20.
I'll bisect this commits
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at d000 [size=256]
Region 1: I/O ports at d400 [size=64]
Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_INTEL8X0=m
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-05 10:24 mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded akpm
2007-03-05 14:49 ` Michal Piotrowski
@ 2007-03-05 14:49 ` Michal Piotrowski
2007-03-07 11:36 ` Michal Piotrowski
2007-03-07 11:36 ` Michal Piotrowski
2007-03-05 15:53 ` Michal Piotrowski
2007-03-05 18:02 ` Michal Piotrowski
3 siblings, 2 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-05 14:49 UTC (permalink / raw)
To: Takashi Iwai; +Cc: perex, alsa-devel, Andrew Morton, linux-kernel
Hi,
akpm@linux-foundation.org napisał(a):
> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
>
> It contains the following patches against 2.6.21-rc2:
>
Outstanding issue - my 3d surround doesn't work since 2.6.20.
I'll bisect this commits
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at d000 [size=256]
Region 1: I/O ports at d400 [size=64]
Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_INTEL8X0=m
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-05 10:24 mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded akpm
2007-03-05 14:49 ` Michal Piotrowski
2007-03-05 14:49 ` Michal Piotrowski
@ 2007-03-05 15:53 ` Michal Piotrowski
2007-03-05 18:02 ` Michal Piotrowski
3 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-05 15:53 UTC (permalink / raw)
To: Andrew Morton, Pavel Machek, Rafael J. Wysocki, Ingo Molnar,
Russell King, LKML
akpm@linux-foundation.org napisał(a):
> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
>
> It contains the following patches against 2.6.21-rc2:
>
Hmmm... lockdep bug, possible serial8250 problem and suspend to disk doesn't work.
PM: suspend-to-disk mode set to 'shutdown'
Stopping tasks ... BUG: at kernel/lockdep.c:2428 check_flags()
[<c0105256>] show_trace_log_lvl+0x1a/0x2f
[<c010597b>] show_trace+0x12/0x14
[<c0105a3d>] dump_stack+0x16/0x18
[<c013d3bd>] check_flags+0xb7/0x187
[<c01405f2>] lock_acquire+0x3a/0x93
[<c033ae3f>] _spin_lock+0x35/0x42
[<c0149b77>] refrigerator+0x14/0xb5
[<c012eb85>] get_signal_to_deliver+0x42/0x709
[<c0103786>] do_notify_resume+0x94/0x778
[<c0104339>] work_notifysig+0x13/0x1a
=======================
irq event stamp: 158057
hardirqs last enabled at (158057): [<c0104391>] syscall_exit_work+0x11/0x26
hardirqs last disabled at (158056): [<c010427d>] syscall_exit+0x9/0x1a
softirqs last enabled at (157962): [<c0128a03>] __do_softirq+0xc7/0xcc
softirqs last disabled at (157957): [<c0128a41>] do_softirq+0x39/0x55
BUG: workqueue leaked lock or atomic: events/0/0x00000000/8
last function: console_callback+0x0/0xca
1 lock held by events/0/8:
#0: (&port_lock_key){....}, at: [<c0267c1f>] serial8250_console_write+0x55/0x13c
[<c0105256>] show_trace_log_lvl+0x1a/0x2f
[<c010597b>] show_trace+0x12/0x14
[<c0105a3d>] dump_stack+0x16/0x18
[<c0132945>] run_workqueue+0x121/0x14f
[<c0133298>] worker_thread+0x118/0x126
[<c01354eb>] kthread+0xb5/0xde
[<c0104ed7>] kernel_thread_helper+0x7/0x10
=======================
BUG: workqueue leaked lock or atomic: events/0/0x00000000/8
last function: console_callback+0x0/0xca
1 lock held by events/0/8:
#0: (&port_lock_key){....}, at: [<c0267c1f>] serial8250_console_write+0x55/0x13c
[<c0105256>] show_trace_log_lvl+0x1a/0x2f
[<c010597b>] show_trace+0x12/0x14
[<c0105a3d>] dump_stack+0x16/0x18
[<c0132945>] run_workqueue+0x121/0x14f
[<c0133298>] worker_thread+0x118/0x126
[<c01354eb>] kthread+0xb5/0xde
[<c0104ed7>] kernel_thread_helper+0x7/0x10
=======================
done.
Shrinking memory... <3>BUG: workqueue leaked lock or atomic: events/0/0x00000000/8
last function: cache_reap+0x0/0x100
1 lock held by events/0/8:
#0: (&port_lock_key){....}, at: [<c0267c1f>] serial8250_console_write+0x55/0x13c
[<c0105256>] show_trace_log_lvl+0x1a/0x2f
[<c010597b>] show_trace+0x12/0x14
[<c0105a3d>] dump_stack+0x16/0x18
[<c0132945>] run_workqueue+0x121/0x14f
[<c0133298>] worker_thread+0x118/0x126
[<c01354eb>] kthread+0xb5/0xde
[<c0104ed7>] kernel_thread_helper+0x7/0x10
=======================
\b-\b\\b|\b/\b-\b\\bdone (76069 pages freed)
Freed 304276 kbytes in 1.04 seconds (292.57 MB/s)
Suspending console(s)
l *0xc0267c1f
0xc0267c1f is in serial8250_console_write (drivers/serial/8250.c:2469).
2464 /* serial8250_handle_port() already took the lock */
2465 locked = 0;
2466 } else if (oops_in_progress) {
2467 locked = spin_trylock(&up->port.lock);
2468 } else
2469 spin_lock(&up->port.lock);
2470
2471 /*
2472 * First save the IER then disable the interrupts
2473 */
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/broken-out-2007-03-05-02-22/mm-config
serial console log
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/broken-out-2007-03-05-02-22/mm_snaps.txt
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-05 10:24 mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded akpm
` (2 preceding siblings ...)
2007-03-05 15:53 ` Michal Piotrowski
@ 2007-03-05 18:02 ` Michal Piotrowski
3 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-05 18:02 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, Mariusz Kozlowski
akpm@linux-foundation.org napisał(a):
> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
>
> It contains the following patches against 2.6.21-rc2:
This might be helpful in tracking down this bug
http://www.ussg.iu.edu/hypermail/linux/kernel/0703.0/index.html#0889
http://www.ussg.iu.edu/hypermail/linux/kernel/0703.0/index.html#1165
SysRq : Terminate All Tasks
SysRq : Kill All Tasks
SysRq : SAK
------------[ cut here ]------------
kernel BUG at kernel/workqueue.c:156!
invalid opcode: 0000 [#1]
PREEMPT SMP
last sysfs file: devices/platform/i2c-9191/9191-0290/temp2_input
Modules linked in: isofs nls_base zlib_inflate ipt_MASQUERADE iptable_nat nf_nat nfsd exportfs lockd nfs_acl autofs4 sunrpc af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm evdev snd_timer intel_agp snd agpgart soundcore skge i2c_i801 snd_page_alloc 8139too sk98lin mii ide_cd cdrom rtc unix
CPU: 0
EIP: 0060:[<c0132ddb>] Not tainted VLI
EFLAGS: 00010002 (2.6.21-rc2-mm1 #2)
EIP is at queue_work+0x2f/0x8f
eax: 00000001 ebx: c07d783c ecx: c042f96c edx: 00000001
esi: c781a7f8 edi: 0000006b ebp: d097be24 esp: d097be1c
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process firefox-bin (pid: 12655, ti=d097a000 task=cec52ae0 task.ti=d097a000)
Stack: c044ea50 00000001 d097be2c c0132e4a d097be34 c0261e91 d097be5c c0261d8f
c03f0f61 c03f2f32 cc3686ec 00000008 00000082 00000025 00000000 00000025
d097be64 c0261f6a d097be90 c025cbb6 0000157f 007bb2e1 cc3686ec 01010036
Call Trace:
[<c0105256>] show_trace_log_lvl+0x1a/0x2f
[<c0105308>] show_stack_log_lvl+0x9d/0xac
[<c0105504>] show_registers+0x1ed/0x34c
[<c0105780>] die+0x11d/0x234
[<c0105921>] do_trap+0x8a/0xa3
[<c010620a>] do_invalid_op+0x97/0xa1
[<c033b764>] error_code+0x7c/0x84
[<c0132e4a>] schedule_work+0xf/0x11
[<c0261e91>] sysrq_handle_SAK+0x14/0x16
[<c0261d8f>] __handle_sysrq+0x8c/0x109
[<c0261f6a>] handle_sysrq+0x1f/0x21
[<c025cbb6>] kbd_event+0x2d8/0x4ee
[<c02bd926>] input_event+0x420/0x442
[<c02c0ff9>] atkbd_interrupt+0x44d/0x518
[<c02ba6b2>] serio_interrupt+0x49/0x7f
[<c02bb4ec>] i8042_interrupt+0x226/0x239
[<c0155886>] handle_IRQ_event+0x1a/0x46
[<c015699e>] handle_edge_irq+0x10a/0x14e
[<c0106c22>] do_IRQ+0xa3/0xbd
[<c0104c52>] common_interrupt+0x2e/0x34
=======================
Code: 53 89 c6 89 d3 f0 0f ba 2a 00 19 c0 31 d2 85 c0 75 73 8d 43 04 31 d2 39 43 04 0f 95 c2 b8 6c f9 42 c0 e8 b1 e4 0d 00 85 c0 74 04 <0f> 0b eb fe b8 01 00 00 00 e8 73 bd fe ff e8 da db 0d 00 89 c2
EIP: [<c0132ddb>] queue_work+0x2f/0x8f SS:ESP 0068:d097be1c
l *0xc0132ddb
0xc0132ddb is in queue_work (kernel/workqueue.c:156).
151 int fastcall queue_work(struct workqueue_struct *wq, struct work_struct *work)
152 {
153 int ret = 0;
154
155 if (!test_and_set_bit(WORK_STRUCT_PENDING, work_data_bits(work))) {
156 BUG_ON(!list_empty(&work->entry));
157 __queue_work(wq_per_cpu(wq, get_cpu()), work);
158 put_cpu();
159 ret = 1;
160 }
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/broken-out-2007-03-05-02-22/mm-config
serial console log
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/broken-out-2007-03-05-02-22/mm_snaps2.txt
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-05 14:49 ` Michal Piotrowski
@ 2007-03-07 11:36 ` Michal Piotrowski
2007-03-07 11:36 ` Michal Piotrowski
1 sibling, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 11:36 UTC (permalink / raw)
To: Randy Cushman
Cc: alsa-devel, Takashi Iwai, linux-kernel, Andrew Morton,
Linus Torvalds, Jaroslav Kysela
Michal Piotrowski napisał(a):
> Hi,
>
> akpm@linux-foundation.org napisał(a):
>> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
>>
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
>>
>> It contains the following patches against 2.6.21-rc2:
>>
>
> Outstanding issue - my 3d surround doesn't work since 2.6.20.
>
> I'll bisect this commits
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
>
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> Latency: 0
> Interrupt: pin B routed to IRQ 17
> Region 0: I/O ports at d000 [size=256]
> Region 1: I/O ports at d400 [size=64]
> Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
> Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
> Capabilities: [50] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
>
> CONFIG_SND=m
> CONFIG_SND_TIMER=m
> CONFIG_SND_PCM=m
> CONFIG_SND_RAWMIDI=m
> CONFIG_SND_SEQUENCER=m
> CONFIG_SND_SEQ_DUMMY=m
> CONFIG_SND_OSSEMUL=y
> CONFIG_SND_MIXER_OSS=m
> CONFIG_SND_PCM_OSS=m
> CONFIG_SND_PCM_OSS_PLUGINS=y
> CONFIG_SND_SEQUENCER_OSS=y
> CONFIG_SND_RTCTIMER=m
> CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
> # CONFIG_SND_DYNAMIC_MINORS is not set
> CONFIG_SND_SUPPORT_OLD_API=y
> CONFIG_SND_VERBOSE_PROCFS=y
> # CONFIG_SND_VERBOSE_PRINTK is not set
> # CONFIG_SND_DEBUG is not set
>
> CONFIG_SND_AC97_CODEC=m
> CONFIG_SND_DUMMY=m
> CONFIG_SND_VIRMIDI=m
>
> CONFIG_SND_INTEL8X0=m
As I said above, center and rear speakers doesn't work with this patch.
$ git-bisect good
831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
Author: Randy Cushman <rcushman_linux@earthlink.net>
Date: Tue Dec 19 18:42:16 2006 +0100
[ALSA] ac97 - fix microphone and line_in selection logic
This patch fixes the Microphone and LINE_IN select logic for
Analog Devices surround codecs with shared jacks. The existing
code can never utilize the shared jacks for Microphone and LINE_IN
due to the reversed jack selection logic. The patched code
correctly selects the shared jack for input if the 'Channel Mode'
selector does not specify that the jack is to be used for output.
Specifically, in '2ch' mode the Center/LFE jack is used for
microphone input and the Surround jack is used for LINE_IN,
in '4ch' mode the Center/LFE jack is used for microphone input
and the Surround jack is used for output, and in '6ch' mode
both jacks are used for output.
Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
:040000 040000 7146a2c5350578fe1b05586c64df99889fa423fe 10e98a9b4819b34ce2abb2c36adbf269d39b9e4c M sound
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-05 14:49 ` Michal Piotrowski
2007-03-07 11:36 ` Michal Piotrowski
@ 2007-03-07 11:36 ` Michal Piotrowski
2007-03-07 18:47 ` Andrew Morton
1 sibling, 1 reply; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 11:36 UTC (permalink / raw)
To: Randy Cushman
Cc: Takashi Iwai, Jaroslav Kysela, alsa-devel, Andrew Morton,
linux-kernel, Linus Torvalds
Michal Piotrowski napisał(a):
> Hi,
>
> akpm@linux-foundation.org napisał(a):
>> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
>>
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
>>
>> It contains the following patches against 2.6.21-rc2:
>>
>
> Outstanding issue - my 3d surround doesn't work since 2.6.20.
>
> I'll bisect this commits
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
>
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> Latency: 0
> Interrupt: pin B routed to IRQ 17
> Region 0: I/O ports at d000 [size=256]
> Region 1: I/O ports at d400 [size=64]
> Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
> Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
> Capabilities: [50] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
>
> CONFIG_SND=m
> CONFIG_SND_TIMER=m
> CONFIG_SND_PCM=m
> CONFIG_SND_RAWMIDI=m
> CONFIG_SND_SEQUENCER=m
> CONFIG_SND_SEQ_DUMMY=m
> CONFIG_SND_OSSEMUL=y
> CONFIG_SND_MIXER_OSS=m
> CONFIG_SND_PCM_OSS=m
> CONFIG_SND_PCM_OSS_PLUGINS=y
> CONFIG_SND_SEQUENCER_OSS=y
> CONFIG_SND_RTCTIMER=m
> CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
> # CONFIG_SND_DYNAMIC_MINORS is not set
> CONFIG_SND_SUPPORT_OLD_API=y
> CONFIG_SND_VERBOSE_PROCFS=y
> # CONFIG_SND_VERBOSE_PRINTK is not set
> # CONFIG_SND_DEBUG is not set
>
> CONFIG_SND_AC97_CODEC=m
> CONFIG_SND_DUMMY=m
> CONFIG_SND_VIRMIDI=m
>
> CONFIG_SND_INTEL8X0=m
As I said above, center and rear speakers doesn't work with this patch.
$ git-bisect good
831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
Author: Randy Cushman <rcushman_linux@earthlink.net>
Date: Tue Dec 19 18:42:16 2006 +0100
[ALSA] ac97 - fix microphone and line_in selection logic
This patch fixes the Microphone and LINE_IN select logic for
Analog Devices surround codecs with shared jacks. The existing
code can never utilize the shared jacks for Microphone and LINE_IN
due to the reversed jack selection logic. The patched code
correctly selects the shared jack for input if the 'Channel Mode'
selector does not specify that the jack is to be used for output.
Specifically, in '2ch' mode the Center/LFE jack is used for
microphone input and the Surround jack is used for LINE_IN,
in '4ch' mode the Center/LFE jack is used for microphone input
and the Surround jack is used for output, and in '6ch' mode
both jacks are used for output.
Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
:040000 040000 7146a2c5350578fe1b05586c64df99889fa423fe 10e98a9b4819b34ce2abb2c36adbf269d39b9e4c M sound
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 11:36 ` Michal Piotrowski
@ 2007-03-07 18:47 ` Andrew Morton
0 siblings, 0 replies; 48+ messages in thread
From: Andrew Morton @ 2007-03-07 18:47 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, Takashi Iwai, linux-kernel, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On Wed, 07 Mar 2007 12:36:36 +0100 Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> Michal Piotrowski napisał(a):
> > Hi,
> >
> > akpm@linux-foundation.org napisał(a):
> >> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
> >>
> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
> >>
> >> It contains the following patches against 2.6.21-rc2:
> >>
> >
> > Outstanding issue - my 3d surround doesn't work since 2.6.20.
> >
> > I'll bisect this commits
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
> >
> > 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> > Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> > Latency: 0
> > Interrupt: pin B routed to IRQ 17
> > Region 0: I/O ports at d000 [size=256]
> > Region 1: I/O ports at d400 [size=64]
> > Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
> > Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
> > Capabilities: [50] Power Management version 2
> > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
> > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >
> > Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
> >
> > CONFIG_SND=m
> > CONFIG_SND_TIMER=m
> > CONFIG_SND_PCM=m
> > CONFIG_SND_RAWMIDI=m
> > CONFIG_SND_SEQUENCER=m
> > CONFIG_SND_SEQ_DUMMY=m
> > CONFIG_SND_OSSEMUL=y
> > CONFIG_SND_MIXER_OSS=m
> > CONFIG_SND_PCM_OSS=m
> > CONFIG_SND_PCM_OSS_PLUGINS=y
> > CONFIG_SND_SEQUENCER_OSS=y
> > CONFIG_SND_RTCTIMER=m
> > CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
> > # CONFIG_SND_DYNAMIC_MINORS is not set
> > CONFIG_SND_SUPPORT_OLD_API=y
> > CONFIG_SND_VERBOSE_PROCFS=y
> > # CONFIG_SND_VERBOSE_PRINTK is not set
> > # CONFIG_SND_DEBUG is not set
> >
> > CONFIG_SND_AC97_CODEC=m
> > CONFIG_SND_DUMMY=m
> > CONFIG_SND_VIRMIDI=m
> >
> > CONFIG_SND_INTEL8X0=m
>
> As I said above, center and rear speakers doesn't work with this patch.
>
> $ git-bisect good
> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> Author: Randy Cushman <rcushman_linux@earthlink.net>
> Date: Tue Dec 19 18:42:16 2006 +0100
>
> [ALSA] ac97 - fix microphone and line_in selection logic
>
> This patch fixes the Microphone and LINE_IN select logic for
> Analog Devices surround codecs with shared jacks. The existing
> code can never utilize the shared jacks for Microphone and LINE_IN
> due to the reversed jack selection logic. The patched code
> correctly selects the shared jack for input if the 'Channel Mode'
> selector does not specify that the jack is to be used for output.
> Specifically, in '2ch' mode the Center/LFE jack is used for
> microphone input and the Surround jack is used for LINE_IN,
> in '4ch' mode the Center/LFE jack is used for microphone input
> and the Surround jack is used for output, and in '6ch' mode
> both jacks are used for output.
>
> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
>
Is 2.6.21-rc3 similarly broken?
This patch reverts cleanly if needed.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-07 18:47 ` Andrew Morton
0 siblings, 0 replies; 48+ messages in thread
From: Andrew Morton @ 2007-03-07 18:47 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Randy Cushman, Takashi Iwai, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
On Wed, 07 Mar 2007 12:36:36 +0100 Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> Michal Piotrowski napisał(a):
> > Hi,
> >
> > akpm@linux-foundation.org napisał(a):
> >> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
> >>
> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
> >>
> >> It contains the following patches against 2.6.21-rc2:
> >>
> >
> > Outstanding issue - my 3d surround doesn't work since 2.6.20.
> >
> > I'll bisect this commits
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
> >
> > 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> > Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> > Latency: 0
> > Interrupt: pin B routed to IRQ 17
> > Region 0: I/O ports at d000 [size=256]
> > Region 1: I/O ports at d400 [size=64]
> > Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
> > Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
> > Capabilities: [50] Power Management version 2
> > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
> > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >
> > Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
> >
> > CONFIG_SND=m
> > CONFIG_SND_TIMER=m
> > CONFIG_SND_PCM=m
> > CONFIG_SND_RAWMIDI=m
> > CONFIG_SND_SEQUENCER=m
> > CONFIG_SND_SEQ_DUMMY=m
> > CONFIG_SND_OSSEMUL=y
> > CONFIG_SND_MIXER_OSS=m
> > CONFIG_SND_PCM_OSS=m
> > CONFIG_SND_PCM_OSS_PLUGINS=y
> > CONFIG_SND_SEQUENCER_OSS=y
> > CONFIG_SND_RTCTIMER=m
> > CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
> > # CONFIG_SND_DYNAMIC_MINORS is not set
> > CONFIG_SND_SUPPORT_OLD_API=y
> > CONFIG_SND_VERBOSE_PROCFS=y
> > # CONFIG_SND_VERBOSE_PRINTK is not set
> > # CONFIG_SND_DEBUG is not set
> >
> > CONFIG_SND_AC97_CODEC=m
> > CONFIG_SND_DUMMY=m
> > CONFIG_SND_VIRMIDI=m
> >
> > CONFIG_SND_INTEL8X0=m
>
> As I said above, center and rear speakers doesn't work with this patch.
>
> $ git-bisect good
> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> Author: Randy Cushman <rcushman_linux@earthlink.net>
> Date: Tue Dec 19 18:42:16 2006 +0100
>
> [ALSA] ac97 - fix microphone and line_in selection logic
>
> This patch fixes the Microphone and LINE_IN select logic for
> Analog Devices surround codecs with shared jacks. The existing
> code can never utilize the shared jacks for Microphone and LINE_IN
> due to the reversed jack selection logic. The patched code
> correctly selects the shared jack for input if the 'Channel Mode'
> selector does not specify that the jack is to be used for output.
> Specifically, in '2ch' mode the Center/LFE jack is used for
> microphone input and the Surround jack is used for LINE_IN,
> in '4ch' mode the Center/LFE jack is used for microphone input
> and the Surround jack is used for output, and in '6ch' mode
> both jacks are used for output.
>
> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
>
Is 2.6.21-rc3 similarly broken?
This patch reverts cleanly if needed.
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 18:47 ` Andrew Morton
(?)
@ 2007-03-07 19:41 ` Michal Piotrowski
2007-03-07 19:50 ` Andrew Morton
-1 siblings, 1 reply; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 19:41 UTC (permalink / raw)
To: Andrew Morton
Cc: alsa-devel, Takashi Iwai, linux-kernel, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On 07/03/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 07 Mar 2007 12:36:36 +0100 Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
>
> > Michal Piotrowski napisał(a):
> > > Hi,
> > >
> > > akpm@linux-foundation.org napisał(a):
> > >> The mm snapshot broken-out-2007-03-05-02-22.tar.gz has been uploaded to
> > >>
> > >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-05-02-22.tar.gz
> > >>
> > >> It contains the following patches against 2.6.21-rc2:
> > >>
> > >
> > > Outstanding issue - my 3d surround doesn't work since 2.6.20.
> > >
> > > I'll bisect this commits
> > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=724339d76d9407cd1a8ad32a9c1fdf64840cc51b
> > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6026179519896e7d35b2564e7544487d1c8948e7
> > >
> > > 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> > > Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
> > > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> > > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> > > Latency: 0
> > > Interrupt: pin B routed to IRQ 17
> > > Region 0: I/O ports at d000 [size=256]
> > > Region 1: I/O ports at d400 [size=64]
> > > Region 2: Memory at f5fff800 (32-bit, non-prefetchable) [size=512]
> > > Region 3: Memory at f5fff400 (32-bit, non-prefetchable) [size=256]
> > > Capabilities: [50] Power Management version 2
> > > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
> > > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > >
> > > Advanced Linux Sound Architecture Driver Version 1.0.14rc2 (Wed Feb 14 07:42:13 2007 UTC).
> > >
> > > CONFIG_SND=m
> > > CONFIG_SND_TIMER=m
> > > CONFIG_SND_PCM=m
> > > CONFIG_SND_RAWMIDI=m
> > > CONFIG_SND_SEQUENCER=m
> > > CONFIG_SND_SEQ_DUMMY=m
> > > CONFIG_SND_OSSEMUL=y
> > > CONFIG_SND_MIXER_OSS=m
> > > CONFIG_SND_PCM_OSS=m
> > > CONFIG_SND_PCM_OSS_PLUGINS=y
> > > CONFIG_SND_SEQUENCER_OSS=y
> > > CONFIG_SND_RTCTIMER=m
> > > CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
> > > # CONFIG_SND_DYNAMIC_MINORS is not set
> > > CONFIG_SND_SUPPORT_OLD_API=y
> > > CONFIG_SND_VERBOSE_PROCFS=y
> > > # CONFIG_SND_VERBOSE_PRINTK is not set
> > > # CONFIG_SND_DEBUG is not set
> > >
> > > CONFIG_SND_AC97_CODEC=m
> > > CONFIG_SND_DUMMY=m
> > > CONFIG_SND_VIRMIDI=m
> > >
> > > CONFIG_SND_INTEL8X0=m
> >
> > As I said above, center and rear speakers doesn't work with this patch.
> >
> > $ git-bisect good
> > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > Date: Tue Dec 19 18:42:16 2006 +0100
> >
> > [ALSA] ac97 - fix microphone and line_in selection logic
> >
> > This patch fixes the Microphone and LINE_IN select logic for
> > Analog Devices surround codecs with shared jacks. The existing
> > code can never utilize the shared jacks for Microphone and LINE_IN
> > due to the reversed jack selection logic. The patched code
> > correctly selects the shared jack for input if the 'Channel Mode'
> > selector does not specify that the jack is to be used for output.
> > Specifically, in '2ch' mode the Center/LFE jack is used for
> > microphone input and the Surround jack is used for LINE_IN,
> > in '4ch' mode the Center/LFE jack is used for microphone input
> > and the Surround jack is used for output, and in '6ch' mode
> > both jacks are used for output.
> >
> > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> >
>
> Is 2.6.21-rc3 similarly broken?
Yes.
>
> This patch reverts cleanly if needed.
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 19:41 ` Michal Piotrowski
@ 2007-03-07 19:50 ` Andrew Morton
0 siblings, 0 replies; 48+ messages in thread
From: Andrew Morton @ 2007-03-07 19:50 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, Takashi Iwai, linux-kernel, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> > > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > > Date: Tue Dec 19 18:42:16 2006 +0100
> > >
> > > [ALSA] ac97 - fix microphone and line_in selection logic
> > >
> > > This patch fixes the Microphone and LINE_IN select logic for
> > > Analog Devices surround codecs with shared jacks. The existing
> > > code can never utilize the shared jacks for Microphone and LINE_IN
> > > due to the reversed jack selection logic. The patched code
> > > correctly selects the shared jack for input if the 'Channel Mode'
> > > selector does not specify that the jack is to be used for output.
> > > Specifically, in '2ch' mode the Center/LFE jack is used for
> > > microphone input and the Surround jack is used for LINE_IN,
> > > in '4ch' mode the Center/LFE jack is used for microphone input
> > > and the Surround jack is used for output, and in '6ch' mode
> > > both jacks are used for output.
> > >
> > > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> > >
> >
> > Is 2.6.21-rc3 similarly broken?
>
> Yes.
>
OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
If so, I'll queue it up for application in a week or two if there is no
progress on this.
From: Andrew Morton <akpm@linux-foundation.org>
Revert 831466f4ad2b5fe23dff77edbe6a7c244435e973: "Michal Piotrowski"
<michal.k.k.piotrowski@gmail.com> reports that it broke his 3d surround.
Cc:"Michal Piotrowski" <michal.k.k.piotrowski@gmail.com>
Cc: Randy Cushman <rcushman_linux@earthlink.net>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
sound/pci/ac97/ac97_patch.c | 66 +++++++++++++---------------------
1 file changed, 26 insertions(+), 40 deletions(-)
diff -puN sound/pci/ac97/ac97_patch.c~revert-ac97-fix-microphone-and-line_in-selection-logic sound/pci/ac97/ac97_patch.c
--- a/sound/pci/ac97/ac97_patch.c~revert-ac97-fix-microphone-and-line_in-selection-logic
+++ a/sound/pci/ac97/ac97_patch.c
@@ -178,28 +178,14 @@ static inline int is_clfe_on(struct snd_
return ac97->channel_mode >= 2;
}
-/* system has shared jacks with surround out enabled */
-static inline int is_shared_surrout(struct snd_ac97 *ac97)
-{
- return !ac97->indep_surround && is_surround_on(ac97);
-}
-
-/* system has shared jacks with center/lfe out enabled */
-static inline int is_shared_clfeout(struct snd_ac97 *ac97)
-{
- return !ac97->indep_surround && is_clfe_on(ac97);
-}
-
-/* system has shared jacks with line in enabled */
static inline int is_shared_linein(struct snd_ac97 *ac97)
{
- return !ac97->indep_surround && !is_surround_on(ac97);
+ return ! ac97->indep_surround && is_surround_on(ac97);
}
-/* system has shared jacks with mic in enabled */
static inline int is_shared_micin(struct snd_ac97 *ac97)
{
- return !ac97->indep_surround && !is_clfe_on(ac97);
+ return ! ac97->indep_surround && is_clfe_on(ac97);
}
@@ -2473,12 +2459,12 @@ static void alc650_update_jacks(struct s
{
int shared;
- /* shared Line-In / Surround Out */
- shared = is_shared_surrout(ac97);
+ /* shared Line-In */
+ shared = is_shared_linein(ac97);
snd_ac97_update_bits(ac97, AC97_ALC650_MULTICH, 1 << 9,
shared ? (1 << 9) : 0);
- /* update shared Mic In / Center/LFE Out */
- shared = is_shared_clfeout(ac97);
+ /* update shared Mic */
+ shared = is_shared_micin(ac97);
/* disable/enable vref */
snd_ac97_update_bits(ac97, AC97_ALC650_CLOCK, 1 << 12,
shared ? (1 << 12) : 0);
@@ -2608,12 +2594,12 @@ static void alc655_update_jacks(struct s
{
int shared;
- /* shared Line-In / Surround Out */
- shared = is_shared_surrout(ac97);
+ /* shared Line-In */
+ shared = is_shared_linein(ac97);
ac97_update_bits_page(ac97, AC97_ALC650_MULTICH, 1 << 9,
shared ? (1 << 9) : 0, 0);
- /* update shared Mic In / Center/LFE Out */
- shared = is_shared_clfeout(ac97);
+ /* update shared mic */
+ shared = is_shared_micin(ac97);
/* misc control; vrefout disable */
snd_ac97_update_bits(ac97, AC97_ALC650_CLOCK, 1 << 12,
shared ? (1 << 12) : 0);
@@ -2757,16 +2743,16 @@ static void alc850_update_jacks(struct s
{
int shared;
- /* shared Line-In / Surround Out */
- shared = is_shared_surrout(ac97);
+ /* shared Line-In */
+ shared = is_shared_linein(ac97);
/* SURR 1kOhm (bit4), Amp (bit5) */
snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<4)|(1<<5),
shared ? (1<<5) : (1<<4));
/* LINE-IN = 0, SURROUND = 2 */
snd_ac97_update_bits(ac97, AC97_ALC850_JACK_SELECT, 7 << 12,
shared ? (2<<12) : (0<<12));
- /* update shared Mic In / Center/LFE Out */
- shared = is_shared_clfeout(ac97);
+ /* update shared mic */
+ shared = is_shared_micin(ac97);
/* Vref disable (bit12), 1kOhm (bit13) */
snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<12)|(1<<13),
shared ? (1<<12) : (1<<13));
@@ -2839,9 +2825,9 @@ static int patch_alc850(struct snd_ac97
*/
static void cm9738_update_jacks(struct snd_ac97 *ac97)
{
- /* shared Line-In / Surround Out */
+ /* shared Line-In */
snd_ac97_update_bits(ac97, AC97_CM9738_VENDOR_CTRL, 1 << 10,
- is_shared_surrout(ac97) ? (1 << 10) : 0);
+ is_shared_linein(ac97) ? (1 << 10) : 0);
}
static const struct snd_kcontrol_new snd_ac97_cm9738_controls[] = {
@@ -2923,12 +2909,12 @@ static const struct snd_kcontrol_new snd
static void cm9739_update_jacks(struct snd_ac97 *ac97)
{
- /* shared Line-In / Surround Out */
+ /* shared Line-In */
snd_ac97_update_bits(ac97, AC97_CM9739_MULTI_CHAN, 1 << 10,
- is_shared_surrout(ac97) ? (1 << 10) : 0);
- /* shared Mic In / Center/LFE Out **/
+ is_shared_linein(ac97) ? (1 << 10) : 0);
+ /* shared Mic */
snd_ac97_update_bits(ac97, AC97_CM9739_MULTI_CHAN, 0x3000,
- is_shared_clfeout(ac97) ? 0x1000 : 0x2000);
+ is_shared_micin(ac97) ? 0x1000 : 0x2000);
}
static const struct snd_kcontrol_new snd_ac97_cm9739_controls[] = {
@@ -3040,8 +3026,8 @@ static void cm9761_update_jacks(struct s
val |= surr_on[ac97->spec.dev_flags][is_surround_on(ac97)];
val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)];
- val |= surr_shared[ac97->spec.dev_flags][is_shared_surrout(ac97)];
- val |= clfe_shared[ac97->spec.dev_flags][is_shared_clfeout(ac97)];
+ val |= surr_shared[ac97->spec.dev_flags][is_shared_linein(ac97)];
+ val |= clfe_shared[ac97->spec.dev_flags][is_shared_micin(ac97)];
snd_ac97_update_bits(ac97, AC97_CM9761_MULTI_CHAN, 0x3c88, val);
}
@@ -3289,12 +3275,12 @@ static int patch_vt1617a(struct snd_ac97
*/
static void it2646_update_jacks(struct snd_ac97 *ac97)
{
- /* shared Line-In / Surround Out */
+ /* shared Line-In */
snd_ac97_update_bits(ac97, 0x76, 1 << 9,
- is_shared_surrout(ac97) ? (1<<9) : 0);
- /* shared Mic / Center/LFE Out */
+ is_shared_linein(ac97) ? (1<<9) : 0);
+ /* shared Mic */
snd_ac97_update_bits(ac97, 0x76, 1 << 10,
- is_shared_clfeout(ac97) ? (1<<10) : 0);
+ is_shared_micin(ac97) ? (1<<10) : 0);
}
static const struct snd_kcontrol_new snd_ac97_controls_it2646[] = {
_
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-07 19:50 ` Andrew Morton
0 siblings, 0 replies; 48+ messages in thread
From: Andrew Morton @ 2007-03-07 19:50 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Randy Cushman, Takashi Iwai, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> > > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > > Date: Tue Dec 19 18:42:16 2006 +0100
> > >
> > > [ALSA] ac97 - fix microphone and line_in selection logic
> > >
> > > This patch fixes the Microphone and LINE_IN select logic for
> > > Analog Devices surround codecs with shared jacks. The existing
> > > code can never utilize the shared jacks for Microphone and LINE_IN
> > > due to the reversed jack selection logic. The patched code
> > > correctly selects the shared jack for input if the 'Channel Mode'
> > > selector does not specify that the jack is to be used for output.
> > > Specifically, in '2ch' mode the Center/LFE jack is used for
> > > microphone input and the Surround jack is used for LINE_IN,
> > > in '4ch' mode the Center/LFE jack is used for microphone input
> > > and the Surround jack is used for output, and in '6ch' mode
> > > both jacks are used for output.
> > >
> > > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> > >
> >
> > Is 2.6.21-rc3 similarly broken?
>
> Yes.
>
OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
If so, I'll queue it up for application in a week or two if there is no
progress on this.
From: Andrew Morton <akpm@linux-foundation.org>
Revert 831466f4ad2b5fe23dff77edbe6a7c244435e973: "Michal Piotrowski"
<michal.k.k.piotrowski@gmail.com> reports that it broke his 3d surround.
Cc:"Michal Piotrowski" <michal.k.k.piotrowski@gmail.com>
Cc: Randy Cushman <rcushman_linux@earthlink.net>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
sound/pci/ac97/ac97_patch.c | 66 +++++++++++++---------------------
1 file changed, 26 insertions(+), 40 deletions(-)
diff -puN sound/pci/ac97/ac97_patch.c~revert-ac97-fix-microphone-and-line_in-selection-logic sound/pci/ac97/ac97_patch.c
--- a/sound/pci/ac97/ac97_patch.c~revert-ac97-fix-microphone-and-line_in-selection-logic
+++ a/sound/pci/ac97/ac97_patch.c
@@ -178,28 +178,14 @@ static inline int is_clfe_on(struct snd_
return ac97->channel_mode >= 2;
}
-/* system has shared jacks with surround out enabled */
-static inline int is_shared_surrout(struct snd_ac97 *ac97)
-{
- return !ac97->indep_surround && is_surround_on(ac97);
-}
-
-/* system has shared jacks with center/lfe out enabled */
-static inline int is_shared_clfeout(struct snd_ac97 *ac97)
-{
- return !ac97->indep_surround && is_clfe_on(ac97);
-}
-
-/* system has shared jacks with line in enabled */
static inline int is_shared_linein(struct snd_ac97 *ac97)
{
- return !ac97->indep_surround && !is_surround_on(ac97);
+ return ! ac97->indep_surround && is_surround_on(ac97);
}
-/* system has shared jacks with mic in enabled */
static inline int is_shared_micin(struct snd_ac97 *ac97)
{
- return !ac97->indep_surround && !is_clfe_on(ac97);
+ return ! ac97->indep_surround && is_clfe_on(ac97);
}
@@ -2473,12 +2459,12 @@ static void alc650_update_jacks(struct s
{
int shared;
- /* shared Line-In / Surround Out */
- shared = is_shared_surrout(ac97);
+ /* shared Line-In */
+ shared = is_shared_linein(ac97);
snd_ac97_update_bits(ac97, AC97_ALC650_MULTICH, 1 << 9,
shared ? (1 << 9) : 0);
- /* update shared Mic In / Center/LFE Out */
- shared = is_shared_clfeout(ac97);
+ /* update shared Mic */
+ shared = is_shared_micin(ac97);
/* disable/enable vref */
snd_ac97_update_bits(ac97, AC97_ALC650_CLOCK, 1 << 12,
shared ? (1 << 12) : 0);
@@ -2608,12 +2594,12 @@ static void alc655_update_jacks(struct s
{
int shared;
- /* shared Line-In / Surround Out */
- shared = is_shared_surrout(ac97);
+ /* shared Line-In */
+ shared = is_shared_linein(ac97);
ac97_update_bits_page(ac97, AC97_ALC650_MULTICH, 1 << 9,
shared ? (1 << 9) : 0, 0);
- /* update shared Mic In / Center/LFE Out */
- shared = is_shared_clfeout(ac97);
+ /* update shared mic */
+ shared = is_shared_micin(ac97);
/* misc control; vrefout disable */
snd_ac97_update_bits(ac97, AC97_ALC650_CLOCK, 1 << 12,
shared ? (1 << 12) : 0);
@@ -2757,16 +2743,16 @@ static void alc850_update_jacks(struct s
{
int shared;
- /* shared Line-In / Surround Out */
- shared = is_shared_surrout(ac97);
+ /* shared Line-In */
+ shared = is_shared_linein(ac97);
/* SURR 1kOhm (bit4), Amp (bit5) */
snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<4)|(1<<5),
shared ? (1<<5) : (1<<4));
/* LINE-IN = 0, SURROUND = 2 */
snd_ac97_update_bits(ac97, AC97_ALC850_JACK_SELECT, 7 << 12,
shared ? (2<<12) : (0<<12));
- /* update shared Mic In / Center/LFE Out */
- shared = is_shared_clfeout(ac97);
+ /* update shared mic */
+ shared = is_shared_micin(ac97);
/* Vref disable (bit12), 1kOhm (bit13) */
snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<12)|(1<<13),
shared ? (1<<12) : (1<<13));
@@ -2839,9 +2825,9 @@ static int patch_alc850(struct snd_ac97
*/
static void cm9738_update_jacks(struct snd_ac97 *ac97)
{
- /* shared Line-In / Surround Out */
+ /* shared Line-In */
snd_ac97_update_bits(ac97, AC97_CM9738_VENDOR_CTRL, 1 << 10,
- is_shared_surrout(ac97) ? (1 << 10) : 0);
+ is_shared_linein(ac97) ? (1 << 10) : 0);
}
static const struct snd_kcontrol_new snd_ac97_cm9738_controls[] = {
@@ -2923,12 +2909,12 @@ static const struct snd_kcontrol_new snd
static void cm9739_update_jacks(struct snd_ac97 *ac97)
{
- /* shared Line-In / Surround Out */
+ /* shared Line-In */
snd_ac97_update_bits(ac97, AC97_CM9739_MULTI_CHAN, 1 << 10,
- is_shared_surrout(ac97) ? (1 << 10) : 0);
- /* shared Mic In / Center/LFE Out **/
+ is_shared_linein(ac97) ? (1 << 10) : 0);
+ /* shared Mic */
snd_ac97_update_bits(ac97, AC97_CM9739_MULTI_CHAN, 0x3000,
- is_shared_clfeout(ac97) ? 0x1000 : 0x2000);
+ is_shared_micin(ac97) ? 0x1000 : 0x2000);
}
static const struct snd_kcontrol_new snd_ac97_cm9739_controls[] = {
@@ -3040,8 +3026,8 @@ static void cm9761_update_jacks(struct s
val |= surr_on[ac97->spec.dev_flags][is_surround_on(ac97)];
val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)];
- val |= surr_shared[ac97->spec.dev_flags][is_shared_surrout(ac97)];
- val |= clfe_shared[ac97->spec.dev_flags][is_shared_clfeout(ac97)];
+ val |= surr_shared[ac97->spec.dev_flags][is_shared_linein(ac97)];
+ val |= clfe_shared[ac97->spec.dev_flags][is_shared_micin(ac97)];
snd_ac97_update_bits(ac97, AC97_CM9761_MULTI_CHAN, 0x3c88, val);
}
@@ -3289,12 +3275,12 @@ static int patch_vt1617a(struct snd_ac97
*/
static void it2646_update_jacks(struct snd_ac97 *ac97)
{
- /* shared Line-In / Surround Out */
+ /* shared Line-In */
snd_ac97_update_bits(ac97, 0x76, 1 << 9,
- is_shared_surrout(ac97) ? (1<<9) : 0);
- /* shared Mic / Center/LFE Out */
+ is_shared_linein(ac97) ? (1<<9) : 0);
+ /* shared Mic */
snd_ac97_update_bits(ac97, 0x76, 1 << 10,
- is_shared_clfeout(ac97) ? (1<<10) : 0);
+ is_shared_micin(ac97) ? (1<<10) : 0);
}
static const struct snd_kcontrol_new snd_ac97_controls_it2646[] = {
_
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 19:50 ` Andrew Morton
@ 2007-03-07 20:39 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-07 20:39 UTC (permalink / raw)
To: Andrew Morton
Cc: alsa-devel, Michal Piotrowski, linux-kernel, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Wed, 7 Mar 2007 11:50:24 -0800,
Andrew Morton wrote:
>
> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>
> > > > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > > > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Date: Tue Dec 19 18:42:16 2006 +0100
> > > >
> > > > [ALSA] ac97 - fix microphone and line_in selection logic
> > > >
> > > > This patch fixes the Microphone and LINE_IN select logic for
> > > > Analog Devices surround codecs with shared jacks. The existing
> > > > code can never utilize the shared jacks for Microphone and LINE_IN
> > > > due to the reversed jack selection logic. The patched code
> > > > correctly selects the shared jack for input if the 'Channel Mode'
> > > > selector does not specify that the jack is to be used for output.
> > > > Specifically, in '2ch' mode the Center/LFE jack is used for
> > > > microphone input and the Surround jack is used for LINE_IN,
> > > > in '4ch' mode the Center/LFE jack is used for microphone input
> > > > and the Surround jack is used for output, and in '6ch' mode
> > > > both jacks are used for output.
> > > >
> > > > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> > > >
> > >
> > > Is 2.6.21-rc3 similarly broken?
> >
> > Yes.
> >
>
> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
>
> If so, I'll queue it up for application in a week or two if there is no
> progress on this.
[sorry for the late interrupt - I'm just back from a vacation]
Could you postpone reverting for a while?
I guess this possible regression is limited only to a certain type of
ac97 codec chip. The patch applied there was a fix for many codec
chips.
Which codec chip are you using specifically? Please check
/proc/asound/card0/codec97#0/* file(s).
Also, run "alsactl -f somefile store" and attach the generated file to
see whether any mixer status inconsistency exists.
Thanks,
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-07 20:39 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-07 20:39 UTC (permalink / raw)
To: Andrew Morton
Cc: Michal Piotrowski, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Wed, 7 Mar 2007 11:50:24 -0800,
Andrew Morton wrote:
>
> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>
> > > > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > > > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Date: Tue Dec 19 18:42:16 2006 +0100
> > > >
> > > > [ALSA] ac97 - fix microphone and line_in selection logic
> > > >
> > > > This patch fixes the Microphone and LINE_IN select logic for
> > > > Analog Devices surround codecs with shared jacks. The existing
> > > > code can never utilize the shared jacks for Microphone and LINE_IN
> > > > due to the reversed jack selection logic. The patched code
> > > > correctly selects the shared jack for input if the 'Channel Mode'
> > > > selector does not specify that the jack is to be used for output.
> > > > Specifically, in '2ch' mode the Center/LFE jack is used for
> > > > microphone input and the Surround jack is used for LINE_IN,
> > > > in '4ch' mode the Center/LFE jack is used for microphone input
> > > > and the Surround jack is used for output, and in '6ch' mode
> > > > both jacks are used for output.
> > > >
> > > > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> > > >
> > >
> > > Is 2.6.21-rc3 similarly broken?
> >
> > Yes.
> >
>
> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
>
> If so, I'll queue it up for application in a week or two if there is no
> progress on this.
[sorry for the late interrupt - I'm just back from a vacation]
Could you postpone reverting for a while?
I guess this possible regression is limited only to a certain type of
ac97 codec chip. The patch applied there was a fix for many codec
chips.
Which codec chip are you using specifically? Please check
/proc/asound/card0/codec97#0/* file(s).
Also, run "alsactl -f somefile store" and attach the generated file to
see whether any mixer status inconsistency exists.
Thanks,
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 19:50 ` Andrew Morton
@ 2007-03-07 22:16 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 22:16 UTC (permalink / raw)
To: Andrew Morton
Cc: alsa-devel, Takashi Iwai, linux-kernel, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On 07/03/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>
> > > > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > > > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Date: Tue Dec 19 18:42:16 2006 +0100
> > > >
> > > > [ALSA] ac97 - fix microphone and line_in selection logic
> > > >
> > > > This patch fixes the Microphone and LINE_IN select logic for
> > > > Analog Devices surround codecs with shared jacks. The existing
> > > > code can never utilize the shared jacks for Microphone and LINE_IN
> > > > due to the reversed jack selection logic. The patched code
> > > > correctly selects the shared jack for input if the 'Channel Mode'
> > > > selector does not specify that the jack is to be used for output.
> > > > Specifically, in '2ch' mode the Center/LFE jack is used for
> > > > microphone input and the Surround jack is used for LINE_IN,
> > > > in '4ch' mode the Center/LFE jack is used for microphone input
> > > > and the Surround jack is used for output, and in '6ch' mode
> > > > both jacks are used for output.
> > > >
> > > > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> > > >
> > >
> > > Is 2.6.21-rc3 similarly broken?
> >
> > Yes.
> >
>
> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
Yes, I can confirm that.
>
> If so, I'll queue it up for application in a week or two if there is no
> progress on this.
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-07 22:16 ` Michal Piotrowski
0 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 22:16 UTC (permalink / raw)
To: Andrew Morton
Cc: Randy Cushman, Takashi Iwai, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
On 07/03/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>
> > > > 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> > > > commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > > Author: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Date: Tue Dec 19 18:42:16 2006 +0100
> > > >
> > > > [ALSA] ac97 - fix microphone and line_in selection logic
> > > >
> > > > This patch fixes the Microphone and LINE_IN select logic for
> > > > Analog Devices surround codecs with shared jacks. The existing
> > > > code can never utilize the shared jacks for Microphone and LINE_IN
> > > > due to the reversed jack selection logic. The patched code
> > > > correctly selects the shared jack for input if the 'Channel Mode'
> > > > selector does not specify that the jack is to be used for output.
> > > > Specifically, in '2ch' mode the Center/LFE jack is used for
> > > > microphone input and the Surround jack is used for LINE_IN,
> > > > in '4ch' mode the Center/LFE jack is used for microphone input
> > > > and the Surround jack is used for output, and in '6ch' mode
> > > > both jacks are used for output.
> > > >
> > > > Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > > Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> > > >
> > >
> > > Is 2.6.21-rc3 similarly broken?
> >
> > Yes.
> >
>
> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
Yes, I can confirm that.
>
> If so, I'll queue it up for application in a week or two if there is no
> progress on this.
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 20:39 ` Takashi Iwai
@ 2007-03-07 22:22 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 22:22 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, Michal Piotrowski, linux-kernel, Andrew Morton,
Adrian Bunk, Linus Torvalds, Jaroslav Kysela
Hi Takashi,
Takashi Iwai napisał(a):
> At Wed, 7 Mar 2007 11:50:24 -0800,
> Andrew Morton wrote:
>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>>
>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
>>>>>
>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
>>>>>
>>>>> This patch fixes the Microphone and LINE_IN select logic for
>>>>> Analog Devices surround codecs with shared jacks. The existing
>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
>>>>> due to the reversed jack selection logic. The patched code
>>>>> correctly selects the shared jack for input if the 'Channel Mode'
>>>>> selector does not specify that the jack is to be used for output.
>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
>>>>> microphone input and the Surround jack is used for LINE_IN,
>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
>>>>> and the Surround jack is used for output, and in '6ch' mode
>>>>> both jacks are used for output.
>>>>>
>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
>>>>>
>>>> Is 2.6.21-rc3 similarly broken?
>>> Yes.
>>>
>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
>>
>> If so, I'll queue it up for application in a week or two if there is no
>> progress on this.
>
> [sorry for the late interrupt - I'm just back from a vacation]
>
> Could you postpone reverting for a while?
> I guess this possible regression is limited only to a certain type of
> ac97 codec chip. The patch applied there was a fix for many codec
> chips.
>
> Which codec chip are you using specifically? Please check
> /proc/asound/card0/codec97#0/* file(s).
0-0/0: Analog Devices AD1985
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x80f3
Revision : 0x03
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff
Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Gain Inverted Buffer delay Location
Master Out : 0.0 dBV - 16/fs Rear I/O Panel
AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
Line In : 0.0 dBV - 16/fs Rear I/O Panel
AD18XX configuration
Unchained : 0x1000,0x0000,0x0000
Chained : 0x0000,0x0000,0x0000
> Also, run "alsactl -f somefile store" and attach the generated file to
> see whether any mixer status inconsistency exists.
state.ICH5 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Surround Playback Switch'
value.0 true
value.1 true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Surround Playback Volume'
value.0 28
value.1 28
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 28
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'LFE Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 0
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 28
value.1 28
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 28
value.1 28
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Mono Playback Switch'
value true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 28
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'PC Speaker Playback Switch'
value false
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 0
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Phone Playback Switch'
value true
}
control.16 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 29
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 29
}
control.19 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Boost (+20dB)'
value true
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'CD Playback Switch'
value.0 true
value.1 true
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 28
value.1 28
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Aux Playback Switch'
value.0 true
value.1 true
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 30
value.1 30
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.27 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 28
value.1 28
}
control.28 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 2
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 CD
value.1 CD
}
control.29 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
}
control.30 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
}
control.31 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.32 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
control.33 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.34 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.35 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.36 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value false
}
control.37 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 3
}
control.38 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 AC-Link
comment.item.1 'A/D Converter'
iface MIXER
name 'IEC958 Playback Source'
value AC-Link
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Stereo Mic'
value false
}
control.40 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Exchange Center/LFE'
value false
}
control.41 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Exchange Front/Surround'
value false
}
control.42 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'High Pass Filter Enable'
value true
}
control.43 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Spread Front to Surround and Center/LFE'
value true
}
control.44 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Off
comment.item.1 '6 -> 4'
comment.item.2 '6 -> 2'
iface MIXER
name Downmix
value Off
}
control.45 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 High-Z
comment.item.1 '3.7 V'
comment.item.2 '2.25 V'
comment.item.3 '0 V'
iface MIXER
name V_REFOUT
value High-Z
}
control.46 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Shared
comment.item.1 Independent
iface MIXER
name 'Surround Jack Mode'
value Shared
}
control.47 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 '2ch'
comment.item.1 '4ch'
comment.item.2 '6ch'
iface MIXER
name 'Channel Mode'
value '6ch'
}
control.48 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Jack Sense'
value false
}
control.49 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Line Jack Sense'
value false
}
control.50 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'External Amplifier'
value true
}
}
>
>
> Thanks,
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-07 22:22 ` Michal Piotrowski
0 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-07 22:22 UTC (permalink / raw)
To: Takashi Iwai
Cc: Andrew Morton, Michal Piotrowski, Randy Cushman, Jaroslav Kysela,
alsa-devel, linux-kernel, Linus Torvalds, Adrian Bunk
Hi Takashi,
Takashi Iwai napisał(a):
> At Wed, 7 Mar 2007 11:50:24 -0800,
> Andrew Morton wrote:
>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>>
>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
>>>>>
>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
>>>>>
>>>>> This patch fixes the Microphone and LINE_IN select logic for
>>>>> Analog Devices surround codecs with shared jacks. The existing
>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
>>>>> due to the reversed jack selection logic. The patched code
>>>>> correctly selects the shared jack for input if the 'Channel Mode'
>>>>> selector does not specify that the jack is to be used for output.
>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
>>>>> microphone input and the Surround jack is used for LINE_IN,
>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
>>>>> and the Surround jack is used for output, and in '6ch' mode
>>>>> both jacks are used for output.
>>>>>
>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
>>>>>
>>>> Is 2.6.21-rc3 similarly broken?
>>> Yes.
>>>
>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
>>
>> If so, I'll queue it up for application in a week or two if there is no
>> progress on this.
>
> [sorry for the late interrupt - I'm just back from a vacation]
>
> Could you postpone reverting for a while?
> I guess this possible regression is limited only to a certain type of
> ac97 codec chip. The patch applied there was a fix for many codec
> chips.
>
> Which codec chip are you using specifically? Please check
> /proc/asound/card0/codec97#0/* file(s).
0-0/0: Analog Devices AD1985
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x80f3
Revision : 0x03
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff
Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Gain Inverted Buffer delay Location
Master Out : 0.0 dBV - 16/fs Rear I/O Panel
AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
Line In : 0.0 dBV - 16/fs Rear I/O Panel
AD18XX configuration
Unchained : 0x1000,0x0000,0x0000
Chained : 0x0000,0x0000,0x0000
> Also, run "alsactl -f somefile store" and attach the generated file to
> see whether any mixer status inconsistency exists.
state.ICH5 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Surround Playback Switch'
value.0 true
value.1 true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Surround Playback Volume'
value.0 28
value.1 28
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 28
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'LFE Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 0
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 28
value.1 28
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 28
value.1 28
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Mono Playback Switch'
value true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 28
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'PC Speaker Playback Switch'
value false
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 0
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Phone Playback Switch'
value true
}
control.16 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 29
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 29
}
control.19 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Boost (+20dB)'
value true
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'CD Playback Switch'
value.0 true
value.1 true
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 28
value.1 28
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Aux Playback Switch'
value.0 true
value.1 true
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 30
value.1 30
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.27 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 28
value.1 28
}
control.28 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 2
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 CD
value.1 CD
}
control.29 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
}
control.30 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
}
control.31 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.32 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
control.33 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.34 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.35 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.36 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value false
}
control.37 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 3
}
control.38 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 AC-Link
comment.item.1 'A/D Converter'
iface MIXER
name 'IEC958 Playback Source'
value AC-Link
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Stereo Mic'
value false
}
control.40 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Exchange Center/LFE'
value false
}
control.41 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Exchange Front/Surround'
value false
}
control.42 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'High Pass Filter Enable'
value true
}
control.43 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Spread Front to Surround and Center/LFE'
value true
}
control.44 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Off
comment.item.1 '6 -> 4'
comment.item.2 '6 -> 2'
iface MIXER
name Downmix
value Off
}
control.45 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 High-Z
comment.item.1 '3.7 V'
comment.item.2 '2.25 V'
comment.item.3 '0 V'
iface MIXER
name V_REFOUT
value High-Z
}
control.46 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Shared
comment.item.1 Independent
iface MIXER
name 'Surround Jack Mode'
value Shared
}
control.47 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 '2ch'
comment.item.1 '4ch'
comment.item.2 '6ch'
iface MIXER
name 'Channel Mode'
value '6ch'
}
control.48 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Jack Sense'
value false
}
control.49 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Line Jack Sense'
value false
}
control.50 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'External Amplifier'
value true
}
}
>
>
> Thanks,
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 22:22 ` Michal Piotrowski
@ 2007-03-07 22:44 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-07 22:44 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Wed, 07 Mar 2007 23:22:36 +0100,
Michal Piotrowski wrote:
>
> Hi Takashi,
>
> Takashi Iwai napisał(a):
> > At Wed, 7 Mar 2007 11:50:24 -0800,
> > Andrew Morton wrote:
> >> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> >>
> >>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> >>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>> Date: Tue Dec 19 18:42:16 2006 +0100
> >>>>>
> >>>>> [ALSA] ac97 - fix microphone and line_in selection logic
> >>>>>
> >>>>> This patch fixes the Microphone and LINE_IN select logic for
> >>>>> Analog Devices surround codecs with shared jacks. The existing
> >>>>> code can never utilize the shared jacks for Microphone and LINE_IN
> >>>>> due to the reversed jack selection logic. The patched code
> >>>>> correctly selects the shared jack for input if the 'Channel Mode'
> >>>>> selector does not specify that the jack is to be used for output.
> >>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
> >>>>> microphone input and the Surround jack is used for LINE_IN,
> >>>>> in '4ch' mode the Center/LFE jack is used for microphone input
> >>>>> and the Surround jack is used for output, and in '6ch' mode
> >>>>> both jacks are used for output.
> >>>>>
> >>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> >>>>>
> >>>> Is 2.6.21-rc3 similarly broken?
> >>> Yes.
> >>>
> >> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
> >>
> >> If so, I'll queue it up for application in a week or two if there is no
> >> progress on this.
> >
> > [sorry for the late interrupt - I'm just back from a vacation]
> >
> > Could you postpone reverting for a while?
> > I guess this possible regression is limited only to a certain type of
> > ac97 codec chip. The patch applied there was a fix for many codec
> > chips.
> >
> > Which codec chip are you using specifically? Please check
> > /proc/asound/card0/codec97#0/* file(s).
>
> 0-0/0: Analog Devices AD1985
OK, that's good to know.
> control.43 {
> comment.access 'read write'
> comment.type BOOLEAN
> comment.count 1
> iface MIXER
> name 'Spread Front to Surround and Center/LFE'
> value true
> }
So, you're playing two-channel samples and get no output from surround
and CLFE? Or, does it happen if you play a real 5.1 channel file?
(for example, try speaker-test -c6)
Also, it'd be helpful if you compare
/proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
patch. This reveals which register bits differ actually.
thanks,
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-07 22:44 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-07 22:44 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Wed, 07 Mar 2007 23:22:36 +0100,
Michal Piotrowski wrote:
>
> Hi Takashi,
>
> Takashi Iwai napisał(a):
> > At Wed, 7 Mar 2007 11:50:24 -0800,
> > Andrew Morton wrote:
> >> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> >>
> >>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> >>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>> Date: Tue Dec 19 18:42:16 2006 +0100
> >>>>>
> >>>>> [ALSA] ac97 - fix microphone and line_in selection logic
> >>>>>
> >>>>> This patch fixes the Microphone and LINE_IN select logic for
> >>>>> Analog Devices surround codecs with shared jacks. The existing
> >>>>> code can never utilize the shared jacks for Microphone and LINE_IN
> >>>>> due to the reversed jack selection logic. The patched code
> >>>>> correctly selects the shared jack for input if the 'Channel Mode'
> >>>>> selector does not specify that the jack is to be used for output.
> >>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
> >>>>> microphone input and the Surround jack is used for LINE_IN,
> >>>>> in '4ch' mode the Center/LFE jack is used for microphone input
> >>>>> and the Surround jack is used for output, and in '6ch' mode
> >>>>> both jacks are used for output.
> >>>>>
> >>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> >>>>>
> >>>> Is 2.6.21-rc3 similarly broken?
> >>> Yes.
> >>>
> >> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
> >>
> >> If so, I'll queue it up for application in a week or two if there is no
> >> progress on this.
> >
> > [sorry for the late interrupt - I'm just back from a vacation]
> >
> > Could you postpone reverting for a while?
> > I guess this possible regression is limited only to a certain type of
> > ac97 codec chip. The patch applied there was a fix for many codec
> > chips.
> >
> > Which codec chip are you using specifically? Please check
> > /proc/asound/card0/codec97#0/* file(s).
>
> 0-0/0: Analog Devices AD1985
OK, that's good to know.
> control.43 {
> comment.access 'read write'
> comment.type BOOLEAN
> comment.count 1
> iface MIXER
> name 'Spread Front to Surround and Center/LFE'
> value true
> }
So, you're playing two-channel samples and get no output from surround
and CLFE? Or, does it happen if you play a real 5.1 channel file?
(for example, try speaker-test -c6)
Also, it'd be helpful if you compare
/proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
patch. This reveals which register bits differ actually.
thanks,
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-07 22:44 ` Takashi Iwai
@ 2007-03-08 15:42 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 15:42 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, Michal Piotrowski, linux-kernel, Andrew Morton,
Adrian Bunk, Linus Torvalds, Jaroslav Kysela
Takashi Iwai napisał(a):
> At Wed, 07 Mar 2007 23:22:36 +0100,
> Michal Piotrowski wrote:
>> Hi Takashi,
>>
>> Takashi Iwai napisał(a):
>>> At Wed, 7 Mar 2007 11:50:24 -0800,
>>> Andrew Morton wrote:
>>>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>>>>
>>>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
>>>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
>>>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
>>>>>>>
>>>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
>>>>>>>
>>>>>>> This patch fixes the Microphone and LINE_IN select logic for
>>>>>>> Analog Devices surround codecs with shared jacks. The existing
>>>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
>>>>>>> due to the reversed jack selection logic. The patched code
>>>>>>> correctly selects the shared jack for input if the 'Channel Mode'
>>>>>>> selector does not specify that the jack is to be used for output.
>>>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
>>>>>>> microphone input and the Surround jack is used for LINE_IN,
>>>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
>>>>>>> and the Surround jack is used for output, and in '6ch' mode
>>>>>>> both jacks are used for output.
>>>>>>>
>>>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
>>>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
>>>>>>>
>>>>>> Is 2.6.21-rc3 similarly broken?
>>>>> Yes.
>>>>>
>>>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
>>>>
>>>> If so, I'll queue it up for application in a week or two if there is no
>>>> progress on this.
>>> [sorry for the late interrupt - I'm just back from a vacation]
>>>
>>> Could you postpone reverting for a while?
>>> I guess this possible regression is limited only to a certain type of
>>> ac97 codec chip. The patch applied there was a fix for many codec
>>> chips.
>>>
>>> Which codec chip are you using specifically? Please check
>>> /proc/asound/card0/codec97#0/* file(s).
>> 0-0/0: Analog Devices AD1985
>
> OK, that's good to know.
>
>> control.43 {
>> comment.access 'read write'
>> comment.type BOOLEAN
>> comment.count 1
>> iface MIXER
>> name 'Spread Front to Surround and Center/LFE'
>> value true
>> }
>
> So, you're playing two-channel samples and get no output from surround
> and CLFE?
Yes.
> Or, does it happen if you play a real 5.1 channel file?
> (for example, try speaker-test -c6)
It doesn't work for me on both kernels.
>
> Also, it'd be helpful if you compare
> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> patch. This reveals which register bits differ actually.
a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
--- a2.txt 2007-03-08 16:36:47.000000000 +0100
+++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
@@ -56,8 +56,8 @@
0:6e = 0000
0:70 = 0000
0:72 = 0004
-0:74 = 1001
-0:76 = 64a4
+0:74 = 1201
+0:76 = 7ca4
0:78 = 000c
0:7a = 0000
0:7c = 4144
2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
speaker-test -c6
speaker-test 1.0.13
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
0, 1 works
4, 3, 2, 5 doesn't work
/proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Analog Devices AD1985
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x80f3
Revision : 0x03
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff
Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Gain Inverted Buffer delay Location
Master Out : 0.0 dBV - 16/fs Rear I/O Panel
AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
Line In : 0.0 dBV - 16/fs Rear I/O Panel
AD18XX configuration
Unchained : 0x1000,0x0000,0x0000
Chained : 0x0000,0x0000,0x0000
/proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 0090
0:02 = 0303
0:04 = 0303
0:06 = 0003
0:08 = 0000
0:0a = 801e
0:0c = 0002
0:0e = 0042
0:10 = 9f9f
0:12 = 0303
0:14 = 0000
0:16 = 0101
0:18 = 0303
0:1a = 0101
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 03c7
0:2a = 05f1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 9f03
0:38 = 0303
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 8080
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0004
0:74 = 1001
0:76 = 64a4
0:78 = 000c
0:7a = 0000
0:7c = 4144
0:7e = 5375
2.6.21-rc3
speaker-test -c6
speaker-test 1.0.13
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
0, 1 works
4, 3, 2, 5 doesn't work
/proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Analog Devices AD1985
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x80f3
Revision : 0x03
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff
Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Gain Inverted Buffer delay Location
Master Out : 0.0 dBV - 16/fs Rear I/O Panel
AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
Line In : 0.0 dBV - 16/fs Rear I/O Panel
AD18XX configuration
Unchained : 0x1000,0x0000,0x0000
Chained : 0x0000,0x0000,0x0000
/proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 0090
0:02 = 0303
0:04 = 0303
0:06 = 0003
0:08 = 0000
0:0a = 801e
0:0c = 0002
0:0e = 0042
0:10 = 9f9f
0:12 = 0303
0:14 = 0000
0:16 = 0101
0:18 = 0303
0:1a = 0101
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 03c7
0:2a = 05f1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 9f03
0:38 = 0303
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 8080
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0004
0:74 = 1201
0:76 = 7ca4
0:78 = 000c
0:7a = 0000
0:7c = 4144
0:7e = 5375
>
>
> thanks,
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 15:42 ` Michal Piotrowski
0 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 15:42 UTC (permalink / raw)
To: Takashi Iwai
Cc: Michal Piotrowski, Andrew Morton, Randy Cushman, Jaroslav Kysela,
alsa-devel, linux-kernel, Linus Torvalds, Adrian Bunk
Takashi Iwai napisał(a):
> At Wed, 07 Mar 2007 23:22:36 +0100,
> Michal Piotrowski wrote:
>> Hi Takashi,
>>
>> Takashi Iwai napisał(a):
>>> At Wed, 7 Mar 2007 11:50:24 -0800,
>>> Andrew Morton wrote:
>>>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
>>>>
>>>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
>>>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
>>>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
>>>>>>>
>>>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
>>>>>>>
>>>>>>> This patch fixes the Microphone and LINE_IN select logic for
>>>>>>> Analog Devices surround codecs with shared jacks. The existing
>>>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
>>>>>>> due to the reversed jack selection logic. The patched code
>>>>>>> correctly selects the shared jack for input if the 'Channel Mode'
>>>>>>> selector does not specify that the jack is to be used for output.
>>>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
>>>>>>> microphone input and the Surround jack is used for LINE_IN,
>>>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
>>>>>>> and the Surround jack is used for output, and in '6ch' mode
>>>>>>> both jacks are used for output.
>>>>>>>
>>>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
>>>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
>>>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
>>>>>>>
>>>>>> Is 2.6.21-rc3 similarly broken?
>>>>> Yes.
>>>>>
>>>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
>>>>
>>>> If so, I'll queue it up for application in a week or two if there is no
>>>> progress on this.
>>> [sorry for the late interrupt - I'm just back from a vacation]
>>>
>>> Could you postpone reverting for a while?
>>> I guess this possible regression is limited only to a certain type of
>>> ac97 codec chip. The patch applied there was a fix for many codec
>>> chips.
>>>
>>> Which codec chip are you using specifically? Please check
>>> /proc/asound/card0/codec97#0/* file(s).
>> 0-0/0: Analog Devices AD1985
>
> OK, that's good to know.
>
>> control.43 {
>> comment.access 'read write'
>> comment.type BOOLEAN
>> comment.count 1
>> iface MIXER
>> name 'Spread Front to Surround and Center/LFE'
>> value true
>> }
>
> So, you're playing two-channel samples and get no output from surround
> and CLFE?
Yes.
> Or, does it happen if you play a real 5.1 channel file?
> (for example, try speaker-test -c6)
It doesn't work for me on both kernels.
>
> Also, it'd be helpful if you compare
> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> patch. This reveals which register bits differ actually.
a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
--- a2.txt 2007-03-08 16:36:47.000000000 +0100
+++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
@@ -56,8 +56,8 @@
0:6e = 0000
0:70 = 0000
0:72 = 0004
-0:74 = 1001
-0:76 = 64a4
+0:74 = 1201
+0:76 = 7ca4
0:78 = 000c
0:7a = 0000
0:7c = 4144
2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
speaker-test -c6
speaker-test 1.0.13
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
0, 1 works
4, 3, 2, 5 doesn't work
/proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Analog Devices AD1985
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x80f3
Revision : 0x03
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff
Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Gain Inverted Buffer delay Location
Master Out : 0.0 dBV - 16/fs Rear I/O Panel
AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
Line In : 0.0 dBV - 16/fs Rear I/O Panel
AD18XX configuration
Unchained : 0x1000,0x0000,0x0000
Chained : 0x0000,0x0000,0x0000
/proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 0090
0:02 = 0303
0:04 = 0303
0:06 = 0003
0:08 = 0000
0:0a = 801e
0:0c = 0002
0:0e = 0042
0:10 = 9f9f
0:12 = 0303
0:14 = 0000
0:16 = 0101
0:18 = 0303
0:1a = 0101
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 03c7
0:2a = 05f1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 9f03
0:38 = 0303
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 8080
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0004
0:74 = 1001
0:76 = 64a4
0:78 = 000c
0:7a = 0000
0:7c = 4144
0:7e = 5375
2.6.21-rc3
speaker-test -c6
speaker-test 1.0.13
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
0, 1 works
4, 3, 2, 5 doesn't work
/proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Analog Devices AD1985
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x80f3
Revision : 0x03
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff
Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Gain Inverted Buffer delay Location
Master Out : 0.0 dBV - 16/fs Rear I/O Panel
AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
Line In : 0.0 dBV - 16/fs Rear I/O Panel
AD18XX configuration
Unchained : 0x1000,0x0000,0x0000
Chained : 0x0000,0x0000,0x0000
/proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 0090
0:02 = 0303
0:04 = 0303
0:06 = 0003
0:08 = 0000
0:0a = 801e
0:0c = 0002
0:0e = 0042
0:10 = 9f9f
0:12 = 0303
0:14 = 0000
0:16 = 0101
0:18 = 0303
0:1a = 0101
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 03c7
0:2a = 05f1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 0000
0:36 = 9f03
0:38 = 0303
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 8080
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0004
0:74 = 1201
0:76 = 7ca4
0:78 = 000c
0:7a = 0000
0:7c = 4144
0:7e = 5375
>
>
> thanks,
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 15:42 ` Michal Piotrowski
(?)
@ 2007-03-08 15:46 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 15:46 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, Michal Piotrowski, linux-kernel, Andrew Morton,
Adrian Bunk, Linus Torvalds, Jaroslav Kysela
On 08/03/07, Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> Takashi Iwai napisał(a):
> > At Wed, 07 Mar 2007 23:22:36 +0100,
> > Michal Piotrowski wrote:
> >> Hi Takashi,
> >>
> >> Takashi Iwai napisał(a):
> >>> At Wed, 7 Mar 2007 11:50:24 -0800,
> >>> Andrew Morton wrote:
> >>>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> >>>>
> >>>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> >>>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
> >>>>>>>
> >>>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
> >>>>>>>
> >>>>>>> This patch fixes the Microphone and LINE_IN select logic for
> >>>>>>> Analog Devices surround codecs with shared jacks. The existing
> >>>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
> >>>>>>> due to the reversed jack selection logic. The patched code
> >>>>>>> correctly selects the shared jack for input if the 'Channel Mode'
> >>>>>>> selector does not specify that the jack is to be used for output.
> >>>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
> >>>>>>> microphone input and the Surround jack is used for LINE_IN,
> >>>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
> >>>>>>> and the Surround jack is used for output, and in '6ch' mode
> >>>>>>> both jacks are used for output.
> >>>>>>>
> >>>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> >>>>>>>
> >>>>>> Is 2.6.21-rc3 similarly broken?
> >>>>> Yes.
> >>>>>
> >>>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
> >>>>
> >>>> If so, I'll queue it up for application in a week or two if there is no
> >>>> progress on this.
> >>> [sorry for the late interrupt - I'm just back from a vacation]
> >>>
> >>> Could you postpone reverting for a while?
> >>> I guess this possible regression is limited only to a certain type of
> >>> ac97 codec chip. The patch applied there was a fix for many codec
> >>> chips.
> >>>
> >>> Which codec chip are you using specifically? Please check
> >>> /proc/asound/card0/codec97#0/* file(s).
> >> 0-0/0: Analog Devices AD1985
> >
> > OK, that's good to know.
> >
> >> control.43 {
> >> comment.access 'read write'
> >> comment.type BOOLEAN
> >> comment.count 1
> >> iface MIXER
> >> name 'Spread Front to Surround and Center/LFE'
> >> value true
> >> }
> >
> > So, you're playing two-channel samples and get no output from surround
> > and CLFE?
>
> Yes.
>
> > Or, does it happen if you play a real 5.1 channel file?
> > (for example, try speaker-test -c6)
>
> It doesn't work for me on both kernels.
>
> >
> > Also, it'd be helpful if you compare
> > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > patch. This reveals which register bits differ actually.
>
> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>
> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> @@ -56,8 +56,8 @@
> 0:6e = 0000
> 0:70 = 0000
> 0:72 = 0004
> -0:74 = 1001
> -0:76 = 64a4
> +0:74 = 1201
> +0:76 = 7ca4
> 0:78 = 000c
> 0:7a = 0000
> 0:7c = 4144
>
>
> 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>
> speaker-test -c6
>
> speaker-test 1.0.13
>
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 6 channels
> Using 16 octaves of pink noise
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 2048 to 16384
> Period size range from 1024 to 1024
> Using max buffer size 16384
> Periods = 4
> was set period_size = 1024
> was set buffer_size = 16384
> 0 - Front Left
> 4 - Center
> 1 - Front Right
> 3 - Rear Right
> 2 - Rear Left
> 5 - LFE
>
> 0, 1 works
> 4, 3, 2, 5 doesn't work
>
> /proc/asound/card0/codec97#0/ac97#0-0
>
> 0-0/0: Analog Devices AD1985
>
> PCI Subsys Vendor: 0x1043
> PCI Subsys Device: 0x80f3
>
> Revision : 0x03
> Compat. Class : 0x00
> Subsys. Vendor ID: 0xffff
> Subsys. ID : 0xffff
>
> Capabilities : -headphone out-
> DAC resolution : 20-bit
> ADC resolution : 16-bit
> 3D enhancement : No 3D Stereo Enhancement
>
> Current setup
> Mic gain : +20dB [+20dB]
> POP path : pre 3D
> Sim. stereo : off
> 3D enhancement : off
> Loudness : off
> Mono output : MIX
> Mic select : Mic1
> ADC/DAC loopback : off
> Double rate slots: 10/11
> Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
> Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
> PCM front DAC : 48000Hz
> PCM Surr DAC : 48000Hz
> PCM LFE DAC : 48000Hz
> PCM ADC : 48000Hz
> SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
>
> Gain Inverted Buffer delay Location
> Master Out : 0.0 dBV - 16/fs Rear I/O Panel
> AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
> Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
> Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
> Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
> Line In : 0.0 dBV - 16/fs Rear I/O Panel
>
>
>
> AD18XX configuration
> Unchained : 0x1000,0x0000,0x0000
> Chained : 0x0000,0x0000,0x0000
>
>
> /proc/asound/card0/codec97#0/ac97#0-0+regs
>
> 0:00 = 0090
> 0:02 = 0303
> 0:04 = 0303
> 0:06 = 0003
> 0:08 = 0000
> 0:0a = 801e
> 0:0c = 0002
> 0:0e = 0042
> 0:10 = 9f9f
> 0:12 = 0303
> 0:14 = 0000
> 0:16 = 0101
> 0:18 = 0303
> 0:1a = 0101
> 0:1c = 0000
> 0:1e = 0000
> 0:20 = 0000
> 0:22 = 0000
> 0:24 = 0000
> 0:26 = 000f
> 0:28 = 03c7
> 0:2a = 05f1
> 0:2c = bb80
> 0:2e = bb80
> 0:30 = bb80
> 0:32 = bb80
> 0:34 = 0000
> 0:36 = 9f03
> 0:38 = 0303
> 0:3a = 2824
> 0:3c = 0000
> 0:3e = 0000
> 0:40 = 0000
> 0:42 = 0000
> 0:44 = 0000
> 0:46 = 0000
> 0:48 = 0000
> 0:4a = 0000
> 0:4c = 0000
> 0:4e = 0000
> 0:50 = 0000
> 0:52 = 0000
> 0:54 = 0000
> 0:56 = 0000
> 0:58 = 0000
> 0:5a = 0000
> 0:5c = 0000
> 0:5e = 0000
> 0:60 = 8080
> 0:62 = 0000
> 0:64 = 0000
> 0:66 = 0000
> 0:68 = 0000
> 0:6a = 0000
> 0:6c = 0000
> 0:6e = 0000
> 0:70 = 0000
> 0:72 = 0004
> 0:74 = 1001
> 0:76 = 64a4
> 0:78 = 000c
> 0:7a = 0000
> 0:7c = 4144
> 0:7e = 5375
>
> 2.6.21-rc3
>
> speaker-test -c6
>
> speaker-test 1.0.13
>
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 6 channels
> Using 16 octaves of pink noise
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 2048 to 16384
> Period size range from 1024 to 1024
> Using max buffer size 16384
> Periods = 4
> was set period_size = 1024
> was set buffer_size = 16384
> 0 - Front Left
> 4 - Center
> 1 - Front Right
> 3 - Rear Right
> 2 - Rear Left
> 5 - LFE
>
> 0, 1 works
> 4, 3, 2, 5 doesn't work
>
> /proc/asound/card0/codec97#0/ac97#0-0
>
> 0-0/0: Analog Devices AD1985
>
> PCI Subsys Vendor: 0x1043
> PCI Subsys Device: 0x80f3
>
> Revision : 0x03
> Compat. Class : 0x00
> Subsys. Vendor ID: 0xffff
> Subsys. ID : 0xffff
>
> Capabilities : -headphone out-
> DAC resolution : 20-bit
> ADC resolution : 16-bit
> 3D enhancement : No 3D Stereo Enhancement
>
> Current setup
> Mic gain : +20dB [+20dB]
> POP path : pre 3D
> Sim. stereo : off
> 3D enhancement : off
> Loudness : off
> Mono output : MIX
> Mic select : Mic1
> ADC/DAC loopback : off
> Double rate slots: 10/11
> Extended ID : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
> Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
> PCM front DAC : 48000Hz
> PCM Surr DAC : 48000Hz
> PCM LFE DAC : 48000Hz
> PCM ADC : 48000Hz
> SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
>
> Gain Inverted Buffer delay Location
> Master Out : 0.0 dBV - 16/fs Rear I/O Panel
> AUX Out : 0.0 dBV - 16/fs Rear I/O Panel
> Center/LFE Out : 0.0 dBV - 16/fs Rear I/O Panel
> Mic 1 : 0.0 dBV - 16/fs Rear I/O Panel
> Mic 2 : 0.0 dBV - 16/fs Rear I/O Panel
> Line In : 0.0 dBV - 16/fs Rear I/O Panel
>
>
>
> AD18XX configuration
> Unchained : 0x1000,0x0000,0x0000
> Chained : 0x0000,0x0000,0x0000
>
>
> /proc/asound/card0/codec97#0/ac97#0-0+regs
>
> 0:00 = 0090
> 0:02 = 0303
> 0:04 = 0303
> 0:06 = 0003
> 0:08 = 0000
> 0:0a = 801e
> 0:0c = 0002
> 0:0e = 0042
> 0:10 = 9f9f
> 0:12 = 0303
> 0:14 = 0000
> 0:16 = 0101
> 0:18 = 0303
> 0:1a = 0101
> 0:1c = 0000
> 0:1e = 0000
> 0:20 = 0000
> 0:22 = 0000
> 0:24 = 0000
> 0:26 = 000f
> 0:28 = 03c7
> 0:2a = 05f1
> 0:2c = bb80
> 0:2e = bb80
> 0:30 = bb80
> 0:32 = bb80
> 0:34 = 0000
> 0:36 = 9f03
> 0:38 = 0303
> 0:3a = 2824
> 0:3c = 0000
> 0:3e = 0000
> 0:40 = 0000
> 0:42 = 0000
> 0:44 = 0000
> 0:46 = 0000
> 0:48 = 0000
> 0:4a = 0000
> 0:4c = 0000
> 0:4e = 0000
> 0:50 = 0000
> 0:52 = 0000
> 0:54 = 0000
> 0:56 = 0000
> 0:58 = 0000
> 0:5a = 0000
> 0:5c = 0000
> 0:5e = 0000
> 0:60 = 8080
> 0:62 = 0000
> 0:64 = 0000
> 0:66 = 0000
> 0:68 = 0000
> 0:6a = 0000
> 0:6c = 0000
> 0:6e = 0000
> 0:70 = 0000
> 0:72 = 0004
> 0:74 = 1201
> 0:76 = 7ca4
> 0:78 = 000c
> 0:7a = 0000
> 0:7c = 4144
> 0:7e = 5375
>
>
> >
> >
> > thanks,
> >
> > Takashi
> >
>
s/witchout/without
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 15:42 ` Michal Piotrowski
@ 2007-03-08 15:55 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 15:55 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Thu, 08 Mar 2007 16:42:26 +0100,
Michal Piotrowski wrote:
>
> Takashi Iwai napisał(a):
> > At Wed, 07 Mar 2007 23:22:36 +0100,
> > Michal Piotrowski wrote:
> >> Hi Takashi,
> >>
> >> Takashi Iwai napisał(a):
> >>> At Wed, 7 Mar 2007 11:50:24 -0800,
> >>> Andrew Morton wrote:
> >>>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> >>>>
> >>>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> >>>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
> >>>>>>>
> >>>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
> >>>>>>>
> >>>>>>> This patch fixes the Microphone and LINE_IN select logic for
> >>>>>>> Analog Devices surround codecs with shared jacks. The existing
> >>>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
> >>>>>>> due to the reversed jack selection logic. The patched code
> >>>>>>> correctly selects the shared jack for input if the 'Channel Mode'
> >>>>>>> selector does not specify that the jack is to be used for output.
> >>>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
> >>>>>>> microphone input and the Surround jack is used for LINE_IN,
> >>>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
> >>>>>>> and the Surround jack is used for output, and in '6ch' mode
> >>>>>>> both jacks are used for output.
> >>>>>>>
> >>>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> >>>>>>>
> >>>>>> Is 2.6.21-rc3 similarly broken?
> >>>>> Yes.
> >>>>>
> >>>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
> >>>>
> >>>> If so, I'll queue it up for application in a week or two if there is no
> >>>> progress on this.
> >>> [sorry for the late interrupt - I'm just back from a vacation]
> >>>
> >>> Could you postpone reverting for a while?
> >>> I guess this possible regression is limited only to a certain type of
> >>> ac97 codec chip. The patch applied there was a fix for many codec
> >>> chips.
> >>>
> >>> Which codec chip are you using specifically? Please check
> >>> /proc/asound/card0/codec97#0/* file(s).
> >> 0-0/0: Analog Devices AD1985
> >
> > OK, that's good to know.
> >
> >> control.43 {
> >> comment.access 'read write'
> >> comment.type BOOLEAN
> >> comment.count 1
> >> iface MIXER
> >> name 'Spread Front to Surround and Center/LFE'
> >> value true
> >> }
> >
> > So, you're playing two-channel samples and get no output from surround
> > and CLFE?
>
> Yes.
>
> > Or, does it happen if you play a real 5.1 channel file?
> > (for example, try speaker-test -c6)
>
> It doesn't work for me on both kernels.
Pass -Dplug:surround51 to speaker-test in addition.
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 15:55 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 15:55 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Thu, 08 Mar 2007 16:42:26 +0100,
Michal Piotrowski wrote:
>
> Takashi Iwai napisał(a):
> > At Wed, 07 Mar 2007 23:22:36 +0100,
> > Michal Piotrowski wrote:
> >> Hi Takashi,
> >>
> >> Takashi Iwai napisał(a):
> >>> At Wed, 7 Mar 2007 11:50:24 -0800,
> >>> Andrew Morton wrote:
> >>>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:
> >>>>
> >>>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit
> >>>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>>>> Author: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>>>> Date: Tue Dec 19 18:42:16 2006 +0100
> >>>>>>>
> >>>>>>> [ALSA] ac97 - fix microphone and line_in selection logic
> >>>>>>>
> >>>>>>> This patch fixes the Microphone and LINE_IN select logic for
> >>>>>>> Analog Devices surround codecs with shared jacks. The existing
> >>>>>>> code can never utilize the shared jacks for Microphone and LINE_IN
> >>>>>>> due to the reversed jack selection logic. The patched code
> >>>>>>> correctly selects the shared jack for input if the 'Channel Mode'
> >>>>>>> selector does not specify that the jack is to be used for output.
> >>>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for
> >>>>>>> microphone input and the Surround jack is used for LINE_IN,
> >>>>>>> in '4ch' mode the Center/LFE jack is used for microphone input
> >>>>>>> and the Surround jack is used for output, and in '6ch' mode
> >>>>>>> both jacks are used for output.
> >>>>>>>
> >>>>>>> Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
> >>>>>>> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >>>>>>> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
> >>>>>>>
> >>>>>> Is 2.6.21-rc3 similarly broken?
> >>>>> Yes.
> >>>>>
> >>>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3?
> >>>>
> >>>> If so, I'll queue it up for application in a week or two if there is no
> >>>> progress on this.
> >>> [sorry for the late interrupt - I'm just back from a vacation]
> >>>
> >>> Could you postpone reverting for a while?
> >>> I guess this possible regression is limited only to a certain type of
> >>> ac97 codec chip. The patch applied there was a fix for many codec
> >>> chips.
> >>>
> >>> Which codec chip are you using specifically? Please check
> >>> /proc/asound/card0/codec97#0/* file(s).
> >> 0-0/0: Analog Devices AD1985
> >
> > OK, that's good to know.
> >
> >> control.43 {
> >> comment.access 'read write'
> >> comment.type BOOLEAN
> >> comment.count 1
> >> iface MIXER
> >> name 'Spread Front to Surround and Center/LFE'
> >> value true
> >> }
> >
> > So, you're playing two-channel samples and get no output from surround
> > and CLFE?
>
> Yes.
>
> > Or, does it happen if you play a real 5.1 channel file?
> > (for example, try speaker-test -c6)
>
> It doesn't work for me on both kernels.
Pass -Dplug:surround51 to speaker-test in addition.
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 15:42 ` Michal Piotrowski
@ 2007-03-08 15:58 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 15:58 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Thu, 08 Mar 2007 16:42:26 +0100,
Michal Piotrowski wrote:
>
> > Also, it'd be helpful if you compare
> > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > patch. This reveals which register bits differ actually.
>
> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
Just to make sure: it means that a2.txt is a working one and the
anoter is non-working, right?
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 15:58 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 15:58 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Thu, 08 Mar 2007 16:42:26 +0100,
Michal Piotrowski wrote:
>
> > Also, it'd be helpful if you compare
> > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > patch. This reveals which register bits differ actually.
>
> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
Just to make sure: it means that a2.txt is a working one and the
anoter is non-working, right?
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 15:42 ` Michal Piotrowski
@ 2007-03-08 16:15 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 16:15 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Thu, 08 Mar 2007 16:42:26 +0100,
Michal Piotrowski wrote:
>
> > Also, it'd be helpful if you compare
> > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > patch. This reveals which register bits differ actually.
>
> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>
> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> @@ -56,8 +56,8 @@
> 0:6e = 0000
> 0:70 = 0000
> 0:72 = 0004
> -0:74 = 1001
> -0:76 = 64a4
> +0:74 = 1201
> +0:76 = 7ca4
> 0:78 = 000c
> 0:7a = 0000
> 0:7c = 4144
OK, some wrong bits there. Could you try the patch below?
Takashi
diff -r 6888d4cd251d sound/pci/ac97/ac97_patch.c
--- a/sound/pci/ac97/ac97_patch.c Thu Mar 08 12:53:55 2007 +0100
+++ b/sound/pci/ac97/ac97_patch.c Thu Mar 08 17:10:52 2007 +0100
@@ -1950,9 +1950,9 @@ static void ad1888_update_jacks(struct s
static void ad1888_update_jacks(struct snd_ac97 *ac97)
{
unsigned short val = 0;
- if (! is_shared_linein(ac97))
+ if (is_shared_linein(ac97))
val |= (1 << 12);
- if (! is_shared_micin(ac97))
+ if (is_shared_micin(ac97))
val |= (1 << 11);
/* shared Line-In */
snd_ac97_update_bits(ac97, AC97_AD_MISC, (1 << 11) | (1 << 12), val);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 16:15 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 16:15 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Thu, 08 Mar 2007 16:42:26 +0100,
Michal Piotrowski wrote:
>
> > Also, it'd be helpful if you compare
> > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > patch. This reveals which register bits differ actually.
>
> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>
> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> @@ -56,8 +56,8 @@
> 0:6e = 0000
> 0:70 = 0000
> 0:72 = 0004
> -0:74 = 1001
> -0:76 = 64a4
> +0:74 = 1201
> +0:76 = 7ca4
> 0:78 = 000c
> 0:7a = 0000
> 0:7c = 4144
OK, some wrong bits there. Could you try the patch below?
Takashi
diff -r 6888d4cd251d sound/pci/ac97/ac97_patch.c
--- a/sound/pci/ac97/ac97_patch.c Thu Mar 08 12:53:55 2007 +0100
+++ b/sound/pci/ac97/ac97_patch.c Thu Mar 08 17:10:52 2007 +0100
@@ -1950,9 +1950,9 @@ static void ad1888_update_jacks(struct s
static void ad1888_update_jacks(struct snd_ac97 *ac97)
{
unsigned short val = 0;
- if (! is_shared_linein(ac97))
+ if (is_shared_linein(ac97))
val |= (1 << 12);
- if (! is_shared_micin(ac97))
+ if (is_shared_micin(ac97))
val |= (1 << 11);
/* shared Line-In */
snd_ac97_update_bits(ac97, AC97_AD_MISC, (1 << 11) | (1 << 12), val);
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 15:58 ` Takashi Iwai
@ 2007-03-08 16:23 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 16:23 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 08 Mar 2007 16:42:26 +0100,
> Michal Piotrowski wrote:
> >
> > > Also, it'd be helpful if you compare
> > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > patch. This reveals which register bits differ actually.
> >
> > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>
> Just to make sure: it means that a2.txt is a working one and the
> anoter is non-working, right?
Right.
>
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 16:23 ` Michal Piotrowski
0 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 16:23 UTC (permalink / raw)
To: Takashi Iwai
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 08 Mar 2007 16:42:26 +0100,
> Michal Piotrowski wrote:
> >
> > > Also, it'd be helpful if you compare
> > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > patch. This reveals which register bits differ actually.
> >
> > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>
> Just to make sure: it means that a2.txt is a working one and the
> anoter is non-working, right?
Right.
>
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 15:55 ` Takashi Iwai
(?)
@ 2007-03-08 16:26 ` Michal Piotrowski
2007-03-08 16:28 ` Takashi Iwai
2007-03-08 16:28 ` Takashi Iwai
-1 siblings, 2 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 16:26 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 08 Mar 2007 16:42:26 +0100,
> Michal Piotrowski wrote:
> >
> > Takashi Iwai napisał(a):
> > > Or, does it happen if you play a real 5.1 channel file?
> > > (for example, try speaker-test -c6)
> >
> > It doesn't work for me on both kernels.
>
> Pass -Dplug:surround51 to speaker-test in addition.
It still doesn't work (at least on clean 2.6.21-rc3).
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 16:26 ` Michal Piotrowski
2007-03-08 16:28 ` Takashi Iwai
@ 2007-03-08 16:28 ` Takashi Iwai
1 sibling, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 16:28 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Thu, 8 Mar 2007 17:26:48 +0100,
Michal Piotrowski wrote:
>
> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> > At Thu, 08 Mar 2007 16:42:26 +0100,
> > Michal Piotrowski wrote:
> > >
> > > Takashi Iwai napisał(a):
> > > > Or, does it happen if you play a real 5.1 channel file?
> > > > (for example, try speaker-test -c6)
> > >
> > > It doesn't work for me on both kernels.
> >
> > Pass -Dplug:surround51 to speaker-test in addition.
>
> It still doesn't work (at least on clean 2.6.21-rc3).
That's expected. But it should work with the fixed kernel.
Let me know if it still doesn't work with the patched kernel.
thanks,
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 16:26 ` Michal Piotrowski
@ 2007-03-08 16:28 ` Takashi Iwai
2007-03-08 16:28 ` Takashi Iwai
1 sibling, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 16:28 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Thu, 8 Mar 2007 17:26:48 +0100,
Michal Piotrowski wrote:
>
> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> > At Thu, 08 Mar 2007 16:42:26 +0100,
> > Michal Piotrowski wrote:
> > >
> > > Takashi Iwai napisał(a):
> > > > Or, does it happen if you play a real 5.1 channel file?
> > > > (for example, try speaker-test -c6)
> > >
> > > It doesn't work for me on both kernels.
> >
> > Pass -Dplug:surround51 to speaker-test in addition.
>
> It still doesn't work (at least on clean 2.6.21-rc3).
That's expected. But it should work with the fixed kernel.
Let me know if it still doesn't work with the patched kernel.
thanks,
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 16:15 ` Takashi Iwai
@ 2007-03-08 16:52 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 16:52 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 08 Mar 2007 16:42:26 +0100,
> Michal Piotrowski wrote:
> >
> > > Also, it'd be helpful if you compare
> > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > patch. This reveals which register bits differ actually.
> >
> > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >
> > diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> > --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> > +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> > @@ -56,8 +56,8 @@
> > 0:6e = 0000
> > 0:70 = 0000
> > 0:72 = 0004
> > -0:74 = 1001
> > -0:76 = 64a4
> > +0:74 = 1201
> > +0:76 = 7ca4
> > 0:78 = 000c
> > 0:7a = 0000
> > 0:7c = 4144
>
> OK, some wrong bits there. Could you try the patch below?
Problem fixed. Thanks!
(speaker-test -c6 -Dplug:surround51 is still broken)
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 16:52 ` Michal Piotrowski
0 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 16:52 UTC (permalink / raw)
To: Takashi Iwai
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 08 Mar 2007 16:42:26 +0100,
> Michal Piotrowski wrote:
> >
> > > Also, it'd be helpful if you compare
> > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > patch. This reveals which register bits differ actually.
> >
> > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >
> > diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> > --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> > +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> > @@ -56,8 +56,8 @@
> > 0:6e = 0000
> > 0:70 = 0000
> > 0:72 = 0004
> > -0:74 = 1001
> > -0:76 = 64a4
> > +0:74 = 1201
> > +0:76 = 7ca4
> > 0:78 = 000c
> > 0:7a = 0000
> > 0:7c = 4144
>
> OK, some wrong bits there. Could you try the patch below?
Problem fixed. Thanks!
(speaker-test -c6 -Dplug:surround51 is still broken)
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 16:52 ` Michal Piotrowski
@ 2007-03-08 16:54 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 16:54 UTC (permalink / raw)
To: Michal Piotrowski
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
At Thu, 8 Mar 2007 17:52:43 +0100,
Michal Piotrowski wrote:
>
> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> > At Thu, 08 Mar 2007 16:42:26 +0100,
> > Michal Piotrowski wrote:
> > >
> > > > Also, it'd be helpful if you compare
> > > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > > patch. This reveals which register bits differ actually.
> > >
> > > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > >
> > > diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> > > --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> > > +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> > > @@ -56,8 +56,8 @@
> > > 0:6e = 0000
> > > 0:70 = 0000
> > > 0:72 = 0004
> > > -0:74 = 1001
> > > -0:76 = 64a4
> > > +0:74 = 1201
> > > +0:76 = 7ca4
> > > 0:78 = 000c
> > > 0:7a = 0000
> > > 0:7c = 4144
> >
> > OK, some wrong bits there. Could you try the patch below?
>
> Problem fixed. Thanks!
>
> (speaker-test -c6 -Dplug:surround51 is still broken)
Hm, how about turning off "Spread Front To..." control and run
speaker-test?
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 16:54 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 16:54 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Thu, 8 Mar 2007 17:52:43 +0100,
Michal Piotrowski wrote:
>
> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> > At Thu, 08 Mar 2007 16:42:26 +0100,
> > Michal Piotrowski wrote:
> > >
> > > > Also, it'd be helpful if you compare
> > > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > > patch. This reveals which register bits differ actually.
> > >
> > > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > >
> > > diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> > > --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> > > +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> > > @@ -56,8 +56,8 @@
> > > 0:6e = 0000
> > > 0:70 = 0000
> > > 0:72 = 0004
> > > -0:74 = 1001
> > > -0:76 = 64a4
> > > +0:74 = 1201
> > > +0:76 = 7ca4
> > > 0:78 = 000c
> > > 0:7a = 0000
> > > 0:7c = 4144
> >
> > OK, some wrong bits there. Could you try the patch below?
>
> Problem fixed. Thanks!
>
> (speaker-test -c6 -Dplug:surround51 is still broken)
Hm, how about turning off "Spread Front To..." control and run
speaker-test?
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 16:54 ` Takashi Iwai
@ 2007-03-08 17:05 ` Michal Piotrowski
-1 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 17:05 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, linux-kernel, Andrew Morton, Adrian Bunk,
Linus Torvalds, Jaroslav Kysela
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 8 Mar 2007 17:52:43 +0100,
> Michal Piotrowski wrote:
> >
> > On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> > > At Thu, 08 Mar 2007 16:42:26 +0100,
> > > Michal Piotrowski wrote:
> > > >
> > > > > Also, it'd be helpful if you compare
> > > > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > > > patch. This reveals which register bits differ actually.
> > > >
> > > > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > >
> > > > diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> > > > --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> > > > +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> > > > @@ -56,8 +56,8 @@
> > > > 0:6e = 0000
> > > > 0:70 = 0000
> > > > 0:72 = 0004
> > > > -0:74 = 1001
> > > > -0:76 = 64a4
> > > > +0:74 = 1201
> > > > +0:76 = 7ca4
> > > > 0:78 = 000c
> > > > 0:7a = 0000
> > > > 0:7c = 4144
> > >
> > > OK, some wrong bits there. Could you try the patch below?
> >
> > Problem fixed. Thanks!
> >
> > (speaker-test -c6 -Dplug:surround51 is still broken)
>
> Hm, how about turning off "Spread Front To..." control and run
> speaker-test?
Now I've got:
rear left as center
rear right as LFE
:)
>
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 17:05 ` Michal Piotrowski
0 siblings, 0 replies; 48+ messages in thread
From: Michal Piotrowski @ 2007-03-08 17:05 UTC (permalink / raw)
To: Takashi Iwai
Cc: Andrew Morton, Randy Cushman, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Thu, 8 Mar 2007 17:52:43 +0100,
> Michal Piotrowski wrote:
> >
> > On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> > > At Thu, 08 Mar 2007 16:42:26 +0100,
> > > Michal Piotrowski wrote:
> > > >
> > > > > Also, it'd be helpful if you compare
> > > > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> > > > > patch. This reveals which register bits differ actually.
> > > >
> > > > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> > > >
> > > > diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> > > > --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> > > > +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> > > > @@ -56,8 +56,8 @@
> > > > 0:6e = 0000
> > > > 0:70 = 0000
> > > > 0:72 = 0004
> > > > -0:74 = 1001
> > > > -0:76 = 64a4
> > > > +0:74 = 1201
> > > > +0:76 = 7ca4
> > > > 0:78 = 000c
> > > > 0:7a = 0000
> > > > 0:7c = 4144
> > >
> > > OK, some wrong bits there. Could you try the patch below?
> >
> > Problem fixed. Thanks!
> >
> > (speaker-test -c6 -Dplug:surround51 is still broken)
>
> Hm, how about turning off "Spread Front To..." control and run
> speaker-test?
Now I've got:
rear left as center
rear right as LFE
:)
>
>
> Takashi
>
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 16:54 ` Takashi Iwai
@ 2007-03-08 17:05 ` Randy Cushman
-1 siblings, 0 replies; 48+ messages in thread
From: Randy Cushman @ 2007-03-08 17:05 UTC (permalink / raw)
To: Takashi Iwai, Michal Piotrowski
Cc: alsa-devel, linux-kernel, Adrian Bunk, Andrew Morton,
Linus Torvalds, Jaroslav Kysela
Takashi Iwai wrote:
> At Thu, 8 Mar 2007 17:52:43 +0100,
> Michal Piotrowski wrote:
>
>> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
>>
>>> At Thu, 08 Mar 2007 16:42:26 +0100,
>>> Michal Piotrowski wrote:
>>>
>>>>> Also, it'd be helpful if you compare
>>>>> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
>>>>> patch. This reveals which register bits differ actually.
>>>>>
>>>> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>
>>>> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
>>>> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
>>>> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
>>>> @@ -56,8 +56,8 @@
>>>> 0:6e = 0000
>>>> 0:70 = 0000
>>>> 0:72 = 0004
>>>> -0:74 = 1001
>>>> -0:76 = 64a4
>>>> +0:74 = 1201
>>>> +0:76 = 7ca4
>>>> 0:78 = 000c
>>>> 0:7a = 0000
>>>> 0:7c = 4144
>>>>
>>> OK, some wrong bits there. Could you try the patch below?
>>>
>> Problem fixed. Thanks!
>>
>> (speaker-test -c6 -Dplug:surround51 is still broken)
>>
>
> Hm, how about turning off "Spread Front To..." control and run
> speaker-test?
>
>
> Takashi
>
>
>
Michal and Takashi,
I've been researching your issue this morning. I just noticed that your
exchange had ensued.
I configured my AD1986-based system as closely as I could to match your
AD1985 mixer settings. In doing so, I experienced results similar to
what I'm assuming you described: Only front channel sound came out of
the surround and c/lfe jacks.
Here is what I had to change to get the appropriate multichannel sound:
1) The command "speaker-test -c6" does not work on my system. I have to
use "speaker-test -Dsurround51 -c6" (Perhaps this is related to running
an old version of speaker-test.)
2) I disabled "Spread Front to Surround and Center/LFE"
The explanation for 2) is this: There can be only one source for each
of the Surround and Center/LFE jacks active at one time. When "Spread
Front to Surround and Center/LFE" is disabled, the surround channels go
to the the jacks; when this control is enabled, ONLY the front channels
go to the surround and c/lfe jacks.
Considering the register values Michal provided and Takashi's patch:
The logic of the code is as follows: (Slightly simplifying,) functions
is_shared_linein() and is_shared_micin() return TRUE if the mixer is
configured for shared jacks AND NOT for 6 channel mode. In this case it
is appropriate to
set these bits (LODIS and CLDIS).
Please double-check your mixer settings. I added a byte to a structure,
so the mixer settings can get messed up switching between alsa-kernel
versions.
I don't understand why the other bit (OMS, 0x74 bit D9) is set. This
may have been an oversight on my part.
I am modifying alsa-kernel to run as an AD1985 on my system, to try to
check these bits.
Randy Cushman
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 17:05 ` Randy Cushman
0 siblings, 0 replies; 48+ messages in thread
From: Randy Cushman @ 2007-03-08 17:05 UTC (permalink / raw)
To: Takashi Iwai, Michal Piotrowski
Cc: Andrew Morton, Jaroslav Kysela, alsa-devel, linux-kernel,
Linus Torvalds, Adrian Bunk
Takashi Iwai wrote:
> At Thu, 8 Mar 2007 17:52:43 +0100,
> Michal Piotrowski wrote:
>
>> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
>>
>>> At Thu, 08 Mar 2007 16:42:26 +0100,
>>> Michal Piotrowski wrote:
>>>
>>>>> Also, it'd be helpful if you compare
>>>>> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
>>>>> patch. This reveals which register bits differ actually.
>>>>>
>>>> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>
>>>> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
>>>> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
>>>> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
>>>> @@ -56,8 +56,8 @@
>>>> 0:6e = 0000
>>>> 0:70 = 0000
>>>> 0:72 = 0004
>>>> -0:74 = 1001
>>>> -0:76 = 64a4
>>>> +0:74 = 1201
>>>> +0:76 = 7ca4
>>>> 0:78 = 000c
>>>> 0:7a = 0000
>>>> 0:7c = 4144
>>>>
>>> OK, some wrong bits there. Could you try the patch below?
>>>
>> Problem fixed. Thanks!
>>
>> (speaker-test -c6 -Dplug:surround51 is still broken)
>>
>
> Hm, how about turning off "Spread Front To..." control and run
> speaker-test?
>
>
> Takashi
>
>
>
Michal and Takashi,
I've been researching your issue this morning. I just noticed that your
exchange had ensued.
I configured my AD1986-based system as closely as I could to match your
AD1985 mixer settings. In doing so, I experienced results similar to
what I'm assuming you described: Only front channel sound came out of
the surround and c/lfe jacks.
Here is what I had to change to get the appropriate multichannel sound:
1) The command "speaker-test -c6" does not work on my system. I have to
use "speaker-test -Dsurround51 -c6" (Perhaps this is related to running
an old version of speaker-test.)
2) I disabled "Spread Front to Surround and Center/LFE"
The explanation for 2) is this: There can be only one source for each
of the Surround and Center/LFE jacks active at one time. When "Spread
Front to Surround and Center/LFE" is disabled, the surround channels go
to the the jacks; when this control is enabled, ONLY the front channels
go to the surround and c/lfe jacks.
Considering the register values Michal provided and Takashi's patch:
The logic of the code is as follows: (Slightly simplifying,) functions
is_shared_linein() and is_shared_micin() return TRUE if the mixer is
configured for shared jacks AND NOT for 6 channel mode. In this case it
is appropriate to
set these bits (LODIS and CLDIS).
Please double-check your mixer settings. I added a byte to a structure,
so the mixer settings can get messed up switching between alsa-kernel
versions.
I don't understand why the other bit (OMS, 0x74 bit D9) is set. This
may have been an oversight on my part.
I am modifying alsa-kernel to run as an AD1985 on my system, to try to
check these bits.
Randy Cushman
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 17:05 ` Randy Cushman
@ 2007-03-08 18:51 ` Takashi Iwai
-1 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 18:51 UTC (permalink / raw)
To: Randy Cushman
Cc: alsa-devel, Michal Piotrowski, linux-kernel, Adrian Bunk,
Andrew Morton, Linus Torvalds, Jaroslav Kysela
At Thu, 08 Mar 2007 12:05:49 -0500,
Randy Cushman wrote:
>
> Takashi Iwai wrote:
> > At Thu, 8 Mar 2007 17:52:43 +0100,
> > Michal Piotrowski wrote:
> >
> >> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> >>
> >>> At Thu, 08 Mar 2007 16:42:26 +0100,
> >>> Michal Piotrowski wrote:
> >>>
> >>>>> Also, it'd be helpful if you compare
> >>>>> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> >>>>> patch. This reveals which register bits differ actually.
> >>>>>
> >>>> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>
> >>>> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> >>>> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> >>>> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> >>>> @@ -56,8 +56,8 @@
> >>>> 0:6e = 0000
> >>>> 0:70 = 0000
> >>>> 0:72 = 0004
> >>>> -0:74 = 1001
> >>>> -0:76 = 64a4
> >>>> +0:74 = 1201
> >>>> +0:76 = 7ca4
> >>>> 0:78 = 000c
> >>>> 0:7a = 0000
> >>>> 0:7c = 4144
> >>>>
> >>> OK, some wrong bits there. Could you try the patch below?
> >>>
> >> Problem fixed. Thanks!
> >>
> >> (speaker-test -c6 -Dplug:surround51 is still broken)
> >>
> >
> > Hm, how about turning off "Spread Front To..." control and run
> > speaker-test?
> >
> >
> > Takashi
> >
> >
> >
> Michal and Takashi,
>
> I've been researching your issue this morning. I just noticed that your
> exchange had ensued.
>
> I configured my AD1986-based system as closely as I could to match your
> AD1985 mixer settings. In doing so, I experienced results similar to
> what I'm assuming you described: Only front channel sound came out of
> the surround and c/lfe jacks.
>
> Here is what I had to change to get the appropriate multichannel sound:
>
> 1) The command "speaker-test -c6" does not work on my system. I have to
> use "speaker-test -Dsurround51 -c6" (Perhaps this is related to running
> an old version of speaker-test.)
>
> 2) I disabled "Spread Front to Surround and Center/LFE"
>
> The explanation for 2) is this: There can be only one source for each
> of the Surround and Center/LFE jacks active at one time. When "Spread
> Front to Surround and Center/LFE" is disabled, the surround channels go
> to the the jacks; when this control is enabled, ONLY the front channels
> go to the surround and c/lfe jacks.
>
> Considering the register values Michal provided and Takashi's patch:
>
> The logic of the code is as follows: (Slightly simplifying,) functions
> is_shared_linein() and is_shared_micin() return TRUE if the mixer is
> configured for shared jacks AND NOT for 6 channel mode. In this case it
> is appropriate to
> set these bits (LODIS and CLDIS).
Yep. So, can you confirm that my fix is OK?
Then I'll queue it up to ALSA tree.
thanks,
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 18:51 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-08 18:51 UTC (permalink / raw)
To: Randy Cushman
Cc: Michal Piotrowski, Andrew Morton, Jaroslav Kysela, alsa-devel,
linux-kernel, Linus Torvalds, Adrian Bunk
At Thu, 08 Mar 2007 12:05:49 -0500,
Randy Cushman wrote:
>
> Takashi Iwai wrote:
> > At Thu, 8 Mar 2007 17:52:43 +0100,
> > Michal Piotrowski wrote:
> >
> >> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
> >>
> >>> At Thu, 08 Mar 2007 16:42:26 +0100,
> >>> Michal Piotrowski wrote:
> >>>
> >>>>> Also, it'd be helpful if you compare
> >>>>> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
> >>>>> patch. This reveals which register bits differ actually.
> >>>>>
> >>>> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
> >>>>
> >>>> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
> >>>> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
> >>>> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
> >>>> @@ -56,8 +56,8 @@
> >>>> 0:6e = 0000
> >>>> 0:70 = 0000
> >>>> 0:72 = 0004
> >>>> -0:74 = 1001
> >>>> -0:76 = 64a4
> >>>> +0:74 = 1201
> >>>> +0:76 = 7ca4
> >>>> 0:78 = 000c
> >>>> 0:7a = 0000
> >>>> 0:7c = 4144
> >>>>
> >>> OK, some wrong bits there. Could you try the patch below?
> >>>
> >> Problem fixed. Thanks!
> >>
> >> (speaker-test -c6 -Dplug:surround51 is still broken)
> >>
> >
> > Hm, how about turning off "Spread Front To..." control and run
> > speaker-test?
> >
> >
> > Takashi
> >
> >
> >
> Michal and Takashi,
>
> I've been researching your issue this morning. I just noticed that your
> exchange had ensued.
>
> I configured my AD1986-based system as closely as I could to match your
> AD1985 mixer settings. In doing so, I experienced results similar to
> what I'm assuming you described: Only front channel sound came out of
> the surround and c/lfe jacks.
>
> Here is what I had to change to get the appropriate multichannel sound:
>
> 1) The command "speaker-test -c6" does not work on my system. I have to
> use "speaker-test -Dsurround51 -c6" (Perhaps this is related to running
> an old version of speaker-test.)
>
> 2) I disabled "Spread Front to Surround and Center/LFE"
>
> The explanation for 2) is this: There can be only one source for each
> of the Surround and Center/LFE jacks active at one time. When "Spread
> Front to Surround and Center/LFE" is disabled, the surround channels go
> to the the jacks; when this control is enabled, ONLY the front channels
> go to the surround and c/lfe jacks.
>
> Considering the register values Michal provided and Takashi's patch:
>
> The logic of the code is as follows: (Slightly simplifying,) functions
> is_shared_linein() and is_shared_micin() return TRUE if the mixer is
> configured for shared jacks AND NOT for 6 channel mode. In this case it
> is appropriate to
> set these bits (LODIS and CLDIS).
Yep. So, can you confirm that my fix is OK?
Then I'll queue it up to ALSA tree.
thanks,
Takashi
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
2007-03-08 18:51 ` Takashi Iwai
@ 2007-03-08 19:28 ` Randy Cushman
-1 siblings, 0 replies; 48+ messages in thread
From: Randy Cushman @ 2007-03-08 19:28 UTC (permalink / raw)
To: Takashi Iwai
Cc: alsa-devel, Adrian Bunk, Michal Piotrowski, Jaroslav Kysela,
linux-kernel
Takashi Iwai wrote:
> At Thu, 08 Mar 2007 12:05:49 -0500,
> Randy Cushman wrote:
>
>> Takashi Iwai wrote:
>>
>>> At Thu, 8 Mar 2007 17:52:43 +0100,
>>> Michal Piotrowski wrote:
>>>
>>>
>>>> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
>>>>
>>>>
>>>>> At Thu, 08 Mar 2007 16:42:26 +0100,
>>>>> Michal Piotrowski wrote:
>>>>>
>>>>>
>>>>>>> Also, it'd be helpful if you compare
>>>>>>> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
>>>>>>> patch. This reveals which register bits differ actually.
>>>>>>>
>>>>>>>
>>>>>> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>>>
>>>>>> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
>>>>>> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
>>>>>> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
>>>>>> @@ -56,8 +56,8 @@
>>>>>> 0:6e = 0000
>>>>>> 0:70 = 0000
>>>>>> 0:72 = 0004
>>>>>> -0:74 = 1001
>>>>>> -0:76 = 64a4
>>>>>> +0:74 = 1201
>>>>>> +0:76 = 7ca4
>>>>>> 0:78 = 000c
>>>>>> 0:7a = 0000
>>>>>> 0:7c = 4144
>>>>>>
>>>>>>
>>>>> OK, some wrong bits there. Could you try the patch below?
>>>>>
>>>>>
>>>> Problem fixed. Thanks!
>>>>
>>>> (speaker-test -c6 -Dplug:surround51 is still broken)
>>>>
>>>>
>>> Hm, how about turning off "Spread Front To..." control and run
>>> speaker-test?
>>>
>>>
>>> Takashi
>>>
>>>
>>>
>>>
>> Michal and Takashi,
>>
>> I've been researching your issue this morning. I just noticed that your
>> exchange had ensued.
>>
>> I configured my AD1986-based system as closely as I could to match your
>> AD1985 mixer settings. In doing so, I experienced results similar to
>> what I'm assuming you described: Only front channel sound came out of
>> the surround and c/lfe jacks.
>>
>> Here is what I had to change to get the appropriate multichannel sound:
>>
>> 1) The command "speaker-test -c6" does not work on my system. I have to
>> use "speaker-test -Dsurround51 -c6" (Perhaps this is related to running
>> an old version of speaker-test.)
>>
>> 2) I disabled "Spread Front to Surround and Center/LFE"
>>
>> The explanation for 2) is this: There can be only one source for each
>> of the Surround and Center/LFE jacks active at one time. When "Spread
>> Front to Surround and Center/LFE" is disabled, the surround channels go
>> to the the jacks; when this control is enabled, ONLY the front channels
>> go to the surround and c/lfe jacks.
>>
>> Considering the register values Michal provided and Takashi's patch:
>>
>> The logic of the code is as follows: (Slightly simplifying,) functions
>> is_shared_linein() and is_shared_micin() return TRUE if the mixer is
>> configured for shared jacks AND NOT for 6 channel mode. In this case it
>> is appropriate to
>> set these bits (LODIS and CLDIS).
>>
>
> Yep. So, can you confirm that my fix is OK?
> Then I'll queue it up to ALSA tree.
>
>
> thanks,
>
> Takashi
>
>
>
Takashi,
I need to think this through before I can confirm. Something doesn't
seem right.
Let me figure out why I wrote ad1986_update_jacks() to be so different
from ad1888_update_jacks().
I'll keep you posted.
Randy Cushman
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded
@ 2007-03-08 19:28 ` Randy Cushman
0 siblings, 0 replies; 48+ messages in thread
From: Randy Cushman @ 2007-03-08 19:28 UTC (permalink / raw)
To: Takashi Iwai
Cc: Michal Piotrowski, Jaroslav Kysela, alsa-devel, linux-kernel,
Adrian Bunk
Takashi Iwai wrote:
> At Thu, 08 Mar 2007 12:05:49 -0500,
> Randy Cushman wrote:
>
>> Takashi Iwai wrote:
>>
>>> At Thu, 8 Mar 2007 17:52:43 +0100,
>>> Michal Piotrowski wrote:
>>>
>>>
>>>> On 08/03/07, Takashi Iwai <tiwai@suse.de> wrote:
>>>>
>>>>
>>>>> At Thu, 08 Mar 2007 16:42:26 +0100,
>>>>> Michal Piotrowski wrote:
>>>>>
>>>>>
>>>>>>> Also, it'd be helpful if you compare
>>>>>>> /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the
>>>>>>> patch. This reveals which register bits differ actually.
>>>>>>>
>>>>>>>
>>>>>> a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23dff77edbe6a7c244435e973
>>>>>>
>>>>>> diff -uprN a2.txt /proc/asound/card0/codec97#0/ac97#0-0+regs
>>>>>> --- a2.txt 2007-03-08 16:36:47.000000000 +0100
>>>>>> +++ /proc/asound/card0/codec97#0/ac97#0-0+regs 2007-03-08 16:36:49.447083597 +0100
>>>>>> @@ -56,8 +56,8 @@
>>>>>> 0:6e = 0000
>>>>>> 0:70 = 0000
>>>>>> 0:72 = 0004
>>>>>> -0:74 = 1001
>>>>>> -0:76 = 64a4
>>>>>> +0:74 = 1201
>>>>>> +0:76 = 7ca4
>>>>>> 0:78 = 000c
>>>>>> 0:7a = 0000
>>>>>> 0:7c = 4144
>>>>>>
>>>>>>
>>>>> OK, some wrong bits there. Could you try the patch below?
>>>>>
>>>>>
>>>> Problem fixed. Thanks!
>>>>
>>>> (speaker-test -c6 -Dplug:surround51 is still broken)
>>>>
>>>>
>>> Hm, how about turning off "Spread Front To..." control and run
>>> speaker-test?
>>>
>>>
>>> Takashi
>>>
>>>
>>>
>>>
>> Michal and Takashi,
>>
>> I've been researching your issue this morning. I just noticed that your
>> exchange had ensued.
>>
>> I configured my AD1986-based system as closely as I could to match your
>> AD1985 mixer settings. In doing so, I experienced results similar to
>> what I'm assuming you described: Only front channel sound came out of
>> the surround and c/lfe jacks.
>>
>> Here is what I had to change to get the appropriate multichannel sound:
>>
>> 1) The command "speaker-test -c6" does not work on my system. I have to
>> use "speaker-test -Dsurround51 -c6" (Perhaps this is related to running
>> an old version of speaker-test.)
>>
>> 2) I disabled "Spread Front to Surround and Center/LFE"
>>
>> The explanation for 2) is this: There can be only one source for each
>> of the Surround and Center/LFE jacks active at one time. When "Spread
>> Front to Surround and Center/LFE" is disabled, the surround channels go
>> to the the jacks; when this control is enabled, ONLY the front channels
>> go to the surround and c/lfe jacks.
>>
>> Considering the register values Michal provided and Takashi's patch:
>>
>> The logic of the code is as follows: (Slightly simplifying,) functions
>> is_shared_linein() and is_shared_micin() return TRUE if the mixer is
>> configured for shared jacks AND NOT for 6 channel mode. In this case it
>> is appropriate to
>> set these bits (LODIS and CLDIS).
>>
>
> Yep. So, can you confirm that my fix is OK?
> Then I'll queue it up to ALSA tree.
>
>
> thanks,
>
> Takashi
>
>
>
Takashi,
I need to think this through before I can confirm. Something doesn't
seem right.
Let me figure out why I wrote ad1986_update_jacks() to be so different
from ad1888_update_jacks().
I'll keep you posted.
Randy Cushman
^ permalink raw reply [flat|nested] 48+ messages in thread
* Patch: Shared jack control logic for AD1985 and others
2007-03-08 18:51 ` Takashi Iwai
(?)
(?)
@ 2007-03-08 23:05 ` Randy Cushman
2007-03-09 14:22 ` Takashi Iwai
-1 siblings, 1 reply; 48+ messages in thread
From: Randy Cushman @ 2007-03-08 23:05 UTC (permalink / raw)
To: Takashi Iwai, Michal Piotrowski; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
Takashi and Michal,
Here is a patch that I believe will correct the issue Michal identified.
Takashi's patch was close, but he overlooked that I also had the logic
for the OMS bit reversed. For the AD1985 Surround would have worked
correctly, but Center/LFE still would have been broken.
Randy Cushman
[-- Attachment #2: ac97_ad_shared.patch --]
[-- Type: text/plain, Size: 1797 bytes --]
Summary: fix AD shared shared jack control logic
This patch fixes the control logic for shared
Microphone in/Center+LFE out and Line in/Surround out jacks
for Analog Devices AD1888, AD1980 and AD1985 AC '97 CODECs.
Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
diff -r e4f79cb873e5 pci/ac97/ac97_patch.c
--- a/pci/ac97/ac97_patch.c Tue Mar 06 11:29:05 2007 +0100
+++ b/pci/ac97/ac97_patch.c Thu Mar 08 17:08:52 2007 -0500
@@ -1950,9 +1950,11 @@ static void ad1888_update_jacks(struct s
static void ad1888_update_jacks(struct snd_ac97 *ac97)
{
unsigned short val = 0;
- if (! is_shared_linein(ac97))
+ /* clear LODIS if shared jack is to be used for Surround out */
+ if (is_shared_linein(ac97))
val |= (1 << 12);
- if (! is_shared_micin(ac97))
+ /* clear CLDIS if shared jack is to be used for C/LFE out */
+ if (is_shared_micin(ac97))
val |= (1 << 11);
/* shared Line-In */
snd_ac97_update_bits(ac97, AC97_AD_MISC, (1 << 11) | (1 << 12), val);
@@ -2124,8 +2126,9 @@ static void ad1985_update_jacks(struct s
static void ad1985_update_jacks(struct snd_ac97 *ac97)
{
ad1888_update_jacks(ac97);
+ /* clear OMS if shared jack is to be used for C/LFE out */
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 1 << 9,
- is_shared_micin(ac97) ? 0 : 1 << 9);
+ is_shared_micin(ac97) ? 1 << 9 : 0);
}
static int patch_ad1985_specific(struct snd_ac97 *ac97)
@@ -2406,9 +2409,9 @@ static void ad1986_update_jacks(struct s
unsigned short ser_val;
/* disable SURROUND and CENTER/LFE if not surround mode */
- if (! is_surround_on(ac97))
+ if (!is_surround_on(ac97))
misc_val |= AC97_AD1986_SODIS;
- if (! is_clfe_on(ac97))
+ if (!is_clfe_on(ac97))
misc_val |= AC97_AD1986_CLDIS;
/* select line input (default=LINE_IN, SURROUND or MIC_1/2) */
[-- Attachment #3: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 48+ messages in thread
* Re: Patch: Shared jack control logic for AD1985 and others
2007-03-08 23:05 ` Patch: Shared jack control logic for AD1985 and others Randy Cushman
@ 2007-03-09 14:22 ` Takashi Iwai
0 siblings, 0 replies; 48+ messages in thread
From: Takashi Iwai @ 2007-03-09 14:22 UTC (permalink / raw)
To: Randy Cushman; +Cc: alsa-devel, Michal Piotrowski
At Thu, 08 Mar 2007 18:05:47 -0500,
Randy Cushman wrote:
>
> Takashi and Michal,
>
> Here is a patch that I believe will correct the issue Michal identified.
>
> Takashi's patch was close, but he overlooked that I also had the logic
> for the OMS bit reversed. For the AD1985 Surround would have worked
> correctly, but Center/LFE still would have been broken.
>
> Randy Cushman
Thanks, applied to ALSA tree now.
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 48+ messages in thread
end of thread, other threads:[~2007-03-09 14:22 UTC | newest]
Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 10:24 mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded akpm
2007-03-05 14:49 ` Michal Piotrowski
2007-03-05 14:49 ` Michal Piotrowski
2007-03-07 11:36 ` Michal Piotrowski
2007-03-07 11:36 ` Michal Piotrowski
2007-03-07 18:47 ` Andrew Morton
2007-03-07 18:47 ` Andrew Morton
2007-03-07 19:41 ` Michal Piotrowski
2007-03-07 19:50 ` Andrew Morton
2007-03-07 19:50 ` Andrew Morton
2007-03-07 20:39 ` Takashi Iwai
2007-03-07 20:39 ` Takashi Iwai
2007-03-07 22:22 ` Michal Piotrowski
2007-03-07 22:22 ` Michal Piotrowski
2007-03-07 22:44 ` Takashi Iwai
2007-03-07 22:44 ` Takashi Iwai
2007-03-08 15:42 ` Michal Piotrowski
2007-03-08 15:42 ` Michal Piotrowski
2007-03-08 15:46 ` Michal Piotrowski
2007-03-08 15:55 ` Takashi Iwai
2007-03-08 15:55 ` Takashi Iwai
2007-03-08 16:26 ` Michal Piotrowski
2007-03-08 16:28 ` Takashi Iwai
2007-03-08 16:28 ` Takashi Iwai
2007-03-08 15:58 ` Takashi Iwai
2007-03-08 15:58 ` Takashi Iwai
2007-03-08 16:23 ` Michal Piotrowski
2007-03-08 16:23 ` Michal Piotrowski
2007-03-08 16:15 ` Takashi Iwai
2007-03-08 16:15 ` Takashi Iwai
2007-03-08 16:52 ` Michal Piotrowski
2007-03-08 16:52 ` Michal Piotrowski
2007-03-08 16:54 ` Takashi Iwai
2007-03-08 16:54 ` Takashi Iwai
2007-03-08 17:05 ` Michal Piotrowski
2007-03-08 17:05 ` Michal Piotrowski
2007-03-08 17:05 ` Randy Cushman
2007-03-08 17:05 ` Randy Cushman
2007-03-08 18:51 ` Takashi Iwai
2007-03-08 18:51 ` Takashi Iwai
2007-03-08 19:28 ` Randy Cushman
2007-03-08 19:28 ` Randy Cushman
2007-03-08 23:05 ` Patch: Shared jack control logic for AD1985 and others Randy Cushman
2007-03-09 14:22 ` Takashi Iwai
2007-03-07 22:16 ` mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded Michal Piotrowski
2007-03-07 22:16 ` Michal Piotrowski
2007-03-05 15:53 ` Michal Piotrowski
2007-03-05 18:02 ` Michal Piotrowski
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.