From linux-thinkpad@linux-thinkpad.org Sat Dec 1 00:29:29 2012 From: linux-thinkpad@linux-thinkpad.org (Dave Hylands) Date: Fri, 30 Nov 2012 16:29:29 -0800 Subject: [ltp] USB ports In-Reply-To: <50B92D99.3000506@post.tau.ac.il> References: <50B92D99.3000506@post.tau.ac.il> Message-ID: --f46d040714c5f89d1404cfbf9b1f Content-Type: text/plain; charset=ISO-8859-1 Hi Micha, On Fri, Nov 30, 2012 at 2:05 PM, Micha Feigin wrote: > > On 30/11/2012 16:49, Dave Hylands wrote: > > I have a W520 running ubuntu 12.04 > > I normally have the laptop sitting in a dock > > This morning it updated the kernel to 3.2.0-34, and the USB port on the left side of the laptop stopped working. The USB ports on the back of the dock seem to work fine. > > And the USB on the back right corner of the laptop seems to be working fine as well. Its just the two on the left side that seem to have stopped working. > > Anybody have any ideas what might be going on here? > > I never got them to work properly on my laptop. They are USB 3 ports while the ones on the back and right are usb 2. Whenever I connected a usb 3 drive to them the driver would lock up and required a reboot to start working again. > > you can run dmesg right after connecting something to the ports and submit the message in the logs to help analyze So they were working fine prior to the kernel update,. What I see in dmesg when I plug my device in: [16709.071416] xhci_hcd 0000:0e:00.0: ERROR no room on ep ring [16709.071419] xhci_hcd 0000:0e:00.0: ERR: No room for command on command ring [16709.071421] hub 3-0:1.0: couldn't allocate port 1 usb_device I found this: http://askubuntu.com/questions/187644/error-no-room-on-ep-ring-with-usb-3-0-devicewhich suggests update to 3.4 may fix the problem. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com --f46d040714c5f89d1404cfbf9b1f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Micha,


On Fri, Nov 30, 2012 at 2:05 PM, Micha Feigin <michf@post.tau.ac.il<= /a>> wrote:
>
> On 30/11/2012 16:49, Dave Hylands wrote:
= >
> I have a W520 running ubuntu 12.04
>
> I normally have the laptop sitting in a dock
>
> T= his morning it updated the kernel to 3.2.0-34, and the USB port on the left= side of the laptop stopped working. The USB ports on the back of the dock = seem to work fine.
>
> And the USB on the back right corner of the laptop seems to be= working fine as well. Its just the two on the left side that seem to have = stopped working.
>
> Anybody have any ideas what might be going= on here?
>
> I never got them to work properly on my laptop. They are USB 3= ports while the ones on the back and right are usb 2. Whenever I connected= a usb 3 drive to them the driver would lock up and required a reboot to st= art working again.
>
> you can run dmesg right after connecting something to the port= s and submit the message in the logs to help analyze

So they were wo= rking fine prior to the kernel update,.

What I see in dmesg when I p= lug my device in:

[16709.071416] xhci_hcd 0000:0e:00.0: ERROR no room on ep ring
[1670= 9.071419] xhci_hcd 0000:0e:00.0: ERR: No room for command on command ring[16709.071421] hub 3-0:1.0: couldn't allocate port 1 usb_device

