Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 16:52:18 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Bohdan Horst <nexus@irc.pl>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Thinkpad 600E and sound 
Message-ID:  <20031119005218.54C425D07@ptavv.es.net>
In-Reply-To: Message from Bohdan Horst <nexus@irc.pl>  of "Wed, 19 Nov 2003 00:28:49 %2B0100." <20031118232849.GA18364@essus.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 19 Nov 2003 00:28:49 +0100
> From: Bohdan Horst <nexus@irc.pl>
> Sender: owner-freebsd-mobile@freebsd.org
> 
> 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 /
> _______________________________________________
> freebsd-mobile@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"
> 

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: oberman@es.net			Phone: +1 510 486-8634



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