Date: Thu, 04 Dec 2003 07:49:44 -0800 From: "Kevin Oberman" <oberman@es.net> To: Davis Doherty <doherty@math.washington.edu> Cc: freebsd-mobile@freebsd.org Subject: Re: pcm ain't working - running 5.1 on Thinkpad 600 Message-ID: <20031204154945.3177D5D04@ptavv.es.net> In-Reply-To: Message from Davis Doherty <doherty@math.washington.edu> <Pine.LNX.4.58.0312031642240.12216@zeno1.math.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 3 Dec 2003 16:52:41 -0800 (PST) > From: Davis Doherty <doherty@math.washington.edu> > Sender: owner-freebsd-mobile@freebsd.org > > > So I inherited this IBM Thinkpad 600 (not one of those fancy ones with a > letter after the 600) as my first laptop, and decided I would try (a) the > FreeBSD 5.x tree for the first time and (b) FreeBSD on a laptop for the > first time. Right now, the biggest nuisance is that I cannot, for the life > of me, get the sound to work. > > So far, I have tried putting > > device pcm > > in my kernel and compiling. After doing a make and a make install followed > by a reboot, I get the message > > pcm0: <CS423x> on isa0 > device_probe_and_attach: pcm0 attach returned 6 > > A quick 'less -f /dev/sndstat' shows no installed devices. Furthermore, > no sound-related device is present in /dev (there's no mixer, dsp, snd, > pcm, or what have you). Were I running any other tree, I'd think I had > forgotten to do a 'sh MAKEDEV snd0'. > > So then I follow the advice of 'man pcm' and add the lines > > hint.pcm.0.at="isa" > hint.pcm.0.irq="5" > hint.pcm.0.drq="1" > hint.pcm.0.flags="0x0" > > in my /boot/device.hints file, but to no avail -- absolutely nothing > changes (that I can tell, anyway). > > Just for fun, I even tried adding > > device csa > > to my kernel (though I didn't really expect this to work), and all that > changed was that the boot message above had 'pcm1' instead of 'pcm0'. > > Any suggestions will receive my hearty appreciation. First, your pcm.0.flags probably should be 0x10. You probably also will need hint.pcm.o.port="0x52c". Finally, if this is a 600E you need to edit /sys/conf/files. delete/comment out "dev/sound/pci/csa.c optional pcm pci" (be careful that you get the right one!) and edit the line after next to read "dev/sound/pci/csapcm.c optional csa pcm pci". I'm not confident that this is needed on a 600, though. FWIW, by probe line for the sound reads: pcm0: <CS423x-PCI> at port 0x220-0x233,0x388-0x38b,0x530-0x537 irq 5 drq 0,1 on isa0 It is a rather out-of-date system as it takes forever to build world and it's only a test system. It was built back in June, but I doubt that any of this has changed. Also, my 600E did not gat along with ACPI at all well and I use APM on it. -- 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?20031204154945.3177D5D04>