From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 13:41:02 2013 Return-Path: Delivered-To: freebsd-questions@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 ESMTP id C485B61F; Wed, 14 Aug 2013 13:41:02 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.207]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 324C62BAB; Wed, 14 Aug 2013 13:41:01 +0000 (UTC) Date: Wed, 14 Aug 2013 15:40:58 +0200 From: vermaden Subject: Re: FreeBSD on ThinkPad W530 To: Adrian Chadd X-Mailer: interia.pl/pf09 In-Reply-To: References: X-Originating-IP: 84.39.173.245 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1376487659; bh=Is3r4xrNIrzk5fe10ymqLkfS60PN+RC3k1L1xoskrRs=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: X-Originating-IP:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=LEmeO1o7tM9I2p2M1XUwp34jETaAy1vTugiJbRoHWZOzTcQgQyYWTOE7UFQBFcIJ/ ro/XimAQ6S1SLIB9Q8XX7CjlIbhyIYw4qw8Ycse08P5CiK+uK4XPej2oKNAv8CTA85 ASMtSPElixg4+WgyGSMGrrmxsiC028t4BnmrUU8c= Cc: FreeBSD Questions , freebsd-mobile@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 13:41:02 -0000 Hi and thanks for reply ;) > Yay another FreeBSD laptop user! I use FreeBSD for dekstop/workstation for I do not remember how long: http://vermaden.deviantart.com/art/CorporateBSD-FreeBSD-at-Work-190680188 > Please do this: > * join the freebsd-mobile list;* create PRs for each of your problems with -10 above!; Here are created PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=181281 stack trace after successfull 'umount /mnt' (SDHC card mounted as msdosfs) http://www.freebsd.org/cgi/query-pr.cgi?pr=181282 3h of work on battery on FreeBSD while 10h on Windows http://www.freebsd.org/cgi/query-pr.cgi?pr=181283 acpi_ibm module is useless on ThinkPad W530 http://www.freebsd.org/cgi/query-pr.cgi?pr=181285 x11/xorg does not start if Nvidia Optimus is enabled on > * the power utilisation thing is going to be fun to track down - what kind of > CPU is in there? Is it a recent Intel? I'm playing around with their tools at the > moment; maybe we can look at the power the CPU is consuming and then > add on the power from each of the other parts in your laptop until we > figure out what's drawing said power > > * the brightness thing is known; a bunch of us have this issue and the "fix" > is known. Trouble is, there's no (yet) clean fix that's made it into acpi_ibm. > I'm glad there's another person who cares; it means we have more chance > of getting a real fix that works for multiple people into the tree. > > As for suspend/resume - I'm glad it at least works for you. Right now I > don't even get video output upon resume. But, it's a starting point. Let's > get the PRs filed, the brightness thing pushed into -HEAD, and then start > down the path of figuring out where the power consumption is coming > from. Here is the hardware information: Lenovo ThinkPad W530 cpu: Intel Core i7-3630QM (http://ark.intel.com/products/71459) (powerd works) ram: 16 GB DDR3 hdd: 256 GB SSD gfx: Intel HD 4000 (works with Optimus disabled in BIOS) gfx: Nvidia Quadro K2000 2 GB (works with Optimus disabled in BIOS) sdh: RICOH R5CE823 (SD/SDHC card reader works) wif: Intel Centrino Ultimate-N 6300 (works) The complete information (dmesg/dmidecode) is in the submitted PRs. Regards, vermaden | Hi, | | I have just tried FreeBSD on ThinkPad W530 and I must say that its very disapointing experience ... | | The FreeBSD 9.2-RC1 and PC-BSD 9.2-BETA2 does not even boot from the USB drive - instant kernel panic and reboot. | | The FreeBSD 10.0-CURRENT was able to boot successfully and I could install FreeBSD onto the drive with 'ZFS Madnss' style. | | After installation with extended battery charged to 100% I have about 3 hours of work ... while having about 10 hours on Windows (haven't tried Linux yet). I disabled discrete graphics (Nvidia) in the BIOS and also added set hw.pci.do_power_nodriver to 3, but that also did not solved the 'battery' problem. The powerd daemon was of course running and worked ok. | | After compiling new x11/xorg (with WITH_NEW_XORG in /etc/make.conf) along with x11-wm/openbox I was able to get X11 working, but I can not go back to console as its not implemented yet. | | The screen is 100% bright all the time because acpi_ibm module probably does not support this model yet (changing the dev.acpi_ibm.0.lcd_brightness is pointless, no effects). | | Suspend and resume works very poor, after resume the resolution is 640x640 with all colors broken, requires restarting X11 in 'blind mode' (not implemented console switching). | | Of course as all of the above is not possible, using the Nvidia Optimus technology (graphics card switching) is probably also not possible, which is possible with Bumblebee on Linux, any plans on merging that functionality into FreeBSD? | | At least WiFi and LAN worked out of the box ... | | | Now ... how can I help, what information can I provide to help resolve these issues: | | 1. disable power for discrete graphics card | 2. have working screen brightness changing and working other Fn + X shotrcuts | 3. I guess I will have to 'just wait' for the console switching implementation? | | ... or maybe I am doing it 'wrong' someone have W530 there and uses FreeBSD with any more degree of success then I? | | | Regards, | vermaden