Re: HDA sound driver mod for thinkpad x60s

Eric Anderson <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Andrea Bittau wrote:
> [i sent this to fbsd multimedia.  I noticed a discussion about sound on x60s on
> fbsd mobile so I decided to send here too.  Lemme know if it worx.]
> 
> this is an ultra crude mod of Stephane's hdac driver.  It allows me to play
> music [and change the volume; w00t!] on my ibm x60s laptop.  I posted it in case
> anyone wanted a 0day sound driver for this laptop without having to wait until a
> stable and proper version comes out.
> 
> Doesn't support recording.  I'll probably do that next if no one writes
> something in the near future.
> 
> Stephane: if you are interested in me helping out with the "mainstream" driver,
> let me know.  My time is very limited [you can tell by reading the code] but I
> have all the info I need about this card in my head now, so I might be able to
> produce something useful.
> 
> [I'm not subscribed to the list---email me directly if you need to contact me.]
> 
> Driver:
> fetch http://darkircop.org/hdac.tgz
> tar zxvf hdac.tgz
> cd hdac
> make
> kldload ./hdac.ko

Cool!

I've got a Dell D820, and it builds and loads, making this dmesg output:

Jun  6 13:40:37 neutrino kernel: pcm0: <Intel 82801G High Definition 
Audio Controller> mem 0xdfffc000-0xdfffffff irq 21 at device 27.0 on pci0
Jun  6 13:40:37 neutrino kernel: init 0xc5011e80
Jun  6 13:40:37 neutrino kernel: pcm0: sndbuf_setmap 101000, 1000; 
0xc4ecd000 -> 101000
Jun  6 13:40:37 neutrino kernel: pcm0: Reserved 0x4000 bytes for rid 
0x10 type 3 at 0xdfffc000
Jun  6 13:40:37 neutrino kernel: ioapic0: routing intpin 21 (PCI IRQ 21) 
to vector 49
Jun  6 13:40:37 neutrino kernel: pcm0: [MPSAFE]
Jun  6 13:40:37 neutrino kernel: pcm0: Output Streams: 4, Input Streams: 
4, Bidirectional Streams: 0
Jun  6 13:40:37 neutrino kernel: pcm0: CORB Size: 256, RIRB Size: 256
[..snip..]
Jun  6 13:40:37 neutrino kernel: pcm0: <audio> at device 0:1 (no driver 
attached)
Jun  6 13:40:37 neutrino kernel: pcm0: <modem> at device 1:2 (no driver 
attached)
Jun  6 13:40:37 neutrino kernel: pcm0: Cap 1d0541 sf 0 st 0
Jun  6 13:40:37 neutrino kernel: pcm0: Set 0:3 10


I can't seem to play any audio tho..  I realize this isn't an IBM, but 
was hoping it would work.. :)

(I'm running 6.1-STABLE).

Let me know if you want any other debug info..

Thanks!!
Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------
_______________________________________________
[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.