freebsd-mobile Digest, Vol 539, Issue 2
PeerCorps Trust Fund
ipc at peercorpstrust.org
Tue Feb 3 14:40:15 UTC 2015
Very helpful conversation taking place here.
Is anyone currently running 10.1 on a Thinkpad x230? This seems to be the last in a series of otherwise wonderfully mobile work horses. The x240 now has soldered RAM among other issues.
M
On 02/03/2015 02:00 PM, freebsd-mobile-request at freebsd.org wrote:
> Send freebsd-mobile mailing list submissions to
> freebsd-mobile at freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> or, via email, send a message with subject or body 'help' to
> freebsd-mobile-request at freebsd.org
>
> You can reach the person managing the list at
> freebsd-mobile-owner at freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-mobile digest..."
>
>
> Today's Topics:
>
> 1. Re: Buying a laptop (Joseph Mingrone)
> 2. Re: Buying a laptop - used (Ian Smith)
> 3. Introduction (R0B_ROD)
> 4. Re: Buying a laptop (Kevin Oberman)
> 5. Re: Buying a laptop (Adrian Chadd)
> 6. Re: Buying a laptop (Joseph Mingrone)
> 7. HP 2B19WM PCI-E SD Reader (R0B_ROD)
> 8. Re: Introduction (John-Mark Gurney)
> 9. Re: Introduction (R0B_ROD)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 02 Feb 2015 10:32:47 -0400
> From: Joseph Mingrone <jrm at ftfl.ca>
> To: freebsd-mobile at freebsd.org
> Subject: Re: Buying a laptop
> Message-ID: <86lhkge640.fsf at gly.ftfl.ca>
> Content-Type: text/plain
>
> I also have had mostly positive experience with many Thinkpads. Note I
> said Thinkpads and not Lenovos.
>
> Erich Dollansky <erichsfreebsdlist at alogt.com> writes:
>> I use an Lenovo X220 with 10.1 since nearly three years.
>
> I also have an X220, running a recent 10-STABLE. Pretty much everything
> works including wireless with the Intel Centrino Advanced-N
> 6205 and suspend and resume. I haven't figured out how to control the
> brightness and there is an annoying BIOS (bug/feature). You can't
> legacy boot from a GPT-partitioned disk without UEFI.
>
> Joseph
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 3 Feb 2015 03:50:52 +1100 (EST)
> From: Ian Smith <smithi at nimnet.asn.au>
> To: parv <parv at pair.com>
> Cc: arnab bhowmick <arnabbhowmick111 at gmail.com>,
> freebsd-mobile at freebsd.org
> Subject: Re: Buying a laptop - used
> Message-ID: <20150202235524.B14398 at sola.nimnet.asn.au>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
> On Sun, 1 Feb 2015 21:14:58 -1000, parv wrote:
> > in message <20150201154129.J14378 at sola.nimnet.asn.au>,
> > wrote Ian Smith thusly...
> > >
> >
> > Hi Ian,
>
> Aloha parv!
>
> > > On Sat, 31 Jan 2015 04:51:30 -1000, Parv wrote:
> > ...
> > > > I am currently using a used Lenovo Thinkpad X200 with FreeBSD
> > > > 8. I have not tried using or setting at all any suspend-resume
> > > > setting. A 9-celll battery ([0], "47++", apparently bought new
> > > > about 2-3 years ago along with the 'puter) lasts for 4.5 hours.
> > >
> > > I bought a used X200 a year ago without AC adaptor or battery, so
> > > bought it a new 6-cell battery (47+) and 65W P/S (about AU$150).
> > > Using powerd - but not p4tcc or acpi_throttle - it runs almost 6
> > > hours on battery just idling and over 4 hours with moderate use,
> >
> > Sweet, Ian! Which version of FreeBSD are you running? 8-STABLE is on
> > my X200 for now; have been thinking (for a while) to update to
> > 10-STABLE.
>
> Presently 9.3-R sources, GENERIC plus a couple of patches and 9.2-R xorg
> and ports; too busy with other projects to update it and it's not broke.
>
> > > so your 9-cell battery may be getting a bit old, and/or you
> > > haven't optimised power usage?
> >
> > No, I have not used any power related things in FreeBSD itself. I do
> > have BIOS setup to maximum performance when connected to AC power;
> > optimize battery otherwise. One thing I am not sure is what happens
> > when booted up on battery & some time later connect to AC, and vice
> > versa.
>
> Below I'll include a small script that shows what's going on in that
> respect. I don't think the BIOS AC/battery performance settings have
> any effect at all in FreeBSD, but this script will tell you for sure.
>
> > In any case I will try powered, and possibly other things.
>
> https://wiki.freebsd.org/TuningPowerConsumption is a good place to
> start. Alexander goes to extremes - and doubles battery life - but the
> big ones are running powerd to only rev up the CPU/s when needed, and
> allowing use of C2 and C3 power states, which work reliably on these.
>
> In /boot/loader.conf:
>
> acpi_ibm_load="YES"
> hint.p4tcc.0.disabled=1
> hint.acpi_throttle.0.disabled=1
>
> This allows EST to run the CPUs at 800, 1600, 2400 & '2401' (turbo) MHz,
> where CPU power consumption is fairly proportional to frequency. Using
> p4tcc or acpi_throttle provides many more rates down to 100MHz, but they
> don't reduce power consumption, make powerd work slower and harder while
> shuffling frequency, and are removed as defaults from -CURRENT we hear.
>
> In /etc/rc.conf:
>
> performance_cx_lowest=C3 # you can use "Cmax" here, same on X200
> economy_cx_lowest=C3
> powerd_enable="YES"
> powerd_flags="-a adp -b adp -i 70 -r 90"
>
> Those powerd settings are you might say 'non-aggressive', only boosting
> speed on fairly high demand. Lots of fun tuning these to your workload.
>
> > > After a problem that affected many/most modern T and X series
> > > Lenovos regarding losing external USB ports on resume was resolved
> > > last year, suspend and resume work flawlesly; they're really nice
> > > little machines.
> >
> > Good to hear. Would that be suspend-to-RAM?
>
> Yes, FreeBSD doesn't do suspend to disk (ACPI state S4) unless BIOS
> supports it and none do these days, to my knowledge. I haven't done any
> real tests, but suspect the X200 would run for a week in S3 suspend (if
> you don't charge your mobile from its USB ports while suspended :)
>
> > > Arnab may not wish to buy anything as old as an X200 (C.2008),
> >
> > Oh, I remembered later somebody was running FreeBSD 11 on Macbook
> > Pro 2011 ...
> >
> > http://blog.foxkit.us/2015/01/freebsd-on-apple-macbook-pro-82-now.html?spref=tw
>
> That and its previous episode are really good posts for Mac people
> considering FreeBSD. If my daughter would only let me play with hers :)
>
> These also needed an ACPI fix mostly affecting HP laptops that's just
> been committed to 9 & 10 regarding reporting of AC/battery states etc.
>
> > > but could likely pick up an X210/220/230, or the larger
> > > T410/420/430 models at a good price.
> >
> > Sure. (I am also looking for another one, this time much lighter
> > than X200. Is Thinkpad X1 Carbon II any lighter, I wonder.)
>
> I expect so. And I expect they may work with 9.x and 10.x by now,
> there's been some good ACPI and video stuff MFC'd lately I gather.
>
> https://wiki.freebsd.org/Laptops/Thinkpad_X1_Carbon
>
> Also - though out of date re Lenovo problems having dead USB on resume:
>
> https://wiki.freebsd.org/SuspendResume
>
> > > Very latest models may still have some issues with video?
> >
> > Well, somebody had reported success|progress with Intel i915 on
> > 11-CURRENT (and somebody else had working suspend-resume with
> > "recent HEAD" on X230) ...
> >
> > https://twitter.com/etnapierala/status/561500382850215936
>
> I can't keep track of it at all nowadays .. but I don't think you need
> to run -CURRENT except perhaps newest laptops with latest chipsets, and
> except perhaps for the latest wireless work, lacking helpers to MFC it.
>
> cheers, Ian
>
> Oh yes, scripts; I use this one often:
> % cat /root/bin/x200stat
> #!/bin/sh
> t=" "
> echo -n "`date` "
> sysctl dev.cpu.0.freq
> echo "`sysctl -n dev.cpu.0.cx_usage` $t `sysctl -n vm.loadavg`"
> echo "`sysctl -n dev.cpu.1.cx_usage` $t { `sysctl -n kern.eventtimer.timer` }"
> sysctl dev.acpi_ibm | egrep 'fan_|thermal'
> sysctl hw.acpi.thermal.tz0.temperature
> sysctl hw.acpi.thermal.tz1.temperature
> acpiconf -i0 | egrep 'State|Remain|Present|Volt'
>
> And also added to /etc/devd.conf
>
> notify 10 {
> match "system" "ACPI";
> match "subsystem" "CMBAT";
> action "/root/bin/acpi_cmbat $notify";
> };
>
> % cat /root/bin/acpi_cmbat
> #!/bin/sh
> #% acpi_cmbat 27/6/14 for CMBAT notifies. from /etc/rc.d/power_profile
> LOGGER="logger -t acpi_cmbat -p daemon.notice"
> notify=$1
> ${LOGGER} "CMBAT notify = $1"
> #% 27/10/14 logs at 3%, 20%, 80% and discharging, high & charging states
> /root/bin/x200stat >> /root/acpi_cmbat_events.log
> echo "CMBAT status: notify = $1" >> /root/acpi_cmbat_events.log
> exit 0
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 02 Feb 2015 12:47:38 -0500
> From: R0B_ROD <witchdoctor.mdf at gmail.com>
> To: freebsd-hackers at freebsd.org, freebsd-mobile at freebsd.org
> Subject: Introduction
> Message-ID: <54CFB83A.9080106 at gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hello!
> I am merging from Arch Linux, which seems that
> they copied BSD a lot. :P
> I am excited to be here. I have never been on a mailing list.
> My goal is to be a developer of any kind some day.
> I am always on my laptop since life has dealt me a bad hand.
> Maybe I haven't been very responsible. Who knows?
> Trying to do better each day. Looking to make life-long friends.
> My spirit is still in the 70's although I am only 30 y/o.
> I do feel like I was living in the time and still carry the
> 'loving-curious-rebel' attitude. Thanks for reading my ramble.
>
> r0b-r0d at rama-hkr:~ % uname -a
> FreeBSD 10.1-RELEASE #0 r274401
> Tue Nov 11 21:0249 UTC 2014
> root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
> HP 2B19WM : 4GB RAM : AMD64 E-300 1.4GHz : ATI Radeon 6310HD
>
> -Roberto Rodriguez Jr.
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 2 Feb 2015 10:09:09 -0800
> From: Kevin Oberman <rkoberman at gmail.com>
> To: Joseph Mingrone <jrm at ftfl.ca>
> Cc: "freebsd-mobile at freebsd.org" <freebsd-mobile at freebsd.org>
> Subject: Re: Buying a laptop
> Message-ID:
> <CAN6yY1sFh9TT=OHjX++eFr58=QFHFLWx_OieQe-ZeJBRfUPwFA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Feb 2, 2015 at 6:32 AM, Joseph Mingrone <jrm at ftfl.ca> wrote:
>
>> I also have had mostly positive experience with many Thinkpads. Note I
>> said Thinkpads and not Lenovos.
>>
>> Erich Dollansky <erichsfreebsdlist at alogt.com> writes:
>>> I use an Lenovo X220 with 10.1 since nearly three years.
>>
>> I also have an X220, running a recent 10-STABLE. Pretty much everything
>> works including wireless with the Intel Centrino Advanced-N
>> 6205 and suspend and resume. I haven't figured out how to control the
>> brightness and there is an annoying BIOS (bug/feature). You can't
>> legacy boot from a GPT-partitioned disk without UEFI.
>>
>> Joseph
>
>
> Head was recently fixed so that brightness now works fine. The patch
> applies cleanly to 10-stable (and 10.1) if you want to try it. My T520 has
> had working brightness since. Yes, it works with the Fn+HOME and Fn+END
> keys that are marked as brightness up and down on the keyboard. The patch
> is to the ACPI code in dev/drm2/i915.intel_opregion.c, though small changes
> were made to a couple of other files to enable access to the new code,
>
> It's in head as r270516 and Adrian has thus far not MFCed to 10-STABLE. If
> it works for you, you might let him know that you would like to see it done.
> --
> Kevin Oberman, Network Engineer, Retired
> E-mail: rkoberman at gmail.com
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 2 Feb 2015 10:35:37 -0800
> From: Adrian Chadd <adrian at freebsd.org>
> To: Kevin Oberman <rkoberman at gmail.com>
> Cc: Joseph Mingrone <jrm at ftfl.ca>, "freebsd-mobile at freebsd.org"
> <freebsd-mobile at freebsd.org>
> Subject: Re: Buying a laptop
> Message-ID:
> <CAJ-Vmo=py_y6hySmrPzG7RvAxYysPUq5Rtzj8MSND_ov5EPYmA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Someone else needs to MFC it, sorry :(
>
> -a
>
>
> On 2 February 2015 at 10:09, Kevin Oberman <rkoberman at gmail.com> wrote:
>> On Mon, Feb 2, 2015 at 6:32 AM, Joseph Mingrone <jrm at ftfl.ca> wrote:
>>
>>> I also have had mostly positive experience with many Thinkpads. Note I
>>> said Thinkpads and not Lenovos.
>>>
>>> Erich Dollansky <erichsfreebsdlist at alogt.com> writes:
>>>> I use an Lenovo X220 with 10.1 since nearly three years.
>>>
>>> I also have an X220, running a recent 10-STABLE. Pretty much everything
>>> works including wireless with the Intel Centrino Advanced-N
>>> 6205 and suspend and resume. I haven't figured out how to control the
>>> brightness and there is an annoying BIOS (bug/feature). You can't
>>> legacy boot from a GPT-partitioned disk without UEFI.
>>>
>>> Joseph
>>
>>
>> Head was recently fixed so that brightness now works fine. The patch
>> applies cleanly to 10-stable (and 10.1) if you want to try it. My T520 has
>> had working brightness since. Yes, it works with the Fn+HOME and Fn+END
>> keys that are marked as brightness up and down on the keyboard. The patch
>> is to the ACPI code in dev/drm2/i915.intel_opregion.c, though small changes
>> were made to a couple of other files to enable access to the new code,
>>
>> It's in head as r270516 and Adrian has thus far not MFCed to 10-STABLE. If
>> it works for you, you might let him know that you would like to see it done.
>> --
>> Kevin Oberman, Network Engineer, Retired
>> E-mail: rkoberman at gmail.com
>> _______________________________________________
>> freebsd-mobile at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 02 Feb 2015 14:38:49 -0400
> From: Joseph Mingrone <jrm at ftfl.ca>
> To: Adrian Chadd <adrian at freebsd.org>
> Cc: "freebsd-mobile at freebsd.org" <freebsd-mobile at freebsd.org>
> Subject: Re: Buying a laptop
> Message-ID: <86iofkma4m.fsf at gly.ftfl.ca>
> Content-Type: text/plain
>
> Adrian Chadd <adrian at freebsd.org> writes:
>> Someone else needs to MFC it, sorry :(
>
> Who should I pester?
>
> P.S. Thanks for fixing this and thanks for pointing out the PR Kevin.
>
> Joseph
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 02 Feb 2015 15:39:55 -0500
> From: R0B_ROD <witchdoctor.mdf at gmail.com>
> To: freebsd-mobile at freebsd.org, freebsd-amd64 at freebsd.org,
> freebsd-questions at freebsd.org, freebsd-current at freebsd.org
> Subject: HP 2B19WM PCI-E SD Reader
> Message-ID: <54CFE09B.3060006 at gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Thank you for the time you took to help.
>
> According to:
> http://lists.freebsd.org/pipermail/ \
> \ freebsd-current/2013-July/042788.html
> \ freebsd-questions/2014-August/259843.html
>
> % uname -a
> FreeBSD 10.1-RELEASE #0 r274401:
> Tue Nov 11 21:02:49 UTC 2014
> root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> Is the Realtek RTS5229 PCI-E SD Card Reader
> supported yet???
>
> I have these kernel drivers compiled & loaded
> mmc
> mmcsd
> sdhci
>
> As previous posters have said,
> NO dmesg output from inserting SD card;
> NO boot output while SD card inserted.
>
> 8 Hrs of work to get here; now I'm burned out.
>
> PS: Not very talented at solving problems because
> I don't define them properly at the step 1.
>
--
Michael L. Wilson
International Project Coordinator
PeerCorps Trust Fund - Tanzania
More information about the freebsd-mobile
mailing list