All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]
@ 2008-06-23 13:20 stan
  0 siblings, 0 replies; 13+ messages in thread
From: stan @ 2008-06-23 13:20 UTC (permalink / raw)
  To: ALSA Developers

[-- Attachment #1: Type: text/plain, Size: 20 bytes --]

Sent to wrong list.

[-- Attachment #2: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986	codec under linux.eml --]
[-- Type: message/rfc822, Size: 34080 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 902 bytes --]

Dear list,

I have recently got a device with Intel's Poulsbo chipset and Adi 1986
codec attatched.

The Adi 1986 codec along with the Poulsbo chipset could been
recognized by installing the SoundMAX driver under Windows XP.

While switching to Linux, the snd_intel_hda is loaded but the Adi 1986
codec could not been seen and there is no "codec#0" entry under
/proc/asound/card0.

>From what I can see from dmesg, the hda_intel module had complained
about "no codecs found!".

<dmesg.txt>
-- snip --
[   93.463277] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[   93.463286] Do fixup for Poulsbo <6>D0 or newer stepping
[   93.463439] HDA snoop disabled, try to enable ... OK
[   93.491624] hda-intel: no codecs found!
-- snip --

I have attached both output of dmesg command the "lspci -nnvvvxxx"
result along with this mail. Any comment would be greatly appreciated.

-- 
Sincerely,

Jyo

[-- Attachment #2.1.2: lspci_nnvvvxxxx.txt --]
[-- Type: text/plain, Size: 1970 bytes --]

00:1b.0 Audio device [0403]: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller [8086:811b] (rev 06)
	Subsystem: Intel Corporation Unknown device [8086:8119]
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at dff5c000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] Express Unknown type IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s <64ns, L1 <1us
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
		Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
		Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
		Link: Latency L0s <64ns, L1 <1us
		Link: ASPM L0s Enabled CommClk- ExtSynch-
		Link: Speed unknown, Width x0
00: 86 80 1b 81 02 00 10 00 06 00 03 04 08 00 00 00
10: 04 c0 f5 df 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 19 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00
50: 01 70 02 48 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 10 00 91 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 86 0f 06 00 02 00 00 00


[-- Attachment #2.1.3: dmesg.txt --]
[-- Type: text/plain, Size: 19366 bytes --]

[    0.000000] Linux version 2.6.24-16-lpia (buildd@molybdenum) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:00:24 UTC 2008 (Unofficial)
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000003fa90000 (usable)
[    0.000000]  BIOS-e820: 000000003fa90000 - 000000003faa0000 (reserved)
[    0.000000]  BIOS-e820: 000000003faa0000 - 000000003faae000 (ACPI data)
[    0.000000]  BIOS-e820: 000000003faae000 - 000000003fae8000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000003fae8000 - 000000003fc00000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] Warning only 896MB will be used.
[    0.000000] Use a HIGHMEM enabled kernel.
[    0.000000] 896MB LOWMEM available.
[    0.000000] found SMP MP-table at 000ff780
[    0.000000] Entering add_active_range(0, 0, 229376) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   229376
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   229376
[    0.000000] On node 0 totalpages: 229376
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 1760 pages used for memmap
[    0.000000]   Normal zone: 223520 pages, LIFO batch:31
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] DMI present.
[    0.000000] Intel MultiProcessor Specification v1.1
[    0.000000]     Virtual Wire compatibility mode.
[    0.000000] OEM ID: Intel    Product ID: Poulsbo      APIC at: 0xFEE00000
[    0.000000] Processor #0 6:12 APIC version 20
[    0.000000] I/O APIC #1 Version 32 at 0xFEC00000.
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] Processors: 1
[    0.000000] Allocating PCI resources starting at 40000000 (gap: 3fc00000:bf200000)
[    0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000e0000 - 0000000000100000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227584
[    0.000000] Kernel command line: initrd=initrd1.img boot=usb BOOT_IMAGE=linux1 acpi=off
[    0.000000] mapped APIC to ffffb000 (fee00000)
[    0.000000] mapped IOAPIC to ffffa000 (fec00000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] Detected 1599.950 MHz processor.
[   60.041752] Console: colour VGA+ 80x25
[   60.041758] console [tty0] enabled
[   60.045332] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[   60.046297] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[   60.073939] Memory: 902236k/917504k available (2044k kernel code, 14744k reserved, 975k data, 268k init, 0k highmem)
[   60.074059] virtual kernel memory layout:
[   60.074061]     fixmap  : 0xfffb3000 - 0xfffff000   ( 304 kB)
[   60.074063]     vmalloc : 0xf8800000 - 0xfffb1000   ( 119 MB)
[   60.074066]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[   60.074068]       .init : 0xc03f9000 - 0xc043c000   ( 268 kB)
[   60.074070]       .data : 0xc02ff11b - 0xc03f2d24   ( 975 kB)
[   60.074072]       .text : 0xc0100000 - 0xc02ff11b   (2044 kB)
[   60.074590] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   60.074793] SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[   60.154927] Calibrating delay using timer specific routine.. 3205.94 BogoMIPS (lpj=6411897)
[   60.155154] Mount-cache hash table entries: 512
[   60.155380] CPU: After generic identify, caps: afe9fbff 20100000 00000000 00000000 0040e3bd 00000000 00000001 00000000
[   60.155393] monitor/mwait feature present.
[   60.155467] using mwait in idle threads.
[   60.155543] CPU: L1 I cache: 32K, L1 D cache: 24K
[   60.155661] CPU: L2 cache: 512K
[   60.155733] CPU: After all inits, caps: afe9fbff 20100000 00000000 00003940 0040e3bd 00000000 00000001 00000000
[   60.155747] Compat vDSO mapped to ffffe000.
[   60.155835] Checking 'hlt' instruction... OK.
[   60.171369] SMP alternatives: switching to UP code
[   60.173110] Freeing SMP alternatives: 11k freed
[   60.173371] Early unpacking initramfs... done
[   60.391622] CPU0: Intel Genuine Intel(R) CPU        @ 1.60GHz stepping 02
[   60.391860] Total of 1 processors activated (3205.94 BogoMIPS).
[   60.391995] ExtINT not setup in hardware but reported by MP table
[   60.392155] ENABLING IO-APIC IRQs
[   60.392414] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
[   60.647017] Brought up 1 CPUs
[   60.647124] CPU0 attaching sched-domain:
[   60.647129]  domain 0: span 01
[   60.647132]   groups: 01
[   60.647422] net_namespace: 64 bytes
[   60.647507] Intel Crown Beach board series board detected. Selecting BIOS-method for reboots.
[   60.647613] Booting paravirtualized kernel on bare hardware
[   60.648571] Time: 20:34:24  Date: 06/23/08
[   60.648736] NET: Registered protocol family 16
[   60.649626] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=0
[   60.649711] PCI: Using configuration type 1
[   60.649785] Setting up standard PCI resources
[   60.657700] ACPI: Interpreter disabled.
[   60.657780] Linux Plug and Play Support v0.97 (c) Adam Belay
[   60.657915] pnp: PnP ACPI: disabled
[   60.658634] PCI: Probing PCI hardware
[   60.658726] PCI: Probing PCI hardware (bus 00)
[   60.660527] PCI: Using IRQ router default [8086/8119] at 0000:00:1f.0
[   60.660622] PCI->APIC IRQ transform: 0000:00:02.0[A] -> IRQ 16
[   60.660702] PCI->APIC IRQ transform: 0000:00:1a.0[A] -> IRQ 16
[   60.660782] PCI->APIC IRQ transform: 0000:00:1b.0[A] -> IRQ 16
[   60.660862] PCI->APIC IRQ transform: 0000:00:1d.0[A] -> IRQ 16
[   60.660941] PCI->APIC IRQ transform: 0000:00:1d.1[B] -> IRQ 17
[   60.661021] PCI->APIC IRQ transform: 0000:00:1d.2[C] -> IRQ 18
[   60.661101] PCI->APIC IRQ transform: 0000:00:1d.7[D] -> IRQ 19
[   60.661180] PCI->APIC IRQ transform: 0000:00:1e.0[A] -> IRQ 16
[   60.661266] PCI->APIC IRQ transform: 0000:00:1e.1[B] -> IRQ 17
[   60.661346] PCI->APIC IRQ transform: 0000:00:1e.2[C] -> IRQ 18
[   60.671109] NET: Registered protocol family 8
[   60.671192] NET: Registered protocol family 20
[   60.672161] NET: Registered protocol family 2
[   60.674951] Time: tsc clocksource has been installed.
[   60.707083] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   60.707637] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[   60.708919] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[   60.709676] TCP: Hash tables configured (established 131072 bind 65536)
[   60.709762] TCP reno registered
[   60.719218] checking if image is initramfs... it is
[   61.144436] Freeing initrd memory: 2981k freed
[   61.145746] audit: initializing netlink socket (disabled)
[   61.145847] audit(1214253263.964:1): initialized
[   61.149533] VFS: Disk quotas dquot_6.5.1
[   61.149754] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   61.150129] io scheduler noop registered
[   61.150206] io scheduler anticipatory registered
[   61.150281] io scheduler deadline registered
[   61.150463] io scheduler cfq registered (default)
[   61.150557] Boot video device is 0000:00:02.0
[   61.231777] Real Time Clock Driver v1.12ac
[   61.231997] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   61.234002] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   61.234177] iusbc 0000:00:1a.0: ---> iusbc_probe() 
[   61.234207] iusbc 0000:00:1a.0: ---> iusbc_reset() 
[   61.234211] iusbc 0000:00:1a.0: <--- iusbc_reset() 
[   61.234215] iusbc 0000:00:1a.0: ---> iusbc_reinit() 
[   61.234219] iusbc 0000:00:1a.0: <--- iusbc_reinit() 
[   61.234243] PCI: Setting latency timer of device 0000:00:1a.0 to 64
[   61.234248] iusbc 0000:00:1a.0: Intel Poulsbo USB Client Controller Driver
[   61.234330] iusbc 0000:00:1a.0: irq 16, pci mem f8800000
[   61.234406] iusbc 0000:00:1a.0: version: 2.0.0.32L.0009
[   61.234482] iusbc 0000:00:1a.0: support (max) 8 endpoints
[   61.234569] iusbc 0000:00:1a.0: <--- iusbc_probe() 
[   61.234804] PNP: No PS/2 controller found. Probing ports directly.
[   61.254590] i8042.c: Detected active multiplexing controller, rev 1.0.
[   61.264687] serio: i8042 KBD port at 0x60,0x64 irq 1
[   61.264768] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[   61.264846] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[   61.264922] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[   61.264999] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[   61.265326] mice: PS/2 mouse device common for all mice
[   61.265541] cpuidle: using governor ladder
[   61.265615] cpuidle: using governor menu
[   61.265940] sdhci: Secure Digital Host Controller Interface driver
[   61.266019] sdhci: Copyright(c) Pierre Ossman
[   61.266161] sdhci: SDHCI controller found at 0000:00:1e.0 [8086:811c] (rev 6)
[   61.266264] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[   61.266352] mmc0: SDHCI at 0xdff5e800 irq 16 DMA
[   61.266436] sdhci: SDHCI controller found at 0000:00:1e.1 [8086:811d] (rev 6)
[   61.266533] PCI: Setting latency timer of device 0000:00:1e.1 to 64
[   61.269606] mmc1: SDHCI at 0xdff5e400 irq 17 DMA
[   61.269691] sdhci: SDHCI controller found at 0000:00:1e.2 [8086:811e] (rev 6)
[   61.269787] PCI: Setting latency timer of device 0000:00:1e.2 to 64
[   61.269865] mmc2: SDHCI at 0xdff5e000 irq 18 DMA
[   61.270105] NET: Registered protocol family 1
[   61.270229] Using IPI No-Shortcut mode
[   61.270442]   Magic number: 12:878:599
[   61.270522]   hash matches device serial8250
[   61.270659]   hash matches device ptyd3
[   61.270958] Freeing unused kernel memory: 268k freed
[   61.302567] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[   61.511439] usbcore: registered new interface driver usbfs
[   61.511596] usbcore: registered new interface driver hub
[   61.511753] usbcore: registered new device driver usb
[   61.527478] usbcore: registered new interface driver hiddev
[   61.527624] usbcore: registered new interface driver usbhid
[   61.527705] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[   61.535822] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[   61.535831] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[   61.536010] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[   61.540041] ehci_hcd 0000:00:1d.7: debug port 1
[   61.540122] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[   61.540138] ehci_hcd 0000:00:1d.7: irq 19, io mem 0xdff5ec00
[   61.554974] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   61.555387] usb usb1: configuration #1 chosen from 1 choice
[   61.555556] hub 1-0:1.0: USB hub found
[   61.555639] hub 1-0:1.0: 8 ports detected
[   61.666576] USB Universal Host Controller Interface driver v3.0
[   61.666777] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[   61.666784] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[   61.666943] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[   61.667085] uhci_hcd 0000:00:1d.0: irq 16, io base 0x0000e480
[   61.667436] usb usb2: configuration #1 chosen from 1 choice
[   61.667593] hub 2-0:1.0: USB hub found
[   61.667676] hub 2-0:1.0: 2 ports detected
[   61.771125] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[   61.771132] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[   61.771281] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[   61.771406] uhci_hcd 0000:00:1d.1: irq 17, io base 0x0000e080
[   61.772874] usb usb3: configuration #1 chosen from 1 choice
[   61.773034] hub 3-0:1.0: USB hub found
[   61.773115] hub 3-0:1.0: 2 ports detected
[   61.875115] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[   61.875122] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[   61.875270] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[   61.875395] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000ef00
[   61.875722] usb usb4: configuration #1 chosen from 1 choice
[   61.875877] hub 4-0:1.0: USB hub found
[   61.875958] hub 4-0:1.0: 2 ports detected
[   61.998385] SCSI subsystem initialized
[   62.013288] libata version 3.00 loaded.
[   62.030876] ata_piix 0000:00:1f.1: version 2.12
[   62.030940] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[   62.031046] scsi0 : ata_piix
[   62.031240] scsi1 : ata_piix
[   62.031397] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[   62.031479] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[   62.195315] ata1.00: failed to read native max address (err_mask=0x1)
[   62.195398] ata1: failed to recover some devices, retrying in 5 secs
[   62.859000] usb 2-1: new full speed USB device using uhci_hcd and address 2
[   63.037392] usb 2-1: configuration #1 chosen from 1 choice
[   63.283009] usb 2-2: new full speed USB device using uhci_hcd and address 3
[   63.461343] usb 2-2: configuration #1 chosen from 1 choice
[   63.707017] usb 3-2: new full speed USB device using uhci_hcd and address 2
[   63.877333] usb 3-2: configuration #1 chosen from 1 choice
[   63.880208] hub 3-2:1.0: USB hub found
[   63.882135] hub 3-2:1.0: 3 ports detected
[   64.196122] usb 3-2.1: new full speed USB device using uhci_hcd and address 3
[   64.331311] usb 3-2.1: configuration #1 chosen from 1 choice
[   64.340523] input: Chicony PFU-68 USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1/3-2.1:1.0/input/input1
[   64.351114] input,hidraw0: USB HID v1.00 Keyboard [Chicony PFU-68 USB Keyboard] on usb-0000:00:1d.1-2.1
[   64.556110] usb 3-2.3: new full speed USB device using uhci_hcd and address 4
[   64.660104] usb 3-2.3: not running at top speed; connect to a high speed hub
[   64.694306] usb 3-2.3: configuration #1 chosen from 1 choice
[   67.363421] ata1.00: failed to read native max address (err_mask=0x1)
[   67.363506] ata1.00: revalidation failed (errno=-13)
[   67.363582] ata1: failed to recover some devices, retrying in 5 secs
[   72.531518] ata1.00: failed to read native max address (err_mask=0x1)
[   72.531599] ata1.00: revalidation failed (errno=-13)
[   72.531675] ata1.00: disabled
[   73.215859] Driver 'sd' needs updating - please use bus_type methods
[   73.222686] usbcore: registered new interface driver libusual
[   73.231680] Initializing USB Mass Storage driver...
[   73.236088] scsi2 : SCSI emulation for USB Mass Storage devices
[   73.236333] usbcore: registered new interface driver usb-storage
[   73.236416] USB Mass Storage support registered.
[   73.237251] usb-storage: device found at 4
[   73.237256] usb-storage: waiting for device to settle before scanning
[   73.244292] Registering unionfs 1.4
[   73.244373] unionfs: debugging is not enabled
[   73.252570] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[   73.286390] loop: module loaded
[   73.365265] thermal: Unknown symbol acpi_processor_set_thermal_limit
[   78.236652] usb-storage: device scan complete
[   78.239655] scsi 2:0:0:0: Direct-Access     Sony     Storage Media    0100 PQ: 0 ANSI: 0 CCS
[   78.249645] sd 2:0:0:0: [sda] 3963904 512-byte hardware sectors (2030 MB)
[   78.252621] sd 2:0:0:0: [sda] Write Protect is off
[   78.252702] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[   78.252706] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   78.264641] sd 2:0:0:0: [sda] 3963904 512-byte hardware sectors (2030 MB)
[   78.267616] sd 2:0:0:0: [sda] Write Protect is off
[   78.267696] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[   78.267700] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   78.267785]  sda: unknown partition table
[   78.350770] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   79.178832] EXT2-fs: loop1: couldn't mount because of unsupported optional features (4).
[   81.444585] kjournald starting.  Commit interval 5 seconds
[   81.444712] EXT3 FS on loop1, internal journal
[   81.444832] EXT3-fs: recovery complete.
[   81.444919] EXT3-fs: mounted filesystem with ordered data mode.
[   92.391760] input: PC Speaker as /devices/platform/pcspkr/input/input2
[   92.922125] poulsbo_smbus 0000:00:1f.0: Found POULSBO SMBUS 0000:00:1f.0 device
[   92.922240] poulsbo_smbus 0000:00:1f.0: POULSBO SM base = 0x0400
[   93.463277] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[   93.463286] Do fixup for Poulsbo <6>D0 or newer stepping
[   93.463439] HDA snoop disabled, try to enable ... OK
[   93.491624] hda-intel: no codecs found!
[   94.152757] usbcore: registered new interface driver usbserial
[   94.152898] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[   94.153090] usbcore: registered new interface driver usbserial_generic
[   94.153173] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/usb/serial/usb-serial.c: USB Serial Driver core
[   94.265838] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
[   94.266030] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[   94.266150] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/usb/serial/ftdi_sio.c: Detected FT232BM
[   94.266414] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
[   94.266509] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[   94.266622] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/usb/serial/ftdi_sio.c: Detected FT232BM
[   94.266802] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB1
[   94.266897] usbcore: registered new interface driver ftdi_sio
[   94.266976] /build/buildd/linux-2.6.24/debian/build/custom-source-lpia/drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
[   94.583902] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   96.509619] Warning! dirs delete and imap options to remount are ignored
[  105.633629] NET: Registered protocol family 10
[  105.634789] lo: Disabled Privacy Extensions
[  123.336200] Bluetooth: Core ver 2.11
[  123.337743] NET: Registered protocol family 31
[  123.337751] Bluetooth: HCI device and connection manager initialized
[  123.337759] Bluetooth: HCI socket layer initialized
[  123.391372] Bluetooth: L2CAP ver 2.9
[  123.391380] Bluetooth: L2CAP socket layer initialized
[  123.915356] Bluetooth: RFCOMM socket layer initialized
[  123.916276] Bluetooth: RFCOMM TTY layer initialized
[  123.916284] Bluetooth: RFCOMM ver 1.8

