Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2003 00:28:49 +0100
From:      Bohdan Horst <nexus@irc.pl>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Thinkpad 600E and sound
Message-ID:  <20031118232849.GA18364@essus.net>
In-Reply-To: <20031118192502.GD17016@zot.electricrain.com>
References:  <1069178129.218.12.camel@.sbtnvt.adelphia.net> <20031118192502.GD17016@zot.electricrain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 18, 2003 at 11:25:02AM -0800, Chris Doherty wrote:
> On Tue, Nov 18, 2003 at 12:55:29PM -0500, Jason Scott Musits said: 
> > Hey all,
> > 
> > I've been trying to get sound working on my Thinkpad 600E with FreeBDS
> > 4.8 but to no avail.  I seem to be having the same problem as Boris
> > http://www.geocrawler.com/archives/3/163/2002/8/0/9447156/.  I have
> > changed the appropriate lines in /sys/conf/files and am using the line:
> > device pcm0 at isa? port 0x52c irq 5 drq 1 flags 0x10
> > in my kernel configuration file.  If anyone has any ideas it would be
> > greatly appreciated.  
> 
> I have a 600E running -STABLE, and sound works with just these options:
> 
> device pcm
> options PNPBIOS
> 
> and maybe some BIOS tweak that I've forgotten about. :-) this yields the
> following line at boot:
> 
> pcm0: <CS423x-PCI> at port 0x530-0x53f,0x388-0x38b,0x220-0x233 irq 5 drq
> 1,0 on isa0
> 
> 
> one thing to be aware of is that pcm and APM do not play nice together: if
> you suspend the machine, sound will be broken until the next reboot. I
> doubt it's biting you now, of course.
> 

KERNEL:
[...]
#device          pcm
[...]

loader.conf:
[...]
snd_csa_load="YES"
[...]

dmesg:
[...]
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 7 at device 6.0 on pci0
csa: card is Thinkpad 600X/A20/T20
pcm0: <CS461x PCM Audio> on csa0
pcm0: <Cirrus Logic CS4297A AC97 Codec>
[...]

rc.suspend:
[...]
logger -t apmd suspend at `date +'%Y%m%d %H:%M:%S'`
kldunload snd_csa
sync && sync && sync
[...]

rc.resume:
[...]
logger -t apmd resumed at `date +'%Y%m%d %H:%M:%S'`
kldload snd_csa
mixer vol 85 pcm 85
[...]

and works fine for me :)))

-- 
 /  irl: Bohdan 'Nexus' Horst  |  irc: Nexus  \
{----------------------v-------^---------------}
 \ http://irc.pl/nexus | mailto: nexus&irc.pl /



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