Date: Wed, 25 Apr 2001 12:46:39 -0700 (PDT) From: David Wolfskill <david@catwhisker.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/26854: Fix for hardware mute for ESS Technology Maestro-2E on Compal N38W2 Message-ID: <200104251946.f3PJkdS12676@bunrab.catwhisker.org>
next in thread | raw e-mail | index | archive | help
>Number: 26854 >Category: bin >Synopsis: Better fix for ESS Technology Maestro-2E hardware mute >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 25 12:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: David Wolfskill >Release: FreeBSD 4.3-STABLE i386 >Organization: Wolfskill and Dowling Residence >Environment: System: FreeBSD m147.whistle.com 4.3-STABLE FreeBSD 4.3-STABLE #30: Wed Apr 25 06:43:02 PDT 2001 root@dhcp-140.catwhisker.org:/common/S1/obj/usr/src/sys/LAPTOP_30W i386 (I also use the same fix on the same hardware running 5.0-CURRENT. I've been tracking -STABLE daily, and -CURRENT nearly so (didn't build a couple of days ago, for example).) Hardware is a laptop made by Compal, model N38W2; it is sold by various vendors, and since it shares the same BIOS as the Dell Inspiron 5000e, I suspect that folks using those would also be affected (and jhb has, if I recall correctly, reported that it works for him -- though the current code (without that attached patch also works for him, but not for me)). Sound ("pcm" driver in kernel) shows up in dmesg: pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 7 at device 8.0 on pci0 There are a couple of (hardware) ways to toggle the "mute" switch for sound: there's a keyboard chord (Fn+End), and there are a couple of buttons under the left-hand lid latch: normally, one of these increases volume and the other decreases it. With this patch, pressing both will toggle mute. >Description: Without the (below) patch, hitting a "mute" chord generates the message: Mar 26 18:50:21 localhost /kernel: pcm0: pcm0: unknown HWVOL event 0x77 and the attempt to modify the mute setting fails. (Please see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=52506+0+archive/2001/freebsd-mobile/20010401.freebsd-mobile and its follow-on messages for additional details and context.) >How-To-Repeat: Get one of these laptops (more on the laptop is at http://www.catwhisker.org/~david/FreeBSD/laptop.html). Install FreeBSD on it. Try hitting a "mute" chord. >Fix: (The below patch may also be found in http://docs.freebsd.org/cgi/getmsg.cgi?fetch=60957+0+archive/2001/freebsd-mobile/20010401.freebsd-mobile. Please note jhb's comment on the patch in http://docs.freebsd.org/cgi/getmsg.cgi?fetch=82193+0+/usr/local/www/db/text/2001/freebsd-mobile/20010401.freebsd-mobile, as well as the one in http://docs.freebsd.org/cgi/getmsg.cgi?fetch=91616+0+archive/2001/freebsd-mobile/20010401.freebsd-mobile.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104251946.f3PJkdS12676>