Hi there, I've got some issues with my Thinkpad 600X. It has a clcs(4) sound chip, which seems to not work properly with OpenBSD. The sound output is strangely distorted and slower than it should be. Attached a dmesg using GENERIC 4.1-current kernel.
The sound works without any problem after i insert my wireless lan pccard (ral(4)) and activate it with 'ifconfig ral0 up'. If i deactivate it again (ifconfig ral0 down) sound is distorted again. Inserting a different pccard (I only have a ral(4) and a dc(4) card) has no effect. I tried activating acpi and even using a kernel with all acpi options activated, because I got the hint it could be an ACPI issue, but that didn't change anything (besides my cpu fan not spinning any more). ac97 seems to detect different codec ids each reboot, but that didn't cause any differences in sound output or quality. Another problem with this Thinkpad is that the CPU speed is not detected properly on boot. You'll see the strange value in the attached dmesg. The value seems to be random after every reboot. Only if i detach the power supply it will be constantly 499MHz. The CPU installed is a 650MHz Pentium III mobile with speedstep. I couldn't see any difference in speed for the different detected speeds (using 'openssl speed'). Anybody experienced similar things or has hints how I could try to fix it? Regards, Julian --- Attached dmesg: --- OpenBSD 4.1-current (GENERIC) #1445: Thu Mar 22 11:06:59 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III ("GenuineIntel" 686-class) 417 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE real mem = 334917632 (327068K) avail mem = 297373696 (290404K) using 4119 buffers containing 16871424 bytes (16476K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev. 2.2 @ 0xf7690 (55 entries) bios0: IBM 26455FG apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 99% apm0: AC on, battery charge high apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd880/0x800 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9d00/128 (6 entries) pcibios0: PCI Exclusive IRQs: 11 pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc0000/0xc000 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Neomagic Magicgraph NM2360" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 "TI PCI1450 CardBus" rev 0x03: irq 11 cbb1 at pci0 dev 2 function 1 "TI PCI1450 CardBus" rev 0x03: irq 11 clcs0 at pci0 dev 6 function 0 "Cirrus Logic CS4280/46xx CrystalClear" rev 0x01: irq 11 ac97: codec id 0x43520000 ac97: codec features 20 bit DAC, 18 bit ADC, Creative pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <SAMSUNG HM080HC> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x03: SMI iic0 at piixpm0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered biomask efed netmask efed ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support ral0 at cardbus1 dev 0 function 0 "Ralink Technology, Inc., RT2500, 802.11 CardBus Reference Card": irq 11, address 00:0c:f6:12:25:bb ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 clcs0: firmware loaded audio0 at clcs0