From owner-freebsd-multimedia@FreeBSD.ORG Tue May 13 15:59:24 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FF9A106566B for ; Tue, 13 May 2008 15:59:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id D81BD8FC1B for ; Tue, 13 May 2008 15:59:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id BAA07910; Wed, 14 May 2008 01:59:14 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 14 May 2008 01:59:12 +1000 (EST) From: Ian Smith To: WATANABE Kazuhiro In-Reply-To: <20080513113614.27E3D5C0C7@mail.asahi-net.or.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-multimedia , Kurt Rosenfeld Subject: Re: snd_csa driver problem in 7.0-RELEASE on IBM T20 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 15:59:24 -0000 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: 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@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