snd_csa driver problem in 7.0-RELEASE on IBM T20

Ian Smith smithi at nimnet.asn.au
Tue May 13 15:59:24 UTC 2008


On Tue, 13 May 2008, WATANABE Kazuhiro wrote:
 > 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

Sorry, no.  But ..

 > > 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 at 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)

The T20 wasn't that slow, was it?  Or is it set slow in BIOS?

[..]

 > > device_attach: csa0 attach returned 6

Yes, 6 is generally bad news.

 > 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

I don't think that post would be too helpful regarding Kurt's T20.

It's 6 years old, looks like FreeBSD 4.something, using APM rather than
ACPI.  The T23 has quite different hardware throughout than the T20, and
none of the tweaks mentioned were needed by the time I installed FreeBSD
6.1-RELEASE / GENERIC anyway.  Sound (ICH3/AC97) works fine on my T23,
and I doubt it's regressed on 7.x (but expect to soon find out :) 

However there may be some clues on the (only) FLCL T20 listing/thread:

http://laptop.bsdgroup.de/freebsd/index.html?action=show_laptop_detail&laptop=1

which initially suggested (suspend/resume) problems needing a patch for
csa, but these were then said to have been fixed by FreeBSD 5.2 or so ..

HTH, Ian



More information about the freebsd-multimedia mailing list