Date: Mon, 03 Jun 2002 09:09:42 -0700 From: "Kevin Oberman" <oberman@es.net> To: adace@orbitz.com Cc: freebsd-mobile@freebsd.org Subject: Re: IBM ThinkPad T21 -- any hope for sound support? Message-ID: <20020603160942.031555D04@ptavv.es.net> In-Reply-To: Your message of "Mon, 03 Jun 2002 10:17:50 CDT." <OFCE67560C.4B38F0F3-ON86256BCD.0053B4F2@duncllc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Mon_Jun__3_09:06:09_2002-1 Content-Type: text/plain; charset=US-ASCII > From: adace@orbitz.com > Date: Mon, 3 Jun 2002 10:17:50 -0500 > Sender: owner-freebsd-mobile@FreeBSD.ORG > > Quick Hardware Summary: > > * IBM ThinkPad T21 > * Model: 2647-87U > * Audio Chipset: CS461x > > Relevant Kernel Config Options: > > options PNPBIOS > device pcm > device csa > > Resulting Kernel Messages: > May 16 11:54:25 ganymede /kernel: csa0: > <CS4280/CS4614/CS4622/CS4624/CS4630> mem > 0xe8000000-0xe80fffff,0xe8122000-0xe8122fff irq 11 at device 5.0 on pci0 > May 16 11:54:25 ganymede /kernel: csa: card is Thinkpad 600X/A20/T20 > May 16 11:54:25 ganymede /kernel: pcm0: <CS461x PCM Audio> on csa0 > May 16 11:54:25 ganymede /kernel: device_probe_and_attach: pcm0 attach > returned > 6 > > I found one email in the freebsd-mobile archives that indicates that this > simply doesn't work. Is this still the case for FreeBSD 4.5R? The dmesg indicates a PCI/ISA issue similar to that of the old 600E. While this may not be the case, it might be worth trying the 600E fix. I will append the perl script I use to apply the fix. After applying it, rebuild the kernel with the following changes to the kernel configuration: Delete "options PNPBIOS" Delete "device csa" Modify "device pcm" to "device pcm0 at isa? port 0x52c irq 5 drq 1 flags 0x10" Note that fix-files will need to be re-run each time you update your sources. While this last line is valid for the 600E, it is entirely possible that you will need to modify the port, irq, or drq for the T21. You can use the ps2 utility (ps2 ? au) to see the irq and drq values. The port should be 4 less that the address shown. This may not be appropriate to the T21, but it might be worth the effort since the messages you see are about the same as what I see when I don't have the new kernel and use "options PNPBIOS". Good luck. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 --Multipart_Mon_Jun__3_09:06:09_2002-1 Content-Type: text/plain; charset=US-ASCII Content-Disposition: attachment; filename="fix-files" Content-Transfer-Encoding: 7bit #!/bin/sh perl -pi.orig -e "s@(dev/sound/pci/csa.c\s+optional pcm)@#\1@g;s@(csapcm.c\s+optional) pcm@\1 csa pcm@g" /sys/conf/files diff -u /sys/conf/files.orig /sys/conf/files --Multipart_Mon_Jun__3_09:06:09_2002-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603160942.031555D04>