Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2008 20:36:13 +0900
From:      WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
To:        freebsd-multimedia <freebsd-multimedia@freebsd.org>
Cc:        Kurt Rosenfeld <hardware@ee.ccny.cuny.edu>
Subject:   Re: snd_csa driver problem in 7.0-RELEASE on IBM T20
Message-ID:  <20080513113614.27E3D5C0C7@mail.asahi-net.or.jp>
In-Reply-To: <20080511014926.GB7610@eesfc24.engr.ccny.cuny.edu>
References:  <20080511014926.GB7610@eesfc24.engr.ccny.cuny.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

At Sat, 10 May 2008 21:49:26 -0400,
Kurt Rosenfeld wrote:
> Hello,
> 
> I'm running 7.0-RELEASE with the GENERIC kernel.  The sound
> chip in my IBM T20 laptop uses the snd_csa driver.  When I
> kldload the snd_csa driver, this is written to the system
> log:
> 
> csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0xe8100000-0xe8100fff,0xe8000000-0xe80fffff irq 11 at device 5.0 on pci0
> csa: card is Thinkpad 600X/A20/T20
> csa0: [GIANT-LOCKED]
> csa0: [ITHREAD]
> device_attach: csa0 attach returned 6
> 
> and there is no /dev/dsp* driver.  kldstat gives
> this:
> 
> $ kldstat
> Id Refs Address    Size     Name
>  1    9 0xc0400000 906518   kernel
>  2    1 0xc0d07000 6a32c    acpi.ko
>  3    1 0xc23f8000 22000    linux.ko
>  4    1 0xc27a5000 7000     snd_csa.ko
>  5    2 0xc27ac000 3f000    sound.ko
> 
> I tested it on two T20 laptops with the same result.
> It works under Linux.  Any idea what the problem
> might be?  thanks, -kurt
> 
> Here is the complete dmesg output:
> 
> Copyright (c) 1992-2008 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel Pentium III (189.32-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
>   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 268369920 (255 MB)
> avail memory = 248623104 (237 MB)
> kbd1 at kbdmux0
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
> acpi0: <PTLTD   RSDT> on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a0000 (3) failed
> acpi0: reservation of 100000, ff00000 (3) failed
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> acpi_ec0: <Embedded Controller: GPE 0x9, GLK> port 0x62,0x66 on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_throttle0: <ACPI CPU Throttling> on cpu0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> acpi_button0: <Sleep Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82443BX (440 BX) host to PCI bridge> on hostb0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> vgapci0: <VGA-compatible display> mem 0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1
> cbb0: <TI1450 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [ITHREAD]
> cbb1: <TI1450 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0
> cardbus1: <CardBus bus> on cbb1
> pccard1: <16-bit PCCard bus> on cbb1
> cbb1: [ITHREAD]
> pci0: <multimedia, audio> at device 5.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1800-0x180f at device 7.1 on pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1820-0x183f irq 11 at device 7.2 on pci0
> uhci0: [GIANT-LOCKED]
> uhci0: [ITHREAD]
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 2 ports with 2 removable, self powered
> pci0: <bridge> at device 7.3 (no driver attached)
> acpi_tz0: <Thermal Zone> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: [ITHREAD]
> psm0: model Generic PS/2 mouse, device ID 0
> fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
> fdc0: [FILTER]
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xe0000-0xeffff pnpid ORM0000 on isa0
> ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppbus0: <Parallel port bus> on ppc0
> ppbus0: [ITHREAD]
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> ppc0: [GIANT-LOCKED]
> ppc0: [ITHREAD]
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> sio0: [FILTER]
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounter "TSC" frequency 189322216 Hz quality 800
> Timecounters tick every 1.000 msec
> hptrr: no controller detected.
> wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 11 function 0 config 1 on pccard1
> wi0: [ITHREAD]
> wi0: using Lucent Technologies, WaveLAN/IEEE
> wi0: Lucent Firmware: Station (8.10.1)
> wi0: Ethernet address: 00:02:2d:1f:c0:24
> ad0: 19077MB <IBM DJSA-220 JS4IAC6A> at ata0-master UDMA33
> acd0: CDRW <DW-28E/2.1A> at ata1-master UDMA33
> Trying to mount root from ufs:/dev/ad0s1a
> wi0: link state changed to DOWN
> csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0xe8100000-0xe8100fff,0xe8000000-0xe80fffff irq 11 at device 5.0 on pci0
> csa: card is Thinkpad 600X/A20/T20
> csa0: [GIANT-LOCKED]
> csa0: [ITHREAD]
> device_attach: csa0 attach returned 6

How about this (modify DELAY() values)?

 Thinkpad T23 Setup (part 1)
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=135463+0+archive/2002/freebsd-mobile/20020519.freebsd-mobile

---
WATANABE Kazuhiro (CQG00620@nifty.ne.jp)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080513113614.27E3D5C0C7>