ThinkPad T61, FreeBSD 7.1-stable and snd_hda

Alexander Motin mav at FreeBSD.org
Mon Jan 19 15:28:51 PST 2009


Torfinn Ingolfsen wrote:
> On Mon, 19 Jan 2009 18:00:40 +0200
> Alexander Motin <mav at mavhome.dp.ua> wrote:
> 
>> Looks mostly good, except speaker input was not traced properly.
>> Is everything else fine, or you have just missed the problem
>> description? :)
> 
> Everything else is working fine, no problem description needed. :-)

Fine. Try please this patch. It should give you analog PC-speaker 
working if it is connected in hardware. It should be controllable with 
speaker and mix controls.

>> PS: 7.1-STABLE already includes one SD card reader driver (sdhci).
>> Have you tested it before installing alternative one?
> 
> The sdmmc driver was therer from testing in the past.
> I was not aware of sdhci - thanks for mentioning it.
> 
> After I loaed mmcsd and mmc (I guess which one is loaed first doesn''t matter?) this happens when I insert a SD card (I have no mmc or memorystick cards - sorry) (from /var/log/messages):

1. Load order is not important.
2. MMC should work, while MemoryStick is different, practically closed 
standard and not implemented.

-- 
Alexander Motin
-------------- next part --------------
diff -ruNp hda2/hdac.c hda/hdac.c
--- hda2/hdac.c	2009-01-19 20:42:28.000000000 +0200
+++ hda/hdac.c	2009-01-20 01:24:47.000000000 +0200
@@ -2585,8 +2585,15 @@ hdac_widget_getcaps(struct hdac_widget *
 	   Change beeper pin node type to beeper to help parser. */
 	*waspin = 0;
 	switch (id) {
+	case HDA_CODEC_AD1882:
+	case HDA_CODEC_AD1883:
+	case HDA_CODEC_AD1984:
+	case HDA_CODEC_AD1984A:
+	case HDA_CODEC_AD1984B:
+	case HDA_CODEC_AD1987:
 	case HDA_CODEC_AD1988:
 	case HDA_CODEC_AD1988B:
+	case HDA_CODEC_AD1989B:
 		beeper = 26;
 		break;
 	case HDA_CODEC_ALC260:


More information about the freebsd-multimedia mailing list