[-- Attachment #2.1.4: Type: text/plain, Size: 247 bytes --]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

[-- Attachment #2.1.5: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
@ 2008-06-25  1:40 Kan-I Jyo
  2008-06-25  1:50 ` Tobin Davis
  2008-06-25  9:37 ` Takashi Iwai
  0 siblings, 2 replies; 13+ messages in thread
From: Kan-I Jyo @ 2008-06-25  1:40 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 4561 bytes --]

Dear list,

My original mail on this topic was posted to the alsa-user list, while
I was informed that this alsa-devel list would be the right place to
post.

The problem I had encountered is that the Adi 1986 codec chip on my
device with Poulsbo(SCH) chipset could not be recognized by the
snd_hda_intel driver module.

Tobin has kindly given me an advice on trying an ALSA driver that is
later than 1.0.16.final. For a cross-test pupose, I have tried both
the following 1.0.16 and the latest 1.0.17-rc2.

[1.0.16]
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16.tar.bz2

[1.0.17-rc2]
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.17rc2.tar.bz2

By following the guide described in the INSTALL text file in both the
above two packages, I have done make and make install without a
problem.

Unfortunately, both these two version of ALSA driver does not
recognized the Adi 1986 codec and in the dmesg output claiming that
"no codecs found!".

<dmesg>
-- snip --
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA /root/alsa-driver-1.0.16/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1887:
hda-intel: no codecs found!
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2142:
hda-intel: no codecs found!
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
-- snip --

I have also tried applying some module parameters like probe_mask and
position_fix but with no luck.

Actually, we have two machines with Poulsbo(SCH) chipset inside. The
ALSA driver works fine in one(with a chipset's revision of "04") while
it does not work on the other (with a chipset's revision of "06").

Here I attach the "lspci -nnvvvxxxx" result from both two machines.

Any comment would be greatly appericiated. If anyone needs more
information, please let me know.



---------- Forwarded message ----------


2008/6/24 stan <ghjeold_i_mwee@cox.net>:
> This is a response from the alsa-devel list.  I forwarded your message there
> as that was the more appropriate list.
>
>
> Not sure what version of alsa driver you are using, but the driver for that
> chipset was added prior to 1.0.16 final.  Anything after that should work.
>
> Tobin
>
> On Mon, 2008-06-23 at 06:20 -0700, stan wrote:
>
> Sent to wrong list.
>
> email message attachment ([Alsa-user] Intel Poulsbo(SCH) chipset does not
> recognize Adi 1986 codec under linux.eml)
>
> -------- Forwarded Message --------
> From: Kan-I Jyo <cecilhsujp@gmail.com>
> To: alsa-user@lists.sourceforge.net
> Subject: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986
> codec under linux
> Date: Mon, 23 Jun 2008 20:53:42 +0900
>
> Dear list,
>
> I have recently got a device with Intel's Poulsbo chipset and Adi 1986
> codec attatched.
>
> The Adi 1986 codec along with the Poulsbo chipset could been
> recognized by installing the SoundMAX driver under Windows XP.
>
> While switching to Linux, the snd_intel_hda is loaded but the Adi 1986
> codec could not been seen and there is no "codec#0" entry under
> /proc/asound/card0.
>
> >From what I can see from dmesg, the hda_intel module had complained
> about "no codecs found!".
>
> <dmesg.txt>
> -- snip --
> [   93.463277] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> [   93.463286] Do fixup for Poulsbo <6>D0 or newer stepping
> [   93.463439] HDA snoop disabled, try to enable ... OK
> [   93.491624] hda-intel: no codecs found!
> -- snip --
>
> I have attached both output of dmesg command the "lspci -nnvvvxxx"
> result along with this mail. Any comment would be greatly appreciated.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________ Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
> _______________________________________________ Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
> -- Tobin Davis
>
> 22. The only copy of Norton Utilities was on THAT disk???
>
>       --Top 100 things you don't want the sysadmin to say
>
>

-- 
Sincerely,

Jyo

[-- Attachment #2: lspci_nnvvvxxxx-working_rev04.txt --]
[-- Type: text/plain, Size: 14912 bytes --]

00:1b.0 Audio device [0403]: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller [8086:811b] (rev 04)
	Subsystem: Intel Corporation Unknown device [8086:8119]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at dff58000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] Express Unknown type IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s <64ns, L1 <1us
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
		Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
		Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
		Link: Latency L0s <64ns, L1 <1us
		Link: ASPM L0s Enabled CommClk- ExtSynch-
		Link: Speed unknown, Width x0
	Capabilities: [60] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [100] Virtual Channel
	Capabilities: [130] Unknown (5)
00: 86 80 1b 81 06 00 10 00 04 00 03 04 08 00 00 00
10: 04 80 f5 df 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 19 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00
50: 01 70 02 48 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 10 60 91 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 86 0f 04 00 00 00 00 00
100: 02 00 01 13 01 00 00 00 00 00 00 00 00 00 00 00
110: 00 00 00 00 ff 00 00 80 00 00 00 00 00 00 00 00
120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
130: 05 00 01 00 00 01 00 0f 00 00 00 00 00 00 00 00
140: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
510: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
660: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
670: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
690: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
810: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
aa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ab0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ac0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ad0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ae0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
af0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ba0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
be0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ca0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
cb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
cc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
cd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
cf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
da0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
db0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
dc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
dd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
de0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
df0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ea0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
eb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ec0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ed0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ef0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


[-- Attachment #3: lspci_nnvvvxxxx-not_working_rev06.txt --]
[-- Type: text/plain, Size: 1970 bytes --]

00:1b.0 Audio device [0403]: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller [8086:811b] (rev 06)
	Subsystem: Intel Corporation Unknown device [8086:8119]
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at dff5c000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] Express Unknown type IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s <64ns, L1 <1us
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
		Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
		Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
		Link: Latency L0s <64ns, L1 <1us
		Link: ASPM L0s Enabled CommClk- ExtSynch-
		Link: Speed unknown, Width x0
00: 86 80 1b 81 02 00 10 00 06 00 03 04 08 00 00 00
10: 04 c0 f5 df 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 19 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00
50: 01 70 02 48 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 10 00 91 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 86 0f 06 00 02 00 00 00


[-- Attachment #4: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-25  1:40 [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]] Kan-I Jyo
@ 2008-06-25  1:50 ` Tobin Davis
  2008-06-25  3:23   ` Kan-I Jyo
  2008-06-25  9:37 ` Takashi Iwai
  1 sibling, 1 reply; 13+ messages in thread
From: Tobin Davis @ 2008-06-25  1:50 UTC (permalink / raw)
  To: Kan-I Jyo; +Cc: alsa-devel

If the system you are referring to is a development platform, then it is
possible that the jumper settings on your sound board are not configured
correctly.  One simple test is to swap sound boards.  Another thing to
look at is the bios settings.  The mainstream alsa driver should not
care about the chipset revision.  But if the audio hardware is
misconfigured, that would cause it not to work.

Tobin


On Wed, 2008-06-25 at 10:40 +0900, Kan-I Jyo wrote:

> Dear list,
> 
> My original mail on this topic was posted to the alsa-user list, while
> I was informed that this alsa-devel list would be the right place to
> post.
> 
> The problem I had encountered is that the Adi 1986 codec chip on my
> device with Poulsbo(SCH) chipset could not be recognized by the
> snd_hda_intel driver module.
> 
> Tobin has kindly given me an advice on trying an ALSA driver that is
> later than 1.0.16.final. For a cross-test pupose, I have tried both
> the following 1.0.16 and the latest 1.0.17-rc2.
> 
> [1.0.16]
> ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16.tar.bz2
> 
> [1.0.17-rc2]
> ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.17rc2.tar.bz2
> 
> By following the guide described in the INSTALL text file in both the
> above two packages, I have done make and make install without a
> problem.
> 
> Unfortunately, both these two version of ALSA driver does not
> recognized the Adi 1986 codec and in the dmesg output claiming that
> "no codecs found!".
> 
> <dmesg>
> -- snip --
> ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 17
> PCI: Setting latency timer of device 0000:00:1b.0 to 64
> ALSA /root/alsa-driver-1.0.16/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1887:
> hda-intel: no codecs found!
> ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 17
> PCI: Setting latency timer of device 0000:00:1b.0 to 64
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2142:
> hda-intel: no codecs found!
> ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> -- snip --
> 
> I have also tried applying some module parameters like probe_mask and
> position_fix but with no luck.
> 
> Actually, we have two machines with Poulsbo(SCH) chipset inside. The
> ALSA driver works fine in one(with a chipset's revision of "04") while
> it does not work on the other (with a chipset's revision of "06").
> 
> Here I attach the "lspci -nnvvvxxxx" result from both two machines.
> 
> Any comment would be greatly appericiated. If anyone needs more
> information, please let me know.
> 
> 
> 
> ---------- Forwarded message ----------
> 
> 
> 2008/6/24 stan <ghjeold_i_mwee@cox.net>:
> > This is a response from the alsa-devel list.  I forwarded your message there
> > as that was the more appropriate list.
> >
> >
> > Not sure what version of alsa driver you are using, but the driver for that
> > chipset was added prior to 1.0.16 final.  Anything after that should work.
> >
> > Tobin
> >
> > On Mon, 2008-06-23 at 06:20 -0700, stan wrote:
> >
> > Sent to wrong list.
> >
> > email message attachment ([Alsa-user] Intel Poulsbo(SCH) chipset does not
> > recognize Adi 1986 codec under linux.eml)
> >
> > -------- Forwarded Message --------
> > From: Kan-I Jyo <cecilhsujp@gmail.com>
> > To: alsa-user@lists.sourceforge.net
> > Subject: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986
> > codec under linux
> > Date: Mon, 23 Jun 2008 20:53:42 +0900
> >
> > Dear list,
> >
> > I have recently got a device with Intel's Poulsbo chipset and Adi 1986
> > codec attatched.
> >
> > The Adi 1986 codec along with the Poulsbo chipset could been
> > recognized by installing the SoundMAX driver under Windows XP.
> >
> > While switching to Linux, the snd_intel_hda is loaded but the Adi 1986
> > codec could not been seen and there is no "codec#0" entry under
> > /proc/asound/card0.
> >
> > >From what I can see from dmesg, the hda_intel module had complained
> > about "no codecs found!".
> >
> > <dmesg.txt>
> > -- snip --
> > [   93.463277] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> > [   93.463286] Do fixup for Poulsbo <6>D0 or newer stepping
> > [   93.463439] HDA snoop disabled, try to enable ... OK
> > [   93.491624] hda-intel: no codecs found!
> > -- snip --
> >
> > I have attached both output of dmesg command the "lspci -nnvvvxxx"
> > result along with this mail. Any comment would be greatly appreciated.
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________ Alsa-user mailing list
> > Alsa-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> >
> > _______________________________________________ Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> >
> > -- Tobin Davis
> >
> > 22. The only copy of Norton Utilities was on THAT disk???
> >
> >       --Top 100 things you don't want the sysadmin to say
> >
> >
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
Tobin Davis 


"Well, social relevance is a schtick, like mysteries, social relevance, 
science fiction..."
-- Art Spiegelman

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-25  1:50 ` Tobin Davis
@ 2008-06-25  3:23   ` Kan-I Jyo
  0 siblings, 0 replies; 13+ messages in thread
From: Kan-I Jyo @ 2008-06-25  3:23 UTC (permalink / raw)
  To: alsa-devel

Dear Tobin,

Thank you for your response.

2008/6/25 Tobin Davis <tdavis@dsl-only.net>:
> If the system you are referring to is a development platform, then it is
> possible that the jumper settings on your sound board are not configured
> correctly.

This was the first thing that came to my mind as well.
To make sure that the hardware is correctly configured, we had
installed a retail version of Windows XP to this device along with
SoundMAX driver as well. And the misterious thing is that sound output
was working on this revision 06 device with Windows XP but not Linux.

> One simple test is to swap sound boards.

This is a good idea and worth trying. However, as all chips including
the sound codec are hard-wired on this board, there is no extra slots
like pci or isa available for me to make such a test.


> Another thing to look  at is the bios settings.

Another good point that inspires me. I have digged around the BIOS
menu. There did be some difference between the working machine and the
not-working one. Frustratingly, the sound codec chip remains
unrecognized even they have exact settings along with each other after
adjustments.

> The mainstream alsa driver should not care about the chipset revision.  But if the audio hardware is misconfigured, that would cause it not to work.

I can't not agree with you more. Though it seems that there is less
possibility as the device works under Windows, I wil try to see if
there were any other hardware jumper that I can adjust.

On the other hand, is there any other thing/info that I can do to help
solve phenomenon?


-- 
Sincerely,

Jyo

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-25  1:40 [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]] Kan-I Jyo
  2008-06-25  1:50 ` Tobin Davis
@ 2008-06-25  9:37 ` Takashi Iwai
  2008-06-25 12:00   ` Kan-I Jyo
  1 sibling, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2008-06-25  9:37 UTC (permalink / raw)
  To: Kan-I Jyo; +Cc: alsa-devel

At Wed, 25 Jun 2008 10:40:41 +0900,
Kan-I Jyo wrote:
> 
> Dear list,
> 
> My original mail on this topic was posted to the alsa-user list, while
> I was informed that this alsa-devel list would be the right place to
> post.
> 
> The problem I had encountered is that the Adi 1986 codec chip on my
> device with Poulsbo(SCH) chipset could not be recognized by the
> snd_hda_intel driver module.
> 
> Tobin has kindly given me an advice on trying an ALSA driver that is
> later than 1.0.16.final. For a cross-test pupose, I have tried both
> the following 1.0.16 and the latest 1.0.17-rc2.
> 
> [1.0.16]
> ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16.tar.bz2
> 
> [1.0.17-rc2]
> ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.17rc2.tar.bz2
> 
> By following the guide described in the INSTALL text file in both the
> above two packages, I have done make and make install without a
> problem.
> 
> Unfortunately, both these two version of ALSA driver does not
> recognized the Adi 1986 codec and in the dmesg output claiming that
> "no codecs found!".
> 
> <dmesg>
> -- snip --
> ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 17
> PCI: Setting latency timer of device 0000:00:1b.0 to 64
> ALSA /root/alsa-driver-1.0.16/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1887:
> hda-intel: no codecs found!
> ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 17
> PCI: Setting latency timer of device 0000:00:1b.0 to 64
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2142:
> hda-intel: no codecs found!
> ACPI: PCI interrupt for device 0000:00:1b.0 disabled

The driver was properly loaded, so the problem is in the codec
communication...

On which slot is assigned the codec chip?  As now, SCH is set up to
probe up to 3rd slots.  The driver had a problem regarding the probe
on the 4th slot on some hardwares, so it limited the probe to 3 slots
as default.  SCH support was just copied from ICH, and this workaround
was likely inherited, too.

The patch below enables the probe on 4th slot on SCH.


thanks,

Takashi

---
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 16715a6..2e9d9c9 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1157,7 +1157,7 @@ static int azx_setup_controller(struct azx *chip, struct azx_dev *azx_dev)
 
 static unsigned int azx_max_codecs[] __devinitdata = {
 	[AZX_DRIVER_ICH] = 4,		/* Some ICH9 boards use SD3 */
-	[AZX_DRIVER_SCH] = 3,
+	[AZX_DRIVER_SCH] = 4,
 	[AZX_DRIVER_ATI] = 4,
 	[AZX_DRIVER_ATIHDMI] = 4,
 	[AZX_DRIVER_VIA] = 3,		/* FIXME: correct? */

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-25  9:37 ` Takashi Iwai
@ 2008-06-25 12:00   ` Kan-I Jyo
  2008-06-25 12:20     ` Takashi Iwai
  0 siblings, 1 reply; 13+ messages in thread
From: Kan-I Jyo @ 2008-06-25 12:00 UTC (permalink / raw)
  To: alsa-devel, Takashi Iwai

Dear Takashi,

Thank you for your reply.

2008/6/25 Takashi Iwai <tiwai@suse.de>:

> The patch below enables the probe on 4th slot on SCH.

Thank you for your patch.
I have applied your patch and recompiled the snd-hda-intel kernel
module. A reload of the newly compiled driver stiil gives me the "no
codec found!" output in dmesg.

After inserting some snd_printk() into the hda_intel.c, it seems that
this "azx_readw()" macro in azx_reset() function returns a "0" to
chip->codec_mask on our not-working device. It is returns a "1" on the
other working device though.

<hda_intel.c>
-- snip --
 751         /* detect codecs */
 752         if (!chip->codec_mask) {
 753                 chip->codec_mask = azx_readw(chip, STATESTS);
 754                 snd_printk("codec_mask = 0x%x\n", chip->codec_mask);
-- snip --

<dmesg>
-- snip --
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2069:
chipset global capabilities = 0x2200
ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:912:
HDA snoop disabled, enabling ... OK
ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:754:
codec_mask = 0x0
ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2142:
hda-intel: no codecs found!
ACPI: PCI interrupt for device 0000:00:1b.0 disabled

For I am not an expert in sound driver development, the above are
provided for reference. But would this be some kind of hint?

-- 
Sincerely,

Jyo

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-25 12:00   ` Kan-I Jyo
@ 2008-06-25 12:20     ` Takashi Iwai
  2008-06-30 13:20       ` Kan-I Jyo
  0 siblings, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2008-06-25 12:20 UTC (permalink / raw)
  To: Kan-I Jyo; +Cc: alsa-devel

At Wed, 25 Jun 2008 21:00:46 +0900,
Kan-I Jyo wrote:
> 
> Dear Takashi,
> 
> Thank you for your reply.
> 
> 2008/6/25 Takashi Iwai <tiwai@suse.de>:
> 
> > The patch below enables the probe on 4th slot on SCH.
> 
> Thank you for your patch.
> I have applied your patch and recompiled the snd-hda-intel kernel
> module. A reload of the newly compiled driver stiil gives me the "no
> codec found!" output in dmesg.
> 
> After inserting some snd_printk() into the hda_intel.c, it seems that
> this "azx_readw()" macro in azx_reset() function returns a "0" to
> chip->codec_mask on our not-working device. It is returns a "1" on the
> other working device though.
> 
> <hda_intel.c>
> -- snip --
>  751         /* detect codecs */
>  752         if (!chip->codec_mask) {
>  753                 chip->codec_mask = azx_readw(chip, STATESTS);
>  754                 snd_printk("codec_mask = 0x%x\n", chip->codec_mask);
> -- snip --
> 
> <dmesg>
> -- snip --
> PCI: Setting latency timer of device 0000:00:1b.0 to 64
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2069:
> chipset global capabilities = 0x2200
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:912:
> HDA snoop disabled, enabling ... OK
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:754:
> codec_mask = 0x0
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2142:
> hda-intel: no codecs found!
> ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> 
> For I am not an expert in sound driver development, the above are
> provided for reference. But would this be some kind of hint?

The hardware sets the corresponding bits to this register when the
codec is found on the slot.  So, this seems really like a hardware
problem.

Or, if it's a timing issue, you can try to add some delays in
azx_reset()...


Takashi

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-25 12:20     ` Takashi Iwai
@ 2008-06-30 13:20       ` Kan-I Jyo
  2008-06-30 13:22         ` Kan-I Jyo
  2008-07-01 10:22         ` Takashi Iwai
  0 siblings, 2 replies; 13+ messages in thread
From: Kan-I Jyo @ 2008-06-30 13:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Dear Takashi,

Thank you for your kind help all the time.

2008/6/25 Takashi Iwai <tiwai@suse.de>:
> The hardware sets the corresponding bits to this register when the
> codec is found on the slot.  So, this seems really like a hardware
> problem.

For all my try these days have all led to a non-working audio device,
I can not help thinking the high possibility of a hardware problem.
Just want to make sure that I have made good efforts before blaming on
hardware side.

>
> Or, if it's a timing issue, you can try to add some delays in
> azx_reset()...

Considering this kind of issue, I have increased the "msleep" in
azx_reset() from 1 to 1000.
With no luck, stiil there the "no codecs found" message.

Moreover, I have changed the "msleep" to "ssleep" with a even larger
value. As you may have expected, no recognization of the ADi 1986A
codec at all.

Though there might be no much left for trying, I just want to make
sure that I did not miss any import part.
And I would like say thank you as well for your timely advetise.

-- 
Sincerely,

Jyo

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-30 13:20       ` Kan-I Jyo
@ 2008-06-30 13:22         ` Kan-I Jyo
  2008-07-01 10:22         ` Takashi Iwai
  1 sibling, 0 replies; 13+ messages in thread
From: Kan-I Jyo @ 2008-06-30 13:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

2008/6/30 Kan-I Jyo <cecilhsujp@gmail.com>:
> And I would like say thank you as well for your timely advetise.

               ^^^^^^^^
it is "advise", I mean. sorry about this.

-- 
Sincerely,

Jyo

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-06-30 13:20       ` Kan-I Jyo
  2008-06-30 13:22         ` Kan-I Jyo
@ 2008-07-01 10:22         ` Takashi Iwai
  2008-07-03  5:42           ` Kan-I Jyo
  1 sibling, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2008-07-01 10:22 UTC (permalink / raw)
  To: Kan-I Jyo; +Cc: alsa-devel

At Mon, 30 Jun 2008 22:20:17 +0900,
Kan-I Jyo wrote:
> 
> Dear Takashi,
> 
> Thank you for your kind help all the time.
> 
> 2008/6/25 Takashi Iwai <tiwai@suse.de>:
> > The hardware sets the corresponding bits to this register when the
> > codec is found on the slot.  So, this seems really like a hardware
> > problem.
> 
> For all my try these days have all led to a non-working audio device,
> I can not help thinking the high possibility of a hardware problem.
> Just want to make sure that I have made good efforts before blaming on
> hardware side.
> 
> >
> > Or, if it's a timing issue, you can try to add some delays in
> > azx_reset()...
> 
> Considering this kind of issue, I have increased the "msleep" in
> azx_reset() from 1 to 1000.
> With no luck, stiil there the "no codecs found" message.
> 
> Moreover, I have changed the "msleep" to "ssleep" with a even larger
> value. As you may have expected, no recognization of the ADi 1986A
> codec at all.

Then it implies that the hardware doesn't set this bit.  It's supposed
to be mandatory, and this probing mechanism works well for other
hundreds of devices.  Thus I think something still wrong in your
device setup.

If you know the slot number of the codec beforehand, you can modify to
force to set chip->codec_mask in azx_reset().  Then the driver will
continue to probe the codec.


Takashi

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-07-01 10:22         ` Takashi Iwai
@ 2008-07-03  5:42           ` Kan-I Jyo
  2008-07-04 12:47             ` Takashi Iwai
  0 siblings, 1 reply; 13+ messages in thread
From: Kan-I Jyo @ 2008-07-03  5:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Dear Takashi,

Thank you for your reply.

2008/7/1 Takashi Iwai <tiwai@suse.de>:

> If you know the slot number of the codec beforehand, you can modify to
> force to set chip->codec_mask in azx_reset().  Then the driver will
> continue to probe the codec.

By changing the "chip->codec_mask", amazingly the codec chip is now recognized.

<hda_intel.c.diff>
--- hda_intel.c.orig	2008-07-02 13:27:14.699908463 +0900
+++ hda_intel.c	2008-07-02 13:27:48.303899618 +0900
@@ -750,7 +750,8 @@ static int azx_reset(struct azx *chip)

 	/* detect codecs */
 	if (!chip->codec_mask) {
-		chip->codec_mask = azx_readw(chip, STATESTS);
+		/* chip->codec_mask = azx_readw(chip, STATESTS); */
+		chip->codec_mask = 1;
 		snd_printdd("codec_mask = 0x%x\n", chip->codec_mask);
 	}

<ends here>

I do not consider this as a good way to solve this issue, this is
quite a progress to me. Thank you for your advise, Takashi.

Regardless of being recognized and been configurable by alsamixer,
there is no sound output from the speaker. I have tried all the model
option listed in Documentation/sound/alsa/ALSA-Configuration.txt for
AD1986A and none provides a sound output.

By switching to different models, it results some similar log output
in both dmesg and /var/log/messages have some info like this:

<dmesg>

--snip--
ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:601:
hda_intel: azx_get_response timeout, switching to polling mode: last
cmd=0x000f0000
ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:608:
hda_intel: azx_get_response timeout, switching to single_cmd mode:
last cmd=0x000f0000
ALSA /root/alsa-driver-1.0.17rc3/pci/hda/hda_codec.c:2334: hda_codec:
model '6stack' is selected
ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1196:
snd_hda_codec_new() results is 0

<ends here>

When trying to apply the "position_fix" module option to values other
than the default "0", I got following ouput from dmesg.

<dmesg>

--snip--
ALSA /root/alsa-driver-1.0.17rc3/acore/../alsa-kernel/core/pcm_lib.c:1540:
playback write error (DMA or IRQ trouble?)

<ends here>

And in /var/log/messages, I have following messages complaining that
the position buffer is invalid.

</var/log/messages>

--snip--
Jan  2 18:34:03 localhost kernel: hda-intel: Invalid position buffer,
using LPIB read method instead.
Jan  2 18:34:03 localhost kernel: hda-intel: IRQ timing workaround is
activated for card #0. Suggest a bigger bdl_pos_adj.

<ends here>

As you have metioned in your previous update, there is high
possibility that this is not a software(driver) issue but a hardware
misconfiguration. Though I think there might some kind of workaround
to solve this issue, I will try contacting the hardware vendor about
this situation.

And still, any commet would be greatly appreciated.

-- 
Sincerely,

Jyo

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-07-03  5:42           ` Kan-I Jyo
@ 2008-07-04 12:47             ` Takashi Iwai
  2008-08-01  3:30               ` Kan-I Jyo
  0 siblings, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2008-07-04 12:47 UTC (permalink / raw)
  To: Kan-I Jyo; +Cc: alsa-devel

At Thu, 3 Jul 2008 14:42:16 +0900,
Kan-I Jyo wrote:
> 
> Dear Takashi,
> 
> Thank you for your reply.
> 
> 2008/7/1 Takashi Iwai <tiwai@suse.de>:
> 
> > If you know the slot number of the codec beforehand, you can modify to
> > force to set chip->codec_mask in azx_reset().  Then the driver will
> > continue to probe the codec.
> 
> By changing the "chip->codec_mask", amazingly the codec chip is now recognized.
> 
> <hda_intel.c.diff>
> --- hda_intel.c.orig	2008-07-02 13:27:14.699908463 +0900
> +++ hda_intel.c	2008-07-02 13:27:48.303899618 +0900
> @@ -750,7 +750,8 @@ static int azx_reset(struct azx *chip)
> 
>  	/* detect codecs */
>  	if (!chip->codec_mask) {
> -		chip->codec_mask = azx_readw(chip, STATESTS);
> +		/* chip->codec_mask = azx_readw(chip, STATESTS); */
> +		chip->codec_mask = 1;
>  		snd_printdd("codec_mask = 0x%x\n", chip->codec_mask);
>  	}
> 
> <ends here>
> 
> I do not consider this as a good way to solve this issue, this is
> quite a progress to me. Thank you for your advise, Takashi.
> 
> Regardless of being recognized and been configurable by alsamixer,
> there is no sound output from the speaker. I have tried all the model
> option listed in Documentation/sound/alsa/ALSA-Configuration.txt for
> AD1986A and none provides a sound output.
> 
> By switching to different models, it results some similar log output
> in both dmesg and /var/log/messages have some info like this:
> 
> <dmesg>
> 
> --snip--
> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:601:
> hda_intel: azx_get_response timeout, switching to polling mode: last
> cmd=0x000f0000
> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:608:
> hda_intel: azx_get_response timeout, switching to single_cmd mode:
> last cmd=0x000f0000

If this happens, usually it means that the device access is pretty
ragged.  Does /proc/asound/card0/codec#* show the correct values?

> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/hda_codec.c:2334: hda_codec:
> model '6stack' is selected
> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1196:
> snd_hda_codec_new() results is 0
> 
> <ends here>
> 
> When trying to apply the "position_fix" module option to values other
> than the default "0", I got following ouput from dmesg.
> 
> <dmesg>
> 
> --snip--
> ALSA /root/alsa-driver-1.0.17rc3/acore/../alsa-kernel/core/pcm_lib.c:1540:
> playback write error (DMA or IRQ trouble?)

This error is fatal, and implies that the IRQ isn't triggered
properly.  Doesn't this happen if you set position_fix=0?  Still
weird...

> 
> <ends here>
> 
> And in /var/log/messages, I have following messages complaining that
> the position buffer is invalid.
> 
> </var/log/messages>
> 
> --snip--
> Jan  2 18:34:03 localhost kernel: hda-intel: Invalid position buffer,
> using LPIB read method instead.
> Jan  2 18:34:03 localhost kernel: hda-intel: IRQ timing workaround is
> activated for card #0. Suggest a bigger bdl_pos_adj.

On Intel devices, we choose the 1 sample position fix while 32 samples
for other controller chips.  This might be a wrong assumption, but I'd
like to check all other cases first.

And, this basically is no fatal error.  This may lead to higher CPU
load (for busy wait) but the playback should still work.


Takashi

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
  2008-07-04 12:47             ` Takashi Iwai
@ 2008-08-01  3:30               ` Kan-I Jyo
  0 siblings, 0 replies; 13+ messages in thread
From: Kan-I Jyo @ 2008-08-01  3:30 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Dear Takhashi,

After having some discussions with the hardware vender and reviewing
some technical specifiction documents on Intel's website, this issue
has now been fixed by a rework of the hardware.

I would like to say thank you for all your kind support on this issue.

2008/7/4 Takashi Iwai <tiwai@suse.de>:
> At Thu, 3 Jul 2008 14:42:16 +0900,
> Kan-I Jyo wrote:
>>
>> Dear Takashi,
>>
>> Thank you for your reply.
>>
>> 2008/7/1 Takashi Iwai <tiwai@suse.de>:
>>
>> > If you know the slot number of the codec beforehand, you can modify to
>> > force to set chip->codec_mask in azx_reset().  Then the driver will
>> > continue to probe the codec.
>>
>> By changing the "chip->codec_mask", amazingly the codec chip is now recognized.
>>
>> <hda_intel.c.diff>
>> --- hda_intel.c.orig  2008-07-02 13:27:14.699908463 +0900
>> +++ hda_intel.c       2008-07-02 13:27:48.303899618 +0900
>> @@ -750,7 +750,8 @@ static int azx_reset(struct azx *chip)
>>
>>       /* detect codecs */
>>       if (!chip->codec_mask) {
>> -             chip->codec_mask = azx_readw(chip, STATESTS);
>> +             /* chip->codec_mask = azx_readw(chip, STATESTS); */
>> +             chip->codec_mask = 1;
>>               snd_printdd("codec_mask = 0x%x\n", chip->codec_mask);
>>       }
>>
>> <ends here>
>>
>> I do not consider this as a good way to solve this issue, this is
>> quite a progress to me. Thank you for your advise, Takashi.
>>
>> Regardless of being recognized and been configurable by alsamixer,
>> there is no sound output from the speaker. I have tried all the model
>> option listed in Documentation/sound/alsa/ALSA-Configuration.txt for
>> AD1986A and none provides a sound output.
>>
>> By switching to different models, it results some similar log output
>> in both dmesg and /var/log/messages have some info like this:
>>
>> <dmesg>
>>
>> --snip--
>> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:601:
>> hda_intel: azx_get_response timeout, switching to polling mode: last
>> cmd=0x000f0000
>> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:608:
>> hda_intel: azx_get_response timeout, switching to single_cmd mode:
>> last cmd=0x000f0000
>
> If this happens, usually it means that the device access is pretty
> ragged.  Does /proc/asound/card0/codec#* show the correct values?
>
>> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/hda_codec.c:2334: hda_codec:
>> model '6stack' is selected
>> ALSA /root/alsa-driver-1.0.17rc3/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1196:
>> snd_hda_codec_new() results is 0
>>
>> <ends here>
>>
>> When trying to apply the "position_fix" module option to values other
>> than the default "0", I got following ouput from dmesg.
>>
>> <dmesg>
>>
>> --snip--
>> ALSA /root/alsa-driver-1.0.17rc3/acore/../alsa-kernel/core/pcm_lib.c:1540:
>> playback write error (DMA or IRQ trouble?)
>
> This error is fatal, and implies that the IRQ isn't triggered
> properly.  Doesn't this happen if you set position_fix=0?  Still
> weird...
>
>>
>> <ends here>
>>
>> And in /var/log/messages, I have following messages complaining that
>> the position buffer is invalid.
>>
>> </var/log/messages>
>>
>> --snip--
>> Jan  2 18:34:03 localhost kernel: hda-intel: Invalid position buffer,
>> using LPIB read method instead.
>> Jan  2 18:34:03 localhost kernel: hda-intel: IRQ timing workaround is
>> activated for card #0. Suggest a bigger bdl_pos_adj.
>
> On Intel devices, we choose the 1 sample position fix while 32 samples
> for other controller chips.  This might be a wrong assumption, but I'd
> like to check all other cases first.
>
> And, this basically is no fatal error.  This may lead to higher CPU
> load (for busy wait) but the playback should still work.
>
>
> Takashi
>



-- 
Sincerely,

Jyo

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-08-01  3:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 13:20 [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux] stan
  -- strict thread matches above, loose matches on Subject: below --
2008-06-25  1:40 [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]] Kan-I Jyo
2008-06-25  1:50 ` Tobin Davis
2008-06-25  3:23   ` Kan-I Jyo
2008-06-25  9:37 ` Takashi Iwai
2008-06-25 12:00   ` Kan-I Jyo
2008-06-25 12:20     ` Takashi Iwai
2008-06-30 13:20       ` Kan-I Jyo
2008-06-30 13:22         ` Kan-I Jyo
2008-07-01 10:22         ` Takashi Iwai
2008-07-03  5:42           ` Kan-I Jyo
2008-07-04 12:47             ` Takashi Iwai
2008-08-01  3:30               ` Kan-I Jyo

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.