I found this:
http://askubuntu.co= m/questions/187644/error-no-room-on-ep-ring-with-usb-3-0-device which s= uggests update to 3.4 may fix the problem.

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com --f46d040714c5f89d1404cfbf9b1f-- From linux-thinkpad@linux-thinkpad.org Mon Dec 3 08:15:21 2012 From: linux-thinkpad@linux-thinkpad.org (alfon) Date: Mon, 3 Dec 2012 09:15:21 +0100 Subject: [ltp] battery balancing on T430s? In-Reply-To: <87boejw7ll.fsf@tamas.ihs.ac.at> References: <87boejw7ll.fsf@tamas.ihs.ac.at> Message-ID: you may take a look at this: http://savannah.nongnu.org/projects/battwd. It can works with several batteries (the only bad is that, at the moment, it's alpha code). On 27 November 2012 13:31, Tamas Papp wrote: > Hi, > > I have a T430s with an ultrabay battery, which is discharged before the > main one. I was hoping I could balance the discharge between batteries > --- I found http://www.thinkwiki.org/wiki/Talk:Code/tp-bat-balance but > it needs tp_smapi which is not supported on this machine (AFAIK). > > Is there a way to balance battery discharging on this model? I would > also be happy if I could manually select which battery is discharged. > > Best, > > Tamas > -- > The linux-thinkpad mailing list home page is at: > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad From linux-thinkpad@linux-thinkpad.org Mon Dec 3 12:49:17 2012 From: linux-thinkpad@linux-thinkpad.org (Tamas Papp) Date: Mon, 03 Dec 2012 13:49:17 +0100 Subject: [ltp] battery balancing on T430s? In-Reply-To: References: <87boejw7ll.fsf@tamas.ihs.ac.at>, Message-ID: <87lidfwbaq.fsf@tamas.ihs.ac.at> Thanks. Does this support selecting which battery to discharge on the TP T430s? How? I can see that it can monitor the batteries, but for me the problem is not monitoring but controlling the battery discharge. The problem is that tp_smapi does not support this laptop yet, so there is no /sys/devices/platform/smapi/BAT0/force_discharge etc. On Mon, Dec 03 2012, alfon wrote: > you may take a look at this: http://savannah.nongnu.org/projects/battwd. > It can works with several batteries (the only bad is that, at the > moment, it's alpha code). > > On 27 November 2012 13:31, Tamas Papp wrote: >> Hi, >> >> I have a T430s with an ultrabay battery, which is discharged before the >> main one. I was hoping I could balance the discharge between batteries >> --- I found http://www.thinkwiki.org/wiki/Talk:Code/tp-bat-balance but >> it needs tp_smapi which is not supported on this machine (AFAIK). >> >> Is there a way to balance battery discharging on this model? I would >> also be happy if I could manually select which battery is discharged. >> >> Best, >> >> Tamas >> -- >> The linux-thinkpad mailing list home page is at: >> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad From linux-thinkpad@linux-thinkpad.org Mon Dec 3 13:42:20 2012 From: linux-thinkpad@linux-thinkpad.org (alfon) Date: Mon, 3 Dec 2012 14:42:20 +0100 Subject: [ltp] battery balancing on T430s? In-Reply-To: <87lidfwbaq.fsf@tamas.ihs.ac.at> References: <87boejw7ll.fsf@tamas.ihs.ac.at> <87lidfwbaq.fsf@tamas.ihs.ac.at> Message-ID: No, for now, only works if the battery is under /sys/device, /proc or another filesystem... sorry. On 3 December 2012 13:49, Tamas Papp wrote: > Thanks. Does this support selecting which battery to discharge on the > TP T430s? How? I can see that it can monitor the batteries, but for me > the problem is not monitoring but controlling the battery discharge. > > The problem is that tp_smapi does not support this laptop yet, so there > is no /sys/devices/platform/smapi/BAT0/force_discharge etc. > > On Mon, Dec 03 2012, alfon wrote: > >> you may take a look at this: http://savannah.nongnu.org/projects/battwd. >> It can works with several batteries (the only bad is that, at the >> moment, it's alpha code). >> >> On 27 November 2012 13:31, Tamas Papp wrote: >>> Hi, >>> >>> I have a T430s with an ultrabay battery, which is discharged before the >>> main one. I was hoping I could balance the discharge between batteries >>> --- I found http://www.thinkwiki.org/wiki/Talk:Code/tp-bat-balance but >>> it needs tp_smapi which is not supported on this machine (AFAIK). >>> >>> Is there a way to balance battery discharging on this model? I would >>> also be happy if I could manually select which battery is discharged. >>> >>> Best, >>> >>> Tamas >>> -- >>> The linux-thinkpad mailing list home page is at: >>> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad > > -- > The linux-thinkpad mailing list home page is at: > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad From linux-thinkpad@linux-thinkpad.org Tue Dec 4 01:01:06 2012 From: linux-thinkpad@linux-thinkpad.org (Tom Roche) Date: Mon, 03 Dec 2012 17:01:06 -0800 Subject: [ltp] [W510] how to undo nouveau -> nvidia driver change in debian? Message-ID: <877goyhbql.fsf@pobox.com> I just installed the nvidia driver on a Thinkpad W510 via debian packages--now the box will boot through GRUB, but now only shows a blinking white cursor in the upper left corner of the screen after showing the usual boot messages. How to restore my previous configuration? Why I ask: I'm trying to fix a W510 with (what seems to be a) power-management problem. I'll post about that separately--suffice to say that I could not turn down the screen brightness from maximum, and I was only getting ~2 hours battery life. Note the box is up-to-date with LMDE (a testing/ wheezy-based distro). I googled about W510 power management. The best-looking link I could find said that http://math.umons.ac.be/an/W510/ > Nvidia Quadro FX 880M graphic card > You have two options for the nvidia card. The other was nouveau, which I know has the problem previously mentioned. > One is the NVidia proprietary driver that can be installed via their > installer or using the Debian way (recommended). I did it "the Debian way," i.e., using APT. > For the latter, install nvidia-glx, nvidia-kernel-source, > nvidia-settings and module-assistant. That worked with `aptitude`. The only error was, the package install complained about not finding my kernel's header sources (LMDE is currently running 3.2.0-3), so I installed the appropriate package= linux-headers-*, and re-ran sudo aptitude install nvidia-glx nvidia-kernel-source nvidia-settings (as module-assistant was already installed) with no errors. > Then run [module-assistant], select the nvidia module, build and > install it. That worked with no errors. There was a message saying that nvidia was incompatible with nouveau, and that I should reboot after install. > Note that vbetool is incompatible with Nvidia GPU's; purge it from > your system. sudo aptitude remove vbetool ran without errors. > In order to control the [backlight], you need to add the following > line in bold > Section "Device" > Identifier "FX 880M" > VendorName "NVIDIA Corporation" > Driver "nvidia" * Option "RegistryDwords" "EnableBrightnessControl=1" > EndSection > /etc/X11/xorg.conf That was a problem: /etc/X11/xorg.conf did not exist on that box. (My other up-to-date LMDE box also lacks that file.) I skipped that edit, hoping the nvidia install would supply the file. > Also the kernel module thinkpad_acpi reports [the] wrong number of > brightness levels which confuses power managers. To solve it, create a > file /etc/modprobe.d/w510.conf with the line > options thinkpad_acpi brightness_enable=0 I created that file, with that line, and ... > With xfce4-power-manager installed, you can issue > /usr/sbin/xfpm-power-backlight-helper --get-max-brightness > to query the number of levels detected. The current brightness level > can be obtained/set by reading/writing to > /sys/class/backlight/acpi_video0/brightness ... I installed debian package=xfce4-power-manager, also without errors. > Unfortunately, the later proprietary nvidia drivers (304.*) have > problems, the most annoying one being the fact that suspend to RAM > fails about every 10 times. To work around this issue, create a file, > say, /etc/pm/config.d/suspend-workaround and add to it > SUSPEND_MODULES="$SUSPEND_MODULES nvidia" I created that file, with that line. I then did a cold boot: `sudo shutdown -Ph now` to power down, then hit the power button to restart. It went to GRUB at a very low screen brightness, which I was able to increase with Fn-Home. (That seemed like a good sign :-) I then got the usual white-text-on-black-screen boot messages, no errors. Then it failed to go graphical: I got only a blinking white cursor in the upper left corner of the screen. Worse: when I tried to go to a virtual terminal (via C-A-F1), I got the usual login prompt only for a few seconds; then it switched back to the blinking cursor @ upper left! I got the same result for C-A-F2 through C-A-F6. Worse still: I got the same results booting to recovery mode on the current kernel, as well as booting to previous kernels. How to remove the nvidia driver? For that matter, how to get to a point where I *can* remove the nvidia driver (given that I can't currently even get to a terminal)? Ordinarily I would just reinstall, but this week I'm traveling at a conference with my girlfriend, and I wanted her to have a laptop with which to do travel/event planning. So now I'm using the box that she was going to be using, because it's old/bad battery has even worse life than the W510, and the rooms at the conference which I'm attending have no accessible power outlets :-( TIA, Tom Roche From linux-thinkpad@linux-thinkpad.org Tue Dec 4 01:37:17 2012 From: linux-thinkpad@linux-thinkpad.org (Tom Roche) Date: Mon, 03 Dec 2012 17:37:17 -0800 Subject: [ltp] [W510] decreasing power use, increasing battery life: screen and lid issues Message-ID: <874nk2ha2a.fsf@pobox.com> Can I get advice on ways to improve a Thinkpad W510's battery life when running debian? I'd especially like to improve its power management, e.g., * allowing screen brightness control via Fn-Home/Fn-End * making the close-lid event just turn off the screen, instead of sleeping the box (i.e., suspending to RAM) I recently got a W510 on closeout (pretty good price). I installed LMDE (a testing/wheezy-based distro), but am only getting slightly more than 2 hours use from a fully-charged battery. This is usually plenty, but this week I'm traveling at a conference where the meeting rooms seem to have no accessible power outlets :-( One major problem seems to be screen power management: the screen is always on full brightness, and cannot be reduced by Fn-End. Another major problem is, closing the lid does not (solely) turn off the screen: instead, it sleeps the box. This means I am sometimes forced to keep the lid up and screen on when not necessary. Note I have made the appropriate change in the gnome-power-manager UI, but the behavior of the box does not change. I thought I could fix at least the first problem by switching the video driver from nouveau to nvidia proprietary, but that breaks boot, as described here http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2012-December/051131.html So I'd appreciate other suggestions (as well as advice regarding ways to roll back the nvidia install!) TIA, Tom Roche From linux-thinkpad@linux-thinkpad.org Tue Dec 4 01:44:17 2012 From: linux-thinkpad@linux-thinkpad.org (Richard Neill) Date: Tue, 04 Dec 2012 01:44:17 +0000 Subject: [ltp] [W510] decreasing power use, increasing battery life: screen and lid issues In-Reply-To: <874nk2ha2a.fsf@pobox.com> References: <874nk2ha2a.fsf@pobox.com> Message-ID: <50BD5571.9020600@richardneill.org> On 04/12/12 01:37, Tom Roche wrote: > > Another major problem is, closing the lid does not (solely) turn off the > screen: instead, it sleeps the box. This means I am sometimes forced to > keep the lid up and screen on when not necessary. Note I have made the > appropriate change in the gnome-power-manager UI, but the behavior of > the box does not change. I think this may be a BIOS setting. Otherwise, see if you can intercept the ACPI event from the lid-close switch and change what it does. Usually, there are some shell-scripts that control which Acpi event does what. IIRC, its: Lid-close switch -> BIOS -> NVRAM -> ACPI -> Event detected -> Decide on action -> Suspend (shell-script) -> Kernel -> ACPI -> BIOS -> sleep. HTH, Richard From linux-thinkpad@linux-thinkpad.org Tue Dec 4 02:27:47 2012 From: linux-thinkpad@linux-thinkpad.org (Tom Roche) Date: Mon, 03 Dec 2012 18:27:47 -0800 Subject: [ltp] Re: [W510] how to undo nouveau -> nvidia driver change in debian? In-Reply-To: <877goyhbql.fsf@pobox.com> References: <877goyhbql.fsf@pobox.com> Message-ID: <87y5heh7q4.fsf@pobox.com> more data from new development: Tom Roche Mon, 03 Dec 2012 17:01:06 -0800 > I just installed the nvidia driver on a Thinkpad W510 via debian > packages--now the box will boot through GRUB, but now only shows a > blinking white cursor in the upper left corner of the screen after > showing the usual boot messages. How to restore my previous > configuration? ... > [After cold boot,] it failed to go graphical: I got only a blinking > white cursor in the upper left corner of the screen. > Worse: when I tried to go to a virtual terminal (via C-A-F1), I got > the usual login prompt only for a few seconds; then it switched back > to the blinking cursor @ upper left! I got the same result for > C-A-F2 through C-A-F6. > Worse still: I got the same results booting to recovery mode on the > current kernel, as well as booting to previous kernels. After some thought, I realized that I had only tried rebooting to 3.x kernels. So I cold-booted and chose kernel=2.6.39-2 from GRUB: now it boots and goes graphical, but only to GNOME 2. After login, I get a dialog saying > GNOME 3 failed to load > GNOME 3 failed to start properly and started in the fallback mode Note I also get $ lsb_release -ds Linux Mint Debian Edition $ cat /etc/debian_version wheezy/sid $ uname -rv 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 $ inxi -Gx Graphics: Card NVIDIA GT216 [Quadro FX 880M] X.Org 1.12.1.902 Res: 1600x900@60.0hz GLX Renderer N/A GLX Version N/A Direct Rendering N/A $ cat /var/log/Xorg.0.log [ 26.073] X.Org X Server 1.12.1.902 (1.12.2 RC 2) Release Date: 2012-05-19 [ 26.073] X Protocol Version 11, Revision 0 [ 26.073] Build Operating System: Linux 3.2.0-2-amd64 x86_64 Debian [ 26.073] Current Operating System: Linux tlrw510 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 ... [ 27.582] (II) LoadModule: "nouveau" [ 27.603] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so [ 27.629] (II) Module nouveau: vendor="X.Org Foundation" [ 27.629] compiled for 1.12.1, module version = 0.0.16 [ 27.629] Module class: X.Org Video Driver [ 27.629] ABI class: X.Org Video Driver, version 12.0 ... So what should I do to enable it to boot 3.x kernels with GNOME >= 3? And then to fix the {battery life, power management} problem (detailed @ http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2012-December/051132.html ) that got me here in the first place ... TIA, Tom Roche From linux-thinkpad@linux-thinkpad.org Tue Dec 4 12:03:32 2012 From: linux-thinkpad@linux-thinkpad.org (Marius Gedminas) Date: Tue, 4 Dec 2012 14:03:32 +0200 Subject: [ltp] [W510] decreasing power use, increasing battery life: screen and lid issues In-Reply-To: <874nk2ha2a.fsf@pobox.com> References: <874nk2ha2a.fsf@pobox.com> Message-ID: <20121204120332.GA31749@platonas> --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 03, 2012 at 05:37:17PM -0800, Tom Roche wrote: > Can I get advice on ways to improve a Thinkpad W510's battery life when > running debian? Have you tried powertop? >I'd especially like to improve its power management, > e.g., >=20 > * allowing screen brightness control via Fn-Home/Fn-End I'd say this is worth reporting as a bug, if you can figure out which component is dropping the ball. What's your desktop environment? > * making the close-lid event just turn off the screen, instead of > sleeping the box (i.e., suspending to RAM) >=20 > I recently got a W510 on closeout (pretty good price). I installed LMDE > (a testing/wheezy-based distro), but am only getting slightly more than > 2 hours use from a fully-charged battery. This is usually plenty, but > this week I'm traveling at a conference where the meeting rooms seem to > have no accessible power outlets :-( >=20 > One major problem seems to be screen power management: the screen is > always on full brightness, and cannot be reduced by Fn-End. One of the many possible ways of changing screen brightness is to adjust the 'brightness' property via xrandr. (Name of the property may depend on your video driver -- mine's intel). There's also xbacklight. And some magic files in /proc or /sys that probably shouldn't be touched. And the screen brightness applet in GNOME System Preferences. > Another major problem is, closing the lid does not (solely) turn off the > screen: instead, it sleeps the box. This means I am sometimes forced to > keep the lid up and screen on when not necessary. Note I have made the > appropriate change in the gnome-power-manager UI, but the behavior of > the box does not change. For the record, in recent GNOME versions gnome-power-manager is no longer used; power management is handled by gnome-settings-daemon's power plugin. It's possible that the two keep their configuration in different places. $ gsettings list-recursively|grep lid org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing' org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing' works for me (GNOME 3.6, Ubuntu 12.10). > I thought I could fix at least the first problem by switching the video > driver from nouveau to nvidia proprietary, but that breaks boot, as > described here >=20 > http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2012-December/= 051131.html >=20 > So I'd appreciate other suggestions (as well as advice regarding ways to > roll back the nvidia install!) I see that rescue mode doesn't help. And init=3D/bin/bash is problematic when you've got an initramfs. Can you boot from a LiveCD, mount your filesystem, chroot, then uninstall the nvidia packages? You may also need to manually mount /proc and /sys inside the chroot if uninstallation of any of those packages triggers update-initramfs. (I avoid laptops with NVidia graphics for a reason.) Marius Gedminas --=20 Favorite MAC error message: "Not enough memory to eject disk!" --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFQveaUkVdEXeem148RAoTwAJsEzDZ2IIZVc9wn79P6us4tA5oKFQCfaeAK 9FHYX6AxwHoZ9ciiMmFz8PE= =7hP3 -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From linux-thinkpad@linux-thinkpad.org Tue Dec 4 07:11:50 2012 From: linux-thinkpad@linux-thinkpad.org (Christophe TROESTLER) Date: Tue, 4 Dec 2012 08:11:50 +0100 Subject: [ltp] Re: [W510] how to undo nouveau -> nvidia driver change in debian? In-Reply-To: <87y5heh7q4.fsf@pobox.com> References: <877goyhbql.fsf@pobox.com> <87y5heh7q4.fsf@pobox.com> Message-ID: <20121204.081150.985795816340169934.Christophe.Troestler@umons.ac.be> On Mon, 3 Dec 2012 18:27:47 -0800, Tom Roche wrote: > > [ 27.582] (II) LoadModule: "nouveau" > [ 27.603] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so > [ 27.629] (II) Module nouveau: vendor="X.Org Foundation" > [ 27.629] compiled for 1.12.1, module version = 0.0.16 > [ 27.629] Module class: X.Org Video Driver > [ 27.629] ABI class: X.Org Video Driver, version 12.0 I just skimmed through your mail and, in a nutshell, you cannot load the nouveau driver and expect nvidia to work. You have to blacklist nouveau. Have a look here http://math.umons.ac.be/an/W510/#nvidia for some instructions (they are not complete, you are welcome to send a patch). From linux-thinkpad@linux-thinkpad.org Tue Dec 4 15:40:24 2012 From: linux-thinkpad@linux-thinkpad.org (Petter Hansen) Date: Tue, 04 Dec 2012 16:40:24 +0100 Subject: [ltp] [W510] decreasing power use, increasing battery life: screen and lid issues In-Reply-To: <20121204120332.GA31749@platonas> References: <874nk2ha2a.fsf@pobox.com> <20121204120332.GA31749@platonas> Message-ID: <50BE1968.4030301@rlug.net> This is a multi-part message in MIME format. --------------000405060309030909090309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Den 04. des. 2012 13:03, skrev Marius Gedminas: > On Mon, Dec 03, 2012 at 05:37:17PM -0800, Tom Roche wrote: >> Can I get advice on ways to improve a Thinkpad W510's battery life when >> running debian? Have you tried the Intel HD Graphics in processor instead of Nvidia? You vil probably get 100% more battery life. In my t520 i only use the intel graphics. That give me up to 10 hours on battery. With the nvidia graphics i get around 4 hours. You also have to use 3.0 > kernel. > Have you tried powertop? > >> I'd especially like to improve its power management, >> e.g., >> >> * allowing screen brightness control via Fn-Home/Fn-End > I'd say this is worth reporting as a bug, if you can figure out which > component is dropping the ball. > > What's your desktop environment? > >> * making the close-lid event just turn off the screen, instead of >> sleeping the box (i.e., suspending to RAM) >> >> I recently got a W510 on closeout (pretty good price). I installed LMDE >> (a testing/wheezy-based distro), but am only getting slightly more than >> 2 hours use from a fully-charged battery. This is usually plenty, but >> this week I'm traveling at a conference where the meeting rooms seem to >> have no accessible power outlets :-( >> >> One major problem seems to be screen power management: the screen is >> always on full brightness, and cannot be reduced by Fn-End. > One of the many possible ways of changing screen brightness is to adjust > the 'brightness' property via xrandr. (Name of the property may depend > on your video driver -- mine's intel). > > There's also xbacklight. > > And some magic files in /proc or /sys that probably shouldn't be > touched. > > And the screen brightness applet in GNOME System Preferences. > >> Another major problem is, closing the lid does not (solely) turn off the >> screen: instead, it sleeps the box. This means I am sometimes forced to >> keep the lid up and screen on when not necessary. Note I have made the >> appropriate change in the gnome-power-manager UI, but the behavior of >> the box does not change. > For the record, in recent GNOME versions gnome-power-manager is no > longer used; power management is handled by gnome-settings-daemon's > power plugin. > > It's possible that the two keep their configuration in different places. > > $ gsettings list-recursively|grep lid > org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing' > org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing' > > works for me (GNOME 3.6, Ubuntu 12.10). > >> I thought I could fix at least the first problem by switching the video >> driver from nouveau to nvidia proprietary, but that breaks boot, as >> described here >> >> http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2012-December/051131.html >> >> So I'd appreciate other suggestions (as well as advice regarding ways to >> roll back the nvidia install!) > I see that rescue mode doesn't help. And init=/bin/bash is problematic > when you've got an initramfs. Can you boot from a LiveCD, mount your > filesystem, chroot, then uninstall the nvidia packages? You may also > need to manually mount /proc and /sys inside the chroot if > uninstallation of any of those packages triggers update-initramfs. > > (I avoid laptops with NVidia graphics for a reason.) > > Marius Gedminas -- Petter Hansen Enter su to get rootly powers. --------------000405060309030909090309 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Den 04. des. 2012 13:03, skrev Marius Gedminas:
On Mon, Dec 03, 2012 at 05:37:17PM -0800, Tom Roche wrote:
Can I get advice on ways to improve a Thinkpad W510's battery life when
running debian?
Have you tried the Intel HD Graphics in processor instead of Nvidia?
You vil probably get 100% more battery life. In my t520 i only use the intel graphics. That give me up to 10 hours on battery. With the nvidia graphics i get around 4 hours.
You also have to use 3.0 > kernel.

      
Have you tried powertop?

I'd especially like to improve its power management,
e.g.,

* allowing screen brightness control via Fn-Home/Fn-End
I'd say this is worth reporting as a bug, if you can figure out which
component is dropping the ball.

What's your desktop environment?

* making the close-lid event just turn off the screen, instead of
  sleeping the box (i.e., suspending to RAM)

