From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 15 16:26:21 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3A6AEB6 for ; Sat, 15 Jun 2013 16:26:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8F51DC7 for ; Sat, 15 Jun 2013 16:26:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5FGQHFc080934; Sun, 16 Jun 2013 02:26:18 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 16 Jun 2013 02:26:17 +1000 (EST) From: Ian Smith To: Joseph Mingrone Subject: Re: Lenovo T530 - Battery Warnings (fwd) Message-ID: <20130616021813.C59753@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 16:26:21 -0000 Sorry, thought I was replying to the list too. Maybe this could be relevant to others who'll likely have the same issues, hope that's ok. ---------- Forwarded message ---------- Date: Sun, 16 Jun 2013 01:55:14 +1000 (EST) From: Ian Smith To: Joseph Mingrone Subject: Re: Lenovo T530 - Battery Warnings On Sat, 15 Jun 2013 12:03:14 -0300, Joseph Mingrone wrote: > Ian Smith writes: > > > On Sat, 15 Jun 2013 11:10:52 -0300, Joseph Mingrone wrote: > > > Ian Smith writes: > > > > if '# kldload speaker && spkrtest' makes useful noises on the > > > > speaker... > > > > > > Maybe this is the source of the problem. After loading speaker.ko and > > > running spkrtest I didn't hear anything. I verified in mixer that the > > > speaker was at 100:100. > > > > Ok, so the speaker is muted. The 'normal' IBM/Lenovo sound up/down/mute > > buttons don't do anything? > > The mute button does work. The volume up/down buttons work in X only after I put > the following in ~/.xbinkeyssrc: > > "/usr/sbin/mixer vol -5 pcm -5" > XF86AudioLowerVolume > "/usr/sbin/mixer vol +5 pcm +5" > XF86AudioRaiseVolume > > The microphone mute button isn't recognized by xev. > > > If so that's possibly an ACPI / BIOS issue I > > know nothing about. It is running acpi_ibm.ko I suppose? If so, what > > does 'sysctl dev.acpi_ibm' have to say? > > The acpi_ibm kernel module is loaded, it shows up in kldstat, but no message is > given in /var/run/dmesg.boot and nothing relevant appears in sysctl. Right; there's been quite a lot about this issue in freebsd-acpi for the last year and more, and various Lenovo *530 have come up (Y530 & E530). The bottom line seems to be that you need to patch acpi_ibm, or run stable/9 to pick up the patched version. I suggest browsing the acpi@ archives esp. for thread: "what is required to support a new laptop?" which highlights some differences between [45]20 and 530 series; I'm not sure anything I can find on a T500 is likely to help, but I'll see. A lot of the above is folks trying to get brightness controls working, but maybe if you get acpi_ibm loaded and functional it may help this? cheers (and out for now, Ian