Re: Thinkpad 600E and sound

"Kevin Oberman" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
> Date: Wed, 19 Nov 2003 00:28:49 +0100
> From: Bohdan Horst <[email protected]>
> Sender: [email protected]
> 
> 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 /
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "[email protected]"
> 

Note that the sound system on the 600E is very different from the 600X
Loading SND_CSA will not work on the 600E. The 600E is very weird in
how it interfaces the sound chip.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [email protected]			Phone: +1 510 486-8634
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.