I recently got a W510 on closeout (pretty good price). I installed LMDE
(a testing/wheezy-based distro), but am only getting slightly more than
2 hours use from a fully-charged battery. This is usually plenty, but
this week I'm traveling at a conference where the meeting rooms seem to
have no accessible power outlets :-(

One major problem seems to be screen power management: the screen is
always on full brightness, and cannot be reduced by Fn-End.
One of the many possible ways of changing screen brightness is to adjust
the 'brightness' property via xrandr.  (Name of the property may depend
on your video driver -- mine's intel).

There's also xbacklight.

And some magic files in /proc or /sys that probably shouldn't be
touched.

And the screen brightness applet in GNOME System Preferences.

Another major problem is, closing the lid does not (solely) turn off the
screen: instead, it sleeps the box. This means I am sometimes forced to
keep the lid up and screen on when not necessary. Note I have made the
appropriate change in the gnome-power-manager UI, but the behavior of
the box does not change.
For the record, in recent GNOME versions gnome-power-manager is no
longer used; power management is handled by gnome-settings-daemon's
power plugin.

It's possible that the two keep their configuration in different places.

  $ gsettings list-recursively|grep lid
  org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing'
  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing'

works for me (GNOME 3.6, Ubuntu 12.10).

I thought I could fix at least the first problem by switching the video
driver from nouveau to nvidia proprietary, but that breaks boot, as
described here

http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2012-December/051131.html

So I'd appreciate other suggestions (as well as advice regarding ways to
roll back the nvidia install!)
I see that rescue mode doesn't help.  And init=/bin/bash is problematic
when you've got an initramfs.  Can you boot from a LiveCD, mount your
filesystem, chroot, then uninstall the nvidia packages?  You may also
need to manually mount /proc and /sys inside the chroot if
uninstallation of any of those packages triggers update-initramfs.

(I avoid laptops with NVidia graphics for a reason.)

Marius Gedminas


--
Petter Hansen
Enter su to get rootly powers.

--------------000405060309030909090309-- From linux-thinkpad@linux-thinkpad.org Wed Dec 5 13:36:10 2012 From: linux-thinkpad@linux-thinkpad.org (linux-thinkpad@linux-thinkpad.org) Date: Wed, 5 Dec 2012 05:36:10 -0800 Subject: [ltp] [W510] decreasing power use, increasing battery life In-Reply-To: <20121205110100.B34A534066@parabel.matrix.de> References: <20121205110100.B34A534066@parabel.matrix.de> Message-ID: <7dc78deaecb75a687f877a869afde85e.squirrel@webmail.strucktower.com> > Have you tried the Intel HD Graphics in processor instead of Nvidia? > You vil probably get 100% more battery life. In my t520 i only use the > intel graphics. That give me up to 10 hours on battery. With the nvidia > graphics i get around 4 hours. I would like to try this, but I haven't the experience with installing/configuring video drivers that most of you appear to have ... Can someone point me to a post or tutorial which can lead me through the procedure of installing and configuring the Intel HD Graphics drivers? I don't even know the commands to show me which drivers are installed. I ha= d no idea that was possible for this laptop. I definitely only get about 4-hours battery time. I'm running Debian (Wheezy), kernel 3.2, on a T520 (4239). I use i3 as a wm (not Gnome) Thanks, Keith Ostertag From linux-thinkpad@linux-thinkpad.org Wed Dec 5 16:53:08 2012 From: linux-thinkpad@linux-thinkpad.org (Petter Hansen) Date: Wed, 05 Dec 2012 17:53:08 +0100 Subject: [ltp] [W510] decreasing power use, increasing battery life In-Reply-To: <7dc78deaecb75a687f877a869afde85e.squirrel@webmail.strucktower.com> References: <20121205110100.B34A534066@parabel.matrix.de> <7dc78deaecb75a687f877a869afde85e.squirrel@webmail.strucktower.com> Message-ID: <50BF7BF4.1090002@rlug.net> Den 05. des. 2012 14:36, skrev keitho@strucktower.com: >> Have you tried the Intel HD Graphics in processor instead of Nvidia? >> You vil probably get 100% more battery life. In my t520 i only use the >> intel graphics. That give me up to 10 hours on battery. With the nvidia >> graphics i get around 4 hours. > I would like to try this, but I haven't the experience with > installing/configuring video drivers that most of you appear to have ... > > Can someone point me to a post or tutorial which can lead me through the > procedure of installing and configuring the Intel HD Graphics drivers? I > don't even know the commands to show me which drivers are installed. I had > no idea that was possible for this laptop. I definitely only get about > 4-hours battery time. You have to get in to bios at start up (press F1) and probably go to config>display>Graphics device> and change graphics to "integrated" Press F10 and ok to change bios setting. Reboot and you are done. > I'm running Debian (Wheezy), kernel 3.2, on a T520 (4239). I use i3 as a > wm (not Gnome) > > Thanks, > Keith Ostertag > -- Petter Hansen Enter SU to get rootly powers. From linux-thinkpad@linux-thinkpad.org Thu Dec 6 10:42:17 2012 From: linux-thinkpad@linux-thinkpad.org (Tino Keitel) Date: Thu, 6 Dec 2012 11:42:17 +0100 Subject: [ltp] [W510] decreasing power use, increasing battery life In-Reply-To: <7dc78deaecb75a687f877a869afde85e.squirrel@webmail.strucktower.com> References: <20121205110100.B34A534066@parabel.matrix.de> <7dc78deaecb75a687f877a869afde85e.squirrel@webmail.strucktower.com> Message-ID: <20121206104217.GA22627@mac.home> On Wed, Dec 05, 2012 at 05:36:10 -0800, keitho@strucktower.com wrote: [...] > I'm running Debian (Wheezy), kernel 3.2, on a T520 (4239). I use i3 as a > wm (not Gnome) This should support Intel HD graphics OOTB, at least first and second generation Core i3. The bigger problem might be that the nvidia driver replaces the GL libraries with custom ones. I don't know if these custom libraries work with other drivers than the nvidia one. Regards, Tino From linux-thinkpad@linux-thinkpad.org Thu Dec 6 16:03:10 2012 From: linux-thinkpad@linux-thinkpad.org (linux-thinkpad@linux-thinkpad.org) Date: Thu, 6 Dec 2012 08:03:10 -0800 Subject: [ltp] Re: [W510] decreasing power use, increasing battery life In-Reply-To: <20121206110101.3D0F634083@parabel.matrix.de> References: <20121206110101.3D0F634083@parabel.matrix.de> Message-ID: <728eed7d7bcb150664e7fbf1fa597e52.squirrel@webmail.strucktower.com> > You have to get in to bios at start up (press F1) and probably go to > config>display>Graphics device> and change graphics to "integrated" > Press F10 and ok to change bios setting. > Reboot and you are done. Well, after looking, evidently I only have Intel graphics on this machine= ... The only option under config>display>Graphics device> is Boot Display Device (Thinkpad LCD chosen). lshw reports: *-display description: VGA compatible controller product: 2nd Generation Core Processor Family Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: vga_controller bus_master cap_list rom configuration: driver=3Di915 latency=3D0 resources: irq:44 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:4000(size=3D64) Not sure what else to check. So, why am I only getting 4 hours battery time? Really, until you mentioned gettting 10 hours I thought it was "normal" to get only four hours. I had tried playing around with powertop a year ago or so, with no apparent improvements. Using the Lenovo 55+ battery (5.2Ah 57Wh). Thanks, Keith Ostertag From linux-thinkpad@linux-thinkpad.org Fri Dec 7 03:00:45 2012 From: linux-thinkpad@linux-thinkpad.org (Rubin Abdi) Date: Thu, 06 Dec 2012 19:00:45 -0800 Subject: [ltp] Story time. Message-ID: <50C15BDD.9030802@starset.net> This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2SUPNTUBABUEPAORXCHKC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable http://rubin.starset.net/2012/12/06/rip-morocco-thinkpad-t41/ So long dear friend. --=20 Rubin rubin@starset.net ------enig2SUPNTUBABUEPAORXCHKC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQwVvhAAoJENiO8GEa75D0+V0H/1Fup9iAyyy9v/FoOWwE2pUn +Vq4MlMB9U+RBK3k7aSeKnAqUa1CnPrfbFDaa7OkUAJHDonYtOtaDB5zBcxVzKhq W4zo1q9l22nqKex/+Gl/x5GtRlnSkUC3aopJ2vz49n31R9y5bVzmRlYsY0ipKuVW 4AKg2634Ijn/Oj8uKfX5cxU+7Fg71lLyNKs7wi5Q1w8jSon6eXxVCoTnaUTv2TC9 wb3skNRurYIUmhrLZlxwXuDJnTJsfAQUQsqKQx3e2OcITaoDoHpQFz2hEhwdKg1Z o1nhh1KcgGmlxyWlhUAFHumUFww9jNttr2X5mW93W3cbBMecsE0cXaENtSO8ul4= =koa5 -----END PGP SIGNATURE----- ------enig2SUPNTUBABUEPAORXCHKC-- From linux-thinkpad@linux-thinkpad.org Fri Dec 7 08:46:03 2012 From: linux-thinkpad@linux-thinkpad.org (Tino Keitel) Date: Fri, 7 Dec 2012 09:46:03 +0100 Subject: [ltp] Re: [W510] decreasing power use, increasing battery life In-Reply-To: <728eed7d7bcb150664e7fbf1fa597e52.squirrel@webmail.strucktower.com> References: <20121206110101.3D0F634083@parabel.matrix.de> <728eed7d7bcb150664e7fbf1fa597e52.squirrel@webmail.strucktower.com> Message-ID: <20121207084603.GA26971@mac.home> On Thu, Dec 06, 2012 at 08:03:10 -0800, keitho@strucktower.com wrote: [...] > So, why am I only getting 4 hours battery time? Really, until you > mentioned gettting 10 hours I thought it was "normal" to get only four > hours. I had tried playing around with powertop a year ago or so, with no > apparent improvements. > > Using the Lenovo 55+ battery (5.2Ah 57Wh). 4 hours with From linux-thinkpad@linux-thinkpad.org Fri Dec 7 09:00:17 2012 From: linux-thinkpad@linux-thinkpad.org (Tino Keitel) Date: Fri, 7 Dec 2012 10:00:17 +0100 Subject: [ltp] Re: [W510] decreasing power use, increasing battery life In-Reply-To: <728eed7d7bcb150664e7fbf1fa597e52.squirrel@webmail.strucktower.com> References: <20121206110101.3D0F634083@parabel.matrix.de> <728eed7d7bcb150664e7fbf1fa597e52.squirrel@webmail.strucktower.com> Message-ID: <20121207090017.GB26971@mac.home> On Thu, Dec 06, 2012 at 08:03:10 -0800, keitho@strucktower.com wrote: [...] > So, why am I only getting 4 hours battery time? Really, until you > mentioned gettting 10 hours I thought it was "normal" to get only four > hours. I had tried playing around with powertop a year ago or so, with no > apparent improvements. > > Using the Lenovo 55+ battery (5.2Ah 57Wh). 4 hours with a laptop like the W510 sounds reasonable, given that you use the display at full brightness. Using xbacklight to reduce the display brightness should give much more battery runtime. Other hints to enhance the battery runtime: - set the SATA ports to powersave, also the unused ones (/sys/class/scsi_host/host*/link_power_management_policy) - make sure that rc6 power saving in the intel graphics driver is enabled (boot with i915.i915_enable_rc6=1), you can check if it is already used by looking into /sys/module/i915/parameters/i915_enable_rc6 - make sure that PCIe power saving is enabled (boot with pcie_aspm=force) - enable wireless powersaving, if possible (this differs between drivers, so I can't help here) - disable bluetooth, unless you really need it - enable powersaving in the audio driver (/sys/module/snd_hda_intel/parameters/power_save) - make sure general powersaving in the intel graphics driver is enabled (/sys/module/i915/parameters should be set to 1) - make sure the ondemand CPU scaling governor is used on all cores (grep "" /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor) Some of the above should be covered by powertop. You might check all the "tunables" listed in powertop to see if they gain any battery runtime. However, you have to find out yourself what to do to make these settings permanent. AFAIK powertop doesn't help to see what it does to toggle the tuneables. Regards, Tino From linux-thinkpad@linux-thinkpad.org Fri Dec 7 20:25:28 2012 From: linux-thinkpad@linux-thinkpad.org (Dmitry E. Mikhailov) Date: Sat, 08 Dec 2012 02:25:28 +0600 Subject: [ltp] Thinkpad T61p + CentOS/RHEL 6 + nvidia proprietary = hibernation resume time? Message-ID: <1354911928.20282.155.camel@ibm2> Hi, If there are any Thinkpad T61p owners here running CentOS (RedHat Enterprise Linux, Oracle Unbrakable Linux) version 6 x86_64 with NVidia proprietary video driver, I have a question. How much does it take to resume from hibernation on your system? I got the following. The resume process (from the SSD) takes about three minutes and there are three beeps during the process. Am I alone? Best regards, Dmitry Mikhailov. From linux-thinkpad@linux-thinkpad.org Fri Dec 7 20:53:20 2012 From: linux-thinkpad@linux-thinkpad.org (Richard Neill) Date: Fri, 07 Dec 2012 20:53:20 +0000 Subject: [ltp] Thinkpad T61p + CentOS/RHEL 6 + nvidia proprietary = hibernation resume time? In-Reply-To: <1354911928.20282.155.camel@ibm2> References: <1354911928.20282.155.camel@ibm2> Message-ID: <50C25740.9050406@richardneill.org> > If there are any Thinkpad T61p owners here running CentOS (RedHat > Enterprise Linux, Oracle Unbrakable Linux) version 6 x86_64 with NVidia > proprietary video driver, > > I have a question. > > How much does it take to resume from hibernation on your system? > > I got the following. The resume process (from the SSD) takes about three > minutes and there are three beeps during the process. Am I alone? > > Best regards, > Dmitry Mikhailov. That seems rather a long time - does dmesg say anything interesting? BUT, resume from hibernate (suspend to disk) always takes quite a while, often longer than a reboot. Why not use suspend to RAM (which is much faster, and still gives you > 3 days - or the hybrid mode (suspend to disk, then suspend to RAM; resume from RAM if possible; resume from disk otherwise)? Btw, which kernel version are you using? Richard From linux-thinkpad@linux-thinkpad.org Sat Dec 8 04:08:36 2012 From: linux-thinkpad@linux-thinkpad.org (Mark Wotton) Date: Sat, 8 Dec 2012 15:08:36 +1100 Subject: [ltp] problems with slice battery & Ubuntu Message-ID: G'day all, I'm having a bit of a trouble getting my slice battery to work. It's worked in the past, but not recently: I suspect I may have drained it down to zero. The problem is that it won't charge now. rhino =E2=9E=9C ~ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 56160 mWh last full capacity: 50880 mWh battery technology: rechargeable design voltage: 10800 mV design capacity warning: 2544 mWh design capacity low: 200 mWh cycle count: 0 capacity granularity 1: 1 mWh capacity granularity 2: 1 mWh model number: 42T4793 serial number: 17815 battery type: LION OEM info: Panasonic rhino =E2=9E=9C ~ cat /proc/acpi/battery/BAT1/info present: yes design capacity: unknown last full capacity: unknown battery technology: rechargeable design voltage: 10800 mV design capacity warning: 0 mWh design capacity low: 0 mWh cycle count: 0 capacity granularity 1: 1 mWh capacity granularity 2: 1 mWh model number: serial number: battery type: OEM info: and, confusingly: rhino =E2=9E=9C ~ acpi Battery 0: Unknown, 0% Battery 1: Charging, 86%, 00:19:06 until charged I am getting these odd messages in /var/log/syslog: Dec 8 14:15:53 rhino kernel: [191707.237114] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared running Ubuntu 12.04 on a t410 - would very much appreciate any insight into debugging tactics. cheers Mark -- A UNIX signature isn't a return address, it's the ASCII equivalent of a black velvet clown painting. It's a rectangle of carets surrounding a quote from a literary giant of weeniedom like Heinlein or Dr. Who. -- Chris Maeda From linux-thinkpad@linux-thinkpad.org Wed Dec 12 22:14:48 2012 From: linux-thinkpad@linux-thinkpad.org (Jason Wilson) Date: Thu, 13 Dec 2012 08:14:48 +1000 Subject: [ltp] Special keys no longer working on Thinkpad Edge 13" Message-ID: <50C901D8.3040201@kylesfamily.com> This is a multi-part message in MIME format. --------------040104090701020304020203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit All, Running Fedora 16 on my Thinkpad Edge 13" and things have been working very well for a year or so. Sometime in the past month some type of package update has caused almost all of the special function keys to stop working. I have tried downgrades of the kernel to try and work out at what point things stopped, but without success. The next thing I have tried is loading the thinkpad_acpi with debugging enabled - the messages are included below. Am now at a loss as to what else I can do to debug this issue. The media play (Fn+F11) and 'forward' (Fn+F12) keys at least send events through, all the others do nothing. In addition closing the lid no longer suspends the machine, and the power applet in Fedora 16 no longer reports whether the battery is running off mains or is discharging. What can be done to see why the keys are not reporting anything? All problems started at the same time so I think it is all related to a single change. Happy to provide whatever additional details might be useful to help diagnosing what is going on. Thanks in advance, Jason Dec 12 21:35:26 hypatia kernel: [ 3379.839713] thinkpad_acpi: ThinkPad ACPI Extras v0.24 Dec 12 21:35:26 hypatia kernel: [ 3379.839716] thinkpad_acpi: http://ibm-acpi.sf.net/ Dec 12 21:35:26 hypatia kernel: [ 3379.839720] thinkpad_acpi: ThinkPad BIOS 84ET23WW (1.07 ), EC 84HT19WW-1.165000 Dec 12 21:35:26 hypatia kernel: [ 3379.839725] thinkpad_acpi: Lenovo ThinkPad Edge, model 02173DM Dec 12 21:35:26 hypatia kernel: [ 3379.840568] thinkpad_acpi: detected a 8-level brightness capable ThinkPad Dec 12 21:35:26 hypatia kernel: [ 3379.841909] thinkpad_acpi: radio switch found; radios are enabled Dec 12 21:35:26 hypatia kernel: [ 3379.841948] thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode Dec 12 21:35:26 hypatia kernel: [ 3379.841999] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver Dec 12 21:35:26 hypatia kernel: [ 3379.842003] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Dec 12 21:35:26 hypatia kernel: [ 3379.845386] thinkpad_acpi: asked for hotkey mask 0x04000070, but firmware forced it to 0x00000070 Dec 12 21:35:26 hypatia kernel: [ 3379.858802] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked Dec 12 21:35:26 hypatia kernel: [ 3380.371387] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one Dec 12 21:35:26 hypatia kernel: [ 3380.372433] thinkpad_acpi: Console audio control enabled, mode: monitor (read only) Dec 12 21:35:26 hypatia kernel: [ 3380.377888] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input11 Dec 12 21:35:26 hypatia pulseaudio[1870]: module-alsa-card.c: Failed to find a working profile. Dec 12 21:35:26 hypatia pulseaudio[1870]: module.c: Failed to load module "module-alsa-card" (argument: "device_id="29" name="platform-thinkpad_acpi" card_name="alsa_card.platform-thinkpad_a cpi" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel --------------040104090701020304020203 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
All,

Running Fedora 16 on my Thinkpad Edge 13" and things have been working 
very well for a year or so.

Sometime in the past month some type of package update has caused almost 
all of the special function keys to stop working.

I have tried downgrades of the kernel to try and work out at what point 
things stopped, but without success.

The next thing I have tried is loading the thinkpad_acpi with debugging 
enabled - the messages are included below.

Am now at a loss as to what else I can do to debug this issue. The media 
play (Fn+F11) and 'forward' (Fn+F12) keys at least send events through, 
all the others do nothing. In addition closing the lid no longer 
suspends the machine, and the power applet in Fedora 16 no longer 
reports whether the battery is running off mains or is discharging.

What can be done to see why the keys are not reporting anything? All 
problems started at the same time so I think it is all related to a 
single change.

Happy to provide whatever additional details might be useful to help 
diagnosing what is going on.

Thanks in advance,
   Jason

Dec 12 21:35:26 hypatia kernel: [ 3379.839713] thinkpad_acpi: ThinkPad 
ACPI Extras v0.24
Dec 12 21:35:26 hypatia kernel: [ 3379.839716] thinkpad_acpi: 
http://ibm-acpi.sf.net/
Dec 12 21:35:26 hypatia kernel: [ 3379.839720] thinkpad_acpi: ThinkPad 
BIOS 84ET23WW (1.07 ), EC 84HT19WW-1.165000
Dec 12 21:35:26 hypatia kernel: [ 3379.839725] thinkpad_acpi: Lenovo 
ThinkPad Edge, model 02173DM
Dec 12 21:35:26 hypatia kernel: [ 3379.840568] thinkpad_acpi: detected a 
8-level brightness capable ThinkPad
Dec 12 21:35:26 hypatia kernel: [ 3379.841909] thinkpad_acpi: radio 
switch found; radios are enabled
Dec 12 21:35:26 hypatia kernel: [ 3379.841948] thinkpad_acpi: possible 
tablet mode switch found; ThinkPad in laptop mode
Dec 12 21:35:26 hypatia kernel: [ 3379.841999] thinkpad_acpi: This 
ThinkPad has standard ACPI backlight brightness control, supported by 
the ACPI video driver
Dec 12 21:35:26 hypatia kernel: [ 3379.842003] thinkpad_acpi: Disabling 
thinkpad-acpi brightness events by default...
Dec 12 21:35:26 hypatia kernel: [ 3379.845386] thinkpad_acpi: asked for 
hotkey mask 0x04000070, but firmware forced it to 0x00000070
Dec 12 21:35:26 hypatia kernel: [ 3379.858802] thinkpad_acpi: rfkill 
switch tpacpi_bluetooth_sw: radio is unblocked
Dec 12 21:35:26 hypatia kernel: [ 3380.371387] thinkpad_acpi: Standard 
ACPI backlight interface available, not loading native one
Dec 12 21:35:26 hypatia kernel: [ 3380.372433] thinkpad_acpi: Console 
audio control enabled, mode: monitor (read only)
Dec 12 21:35:26 hypatia kernel: [ 3380.377888] input: ThinkPad Extra 
Buttons as /devices/platform/thinkpad_acpi/input/input11
Dec 12 21:35:26 hypatia pulseaudio[1870]: module-alsa-card.c: Failed to 
find a working profile.
Dec 12 21:35:26 hypatia pulseaudio[1870]: module.c: Failed to load 
module "module-alsa-card" (argument: "device_id="29" 
name="platform-thinkpad_acpi" card_name="alsa_card.platform-thinkpad_a
cpi" tsched=yes ignore_dB=no 
card_properties="module-udev-detect.discovered=1""): initialization failed.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
--------------040104090701020304020203-- From linux-thinkpad@linux-thinkpad.org Thu Dec 13 01:03:45 2012 From: linux-thinkpad@linux-thinkpad.org (Paul Sladen) Date: Thu, 13 Dec 2012 01:03:45 +0000 (GMT) Subject: [ltp] problems with slice battery & Ubuntu In-Reply-To: Message-ID: On Sat, 8 Dec 2012, Mark Wotton wrote: > I'm having a bit of a trouble getting my slice battery to work. What do the LEDs on the slice battery show? The slice battery on my X220T broke after about 3 months, not because of the cells, but because of the controller refusing to charge it. Lenovo eventually sent me another one. (nb. Don't worry about what you see from LInux; The battery will either work, or will not work, and do so regardless of the OS). -Paul From linux-thinkpad@linux-thinkpad.org Thu Dec 13 10:42:00 2012 From: linux-thinkpad@linux-thinkpad.org (Julien Iguchi-Cartigny) Date: Thu, 13 Dec 2012 11:42:00 +0100 Subject: [ltp] Overheating T500 Message-ID: <50C9B0F8.7060204@gmail.com> Hello, I'm trying to understand why my T500 is overheating since Ubuntu 11.10. I've wrote a wiki entry about in thinkwiki: Does someone has experienced similar problem or have a clue about it ? This bug seems to bother a lot of people: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689 Regards. Julien From linux-thinkpad@linux-thinkpad.org Thu Dec 13 10:36:32 2012 From: linux-thinkpad@linux-thinkpad.org (Philipp Kern) Date: Thu, 13 Dec 2012 11:36:32 +0100 Subject: [ltp] problems with slice battery & Ubuntu In-Reply-To: References: Message-ID: <20121213103632.GA6461@spike.0x539.de> --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 13, 2012 at 01:03:45AM +0000, Paul Sladen wrote: > What do the LEDs on the slice battery show? Mine for instance doesn't have such a thing. > The slice battery on my X220T broke after about 3 months, not because > of the cells, but because of the controller refusing to charge it. > Lenovo eventually sent me another one. As another data point: My T420 slice battery broke after six months of use. (Granted, it was manufactured in October 2011 and I bought it end of June.) Failure state was "Error detected" on Windows and all counters zero on Linux. Lenovo replaced it without trouble. However what was puzzling: The error happened so quickly that the laptop turned off despite having a charged primary battery in it. So you don't really have a UPS if one of the batteries break (i.e. no redundancy.) Kind regards Philipp Kern --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBCAAGBQJQya+wAAoJEERuJUU10Fbsu5IH/0q6dS3XvEgwScR0i1+p+N2L gesyykh6l8SfLJVlpEyWhgbkgYVBBXrqpAxyQQxjFv9m+1t6V6CiYSWIfUQv/IsJ b8dW7rMX5SPLPMXm/Y9naj09sY3CYibNiL/6Y6drgdSp87uXJjhhumWAs/jdHZ/J nHjy6VvvDbR8F9OC7kKUGmjzHgsji7qHHFMvaZ6xiy42puafjU/Ms+3US2tLlgGd 4CVVZ1XS9rbg4PlvL3YjoWhBJeV5lOdxLZIdJ4ixr1S/mfaz/uXgBMq4bIlspIT7 HwwlWtpGdFBojtDL1Trmjd5CA+E/SPh6HNFtmrNFk5rDgQJKywb41Fzutq5xQ1M= =0tQQ -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From linux-thinkpad@linux-thinkpad.org Thu Dec 13 11:28:17 2012 From: linux-thinkpad@linux-thinkpad.org (Paul Seelig) Date: Thu, 13 Dec 2012 12:28:17 +0100 Subject: [ltp] Overheating T500 In-Reply-To: <50C9B0F8.7060204@gmail.com> References: <50C9B0F8.7060204@gmail.com> Message-ID: <50C9BBD1.1050603@rumbero.es> Even if this is solely happening with Ubuntu, this is still a rather broad target. Your below mentioned thinkwiki article not even mentions whether it is the 32bit or the 64bit version, which desktop release, etc. Not very useful for serious debugging. May i take it for granted that your machine runs the latest BIOS from Lenovo? This would be the first place to look at, IMHO. Have you ever tried with some other distribution? Does the same happen with them as well? I am very happy with Debian testing/unstable and wouldn't touch Ubuntu even with a three meter pole since their introduction of these strange desktop defaults. There is (and always was) a whole world of Linux besides all these variations of Ubuntu. ;) Cheers, Paul On 12/13/2012 11:42 AM, Julien Iguchi-Cartigny wrote: > Hello, > > I'm trying to understand why my T500 is overheating since Ubuntu 11.10. > I've wrote a wiki entry about in thinkwiki: > > > > Does someone has experienced similar problem or have a clue about it ? > > This bug seems to bother a lot of people: > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689 > > Regards. > > Julien > From linux-thinkpad@linux-thinkpad.org Fri Dec 14 00:10:04 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Thu, 13 Dec 2012 22:10:04 -0200 Subject: [ltp] Overheating T500 In-Reply-To: <50C9B0F8.7060204@gmail.com> References: <50C9B0F8.7060204@gmail.com> Message-ID: <20121214001004.GA13702@khazad-dum.debian.net> On Thu, 13 Dec 2012, Julien Iguchi-Cartigny wrote: > > I'm trying to understand why my T500 is overheating since Ubuntu 11.10. > I've wrote a wiki entry about in thinkwiki: > > > > Does someone has experienced similar problem or have a clue about it ? 1. Do not enable fan control on thinkpad-acpi, I default it to disabled and require an explicit module parameter to even alow it for a damn good reason. In that situation (you remove the module parameter that lets thinkpad-acpi do fan control, *power off*, and power on again), does the bug still happen? If it does, the thinkpad is defective, and needs to be repaired. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Fri Dec 14 09:44:05 2012 From: linux-thinkpad@linux-thinkpad.org (Julien Iguchi-Cartigny) Date: Fri, 14 Dec 2012 10:44:05 +0100 Subject: [ltp] Overheating T500 In-Reply-To: <50C9BBD1.1050603@rumbero.es> References: <50C9B0F8.7060204@gmail.com> <50C9BBD1.1050603@rumbero.es> Message-ID: <50CAF4E5.5050700@gmail.com> Hello, On 12/13/2012 12:28 PM, Paul Seelig wrote: > Even if this is solely happening with Ubuntu, this is still a rather > broad target. Your below mentioned thinkwiki article not even mentions > whether it is the 32bit or the 64bit version, which desktop release, > etc. Not very useful for serious debugging. I've updated the wiki page with these informations: latest version of the bios, tested with ubuntu 32 bits and ArchLinux > May i take it for granted that your machine runs the latest BIOS from > Lenovo? This would be the first place to look at, IMHO. Latest version of the bios > Have you ever tried with some other distribution? Does the same happen > with them as well? Ubuntu 11.10 32 bits, Ubuntu 12.04 32 bits, ArchLinux My Lenovo experience has been the best with Linux until this bug happened. What is really surprising me is the change happen with a new kernel, and this is why I believe it is related to thinkpad-acpi. > Cheers, > Paul > Cheers, Julien From linux-thinkpad@linux-thinkpad.org Fri Dec 14 09:47:24 2012 From: linux-thinkpad@linux-thinkpad.org (Julien Iguchi-Cartigny) Date: Fri, 14 Dec 2012 10:47:24 +0100 Subject: [ltp] Overheating T500 In-Reply-To: <20121214001004.GA13702@khazad-dum.debian.net> References: <50C9B0F8.7060204@gmail.com> <20121214001004.GA13702@khazad-dum.debian.net> Message-ID: <50CAF5AC.8090005@gmail.com> On 12/14/2012 01:10 AM, Henrique de Moraes Holschuh wrote: > On Thu, 13 Dec 2012, Julien Iguchi-Cartigny wrote: >> I'm trying to understand why my T500 is overheating since Ubuntu 11.10. >> I've wrote a wiki entry about in thinkwiki: >> >> >> >> Does someone has experienced similar problem or have a clue about it ? > 1. Do not enable fan control on thinkpad-acpi, I default it to disabled and > require an explicit module parameter to even alow it for a damn good reason. > > In that situation (you remove the module parameter that lets thinkpad-acpi > do fan control, *power off*, and power on again), does the bug still happen? Yes, my disabling fan fix is only for setting max speed to the fan to see if the problem is just a bad fan policy. In this case, it is not: the computer overheats even if fan is at max. The only way to avoid sudden rebooting is to unplug the computer from the power source and only work on battery. > If it does, the thinkpad is defective, and needs to be repaired. I think the best way to show that it is not a hardware problem but a bug in the kernel is to resinstall ubuntu (or wahtever distribution) with kernel < 3.0. If the computer does not overheat this is a kernel bug. Thank you. Cheers, Julien From linux-thinkpad@linux-thinkpad.org Fri Dec 14 13:50:00 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Fri, 14 Dec 2012 11:50:00 -0200 Subject: [ltp] Overheating T500 In-Reply-To: <50CAF5AC.8090005@gmail.com> References: <50C9B0F8.7060204@gmail.com> <20121214001004.GA13702@khazad-dum.debian.net> <50CAF5AC.8090005@gmail.com> Message-ID: <20121214135000.GA3208@khazad-dum.debian.net> On Fri, 14 Dec 2012, Julien Iguchi-Cartigny wrote: > > If it does, the thinkpad is defective, and needs to be repaired. > I think the best way to show that it is not a hardware problem but a bug > in the kernel is to resinstall ubuntu (or wahtever distribution) with > kernel < 3.0. If the computer does not overheat this is a kernel bug. Thinkpads are supposed to take care of themselves without help of the ACPI O.S., but they are *very* robust. Defects that would have most other laptops crashing and burning all the time, become an annoyance only when doing heavy workloads in a thinkpad. Also, when everything is perfect, the OS does so much work to avoid overheating, that you'd not notice the defect (but your laptop would be working with far less performance). THIS has not happened to thinkpads lately, their ACPI tables just don't play nice with the Intel ACPICA controllers, and I have no idea who is wrong in this one. Lenovo sometimes play fast and loose with ACPI tricks to keep the box within its thermal and power envelopes, but on the T-, X- and W-series, it really shouldn't need performance-reducing tricks unless you are working on a hot environment. So yes, it could very well be a kernel bug. But it is far more likely that you have a thermal interface crack, or some other manufacturing defect that shows up after some use. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Fri Dec 14 18:14:24 2012 From: linux-thinkpad@linux-thinkpad.org (irb) Date: Fri, 14 Dec 2012 11:14:24 -0700 Subject: [ltp] Overheating T500 In-Reply-To: <20121214135000.GA3208@khazad-dum.debian.net> References: <50C9B0F8.7060204@gmail.com> <20121214001004.GA13702@khazad-dum.debian.net> <50CAF5AC.8090005@gmail.com> <20121214135000.GA3208@khazad-dum.debian.net> Message-ID: <20121214181424.GA3438@maleficarum.org> --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Henrique de Moraes Holschuh (aka hmh@hmh.eng.br) used 1.7K on Fri, 14 Dec= 2012 at 11:50 -0200 to say:=20 > On Fri, 14 Dec 2012, Julien Iguchi-Cartigny wrote: >=20 > So yes, it could very well be a kernel bug. But it is far more likely th= at > you have a thermal interface crack, or some other manufacturing defect th= at > shows up after some use. I've been seeing this issue too, on a T43p that's been running Slackware Li= nux for many years. Slack 14 comes with a 3.2 kernel and that's when I started suffering random reboots. Stock or custom kernel doesn't matter. I've had some luck (!!) with removing the thermal module, but I'd be curious to know what changed. /i. --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFQy2yAUiN4LsUgaE4RAuTVAJ9+xBafGtFy7pojNYcuWjnSEhL5+QCgiSsj kze1BL2LIh2NCuTG6HgS+wM= =q/dR -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From linux-thinkpad@linux-thinkpad.org Sat Dec 15 16:18:39 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Sat, 15 Dec 2012 14:18:39 -0200 Subject: [ltp] Overheating T500 In-Reply-To: <20121214181424.GA3438@maleficarum.org> References: <50C9B0F8.7060204@gmail.com> <20121214001004.GA13702@khazad-dum.debian.net> <50CAF5AC.8090005@gmail.com> <20121214135000.GA3208@khazad-dum.debian.net> <20121214181424.GA3438@maleficarum.org> Message-ID: <20121215161839.GA15152@khazad-dum.debian.net> On Fri, 14 Dec 2012, irb wrote: > * Henrique de Moraes Holschuh (aka hmh@hmh.eng.br) used 1.7K on Fri, 14 Dec 2012 at 11:50 -0200 to say: > > On Fri, 14 Dec 2012, Julien Iguchi-Cartigny wrote: > > > > So yes, it could very well be a kernel bug. But it is far more likely that > > you have a thermal interface crack, or some other manufacturing defect that > > shows up after some use. > > I've been seeing this issue too, on a T43p that's been running Slackware Linux > for many years. Slack 14 comes with a 3.2 kernel and that's when I started > suffering random reboots. Stock or custom kernel doesn't matter. I've had > some luck (!!) with removing the thermal module, but I'd be curious to know > what changed. I have a T43 (model 2687 I believe). I can assure you it does NOT reboot, it does NOT crash, and it needs absolutely ZERO help from the OS to work heavy workloads at reasonably hot environments (it is usual for me to working at 30°C in the shadow, both in low and high-humidity environments). Kernels 3.0.y, 3.2.y and 3.4.y (i.e. the ones you get from kernel.org) are all good, using Debian Squeeze and Debian Wheezy userspace. *NO* suspend to disk, just suspend to RAM. If your T43 is crashing, open it, clean it up throughoutly, and replace the thermal compound on the CPU with Arctic Silver 5 or better (anything with less performance than AS5 will NOT do): the stuff from the factory really, REALLY doesn't survive for this long, it will have cracked for sure. My T43 will top at 72°C during a long kernel build (rest of the box will be at 45°C to 66°C, according to the 12 thermal sensors it has) if I leave it to the EC standard fan control, or at 70°C if I set it to fan level 7. It goes down to 67°C in disengaged fan mode, the CPU is a 1.83GHz Pentium M, I believe. It will get hotter if I do a both GPU and CPU burn: I never got around to modding it for enhanced GPU thermal cooling, and it has that annoying 2mm thermal gunk pad between the long-arm thermal sink and the discrete GPU, which really doesn't help at all. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Sat Dec 15 17:32:23 2012 From: linux-thinkpad@linux-thinkpad.org (Bill Wohler) Date: Sat, 15 Dec 2012 09:32:23 -0800 Subject: [ltp] Re: Overheating T500 References: <50C9B0F8.7060204@gmail.com> Message-ID: <87y5gz1as8.fsf@olgas.newt.com> Julien Iguchi-Cartigny writes: > Hello, > > I'm trying to understand why my T500 is overheating since Ubuntu 11.10. > I've wrote a wiki entry about in thinkwiki: I had the same problem with my T500. Took it in under warranty and the tech said he simply cleaned the fan/heatsink. -- Bill Wohler aka http://www.newt.com/wohler/ GnuPG ID:610BD9AD From linux-thinkpad@linux-thinkpad.org Sat Dec 15 21:02:32 2012 From: linux-thinkpad@linux-thinkpad.org (irb) Date: Sat, 15 Dec 2012 14:02:32 -0700 Subject: [ltp] Overheating T500 In-Reply-To: <20121215161839.GA15152@khazad-dum.debian.net> References: <50C9B0F8.7060204@gmail.com> <20121214001004.GA13702@khazad-dum.debian.net> <50CAF5AC.8090005@gmail.com> <20121214135000.GA3208@khazad-dum.debian.net> <20121214181424.GA3438@maleficarum.org> <20121215161839.GA15152@khazad-dum.debian.net> Message-ID: <20121215210232.GB3438@maleficarum.org> --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Henrique de Moraes Holschuh (aka hmh@hmh.eng.br) used 2.3K on Sat, 15 Dec= 2012 at 14:18 -0200 to say:=20 > On Fri, 14 Dec 2012, irb wrote: > > * Henrique de Moraes Holschuh (aka hmh@hmh.eng.br) used 1.7K on Fri, 14= Dec 2012 at 11:50 -0200 to say:=20 >=20 > I have a T43 (model 2687 I believe). I can assure you it does NOT reboot, > it does NOT crash, and it needs absolutely ZERO help from the OS to work > heavy workloads at reasonably hot environments (it is usual for me to > working at 30=B0C in the shadow, both in low and high-humidity environmen= ts). > Kernels 3.0.y, 3.2.y and 3.4.y (i.e. the ones you get from kernel.org) are > all good, using Debian Squeeze and Debian Wheezy userspace. *NO* suspend = to > disk, just suspend to RAM. =20 I will do so and report back to base. Your information here is very helpful. /i. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFQzOVoUiN4LsUgaE4RAtLjAKCCi0CWwqxjtZGF1Ul/NRfZbcEbqwCfbqQ0 UNI6VhjNZ1R7JFJ8jSwCu9o= =P30A -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- From linux-thinkpad@linux-thinkpad.org Thu Dec 20 03:01:17 2012 From: linux-thinkpad@linux-thinkpad.org (linux-thinkpad@linux-thinkpad.org) Date: Wed, 19 Dec 2012 19:01:17 -0800 Subject: [ltp] How to set "compose" key, T520 with no DE Message-ID: <78bac6e87e2ee75858d402dab2ae22fb.squirrel@webmail.strucktower.com> Hi All- I can't figure out how to use a "compose" key with my ThinkPad T520. I do not use a DE. Currently I am using the i3 tiling wm with Debian. I tried using $ sudo dpkg-reconfigure keyboard-configuration Using the menus I set the compose key to be the Right Alt key. I then checked: ************************* $ cat /etc/default/keyboard # Check /usr/share/doc/keyboard-configuration/README.Debian for # documentation on what to do after having modified this file. # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # in /etc/X11/xorg.conf. XKBMODEL=3D"pc105" XKBLAYOUT=3D"us" XKBVARIANT=3D"" XKBOPTIONS=3D"lv3:ralt_switch" # If you don't want to use the XKB layout on the console, you can # specify an alternative keymap. Make sure it will be accessible # before /usr is mounted. # KMAP=3D/etc/console-setup/defkeymap.kmap.gz BACKSPACE=3D"guess" *********************************** Maybe I am doing it wrong? I press the right alt key, release, then press (for example) "o" then "c" which should give me the copyright symbol, but does not work. Does not work if I press and hold the right alt key either= . I have tried other key combinations as well. I don't see "what to do after having modified this file" message means- that file doesn't tell me. I can generate special characters using the "Ted" word processing program's internal symbol creator for documents. Is there some default I should be aware of? is there some way to query th= e system to tell what character has been mapped to the compose key? Thanks for your help, Keith Ostertag From linux-thinkpad@linux-thinkpad.org Thu Dec 20 08:56:25 2012 From: linux-thinkpad@linux-thinkpad.org (Tamas Papp) Date: Thu, 20 Dec 2012 09:56:25 +0100 Subject: [ltp] How to set "compose" key, T520 with no DE In-Reply-To: <78bac6e87e2ee75858d402dab2ae22fb.squirrel@webmail.strucktower.com> References: <78bac6e87e2ee75858d402dab2ae22fb.squirrel@webmail.strucktower.com> Message-ID: <87mwx92jba.fsf@tamas.ihs.ac.at> Hi Keith, Just use XKBOPTIONS. Here is my /etc/default/keyboard: # Check /usr/share/doc/keyboard-configuration/README.Debian for # documentation on what to do after having modified this file. # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # in /etc/X11/xorg.conf. XKBMODEL="pc105" XKBLAYOUT="us,us" XKBVARIANT=",altg-intl" XKBOPTIONS="grp:shift_caps_switch,terminate:ctrl_alt_bksp,compose:prsc" # If you don't want to use the XKB layout on the console, you can # specify an alternative keymap. Make sure it will be accessible # before /usr is mounted. # KMAP=/etc/console-setup/defkeymap.kmap.gz BACKSPACE="guess" This setup 1. disables CapsLock's original function, Shift+CapsLock switches to the us-intl layout, CapsLock switches back to US (grp:..., you might want to remove this if you don't need it), 2. terminate:ctrl_alt_bksp allows me to kill X with this key combination, 3. compose:prsc makes PrtSc the compose key. I find this particularly convenient on my T430s. Best, Tamas On Thu, Dec 20 2012, keitho@strucktower.com wrote: > Hi All- > > I can't figure out how to use a "compose" key with my ThinkPad T520. > > I do not use a DE. Currently I am using the i3 tiling wm with Debian. > > I tried using > > $ sudo dpkg-reconfigure keyboard-configuration > > Using the menus I set the compose key to be the Right Alt key. I then > checked: > > ************************* > $ cat /etc/default/keyboard > # Check /usr/share/doc/keyboard-configuration/README.Debian for > # documentation on what to do after having modified this file. > > # The following variables describe your keyboard and can have the same # > values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # in > /etc/X11/xorg.conf. > > XKBMODEL="pc105" > XKBLAYOUT="us" > XKBVARIANT="" > XKBOPTIONS="lv3:ralt_switch" > > # If you don't want to use the XKB layout on the console, you can > # specify an alternative keymap. Make sure it will be accessible > # before /usr is mounted. > # KMAP=/etc/console-setup/defkeymap.kmap.gz > BACKSPACE="guess" > *********************************** > > Maybe I am doing it wrong? I press the right alt key, release, then press > (for example) "o" then "c" which should give me the copyright symbol, but > does not work. Does not work if I press and hold the right alt key either . > I have tried other key combinations as well. > > I don't see "what to do after having modified this file" message means- > that file doesn't tell me. > > I can generate special characters using the "Ted" word processing > program's internal symbol creator for documents. > > Is there some default I should be aware of? is there some way to query the > system to tell what character has been mapped to the compose key? > > Thanks for your help, > Keith Ostertag From linux-thinkpad@linux-thinkpad.org Thu Dec 20 15:05:00 2012 From: linux-thinkpad@linux-thinkpad.org (linux-thinkpad@linux-thinkpad.org) Date: Thu, 20 Dec 2012 07:05:00 -0800 Subject: [ltp] How to set "compose" key, T520 with no DE In-Reply-To: <20121220110100.7B2653407D@parabel.matrix.de> References: <20121220110100.7B2653407D@parabel.matrix.de> Message-ID: Hi Tamas- Hmm... I must be missing a step... I manually edited the /etc/default/keyboard file to read exactly as the one you have provided. But after rebooting nothing changes- CapsLk still works as it always has, shift-CapsLk apparently doesn't change anything, no compose function with prsc. BTW- how is the us-intl different from the us? Is there a webpage that describes this? Thanks, Keith > Message: 2 > From: Tamas Papp > To: linux-thinkpad@linux-thinkpad.org > Subject: Re: [ltp] How to set "compose" key, T520 with no DE > Date: Thu, 20 Dec 2012 09:56:25 +0100 > Reply-To: linux-thinkpad@linux-thinkpad.org > > Hi Keith, > > Just use XKBOPTIONS. Here is my /etc/default/keyboard: > > # Check /usr/share/doc/keyboard-configuration/README.Debian for > # documentation on what to do after having modified this file. > > # The following variables describe your keyboard and can have the same > # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options > # in /etc/X11/xorg.conf. > > XKBMODEL=3D"pc105" > XKBLAYOUT=3D"us,us" > XKBVARIANT=3D",altg-intl" > XKBOPTIONS=3D"grp:shift_caps_switch,terminate:ctrl_alt_bksp,compose:prs= c" > > # If you don't want to use the XKB layout on the console, you can > # specify an alternative keymap. Make sure it will be accessible > # before /usr is mounted. > # KMAP=3D/etc/console-setup/defkeymap.kmap.gz > BACKSPACE=3D"guess" > > This setup > > 1. disables CapsLock's original function, Shift+CapsLock switches to th= e > us-intl layout, CapsLock switches back to US (grp:..., you might want t= o > remove this if you don't need it), > > 2. terminate:ctrl_alt_bksp allows me to kill X with this key > combination, > > 3. compose:prsc makes PrtSc the compose key. > > I find this particularly convenient on my T430s. > > Best, > > Tamas > > On Thu, Dec 20 2012, keitho@strucktower.com wrote: > >> Hi All- >> >> I can't figure out how to use a "compose" key with my ThinkPad T520. >> >> I do not use a DE. Currently I am using the i3 tiling wm with Debian. >> >> I tried using >> >> $ sudo dpkg-reconfigure keyboard-configuration >> >> Using the menus I set the compose key to be the Right Alt key. I then >> checked: >> >> ************************* >> $ cat /etc/default/keyboard >> # Check /usr/share/doc/keyboard-configuration/README.Debian for >> # documentation on what to do after having modified this file. >> >> # The following variables describe your keyboard and can have the same= # >> values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # >> in >> /etc/X11/xorg.conf. >> >> XKBMODEL=3D"pc105" >> XKBLAYOUT=3D"us" >> XKBVARIANT=3D"" >> XKBOPTIONS=3D"lv3:ralt_switch" >> >> # If you don't want to use the XKB layout on the console, you can >> # specify an alternative keymap. Make sure it will be accessible >> # before /usr is mounted. >> # KMAP=3D/etc/console-setup/defkeymap.kmap.gz >> BACKSPACE=3D"guess" >> *********************************** >> >> Maybe I am doing it wrong? I press the right alt key, release, then >> press >> (for example) "o" then "c" which should give me the copyright symbol, >> but >> does not work. Does not work if I press and hold the right alt key >> either . >> I have tried other key combinations as well. >> >> I don't see "what to do after having modified this file" message means= - >> that file doesn't tell me. >> >> I can generate special characters using the "Ted" word processing >> program's internal symbol creator for documents. >> >> Is there some default I should be aware of? is there some way to query >> the >> system to tell what character has been mapped to the compose key? >> >> Thanks for your help, >> Keith Ostertag > > > > --__--__-- > > -- > The linux-thinkpad mailing list home page is at: > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad > > End of Linux-Thinkpad Digest > From linux-thinkpad@linux-thinkpad.org Thu Dec 20 15:49:27 2012 From: linux-thinkpad@linux-thinkpad.org (Tamas Papp) Date: Thu, 20 Dec 2012 16:49:27 +0100 Subject: [ltp] How to set "compose" key, T520 with no DE In-Reply-To: References: <20121220110100.7B2653407D@parabel.matrix.de>, Message-ID: <874njgg1vc.fsf@tamas.ihs.ac.at> Hi Keith, You can use setxkbmap -print to query your settings. You can also use setxkbmap to specify your layout (see its man page), so you can experiment without changing /etc/default/keyboard. us-intl allows you to type accented characters, eg 'a => á. If you don't do that often then you probably don't need it, especially if you have the compose key. See http://hermit.org/Linux/ComposeKeys.html for a nice summary of what you can do with the latter. Best, Tamas On Thu, Dec 20 2012, keitho@strucktower.com wrote: > Hi Tamas- > > Hmm... I must be missing a step... > > I manually edited the /etc/default/keyboard file to read exactly as the > one you have provided. But after rebooting nothing changes- CapsLk still > works as it always has, shift-CapsLk apparently doesn't change anything, > no compose function with prsc. > > BTW- how is the us-intl different from the us? Is there a webpage that > describes this? > > Thanks, > Keith > >> Message: 2 >> From: Tamas Papp >> To: linux-thinkpad@linux-thinkpad.org >> Subject: Re: [ltp] How to set "compose" key, T520 with no DE >> Date: Thu, 20 Dec 2012 09:56:25 +0100 >> Reply-To: linux-thinkpad@linux-thinkpad.org >> >> Hi Keith, >> >> Just use XKBOPTIONS. Here is my /etc/default/keyboard: >> >> # Check /usr/share/doc/keyboard-configuration/README.Debian for >> # documentation on what to do after having modified this file. >> >> # The following variables describe your keyboard and can have the same >> # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options >> # in /etc/X11/xorg.conf. >> >> XKBMODEL="pc105" >> XKBLAYOUT="us,us" >> XKBVARIANT=",altg-intl" >> XKBOPTIONS="grp:shift_caps_switch,terminate:ctrl_alt_bksp,compose:prsc" >> >> # If you don't want to use the XKB layout on the console, you can >> # specify an alternative keymap. Make sure it will be accessible >> # before /usr is mounted. >> # KMAP=/etc/console-setup/defkeymap.kmap.gz >> BACKSPACE="guess" >> >> This setup >> >> 1. disables CapsLock's original function, Shift+CapsLock switches to the >> us-intl layout, CapsLock switches back to US (grp:..., you might want to >> remove this if you don't need it), >> >> 2. terminate:ctrl_alt_bksp allows me to kill X with this key >> combination, >> >> 3. compose:prsc makes PrtSc the compose key. >> >> I find this particularly convenient on my T430s. >> >> Best, >> >> Tamas >> >> On Thu, Dec 20 2012, keitho@strucktower.com wrote: >> >>> Hi All- >>> >>> I can't figure out how to use a "compose" key with my ThinkPad T520. >>> >>> I do not use a DE. Currently I am using the i3 tiling wm with Debian. >>> >>> I tried using >>> >>> $ sudo dpkg-reconfigure keyboard-configuration >>> >>> Using the menus I set the compose key to be the Right Alt key. I then >>> checked: >>> >>> ************************* >>> $ cat /etc/default/keyboard >>> # Check /usr/share/doc/keyboard-configuration/README.Debian for >>> # documentation on what to do after having modified this file. >>> >>> # The following variables describe your keyboard and can have the same # >>> values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # >>> in >>> /etc/X11/xorg.conf. >>> >>> XKBMODEL="pc105" >>> XKBLAYOUT="us" >>> XKBVARIANT="" >>> XKBOPTIONS="lv3:ralt_switch" >>> >>> # If you don't want to use the XKB layout on the console, you can >>> # specify an alternative keymap. Make sure it will be accessible >>> # before /usr is mounted. >>> # KMAP=/etc/console-setup/defkeymap.kmap.gz >>> BACKSPACE="guess" >>> *********************************** >>> >>> Maybe I am doing it wrong? I press the right alt key, release, then >>> press >>> (for example) "o" then "c" which should give me the copyright symbol, >>> but >>> does not work. Does not work if I press and hold the right alt key >>> either . >>> I have tried other key combinations as well. >>> >>> I don't see "what to do after having modified this file" message means- >>> that file doesn't tell me. >>> >>> I can generate special characters using the "Ted" word processing >>> program's internal symbol creator for documents. >>> >>> Is there some default I should be aware of? is there some way to query >>> the >>> system to tell what character has been mapped to the compose key? >>> >>> Thanks for your help, >>> Keith Ostertag >> >> >> >> --__--__-- >> >> -- >> The linux-thinkpad mailing list home page is at: >> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad >> >> End of Linux-Thinkpad Digest >> From linux-thinkpad@linux-thinkpad.org Thu Dec 20 16:17:17 2012 From: linux-thinkpad@linux-thinkpad.org (Paul Seelig) Date: Thu, 20 Dec 2012 17:17:17 +0100 Subject: [ltp] How to set "compose" key, T520 with no DE In-Reply-To: <78bac6e87e2ee75858d402dab2ae22fb.squirrel@webmail.strucktower.com> References: <78bac6e87e2ee75858d402dab2ae22fb.squirrel@webmail.strucktower.com> Message-ID: <50D33A0D.8070507@rumbero.es> I use this here: $ cat /etc/X11/Xsession.d/99x14-composekey if [ "$(setxkbmap -query | grep -c 'compose:caps')" != "1" ]; then setxkbmap -option compose:caps fi Hope this helps, Paul On 12/20/2012 04:01 AM, keitho@strucktower.com wrote: > Hi All- > > I can't figure out how to use a "compose" key with my ThinkPad T520. > > I do not use a DE. Currently I am using the i3 tiling wm with Debian. > From linux-thinkpad@linux-thinkpad.org Fri Dec 21 06:31:01 2012 From: linux-thinkpad@linux-thinkpad.org (Helen Borrie) Date: Fri, 21 Dec 2012 19:31:01 +1300 Subject: [ltp] NOT ABOUT LINUX: I'm in love with this, Santa! Message-ID: <20121221063107.YVNC6031.mta02.xtra.co.nz@dev1.mail.iinet.net.au> Please, Santa, please, I've be sooooo good all year! http://shopap.lenovo.com/au/en/products/laptops/thinkpad/x-series/x1-carbon-touch/index.html From linux-thinkpad@linux-thinkpad.org Fri Dec 21 07:50:04 2012 From: linux-thinkpad@linux-thinkpad.org (philippe preux) Date: Fri, 21 Dec 2012 08:50:04 +0100 Subject: [ltp] ssd for X220 Message-ID: <50D414AC.8050600@inria.fr> Hello, I have a 128 Gb ssd on my x220 (running Ubuntu if that matters). I'd like to upgrade it. Currently, I do not find anything larger than 512 Gb. Is that a fact? I see a 768 Gb for Macs and I wonder there is such a possibility for x220. Anyone knows something about that? Thanks a lot, Philippe From linux-thinkpad@linux-thinkpad.org Fri Dec 21 08:25:44 2012 From: linux-thinkpad@linux-thinkpad.org (Dmitry E. Mikhailov) Date: Fri, 21 Dec 2012 14:25:44 +0600 Subject: [ltp] ssd for X220 In-Reply-To: <50D414AC.8050600@inria.fr> References: <50D414AC.8050600@inria.fr> Message-ID: <1356078344.3202.64.camel@ibm2> On Fri, 2012-12-21 at 08:50 +0100, philippe preux wrote: > Hello, > I have a 128 Gb ssd on my x220 (running Ubuntu if that matters). I'd > like to upgrade it. > Currently, I do not find anything larger than 512 Gb. Is that a fact? > I see a 768 Gb for Macs and I wonder there is such a possibility for x220. > Anyone knows something about that? > Thanks a lot, > Philippe Even 512GB costs A LOT. May be it would be cheaper to sell x220 and get a Mac with 768GB? You might consider installing am MSATA SSD onto x220 and add a 2.5" HDD of some 1000 GB of spinning storage. -- Best regards, Dmitry Mikhailov From linux-thinkpad@linux-thinkpad.org Fri Dec 21 08:29:30 2012 From: linux-thinkpad@linux-thinkpad.org (Rubin Abdi) Date: Fri, 21 Dec 2012 00:29:30 -0800 Subject: [ltp] ssd for X220 In-Reply-To: <50D414AC.8050600@inria.fr> References: <50D414AC.8050600@inria.fr> Message-ID: <50D41DEA.20100@starset.net> This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2WJPPWPNSNFHTHFOCFBBI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable philippe preux wrote, On 2012-12-20 23:50: > I have a 128 Gb ssd on my x220 (running Ubuntu if that matters). I'd > like to upgrade it. > Currently, I do not find anything larger than 512 Gb. Is that a fact? > I see a 768 Gb for Macs and I wonder there is such a possibility for x2= 20. > Anyone knows something about that? Not really exactly what you're asking for, but have you thought about going with a SSD mSATA and platter drive solution? Currently in my X220 I'm running a 128GB mSATA SSD (I think they come in 256GB now) with root running of off it (for the most part), and a second 2.5" 1TB platter drive running as a sort of secondary home or media storage. laptop-mode-tools has some config somewhere that'll shut the drive down after 15 seconds of inactivity while running on battery power.= The mSATA drive I grabbed off of https://www.mydigitaldiscount.com/ about 1.5 years ago for around $230, I think prices are a little less for twice as much now. The platter drive is some Samsung thing. I had to sort of remove my motherboard from inside the machine and wedge the thing in there without the drive try to make it fit (kind of regretting it now). Anyhow, Debian runs blindingly fast and I still have a boat load of storage for music, videos, honey badgers, virtual machines, etc. Both drives have full disk encryption. --=20 Rubin rubin@starset.net ------enig2WJPPWPNSNFHTHFOCFBBI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ1B3qAAoJENiO8GEa75D0RigIAM3f0P/ORSNpVkn3aKHNN1hW WcRvvr2t6jxoQ1kumjptZgweKE+jD/lJ0qgBbhZgKCGbCoAIoUaAGs9q1coFFnHJ SzytU46EfjJR7q7FWATHo6k2Y44KA/SyDBokZ6ql+awi1IILS+olepgtB/Be9Kii XuS+wHT37lzImU1iV5kPqy+21/nf1UJloxxy2Ue8PAqEH9CVgZW28mFAbeGoC4uq hUn4XubKq6xHM/WCe4iuNqRWWqbni0t6teAEukqzfeCfDRKzhGXwfBohCZztdKwU hH1qqoAph3Sn5EGUce0RfsNBilCDyOZCiejTCe54I5+tIy8pYojOHB2Xha1CmuA= =2b7m -----END PGP SIGNATURE----- ------enig2WJPPWPNSNFHTHFOCFBBI-- From linux-thinkpad@linux-thinkpad.org Fri Dec 21 16:43:43 2012 From: linux-thinkpad@linux-thinkpad.org (Sandro) Date: Fri, 21 Dec 2012 17:43:43 +0100 Subject: [ltp] Battery tweaks for X1 Carbon - cannot install ts_mapi Message-ID: Hello, I thought I'd install tp-smapi-dkms because my battery keeps charging those small percentages while I'd rather have it charge only when it has dropped below 40%. But those instructions found in do no good in Ubuntu 12.10. The modprobe_command gives an error about a missing file that is there? Does somebody know how to get those precise battery functions in modern thinkpads tike this Carbon X1? script follows: -- # apt-get install tp-smapi-dkms (..) Creating symlink /var/lib/dkms/tp-smapi/0.41/source -> /usr/src/tp-smapi-0.41 (..) thinkpad_ec: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.5.0-19-generic/extra/ tp_smapi.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.5.0-19-generic/extra/ hdaps.ko: Running module version sanity check. - Original module - Found /lib/modules/3.5.0-19-generic/kernel/drivers/platform/x86/hdaps.ko - Storing in /var/lib/dkms/tp-smapi/original_module/3.5.0-19-generic/x86_64/ - Archiving for uninstallation purposes - Installation - Installing to /lib/modules/3.5.0-19-generic/updates/ depmod.... DKMS: install completed. # modprobe tp_smapi FATAL: Error inserting tp_smapi (/lib/modules/3.5.0-19-generic/extra/tp_smapi.ko): No such device or address # ls -lah /lib/modules/3.5.0-19-generic/extra/ total 72K drwxr-xr-x 2 root root 4.0K Dec 21 17:33 . drwxr-xr-x 6 root root 4.0K Dec 21 17:33 .. -rw-r--r-- 1 root root 16K Dec 21 17:33 thinkpad_ec.ko -rw-r--r-- 1 root root 48K Dec 21 17:33 tp_smapi.ko From linux-thinkpad@linux-thinkpad.org Fri Dec 21 18:17:46 2012 From: linux-thinkpad@linux-thinkpad.org (Theodore Ts'o) Date: Fri, 21 Dec 2012 13:17:46 -0500 Subject: [ltp] ssd for X220 In-Reply-To: <50D41DEA.20100@starset.net> References: <50D414AC.8050600@inria.fr> <50D41DEA.20100@starset.net> Message-ID: <20121221181746.GC31731@thunk.org> On Fri, Dec 21, 2012 at 12:29:30AM -0800, Rubin Abdi wrote: > > Currently in my X220 I'm running a 128GB mSATA SSD (I think they come in > 256GB now) with root running of off it (for the most part), and a second > 2.5" 1TB platter drive running as a sort of secondary home or media > storage. laptop-mode-tools has some config somewhere that'll shut the > drive down after 15 seconds of inactivity while running on battery power. This is what I'm doing, although I'm using an Intel series 810 mSATA ssd. It's only 80 gigs, but it's based on the X-25M controller, and I trust it a heck of a lot more than some of the other more "adventurous" SSD controller designs. (Intel tends to be a lot more conservative with their FTL designs than some of the other SSD manufacturers.) Currently it's available for around $180. > The platter drive is some Samsung thing. I had to sort of remove my > motherboard from inside the machine and wedge the thing in there without > the drive try to make it fit (kind of regretting it now). The trick is to make sure you use a 7mm hard drive. I'm using a Hitachi Travelstar Z5K500, which is a 5400rpm, 500G drive, which is available for around $60. The reason why I'm using the older 5400rpm drive is because I care more about battery lifetime than performance --- 80G is plenty of room for the stuff that requires low latency access, which in my case is my system binaries, my home directory, and my source trees. I keep my A/V media files, build trees with the object files, and less frequently used bulk data on the 5400pm HDD. - Ted From linux-thinkpad@linux-thinkpad.org Fri Dec 21 21:09:10 2012 From: linux-thinkpad@linux-thinkpad.org (Rubin Abdi) Date: Fri, 21 Dec 2012 13:09:10 -0800 Subject: [ltp] ssd for X220 In-Reply-To: <20121221181746.GC31731@thunk.org> References: <50D414AC.8050600@inria.fr> <50D41DEA.20100@starset.net> <20121221181746.GC31731@thunk.org> Message-ID: <50D4CFF6.1000902@starset.net> This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2SSMKEQQQVINITNTKJVRN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Theodore Ts'o wrote, On 2012-12-21 10:17: > The trick is to make sure you use a 7mm hard drive. I'm using a > Hitachi Travelstar Z5K500, which is a 5400rpm, 500G drive, which is > available for around $60. The reason why I'm using the older 5400rpm > drive is because I care more about battery lifetime than performance > --- 80G is plenty of room for the stuff that requires low latency > access, which in my case is my system binaries, my home directory, and > my source trees. I keep my A/V media files, build trees with the > object files, and less frequently used bulk data on the 5400pm HDD. There's also this list which isn't updated anymore, but I'm sure there's info in the thread, somewhere... http://forum.notebookreview.com/lenovo/572243-list-drives-compatible-x220= =2Ehtml Some of the 9.5mm tricks include removing pieces of the drives, the mother board wedge thing I spoke about, and dremeling out the "teeth" that are at the entrance of the drive bay. Pick a drive that has quiet and fast spin up, becuase that's the most obnoxious thing about this setup. --=20 Rubin rubin@starset.net ------enig2SSMKEQQQVINITNTKJVRN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ1M/2AAoJENiO8GEa75D0NscH/RxTuqXzaiq9lbzulezWw5Jc erPDebb6yoTUegwpfjw1zwfEA+Lq0GBbbLPiVP3V1KwR0eump9TejfGPgMZYppG1 wDoyhz6NWYUKw2t/eUmehjnOPw4YNkA73j7rYXt8HbnKqNm3pJsLJVwZ8a7iK3Kk QbFGMzpXcEHJQOmAi8C9fI+i8bUMILNh+yYkZHCIdKViXn5MFJsqIIhoaNEEkP/F wDZwveusgFZBL1uF+Z1KLZKreACrmcdLpZ0fE2e0AQjlyocaPo0InoJPby1YmTEL 0OkL6Si1nz5e/9TQnvgtTJcRWpAy/TPvoo6gHE+anKzEYDJ0cG1ZwiwuMDm5SFQ= =IFTm -----END PGP SIGNATURE----- ------enig2SSMKEQQQVINITNTKJVRN-- From linux-thinkpad@linux-thinkpad.org Sun Dec 23 00:50:41 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Sat, 22 Dec 2012 22:50:41 -0200 Subject: [ltp] Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: References: Message-ID: <20121223005041.GB12747@khazad-dum.debian.net> On Fri, 21 Dec 2012, Sandro wrote: > I thought I'd install tp-smapi-dkms because my battery keeps charging > those small percentages while I'd rather have it charge only when it > has dropped below 40%. > > But those instructions found in > do no good in Ubuntu 12.10. > The modprobe_command gives an error about a missing file that is > there? > > Does somebody know how to get those precise battery functions in > modern thinkpads tike this Carbon X1? Yes. Find a way to get me one, or track down the author of tp-smapi and get him one. Failing that, track down "mg" from the thinkpad-forums and get him one. Maybe there are others who could do it, I am sure they'll say "me too" to this thread if they're around :p If you are *really* adventurous, I can tell you how to set the battery levels directly though the EC register map on T4x-class ECs, bypassing SMAPI. It could do something quite bad to your thinkpad, though. I have never tested it in anything newer than a T43/p. There's a much easier way. Set it in windows, and it should hold until you power down the EC, which actually requires removing all batteries and AC power at the same time for a while (or doing the "press power button a number of times without batteries and AC" dance). -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Sun Dec 23 14:40:56 2012 From: linux-thinkpad@linux-thinkpad.org (Evgeni Golov) Date: Sun, 23 Dec 2012 15:40:56 +0100 Subject: [ltp] Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: <20121223005041.GB12747@khazad-dum.debian.net> References: <20121223005041.GB12747@khazad-dum.debian.net> Message-ID: <20121223144055.GA14027@dorei.kerker.die-welt.net> Hi, On Sat, Dec 22, 2012 at 10:50:41PM -0200, Henrique de Moraes Holschuh wrote: > On Fri, 21 Dec 2012, Sandro wrote: > > I thought I'd install tp-smapi-dkms because my battery keeps charging > > those small percentages while I'd rather have it charge only when it > > has dropped below 40%. > > > > But those instructions found in > > do no good in Ubuntu 12.10. > > The modprobe_command gives an error about a missing file that is > > there? > > > > Does somebody know how to get those precise battery functions in > > modern thinkpads tike this Carbon X1? > > Yes. Find a way to get me one, or track down the author of tp-smapi > and get him one. Failing that, track down "mg" from the thinkpad-forums > and get him one. > > Maybe there are others who could do it, I am sure they'll say "me too" > to this thread if they're around :p I'll say there is noone who can do this. But for another reason: the X1 has no SMAPI. Lenovo opted in for a ACPI only interface: https://github.com/evgeni/tp_smapi/issues/3#issuecomment-2567753 Greets Evgeni 'tp-smapi should be dead but I try to maintain it without a clue' Golov -- Bruce Schneier can read and understand Perl programs. From linux-thinkpad@linux-thinkpad.org Sun Dec 23 17:33:48 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Sun, 23 Dec 2012 15:33:48 -0200 Subject: [ltp] Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: <20121223144055.GA14027@dorei.kerker.die-welt.net> References: <20121223005041.GB12747@khazad-dum.debian.net> <20121223144055.GA14027@dorei.kerker.die-welt.net> Message-ID: <20121223173348.GA7119@khazad-dum.debian.net> On Sun, 23 Dec 2012, Evgeni Golov wrote: > On Sat, Dec 22, 2012 at 10:50:41PM -0200, Henrique de Moraes Holschuh wrote: > > On Fri, 21 Dec 2012, Sandro wrote: > > > I thought I'd install tp-smapi-dkms because my battery keeps charging > > > those small percentages while I'd rather have it charge only when it > > > has dropped below 40%. > > > > > > But those instructions found in > > > do no good in Ubuntu 12.10. > > > The modprobe_command gives an error about a missing file that is > > > there? > > > > > > Does somebody know how to get those precise battery functions in > > > modern thinkpads tike this Carbon X1? > > > > Yes. Find a way to get me one, or track down the author of tp-smapi > > and get him one. Failing that, track down "mg" from the thinkpad-forums > > and get him one. > > > > Maybe there are others who could do it, I am sure they'll say "me too" > > to this thread if they're around :p > > I'll say there is noone who can do this. But for another reason: the X1 > has no SMAPI. Lenovo opted in for a ACPI only interface: > https://github.com/evgeni/tp_smapi/issues/3#issuecomment-2567753 Who said you'd have to bother with SMAPI? It is clear one has to mess with ACPI and WMI on the newer Thinkpads, and leave the SMAPI interface for the older ones. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Fri Dec 28 13:09:14 2012 From: linux-thinkpad@linux-thinkpad.org (Sandro) Date: Fri, 28 Dec 2012 14:09:14 +0100 Subject: [ltp] Re: Battery tweaks for X1 Carbon - cannot install ts_mapi Message-ID: --e89a8f2351fdf5042104d1e95fd9 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the hints on this. I didn't know tp_smapi was outdated and I have to use the standard ACPI for this. Is there a standard/default/ACPI way of changing the start/stop charging levels for the battery or is this just something I shouldn't be bothered with anymore? BTW I cannot find similar functionality in Windows (referencing the tip to change it there) - probably for the same reason (no more SMAPI). Greets, Sander --e89a8f2351fdf5042104d1e95fd9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for the hints on this. I didn't know tp_smapi w= as outdated and I have to use the standard ACPI for this.
Is ther= e a standard/default/ACPI way of changing the start/stop charging levels fo= r the battery or is this just something I shouldn't be bothered with an= ymore?

BTW I cannot find similar functionality in Windows (referencing the tip= to change it there) - probably for the same reason (no more SMAPI).
<= div style>
Greets, Sander
--e89a8f2351fdf5042104d1e95fd9-- From linux-thinkpad@linux-thinkpad.org Fri Dec 28 13:12:34 2012 From: linux-thinkpad@linux-thinkpad.org (Evgeni Golov) Date: Fri, 28 Dec 2012 14:12:34 +0100 Subject: [ltp] Re: Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: References: Message-ID: <20121228131234.GH14027@dorei.kerker.die-welt.net> On Fri, Dec 28, 2012 at 02:09:14PM +0100, Sandro wrote: > Thanks for the hints on this. I didn't know tp_smapi was outdated and I > have to use the standard ACPI for this. > Is there a standard/default/ACPI way of changing the start/stop charging > levels for the battery or is this just something I shouldn't be bothered > with anymore? > > BTW I cannot find similar functionality in Windows (referencing the tip to > change it there) - probably for the same reason (no more SMAPI). The guy who wrote the ACPI stuff said he reversed that from Windows, so it should be possible there too. -- Bruce Schneier can read and understand Perl programs. From linux-thinkpad@linux-thinkpad.org Fri Dec 28 18:26:17 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Fri, 28 Dec 2012 16:26:17 -0200 Subject: [ltp] Re: Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: <20121228131234.GH14027@dorei.kerker.die-welt.net> References: <20121228131234.GH14027@dorei.kerker.die-welt.net> Message-ID: <20121228182617.GA26167@khazad-dum.debian.net> On Fri, 28 Dec 2012, Evgeni Golov wrote: > On Fri, Dec 28, 2012 at 02:09:14PM +0100, Sandro wrote: > > Thanks for the hints on this. I didn't know tp_smapi was outdated and I > > have to use the standard ACPI for this. > > Is there a standard/default/ACPI way of changing the start/stop charging > > levels for the battery or is this just something I shouldn't be bothered > > with anymore? > > > > BTW I cannot find similar functionality in Windows (referencing the tip to > > change it there) - probably for the same reason (no more SMAPI). > > The guy who wrote the ACPI stuff said he reversed that from Windows, so > it should be possible there too. If you mean me (the thinkpad-acpi maintainer), no, I didn't say anything of the sort. I have NEVER reverse engineered any Windows software or Windows driver. Nor have I ever offered to. I work based on hundreds of hours of trial-and-error, and also by studying the contents of the ACPI tables and a lot of experience, plus asking Lenovo engineers about it when it is something they are allowed to talk about. If The X1-carbon with the full Lenovo-provided thinkvantage suite does NOT let you control battery levels, then it probably means the functionality simply isn't available or that it is now automated somehow. Ask Lenovo directly, if their advanced battery driver in the thinkvantage suite can do it, they will tell you how to get to the pretty screen that has that option... -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Fri Dec 28 18:51:26 2012 From: linux-thinkpad@linux-thinkpad.org (Evgeni Golov) Date: Fri, 28 Dec 2012 19:51:26 +0100 Subject: [ltp] Re: Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: <20121228182617.GA26167@khazad-dum.debian.net> References: <20121228131234.GH14027@dorei.kerker.die-welt.net> <20121228182617.GA26167@khazad-dum.debian.net> Message-ID: <20121228185126.GI14027@dorei.kerker.die-welt.net> On Fri, Dec 28, 2012 at 04:26:17PM -0200, Henrique de Moraes Holschuh wrote: > On Fri, 28 Dec 2012, Evgeni Golov wrote: > > On Fri, Dec 28, 2012 at 02:09:14PM +0100, Sandro wrote: > > > Thanks for the hints on this. I didn't know tp_smapi was outdated and I > > > have to use the standard ACPI for this. > > > Is there a standard/default/ACPI way of changing the start/stop charging > > > levels for the battery or is this just something I shouldn't be bothered > > > with anymore? > > > > > > BTW I cannot find similar functionality in Windows (referencing the tip to > > > change it there) - probably for the same reason (no more SMAPI). > > > > The guy who wrote the ACPI stuff said he reversed that from Windows, so > > it should be possible there too. > > If you mean me (the thinkpad-acpi maintainer), no, I didn't say anything of > the sort. I have NEVER reverse engineered any Windows software or Windows > driver. Nor have I ever offered to. No, I would have mentioned you by name. :) I meant the one who posted about the acpi way on github. greets evgeni -- Bruce Schneier can read and understand Perl programs. From linux-thinkpad@linux-thinkpad.org Sat Dec 29 01:36:09 2012 From: linux-thinkpad@linux-thinkpad.org (Henrique de Moraes Holschuh) Date: Fri, 28 Dec 2012 23:36:09 -0200 Subject: [ltp] Re: Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: <20121228185126.GI14027@dorei.kerker.die-welt.net> References: <20121228131234.GH14027@dorei.kerker.die-welt.net> <20121228182617.GA26167@khazad-dum.debian.net> <20121228185126.GI14027@dorei.kerker.die-welt.net> Message-ID: <20121229013609.GA5977@khazad-dum.debian.net> On Fri, 28 Dec 2012, Evgeni Golov wrote: > On Fri, Dec 28, 2012 at 04:26:17PM -0200, Henrique de Moraes Holschuh wrote: > > On Fri, 28 Dec 2012, Evgeni Golov wrote: > > > On Fri, Dec 28, 2012 at 02:09:14PM +0100, Sandro wrote: > > > > Thanks for the hints on this. I didn't know tp_smapi was outdated and I > > > > have to use the standard ACPI for this. > > > > Is there a standard/default/ACPI way of changing the start/stop charging > > > > levels for the battery or is this just something I shouldn't be bothered > > > > with anymore? > > > > > > > > BTW I cannot find similar functionality in Windows (referencing the tip to > > > > change it there) - probably for the same reason (no more SMAPI). > > > > > > The guy who wrote the ACPI stuff said he reversed that from Windows, so > > > it should be possible there too. > > > > If you mean me (the thinkpad-acpi maintainer), no, I didn't say anything of > > the sort. I have NEVER reverse engineered any Windows software or Windows > > driver. Nor have I ever offered to. > > No, I would have mentioned you by name. :) > I meant the one who posted about the acpi way on github. Do you have a link to that post? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh From linux-thinkpad@linux-thinkpad.org Sat Dec 29 06:47:54 2012 From: linux-thinkpad@linux-thinkpad.org (Evgeni Golov) Date: Sat, 29 Dec 2012 07:47:54 +0100 Subject: [ltp] Re: Battery tweaks for X1 Carbon - cannot install ts_mapi In-Reply-To: <20121229013609.GA5977@khazad-dum.debian.net> References: <20121228131234.GH14027@dorei.kerker.die-welt.net> <20121228182617.GA26167@khazad-dum.debian.net> <20121228185126.GI14027@dorei.kerker.die-welt.net> <20121229013609.GA5977@khazad-dum.debian.net> Message-ID: <6b20d0c3-4ff4-48db-86c8-749ae8605e36@email.android.com> ------0OMYHWQUHA4BZ13F9Q92DLCTPXLS8R Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I meant https://github.com/evgeni/tp_smapi/issues/3#issuecomment-2567753 and https://github.com/teleshoes/tpacpi-bat, cant find the Windows reference from my phone there, though. Henrique de Moraes Holschuh wrote: >On Fri, 28 Dec 2012, Evgeni Golov wrote: >> On Fri, Dec 28, 2012 at 04:26:17PM -0200, Henrique de Moraes Holschuh >wrote: >> > On Fri, 28 Dec 2012, Evgeni Golov wrote: >> > > On Fri, Dec 28, 2012 at 02:09:14PM +0100, Sandro wrote: >> > > > Thanks for the hints on this. I didn't know tp_smapi was >outdated and I >> > > > have to use the standard ACPI for this. >> > > > Is there a standard/default/ACPI way of changing the start/stop >charging >> > > > levels for the battery or is this just something I shouldn't be >bothered >> > > > with anymore? >> > > > >> > > > BTW I cannot find similar functionality in Windows (referencing >the tip to >> > > > change it there) - probably for the same reason (no more >SMAPI). >> > > >> > > The guy who wrote the ACPI stuff said he reversed that from >Windows, so >> > > it should be possible there too. >> > >> > If you mean me (the thinkpad-acpi maintainer), no, I didn't say >anything of >> > the sort. I have NEVER reverse engineered any Windows software or >Windows >> > driver. Nor have I ever offered to. >> >> No, I would have mentioned you by name. :) >> I meant the one who posted about the acpi way on github. > >Do you have a link to that post? > >-- > "One disk to rule them all, One disk to find them. One disk to bring > them all and in the darkness grind them. In the Land of Redmond > where the shadows lie." -- The Silicon Valley Tarot > Henrique Holschuh ------0OMYHWQUHA4BZ13F9Q92DLCTPXLS8R Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I meant https://github.com/evgeni/tp_smapi/issues/3#issuecomment-2567753 and https://github.com/teleshoes/tpacpi-bat, cant find the Windows reference from my phone there, though.

Henrique de Moraes Holschuh <hmh@hmh.eng.br> wrote:
On Fri, 28 Dec 2012, Evgeni Golov wrote:
On Fri, Dec 28, 2012 at 04:26:17PM -0200, Henrique de Moraes Holschuh wrote:
On Fri, 28 Dec 2012, Evgeni Golov wrote:
On Fri, Dec 28, 2012 at 02:09:14PM +0100, Sandro wrote:
Thanks for the hints on this. I didn't know tp_smapi was outdated and I
have to use the standard ACPI for this.
Is there a standard/default/ACPI way of changing the start/stop charging
levels for the battery or is this just something I shouldn't be bothered
with anymore?

BTW I cannot find similar functionality in Windows (referencing the tip to
change it there) - probably for the same reason (no more SMAPI).

The guy who wrote the ACPI stuff said he reversed that from Windows, so
it should be possible there too.

If you mean me (the thinkpad-acpi maintainer), no, I didn't say anything of
the sort. I have NEVER reverse engineered any Windows software or Windows
driver. Nor have I ever offered to.

No, I would have mentioned you by name. :)
I meant the one who posted about the acpi way on github.

Do you have a link to that post?
------0OMYHWQUHA4BZ13F9Q92DLCTPXLS8R--