From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 3 03:26:33 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A76D1E6 for ; Mon, 3 Feb 2014 03:26:33 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 15328157A for ; Mon, 3 Feb 2014 03:26:32 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id k4so9485253qaq.1 for ; Sun, 02 Feb 2014 19:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; bh=mux+9uipvR1quxvGYgTyGjwOJdaVdns5u+Bfgag1a+E=; b=L0VRdvYSGxezs+C6oI/rCzKthBWBkPPQF5k8PXNmQqmGrOcj3KAjkcMp5wWv6VcZpO T8bcqiHI0hZUe+zDUiRwYRXqSOsCoQhDrXVRmXQl8YySMWt4iwXuUyaUSZAXKg1kouN5 dEuVqLwK7CcenwOKAwLy9VYsF/yv0jzHc2G6Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=mux+9uipvR1quxvGYgTyGjwOJdaVdns5u+Bfgag1a+E=; b=Ke0e1vO7KMaV82i7HgODabtqMi4uU/B6sa0xUYM2X4rcnuN+NYsnF23kKxsYmvY95z MUVO5Ew14+ghBcdxyE6JOdsrlaueLdE2i/u8389ALKVEUxbD2DrYkUA3QssantMwUp4/ C58Gz4yn1yXKAzBykId3S0Vqn3RCzuZqIi4BMRWFMrU7RxyW/EFHkzt2PyT/bFVnfCbq +pu1wxWIPLjymN0nk2vKt1QcnHQ6ze7lOpdaRLEuyr4sqsWaNjUXB4TD8VuaGmFoIybt yMqTL5ZuwkFCRfqYh00Ag8Vs/RfGYEpiGDw5X5ccCvNbH26s6k5U1PZNMiWc7YsZiBxt N3fw== X-Gm-Message-State: ALoCoQlG2CONM3WBDu6tZ+V46HpCgBhJ7etwL2B/egplCSAm5gGVo5QV5H3eKwHCM2UaH2K5Gtbo X-Received: by 10.224.165.133 with SMTP id i5mr53230334qay.75.1391397992085; Sun, 02 Feb 2014 19:26:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.30.229 with HTTP; Sun, 2 Feb 2014 19:26:02 -0800 (PST) From: Eitan Adler Date: Sun, 2 Feb 2014 22:26:02 -0500 Message-ID: Subject: Story of a laptop user To: desktop@freebsd.org, "freebsd-mobile@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 03:26:33 -0000 [ Meta: I will ask that people please change the subject line if they want to branch about discussing a particular issue or problem. This is a general post and I'm hoping it will generate a lot of discussion about the broader issues as well as specific problems I encountered. ] Hi all, This is a Lenovo Y580 laptop with uname -a: FreeBSD gravity.local 11.0-CURRENT FreeBSD 11.0-CURRENT #8 r261091: Thu Jan 23 21:32:51 EST 2014 eitan@gravity.local:/usr/obj/usr/src/sys/EADLER amd64 I've been using FreeBSD on this computer since February 1st, 2013. During this time I've tried to keep notes to myself about what works and what doesn't work so well. I wrote a similar email on February 3rd, 2013 to mobile@ and on November 14, 2013 to desktop@. This laptop comes with a small SSD (16GB) and a large (1TB) HDD. I have the operating system installed to the SSD and my homedir and most other data on the HDD. Both seem to fuction as expected. I use ZFS for all my filesystems including root. However I frequently notice absurdly slow access time to disk. It can take minutes to run ls on an empty directory. Critically, this also affects interactivity. When the disk is being hammered it is not possible to use the shell, browse the web, or perform other simple tasks. The issues with the trackpad losing click events have been resolved. However, since it doesn't register as a synaptic mouse light tapping gets registered as a click making typing difficult. I needed to setup xbindkeys to make the volume and mute work. They are now mapped to "mixer vol". These keys therefore only work when X is running. It would be great if we had a tool "keypressd" which would allow keypresses to be mapped to run arbitrary userland programs from both the console as well as X. The play/stop/rewind/next keys are mapped via xbindkeys to pianobar. Since this mapping is handled by xbindkeys they do not work with mplayer. The sleep key and wireless on/off key do nothing. It would be great to trap them and do something. The "Enable/Disable" screen key works as expected. The "switch screen" key requires xbindkeys support. newcons has solved the 'VT switching problem' mentioned in my previous emails. This seems to be functioning as expected. suspend/resume also functions even from within X. Related to X: I am running WITH_NEW_XORG. This laptop has nvidia optimus. However, it is not possible to use the nvidia card so I am stuck with Intel only at the moment. Linux appears to have some way to make use of the nvidia graphics card. It would be great to have this functionality in FreeBSD as well. The brightness keys on up and down change the ACPI brightness value. However I see no impact on the screen itself. It would be great to have some method of streaming ACPI events in userland (i.e., 'xev' for ACPI). This would make it easier to debug what is actually going on here. At the moment I am unable to get my USB mouse to be recognized at all. The driver has trouble attaching. I have sent multiple emails to usb@ and gotten some feedback and debugging done but no solution yet. Adrian and Cedric have been working on if_iwn support. There is already extensive discussion about this on -wireless. It connects to wireless networks but is very unoptimized. I see speeds of around 150 kB/s on even very fast networks. Other notes mostly copy pasted from my scratch file: /dev/speaker just does not function at all. if_alc does not function on this laptop. the boot method must be set to "legacy" in BIOS in order to boot. - chrome can not open PDFs inline like it can on other platforms. I believe this is a chrome limitation. - chrome segfaults within 5 minutes of use. It is not possible to use chrome as a web browser on a regular basis. - the lxpanel battery monitor is non-functional on FreeBSD. I believe it used to work but a recent update killed it. - xfce4-power-manager doesn't work as expected: the power cord symbol always shown (even when the laptop is running on batterly). In addition xfce4-power-manager can't suspend the laptop: the option appears greyed out. - skype video input appears to function. However, I get an error saying that audio output is non-functional. It isn't possible to hear any output from skype on my speakers. - wireless tethering using an android device just works. However, USB tethering doesn't function. FreeBSD sees android as a 'ugen' device. - Linux requires binary drivers to print to a Cannon "MX 880". However FreeBSD will not recognize such binaries and there is no version for FreeBSD. - Google Hangouts doesn't work on FreeBSD :( - Tethering with android requires an RDNIS driver which we don't have. -- Eitan Adler From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 4 21:05:08 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26113CF4; Tue, 4 Feb 2014 21:05:08 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C21991A9E; Tue, 4 Feb 2014 21:05:07 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id c9so14573631qcz.17 for ; Tue, 04 Feb 2014 13:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=fp+Lqf+QexzQjuVrLcV8w98ur1aEEpFltqJlXgJF8L0=; b=b6PkyOZe9a8Hzdr81nXRf95HzLvH518GkLG6MsuRhvVQs2Db4Y4ij/0HXyUTBNlpb/ C6byiDfXUSN6V1tboVtK6RyG8zk1KL1/0xZU4Ho/bg9U6HTTta+PJ4cQpFZYfKJwu8I/ moerSOMh9GkPDrSdFJ5sADUU5QT9E4k+LjHd5hBXFLM+IlWniWsS7G8zLT0wb/JlqJwp EkGrF4kfXOp7RO3VW0SYXHNIWsS6HMokPt86n9CjxQf8GB8pS0DM7mX+Th+GfjVQoUCO gig5Yfqv5mQpw5HLjgQSRBB6u17e5hiKN4nz40L5iMacZghXXimfE/73zRQIXdGJqILO XG6Q== MIME-Version: 1.0 X-Received: by 10.224.160.195 with SMTP id o3mr19797472qax.98.1391547907043; Tue, 04 Feb 2014 13:05:07 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Tue, 4 Feb 2014 13:05:06 -0800 (PST) In-Reply-To: References: Date: Tue, 4 Feb 2014 13:05:06 -0800 X-Google-Sender-Auth: CfjzVJU31TyJTGztO1NjMDY2QeY Message-ID: Subject: Re: Story of a laptop user From: Adrian Chadd To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 21:05:08 -0000 Hi, These should be wiki pages. Like the thinkpad wiki has for Linux. I'll go add pages for the T42, T60, T400 and X230 if you add yours. So: * iwn ; yeah, its crap. nothing I can do about that. * volume controls - we need to teach the acpi_ibm and/or keyboard driver about them. For example, they plain do nothingon the X230 I have. The T60 - it adjusts the global mixer. The T400 - it adjusts the current app volume (eg, when in vlc it adjusts vlc.) It isn't consistent or useful. * the brightness keys - is this occuring because you have acpi_ibm loaded? I have a feeling the root problem there is again to do with the ACPI DSDT and acpi_ibm / acpi_video adjusting the wrong bits. My T400 suffers the same. Can you install the acpi_call package and search the archives for the posts that say what to do? * .. and when you create the wiki page for your laptop, would you please upload the acpi dump? (acpidump -dt > /tmp/blah.txt) That way we can see what parts of the tree(s) it's attaching things to. * same with devinfo -v Thanks, -a From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 4 21:39:44 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D108089F for ; Tue, 4 Feb 2014 21:39:44 +0000 (UTC) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 863E91E16 for ; Tue, 4 Feb 2014 21:39:44 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id m20so14628440qcx.37 for ; Tue, 04 Feb 2014 13:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KbfcyBs78Z2UjAnuzXEhEDlqTTScTX3QZkUVYyb7GCo=; b=Iv9b772HOFbtrF9Eqf+Lo+JNNxxU+K8ziGXr3+u2oL3haQEU1NfsnjdU2sCM3O410K oM0Hp8X3+l+NUY1daBN+NgWEs0EE9vsdUZs/ibwze5r2e3NULCWHZQLqngcYhOZjiI0t QMImV2Mg/rR7JxrCLJ8CbwEF7bvYks8OnePy0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=KbfcyBs78Z2UjAnuzXEhEDlqTTScTX3QZkUVYyb7GCo=; b=I7jhHQkgTTcuwlUnjGGoVIBgafP7iuez+IWLuV06nUgOdgsHyE02kIhz9dvt/H0wAE fxwcTLzz7oEMoIindGgrKZMm4gxDd9l0Hn2FxYAbx9yoWtwMhGAfCdOg3fxGocUSGUeN cap9kR5uWvFsc7foXZIV0EAJPrQwGmJJi7nQjgNc79vj3F1cLBGEtI/8+ML4CfBUJMxk N522edDYw92lo5bBLTWjZfcO64aQLnqODpL8B5DWwvc0o+Q2X8rQm2qyZYEZcrCvc0Z7 MHUCDyuD6Tb7corIvgOeTTBr2ZrfTaPPjNt8B0VaM0SLV0pk91XuAK3RodYZqoDpeyQm gSQQ== X-Gm-Message-State: ALoCoQmsQhc/SY7xW9PeW3yRlIJKJ/+dysySAviZBFTi6VN/EfMo2OfjcFbd6kORml4FD/IiXCmQ X-Received: by 10.140.80.53 with SMTP id b50mr66479986qgd.43.1391549983774; Tue, 04 Feb 2014 13:39:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.30.229 with HTTP; Tue, 4 Feb 2014 13:39:13 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Tue, 4 Feb 2014 16:39:13 -0500 Message-ID: Subject: Re: Story of a laptop user To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 21:39:44 -0000 On Tue, Feb 4, 2014 at 4:05 PM, Adrian Chadd wrote: > So: > > * iwn ; yeah, its crap. nothing I can do about that. :( > * volume controls - we need to teach the acpi_ibm and/or keyboard > driver about them. For example, they plain do nothingon the X230 I > have. The T60 - it adjusts the global mixer. The T400 - it adjusts the > current app volume (eg, when in vlc it adjusts vlc.) It isn't > consistent or useful. Agreed. > * the brightness keys - is this occuring because you have acpi_ibm > loaded? I have a feeling the root problem there is again to do with > the ACPI DSDT and acpi_ibm / acpi_video adjusting the wrong bits. My > T400 suffers the same. acpi_video is required but acpi_ibm is not. This creates hw.acpi.video.lcd0.brightness which change. However there is no visible change on the screen. > Can you install the acpi_call package and > search the archives for the posts that say what to do? I've been though this before. None of the proposed commands do anything useful. > * .. and when you create the wiki page for your laptop, Any proposed format or data? An unstructured copy and paste of my email isn't that useful. > would you > please upload the acpi dump? (acpidump -dt > /tmp/blah.txt) That way > we can see what parts of the tree(s) it's attaching things to. I've posted this before: http://freebsd.org/~eadler/files/acpi.txt.gz > * same with devinfo -v This request is new: http://freebsd.org/~eadler/files/acpi.txt.gz -- Eitan Adler From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 09:31:11 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E5FBF2D for ; Wed, 5 Feb 2014 09:31:11 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 34B4813DF for ; Wed, 5 Feb 2014 09:31:11 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id A0E996A6006 for ; Wed, 5 Feb 2014 10:31:08 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 05 Feb 2014 10:31:08 +0100 From: Lars Engels To: freebsd-mobile@freebsd.org Subject: Re: Story of a laptop user In-Reply-To: References: Message-ID: <425000f7fa82a9e75485b868cf60bdab@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 09:31:11 -0000 Am 2014-02-04 22:05, schrieb Adrian Chadd: > Hi, > > These should be wiki pages. Like the thinkpad wiki has for Linux. I'll > go add pages for the T42, T60, T400 and X230 if you add yours. > > > So: > > * iwn ; yeah, its crap. nothing I can do about that. > * volume controls - we need to teach the acpi_ibm and/or keyboard > driver about them. For example, they plain do nothingon the X230 I > have. The T60 - it adjusts the global mixer. The T400 - it adjusts the > current app volume (eg, when in vlc it adjusts vlc.) It isn't > consistent or useful. > * the brightness keys - is this occuring because you have acpi_ibm > loaded? I have a feeling the root problem there is again to do with > the ACPI DSDT and acpi_ibm / acpi_video adjusting the wrong bits. My > T400 suffers the same. Can you install the acpi_call package and > search the archives for the posts that say what to do? > * .. and when you create the wiki page for your laptop, would you > please upload the acpi dump? (acpidump -dt > /tmp/blah.txt) That way > we can see what parts of the tree(s) it's attaching things to. > * same with devinfo -v > > Thanks, The wiki pages are a good idea! Is there anything we can use from Linux' ibm-acpi module? http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 18:18:30 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3250E3FF for ; Wed, 5 Feb 2014 18:18:30 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E2ECF17D0 for ; Wed, 5 Feb 2014 18:18:29 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id e16so1248924qcx.38 for ; Wed, 05 Feb 2014 10:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+3ev2hySdef/Uhvd3x8g9Sqmv3TXki2k7xeCE0gWsFg=; b=t90SAnfObGyg1mos2aTnh1CpZWxN5ckK0o91J98cxCN0uME/Q4ZXJMDuk8Wi6hsQiQ dmPzYJMBWELurlQleMLW4gIRtuGWz6g98o+UwOOzmMvxh5KNh9B5QRLGiBRtxsKHJg09 eRwLA5GqiP+qwq+SzCL384a3xMNMy7Ap0tpQripsDHV5tSV3N30b5OTWRXezbDlVRC8x ABKw4+aaTRGBkAfVdI/oqwxEwShoRoV/8zYBlmABNR7/gvydu/tk5t6/iaYNGB1p5zQ/ KGXrZllNPbCBMEt3VWazXXxJiXt1SyCLiyiqd2VGQPQQsubWafgz8wUION3osbejPhQX pKVQ== MIME-Version: 1.0 X-Received: by 10.140.108.74 with SMTP id i68mr4653029qgf.87.1391624308864; Wed, 05 Feb 2014 10:18:28 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Wed, 5 Feb 2014 10:18:28 -0800 (PST) In-Reply-To: <425000f7fa82a9e75485b868cf60bdab@mail.0x20.net> References: <425000f7fa82a9e75485b868cf60bdab@mail.0x20.net> Date: Wed, 5 Feb 2014 10:18:28 -0800 X-Google-Sender-Auth: PvddJE0qUc9mfP2FJj8XUZRRhFw Message-ID: Subject: Re: Story of a laptop user From: Adrian Chadd To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 18:18:30 -0000 It's all merged into the latest 3.x linux kernel. And I dunno. The linux acpi probe and acpi video code is all over the place. -a On 5 February 2014 01:31, Lars Engels wrote: > Am 2014-02-04 22:05, schrieb Adrian Chadd: > >> Hi, >> >> These should be wiki pages. Like the thinkpad wiki has for Linux. I'll >> go add pages for the T42, T60, T400 and X230 if you add yours. >> >> >> So: >> >> * iwn ; yeah, its crap. nothing I can do about that. >> * volume controls - we need to teach the acpi_ibm and/or keyboard >> driver about them. For example, they plain do nothingon the X230 I >> have. The T60 - it adjusts the global mixer. The T400 - it adjusts the >> current app volume (eg, when in vlc it adjusts vlc.) It isn't >> consistent or useful. >> * the brightness keys - is this occuring because you have acpi_ibm >> loaded? I have a feeling the root problem there is again to do with >> the ACPI DSDT and acpi_ibm / acpi_video adjusting the wrong bits. My >> T400 suffers the same. Can you install the acpi_call package and >> search the archives for the posts that say what to do? >> * .. and when you create the wiki page for your laptop, would you >> please upload the acpi dump? (acpidump -dt > /tmp/blah.txt) That way >> we can see what parts of the tree(s) it's attaching things to. >> * same with devinfo -v >> >> Thanks, > > > > The wiki pages are a good idea! > > Is there anything we can use from Linux' ibm-acpi module? > > http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 18:25:05 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C00257C0; Wed, 5 Feb 2014 18:25:05 +0000 (UTC) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C2A1188D; Wed, 5 Feb 2014 18:25:05 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id w5so1103517qac.17 for ; Wed, 05 Feb 2014 10:25:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=us6Hju0v25TqOKWX3FVXbWc/zOCeYAw6dRCd5jCSVis=; b=I5gGqsT08J7Gn5p5h6CNlGZF7lQvJgpCPyfpZGuMaN1LZnHs4Qy0wYh6Rihc+ja4xF N/7xDz7thysX/JBSEn9jKjVr5R9DsxsgKKxMNWfYBdqIK31x9Tma3iGfurYz/6uoo/nt KRILz2jktrrSlKrqFe+ZIz3TpIWnvZ1aoBVjVRVh2bYy++ky8q85gj531rvBlPAr2+jp nuGJqOzqjGU41b9yEBcburSeba1EBzheD3jCBjUftB4OvdIcjFHKl3kVXCtE360nny+9 RSfgK51Qvfh6qItuerNR4aSlqB6/cK5Dz7rQPHuHyWeobapmYXBozym2k+KVdYGoxizd oniw== MIME-Version: 1.0 X-Received: by 10.140.98.135 with SMTP id o7mr4814321qge.102.1391624700823; Wed, 05 Feb 2014 10:25:00 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Wed, 5 Feb 2014 10:25:00 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Feb 2014 10:25:00 -0800 X-Google-Sender-Auth: 4QMNtvQ9hfSD2fHI3Jz6FsLXfTw Message-ID: Subject: Re: Story of a laptop user From: Adrian Chadd To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 18:25:05 -0000 hi, Try (if I'm reading your dump correctly): _SB.PCI0.PEG0.VGA.LCD._BCM _SB.PCI0.PEG1.VGA.LCD._BCM _SB.PCI0.GFX0.DD02._BCM .. god I wish we had a way to actually just dump the tree in a useful fashion to inspect what objects there are. Anyway, do the acpi_call hacks to various nodes that have _BCM in them and see if setting any of them changes your brightness. -a From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 19:15:22 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75848975 for ; Wed, 5 Feb 2014 19:15:22 +0000 (UTC) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A3B21D0F for ; Wed, 5 Feb 2014 19:15:22 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id c9so1400301qcz.13 for ; Wed, 05 Feb 2014 11:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ONyHrPoJsWv3+kW0udRHUBrAvPE04i42tFixXCt2Xs0=; b=k5QOlU2OdPGM+2tFmMwUL/vQlzBAOdNvOreC4btyuw1u7tE16XB7qRs18aRAuUVCrg XIKEmyGVVT7qCDOB7cIRTggt2ntGna7QMnopnciT7vVbb3fClKQcEn0H+rLNwNqWAEfF FrVNXAm64jwG7g1OLHRHzw+JcYF2NX5UyrC4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ONyHrPoJsWv3+kW0udRHUBrAvPE04i42tFixXCt2Xs0=; b=bjmehqwbhbasmYT0e40NxLqx7v+OkqN83Uj3KUwIlF2awJ9Tag3cH8BNY9Fn1/fjdd UBi/xkTYI1o2TVdU9QzQKj/Aa5ySvXmgxpIw1julbCP4vhP/l1jMCMBnDtvp2HOgUwZz nCWDmY8LngclnfnwLTmtsZeQ3QJ77ngOHwBmEgsQTkoIRTjmM5rKWKIfIj+LwqynclOo XZEMoheHj81wDYq0DPmGBwOHjquoul3K+jmyc7rUngU5YQByoNrRsUxhre9Ae9jbroNh 2lHlTmw889MS5HBm8/l8yz9rM15v21mhAXu5YpKBhdxR24Fy1jLsRJKJU/7mIiZp+4Xz j2xg== X-Gm-Message-State: ALoCoQm56KAsxPW0tFEoKHTgxLGuijA3O0Zfyq2M5hFZLG2EHvsHxWkDrz58HlKbUfdozYjIhHcs X-Received: by 10.224.44.8 with SMTP id y8mr5685521qae.44.1391627721338; Wed, 05 Feb 2014 11:15:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.30.229 with HTTP; Wed, 5 Feb 2014 11:14:51 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Wed, 5 Feb 2014 14:14:51 -0500 Message-ID: Subject: Re: Story of a laptop user To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 19:15:22 -0000 On Wed, Feb 5, 2014 at 1:25 PM, Adrian Chadd wrote: > hi, > > Try (if I'm reading your dump correctly): > > _SB.PCI0.PEG0.VGA.LCD._BCM > _SB.PCI0.PEG1.VGA.LCD._BCM > _SB.PCI0.GFX0.DD02._BCM > > .. god I wish we had a way to actually just dump the tree in a useful > fashion to inspect what objects there are. > > Anyway, do the acpi_call hacks to various nodes that have _BCM in them > and see if setting any of them changes your brightness. Nothing here changed the screen brightness. If you have another suggestion i'd be happy to try it. [10013 root@gravity (100%) /home/eitan ]#acpi_call -vp ' _SB.PCI0.PEG0.VGA.LCD._BCM' -o i Path: _SB.PCI0.PEG0.VGA.LCD._BCM Number of arguments: 0 Status: 4097 Result: 0 [10014 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.PEG0.VGA.LCD._BCM' -o i -i 1 Path: _SB.PCI0.PEG0.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 1 Status: 4097 Result: 0 [10015 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.PEG0.VGA.LCD._BCM' -o i -i 10 Path: _SB.PCI0.PEG0.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 10 Status: 4097 Result: 0 [10016 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.PEG0.VGA.LCD._BCM' -o i -i 0 Path: _SB.PCI0.PEG0.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 0 Status: 4097 Result: 0 [10017 root@gravity (100%) /home/eitan !1!]#dmesg [299022] ugen0.2: at usbus0 (disconnected) [10019 root@gravity (100%) /home/eitan ]#acpi_call -vp ' _SB.PCI0.PEG0.VGA.LCD._BCM' -o i -i 0 Path: _SB.PCI0.PEG0.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 0 Status: 4097 Result: 0 [10020 root@gravity (100%) /home/eitan !1!]#dmesg [10021 root@gravity (100%) /home/eitan ]#acpi_call -vp ' _SB.PCI0.PEG!.VGA.LCD._BCM' -o i -i 0 Path: _SB.PCI0.PEG!.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 0 Status: 4097 Result: 0 [10022 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.PEG1.VGA.LCD._BCM' -o i -i 0 Path: _SB.PCI0.PEG1.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 0 Status: 4097 Result: 0 [10023 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.PEG1.VGA.LCD._BCM' -o i -i 0 Path: _SB.PCI0.PEG1.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 0 Status: 4097 Result: 0 [10023 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.PEG1.VGA.LCD._BCM' -o i -i 10 Path: _SB.PCI0.PEG1.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 10 Status: 4097 Result: 0 [10024 root@gravity (100%) /home/eitan !1!]#acpi_call -vp ' _SB.PCI0.GFX0.DD02._BCM' -o i -i 10 Path: _SB.PCI0.GFX0.DD02._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 10 Status: 4097 Result: 0 [10025 root@gravity (100%) /home/eitan !1!]#acpi_call -vp '_SB.PCI0.GFX0.DD02._BCM' -o i -i 10 Path: _SB.PCI0.GFX0.DD02._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 10 Status: 4097 Result: 0 [10026 root@gravity (100%) /home/eitan !1!]#acpi_call -vp '_SB.PCI0.GFX0.DD02._BCM' -o i -i 100 Path: _SB.PCI0.GFX0.DD02._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 100 Status: 4097 Result: 0 [10027 root@gravity (100%) /home/eitan !1!]#acpi_call -vp '_SB.PCI0.GFX0.DD02._BCM' -o i -i 0 Path: _SB.PCI0.GFX0.DD02._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 0 Status: 4097 Result: 0 [10028 root@gravity (100%) /home/eitan !1!]#acpi_call -vp '_SB.PCI0.PEG1.VGA.LCD._BCM' -o i -i 10 Path: _SB.PCI0.PEG1.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 10 Status: 4097 Result: 0 [10029 root@gravity (100%) /home/eitan !1!]#acpi_call -vp '_SB.PCI0.PEG0.VGA.LCD._BCM' -o i -i 10 Path: _SB.PCI0.PEG0.VGA.LCD._BCM Number of arguments: 1 Argument 1 type: Integer Argument 1 value: 10 Status: 4097 Result: 0 [10030 root@gravity (100%) /home/eitan !1!]#dmesg [10031 root@gravity (100%) /home/eitan ]# -- Eitan Adler From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 19:42:52 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79C5BFE5; Wed, 5 Feb 2014 19:42:52 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 246D610F2; Wed, 5 Feb 2014 19:42:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id s15JgmH5050073; Wed, 5 Feb 2014 12:42:48 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id s15Jgmd2050070; Wed, 5 Feb 2014 12:42:48 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 5 Feb 2014 12:42:48 -0700 (MST) From: Warren Block To: Eitan Adler Subject: Re: Story of a laptop user In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 05 Feb 2014 12:42:48 -0700 (MST) Cc: Adrian Chadd , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 19:42:52 -0000 On Wed, 5 Feb 2014, Eitan Adler wrote: > On Wed, Feb 5, 2014 at 1:25 PM, Adrian Chadd wrote: >> hi, >> >> Try (if I'm reading your dump correctly): >> >> _SB.PCI0.PEG0.VGA.LCD._BCM >> _SB.PCI0.PEG1.VGA.LCD._BCM >> _SB.PCI0.GFX0.DD02._BCM >> >> .. god I wish we had a way to actually just dump the tree in a useful >> fashion to inspect what objects there are. >> >> Anyway, do the acpi_call hacks to various nodes that have _BCM in them >> and see if setting any of them changes your brightness. > > Nothing here changed the screen brightness. If you have another > suggestion i'd be happy to try it. Not ACPI, but maybe a way that will work: https://forums.freebsd.org/viewtopic.php?f=12&t=44146&p=249316 From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 20:19:40 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8915A90E for ; Wed, 5 Feb 2014 20:19:40 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3B31614C8 for ; Wed, 5 Feb 2014 20:19:40 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id n7so1531349qcx.2 for ; Wed, 05 Feb 2014 12:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=j/v1CJOi1OJNAAAvJkF2EhC/U2keUS48Gby/exsngBc=; b=ecd0KHg+Eg88aKv4Z+BO2QpuR3wnaLixzG7L/QimL4aQm3IYjTSdaQl1D0Bthw1C9+ 9KyqFN/JJulBHMuMERVQeAd40+6uxUO8XJk6DZspPhD06G1JyRxFDIxE5F4VmBojevoA 2iAkrXser+zVxngKoKSrW4Jvw3G0KkIqofv5c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=j/v1CJOi1OJNAAAvJkF2EhC/U2keUS48Gby/exsngBc=; b=UThs05KyN3USa1ZIrAoUJg+cjgAqDfWw9PhoGapbT/0+jEVbHlJMezKSO/PAQ/Dy2r Lw0P8njMMFHwpPQbdeNRtgNBgYJLRBQ10nFh02SPVCnRpvFfLrUU32s7wMlQ5t0uZXfV FeFvlM6PAepFLexrga8qQL9uSslgOvjmRN2v5kqRLqrgu5AzLFTrJc4wrxAZGIzQvzrt WeUV9irVlg8ST4Ir7LgarimVFvTIPaf7RLn/LJABfeMRhDqmrgjyWGCROd/fq04eVHFf JQj7/Of7rQjOEHoSPZ1CelNyyBqUiE7DBYJHb+jE8DCC4NevEghgDtCgFx1SExV0tNYF pEuA== X-Gm-Message-State: ALoCoQn4nb5AaeoEym6ZF9dt6V4c3cxVn4hpEFGo4Yhu6ztWuJwflz6yY90Rbxt/vsOZz5MQSL7h X-Received: by 10.140.80.53 with SMTP id b50mr5718185qgd.43.1391631576915; Wed, 05 Feb 2014 12:19:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.30.229 with HTTP; Wed, 5 Feb 2014 12:19:05 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Wed, 5 Feb 2014 15:19:05 -0500 Message-ID: Subject: Re: Story of a laptop user To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: Adrian Chadd , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 20:19:40 -0000 On Wed, Feb 5, 2014 at 2:42 PM, Warren Block wrote: > On Wed, 5 Feb 2014, Eitan Adler wrote: > >> On Wed, Feb 5, 2014 at 1:25 PM, Adrian Chadd wrote: >>> >>> hi, >>> >>> Try (if I'm reading your dump correctly): >>> >>> _SB.PCI0.PEG0.VGA.LCD._BCM >>> _SB.PCI0.PEG1.VGA.LCD._BCM >>> _SB.PCI0.GFX0.DD02._BCM >>> >>> .. god I wish we had a way to actually just dump the tree in a useful >>> fashion to inspect what objects there are. >>> >>> Anyway, do the acpi_call hacks to various nodes that have _BCM in them >>> and see if setting any of them changes your brightness. >> >> >> Nothing here changed the screen brightness. If you have another >> suggestion i'd be happy to try it. > > > Not ACPI, but maybe a way that will work: > https://forums.freebsd.org/viewtopic.php?f=12&t=44146&p=249316 That 'worked' in the sense that the program 'intel_backlight' changed the visible backlight. However, I'd still love to tie this functionality in with the brightness keys on the keyboard. Thanks for the info! -- Eitan Adler From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 5 20:19:46 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29C0D915; Wed, 5 Feb 2014 20:19:46 +0000 (UTC) Received: from archeo.suszko.eu (archeo.unixguru.pl [IPv6:2001:41d0:1:f47a::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8EBC14CC; Wed, 5 Feb 2014 20:19:45 +0000 (UTC) Received: from archeo (localhost [127.0.0.1]) by archeo.suszko.eu (Postfix) with ESMTP id C14962063815; Wed, 5 Feb 2014 21:19:43 +0100 (CET) X-Virus-Scanned: amavisd-new at archeo.local Received: from archeo.suszko.eu ([127.0.0.1]) by archeo (archeo.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zYID60f1l4WE; Wed, 5 Feb 2014 21:19:43 +0100 (CET) Received: from leo.lan (89-66-16-9.dynamic.chello.pl [89.66.16.9]) by archeo.suszko.eu (Postfix) with ESMTPSA id 1A7102063804; Wed, 5 Feb 2014 21:19:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suszko.eu; s=dkim; t=1391631583; bh=G64syGOtQvLHNRota8zQfOV2G5xBKtY7sC4Aw5Rc4eQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=r4FjqfEH+usuh6PkSwX5pNUclDOGayz3amEX8dAez4ti1oLg6KK50bDwo3KzeKBLs THn0xzz/JfXQD3S9zNYBB+pV6sRUDhfJCRV51TMtmrtltI6ywKQihxyCtZ6B14osB8 HkDjt6H/qCTiTojyP4Ve9LjS5PlAGnm11Hsydb6Y= Date: Wed, 5 Feb 2014 21:19:37 +0100 From: Maciej Suszko To: Eitan Adler Subject: Re: Story of a laptop user Message-ID: <20140205211937.5633d21b@leo.lan> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/UCFf372SwP=pgwpRURx=BYY"; protocol="application/pgp-signature" Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 20:19:46 -0000 --Sig_/UCFf372SwP=pgwpRURx=BYY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, Mine is Lenovo L530... Onboard LAN works, original WiFi adapter (Centrino Wireless-N 2200) unfortunately not. Because of BIOS whitelist I had to rebrand some Atheros based card, change a bit ath related source code and now it's quite OK. Brightness control keys don't work (Fn+F8/F9) but using acpi_call kernel module brightness can be somehow adjusted: acpi_call -p '\VBRC' -i [0-15] Microphone mute key doesn't work - maybe it can be mapped - I haven't checked. Mute key almost work - I run Gnome and volume control show speaker muted but neither volume nor pcm in mixer change its value (probably can be fixed somehow). Find the linked pciconf, devinfo and acpidump dumps: http://archeo.suszko.eu/L530-acpidump.gz http://archeo.suszko.eu/L530-devinfo.gz http://archeo.suszko.eu/L530-pciconf.gz --=20 regards, Maciej Suszko. --Sig_/UCFf372SwP=pgwpRURx=BYY Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlLynN0ACgkQCikUk0l7iGocvgCeKkie08y9DuPQv91EYwFPYDG7 ucQAn2tCunYyMv9ER2LJ8pJqw56+zLoI =prQC -----END PGP SIGNATURE----- --Sig_/UCFf372SwP=pgwpRURx=BYY-- From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 7 00:09:33 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F7577A; Fri, 7 Feb 2014 00:09:33 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E1065156A; Fri, 7 Feb 2014 00:09:32 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id cm18so4117596qab.12 for ; Thu, 06 Feb 2014 16:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Xwq7W5F93ZRNzwlMga/e7QtSMZt9ZT1qnrKBuPQOaA0=; b=YmF9gxDFTts6Wu/dENlmSI2fLkD3qqVvbAvwKn8ADqpuVYyWFKd4JHptI0mLpdtarS badRqBrDn9Bp8K7eF2V1MmBGMW5aU9QM4wcClSlt45tR6KuiAhaJnQfy57s8XStGcl2t InM36gmGrZFUQaz7gSYCYPgBVATZNXj+IECqiGgHnLfo4x0Nh0E28UMyZXKA8/AIVJeE YEdgVBcpySg5bZOzRqAGSN5n0eIeCkyPU2X6lt+RJUqeLAtm96o/wPKmp3Fkq6Ttb/4j m+iCq3my5k7GCtung9vs3S01L3VfBw+1OXBeQJPE2MUcHdJCF6hx4be8tfPJwtRuSvzu +aGQ== MIME-Version: 1.0 X-Received: by 10.224.12.82 with SMTP id w18mr16902638qaw.28.1391731772074; Thu, 06 Feb 2014 16:09:32 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Thu, 6 Feb 2014 16:09:31 -0800 (PST) In-Reply-To: <20140205211937.5633d21b@leo.lan> References: <20140205211937.5633d21b@leo.lan> Date: Thu, 6 Feb 2014 16:09:31 -0800 X-Google-Sender-Auth: P-kcPD5cOnOCUxmDWNZsXm4Hu5E Message-ID: Subject: Re: Story of a laptop user From: Adrian Chadd To: Maciej Suszko Content-Type: text/plain; charset=ISO-8859-1 Cc: Eitan Adler , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 00:09:33 -0000 Would you please create a wiki page with this? I'll start a section tonight. -a On 5 February 2014 12:19, Maciej Suszko wrote: > Hi, > > Mine is Lenovo L530... Onboard LAN works, original WiFi adapter > (Centrino Wireless-N 2200) unfortunately not. Because of BIOS whitelist > I had to rebrand some Atheros based card, change a bit ath related > source code and now it's quite OK. > > Brightness control keys don't work (Fn+F8/F9) but using acpi_call > kernel module brightness can be somehow adjusted: > > acpi_call -p '\VBRC' -i [0-15] > > Microphone mute key doesn't work - maybe it can be mapped - I haven't > checked. Mute key almost work - I run Gnome and volume control show > speaker muted but neither volume nor pcm in mixer change its value > (probably can be fixed somehow). > > Find the linked pciconf, devinfo and acpidump dumps: > http://archeo.suszko.eu/L530-acpidump.gz > http://archeo.suszko.eu/L530-devinfo.gz > http://archeo.suszko.eu/L530-pciconf.gz > -- > regards, Maciej Suszko. From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 7 00:11:47 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9B1CFA; Fri, 7 Feb 2014 00:11:47 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7FC9115DC; Fri, 7 Feb 2014 00:11:47 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id i8so4567875qcq.4 for ; Thu, 06 Feb 2014 16:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Nin9J1KBvMUXkzhaRe1hfRArdX3RzkHKXnU0l3+ewD0=; b=a7Of+pU6SMCyLc6rY5O3Y2ABrik+VPS62mbIilJz6R97hRgzElDJJz267sMTJaGDlY sU0e2eLWr/uOneYnlE+ez/WMUKmF78WWBL8SzW4XC9gcDteZqjGvC0wsENeix4spifCG mvlHbSbhpSNm7fFamcyUoWhdhHt9htPSL57kgzxmfFr9uvBwl37MqwNq75jsuZCY1oDq D/4ak57vZrR76OUjNk4bP7M7bv7Pj0ltNUTF5Db/fnYdRXfGTtLmTHrnCOIzkmEAj3Vr 3EMbCRGw4HagSMmhT6ljuqwlDXkz1/gyOLD2dpyxXtK8yzFUyjaCSYOiMO7EDj1u8KMf 73QQ== MIME-Version: 1.0 X-Received: by 10.140.49.239 with SMTP id q102mr15794048qga.103.1391731906681; Thu, 06 Feb 2014 16:11:46 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Thu, 6 Feb 2014 16:11:46 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Feb 2014 16:11:46 -0800 X-Google-Sender-Auth: 5-zWbKOfhXiGDwbrG21_4kZzkwU Message-ID: Subject: Re: Story of a laptop user From: Adrian Chadd To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 00:11:47 -0000 Well, the trick is to tie it in with whatever other fondling the intel xorg stuff is doing, so things don't clash. How's linux do this? Is there an intel backlight control kernel module for this? -a On 5 February 2014 12:19, Eitan Adler wrote: > On Wed, Feb 5, 2014 at 2:42 PM, Warren Block wrote: >> On Wed, 5 Feb 2014, Eitan Adler wrote: >> >>> On Wed, Feb 5, 2014 at 1:25 PM, Adrian Chadd wrote: >>>> >>>> hi, >>>> >>>> Try (if I'm reading your dump correctly): >>>> >>>> _SB.PCI0.PEG0.VGA.LCD._BCM >>>> _SB.PCI0.PEG1.VGA.LCD._BCM >>>> _SB.PCI0.GFX0.DD02._BCM >>>> >>>> .. god I wish we had a way to actually just dump the tree in a useful >>>> fashion to inspect what objects there are. >>>> >>>> Anyway, do the acpi_call hacks to various nodes that have _BCM in them >>>> and see if setting any of them changes your brightness. >>> >>> >>> Nothing here changed the screen brightness. If you have another >>> suggestion i'd be happy to try it. >> >> >> Not ACPI, but maybe a way that will work: >> https://forums.freebsd.org/viewtopic.php?f=12&t=44146&p=249316 > > That 'worked' in the sense that the program 'intel_backlight' changed > the visible backlight. However, I'd still love to tie this > functionality in with the brightness keys on the keyboard. > > Thanks for the info! > > > -- > Eitan Adler From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 7 00:35:15 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03EE33DD for ; Fri, 7 Feb 2014 00:35:15 +0000 (UTC) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BB3991779 for ; Fri, 7 Feb 2014 00:35:14 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id as1so1237369iec.16 for ; Thu, 06 Feb 2014 16:35:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=wLsWdp6Ui4pBYJ9p8rWOdWv8ni1Ymx+toJpGxJuHZBY=; b=REDIVC3A5em/8GfnN4IbWWljH26GVbHcTneTbdSW18xIvHmLSlvu9DvHQLp0zRTdbl o7CxYTdv7e2mqWGPYbeFFSkb99buJcQ27CgfLeMLWLozqdgR4Du2QpydL+6nSiDa7VdH a+0eURqldKY4mDjqrkvx7eo9JBmfTT3u2u49tq/zDUOdAj/Y+lwp6mmMh+fxcDmQakc2 2DiJpHGMFZTZ/Z98BIJdUCOpjqYn2cZVWyb/X9J2TS5lGKY+7CrMh7flRXH1WnbK8tdT 7ylfJfKHiHSl7WEuypgY8grcyMd0Py68kwhl9Eu0aUoKW8upVFRK1HHa+Tz9LQrTZ8Y8 eBNQ== X-Gm-Message-State: ALoCoQkiQ7irte5zZ8dCVyvsqrL3rnlAaLdBITRcR5a6xjuu08Ms8OrflK0KjYB7M7lS7PjIzDjyFyK8pR4Drdqn0aN8sW0i3g== X-Received: by 10.50.43.199 with SMTP id y7mr2217554igl.43.1391733307879; Thu, 06 Feb 2014 16:35:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.128.200 with HTTP; Thu, 6 Feb 2014 16:34:52 -0800 (PST) In-Reply-To: References: From: "Lundberg, Johannes" Date: Fri, 7 Feb 2014 09:34:52 +0900 Message-ID: Subject: Re: Story of a laptop user To: Adrian Chadd Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Eitan Adler , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 00:35:15 -0000 Hi Sorry for cutting in on the thread like this but what you are talking about, I would like to do for the macbook. What is the recommenend way to get screen brightness and other functionality working? xbacklight does not work. I'm not sure if I use the intel backlight module correctly or if it evens works on macbook. Should we create an acpi_apple similar to acpi_ibm perhaps? And, while we working on the wiki pages, maybe it is time to update the macbook wiki page which is pretty old. I have a bunch of notes about running on macbook, dual boot setup etc. Thanks! -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Feb 7, 2014 at 9:11 AM, Adrian Chadd wrote: > Well, the trick is to tie it in with whatever other fondling the intel > xorg stuff is doing, so things don't clash. > > How's linux do this? Is there an intel backlight control kernel module for > this? > > -a > > > On 5 February 2014 12:19, Eitan Adler wrote: > > On Wed, Feb 5, 2014 at 2:42 PM, Warren Block wrote: > >> On Wed, 5 Feb 2014, Eitan Adler wrote: > >> > >>> On Wed, Feb 5, 2014 at 1:25 PM, Adrian Chadd > wrote: > >>>> > >>>> hi, > >>>> > >>>> Try (if I'm reading your dump correctly): > >>>> > >>>> _SB.PCI0.PEG0.VGA.LCD._BCM > >>>> _SB.PCI0.PEG1.VGA.LCD._BCM > >>>> _SB.PCI0.GFX0.DD02._BCM > >>>> > >>>> .. god I wish we had a way to actually just dump the tree in a useful > >>>> fashion to inspect what objects there are. > >>>> > >>>> Anyway, do the acpi_call hacks to various nodes that have _BCM in them > >>>> and see if setting any of them changes your brightness. > >>> > >>> > >>> Nothing here changed the screen brightness. If you have another > >>> suggestion i'd be happy to try it. > >> > >> > >> Not ACPI, but maybe a way that will work: > >> https://forums.freebsd.org/viewtopic.php?f=12&t=44146&p=249316 > > > > That 'worked' in the sense that the program 'intel_backlight' changed > > the visible backlight. However, I'd still love to tie this > > functionality in with the brightness keys on the keyboard. > > > > Thanks for the info! > > > > > > -- > > Eitan Adler > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 7 02:00:33 2014 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AEB7F39 for ; Fri, 7 Feb 2014 02:00:33 +0000 (UTC) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C92321D47 for ; Fri, 7 Feb 2014 02:00:32 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id w5so4193723qac.17 for ; Thu, 06 Feb 2014 18:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; bh=bMfJTa8ytZqsyVpED7hNvQTTWfbOJHmunsX1/mQNnV4=; b=kVIu/WsLqDrcjVDIzfIFmn4zGhWvdcUG+dGVLJi3hDzuCETRLmoeupa8q4SQkSFyS8 AvFrUnEZOy9r2pLMaEn6Wygm5OXXDlDiscE97YTCBm7S3nYxI9AlTjIf1c8w7rZ7YwX7 J7/kEMzqSFkoUTT6WpMCFbWWQJcptOPGXpr0U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=bMfJTa8ytZqsyVpED7hNvQTTWfbOJHmunsX1/mQNnV4=; b=KR47PH5DmzTRth/rodcdMuFcge5HU0E80LD5xeiu7/rfrCVOzzHdPiRk8xeiUHRrMo 2GkTqssNm5YWbBIm/LB1HCCI5C9oNk4sjEyE8d4DEA6IiwySeIusrZX9qz5DurfCPHqS ruXNiw9Pj8btNpEpZ7e2R80vk+6IMMtCVtWmnKUauO4S42jwJJMDW2Az4lhj1Qj9hV3o 8+CV7Z7FgabbZQ0zKUPdQmR/XM89Pf/kxZ3NwWDd5A+cbPZ2BWAKFui4bBFSf2uT+uY3 JbIEX0IZ316j9DayMaUpeY++9Tgj5uOqFpuS7G7m100yaJiJMCLFeilxRx9EbmBjQI+0 1JjA== X-Gm-Message-State: ALoCoQlCGVEWc+LigmLCHjKRKShCG3iWcnExVJrIdE6hNmgarTWBC1jGjXLAqCnVbv5Y1FeaJnGF X-Received: by 10.224.76.74 with SMTP id b10mr17622321qak.38.1391738431993; Thu, 06 Feb 2014 18:00:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.30.229 with HTTP; Thu, 6 Feb 2014 18:00:01 -0800 (PST) From: Eitan Adler Date: Thu, 6 Feb 2014 21:00:01 -0500 Message-ID: Subject: usb tethering works on HEAD! (was: story of a desktop user) To: desktop@freebsd.org, "freebsd-mobile@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 02:00:33 -0000 On Sun, Feb 2, 2014 at 10:26 PM, Eitan Adler wrote: > - Tethering with android requires an RDNIS driver which we don't have. hselasky@ fixed this issue as of r261541! -- Eitan Adler