LM17 and Thinkpad laptop key & touchpad settings

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Wed Jul 30, 2014 12:41 am

Hey guys I have two thinkpads
Edge E530 and T410S

I have E530 set up for windows 7 and T410S set up for LM17

I have been using the T410S for the past 2 weeks and I am actually very happy with the system and i have been spending quite a lot of time setting everything up.

Currently my booting operation is to show the "profile" instead of the splash so in the first few seconds of booting, I know what equipments are and are not being loaded properly and I see the problem with the Touchpad and Keyboard.

Sometimes the toucpad is recognized as PS/2 generic mouse, which makes me impossible to set up any settings for it.
My current solution is to unplug and plug the mouse by the software using the terminal command

sudo modprobe -r psmouse && sudo modprobe psmouse

Then eveyrthing works fine. Rarely but sometimes during the boot the built-in keyboard is not recognized at all and that's kind of a checkmate and I can't do anything about it other than using the menu to reboot.

I have read a lot of supports for Lenovo T series Laptops for Ubuntu and all of them point me to installing the driver properly. Installing the drivers from repositories did not change anything Nothing has yet been proven to be the permanent solution.

From what I read, everytime during the boot, if IBM track point and ALPS touchpad are loaded, everything is in great working order, Can't really say the same about the keyboard because that problem is far less frequent.

I was wondering if there were any Lenovo T series Laptop owner(s) who has successfully solved this problem

Thanks for your time
-SJL
Last edited by SJLPHI on Thu Oct 09, 2014 12:55 am, edited 3 times in total.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Tue Aug 12, 2014 3:48 pm

After reading a bit about booting order I have came accross:
http://doc.opensuse.org/products/draft/ ... .grub.html
and I've decided to explore the booting sequences.
I am currently looking at

/boot/config-3.13.0-24-generic

and also
/boot/System.map-3.13.0.-24-generic

Either of which I need some time to figure this thing out. I could use some help from more experienced people

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Tue Aug 12, 2014 8:05 pm

After seeking for a solution, I came across the following link:
http://okomestudio.net/biboroku/?p=856

currently I've found the numerical mapping of the inputs using
xinput -list

I just need to see what happens when PS/2 mouse is recognized instead, at a full working order the output is:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Thu Aug 14, 2014 10:55 pm

Conclusively I have found a "solution" and I will confirm it within the next few weeks.

I've read this:
http://unix.stackexchange.com/questions ... -of-ubuntu

and in my
/etc/default/grub
I changed the line
GRUB_CMDLINE_LINUX_DEFAULT="profile"
to
GRUB_CMDLINE_LINUX_DEFAULT="profile i8042.nomux=1 i8042.reset"

So far, 6 booting without any issues. I'll confirm after 30

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Fri Aug 15, 2014 10:57 am

No Cigar, touchpadd still gets recognized as Generic PS/2 mouse

x input shows:

sjl@Concubine ~ $ xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Raw Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Fri Aug 15, 2014 11:13 am

well seems to be a never ending story :roll:

remove all your custom entries in grub and try this
changing this in grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
and adding "blacklist ideapad_laptop" to /etc/modprobe.d/blacklist.conf

then reboot.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 1:10 pm

Thank you Pat,
I've blocked out ideapad with blacklist and so far 12/12 boot without problems. I will call it solved in a few weeks.

I haven't set the acpi backlight to vendor because I'm unsure what it's supposed to do and from what I've read, it's got something to do with display but I don't have issues with that.

Would you care to explain how you came to blocking ideapad_laptop?

I am also trying to find a solution for someone in the forum having similar issues at higher frequency with a different computer. I'm not sure if this would help the other person.

Thanks again
-SJL

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Sat Aug 16, 2014 1:17 pm

well combination of Lenovo and a lot of experience 8) , I've seen loads of people having this problem with kernel 3.13 default.
The other suggestion I would have done is to try a kernel 3.15 and to check for a bios update (acpi calls are handled a bit differently since kernel 3.13)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 1:32 pm

BIOS update is actually something currently what I'm attempting to do. To my knowledge, this laptop has a good back-up system and I am currently sitting in a lab with access to many computers. I don't "NEED" this thing for the next few weeks.

in between breaks, I might just update BIOS with a flash drive that I have, would you care to explain the steps here:

http://forums.linuxmint.com/viewtopic.php?f=18&t=175814

Thanks again
-SJL

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Sat Aug 16, 2014 1:53 pm

not sure I understand the question correctly?
BIOS update is a proprietary way to update the BIOS and most manufacturers provide a windows or dos tool to do so.
Not saying it's not possible to do so under Linux but depending on the kernel used it is way more complicated to setup for a unique update.
In a server environment (farming or HPC) we use PXE boot or manufacturer provided tools to update hundreds of servers at once, also it takes weeks to test and rollout such an update.
In your case use a windows PE boot and do the update from there or dual boot to windows (VM or virtualbox environment won't work and screw your bios)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 2:38 pm

I see, unfortunately blacklisting isn't the solution yet. Generic PS/2 Mouse detected again.

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Sat Aug 16, 2014 2:39 pm

bios or kernel update is probably the only way to go.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 3:47 pm

BIOS has been updated now and everything is stable.

I am following :
http://www.cyberciti.biz/faq/linux-kern ... ade-howto/
to update Kernel now (Using the Debian method)

but I'm unsure of which version

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Sat Aug 16, 2014 5:04 pm

I do run 3.15.10 and it's stable so far.
I went to all the 3.14 and 3.15 up to 3.15.10 (have to say that all the minor problems I had stopped already with 3.14.3)
Go for 3.15.10 you know that the previous bugs have been fixed and it does add too much new stuff like 3.16 (I will try it next week but don't really need it)
I can show you an easyway to do it with Mint or Ubuntu. 64 or 32 bit?
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 5:46 pm

I would appreciate it if you can tell me how to do it for Mint 64 bit.
my apt-cache search linux-image
shows me up to 3.13.*

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Sat Aug 16, 2014 6:11 pm

ok let's use 3.15.10

first check if the version is available here
http://kernel.ubuntu.com/~kernel-ppa/mainline/

then for 64 bit

Code: Select all

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.10-utopic/linux-headers-3.15.10-031510_3.15.10-031510.201408132333_all.deb

Code: Select all

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.10-utopic/linux-headers-3.15.10-031510-generic_3.15.10-031510.201408132333_amd64.deb

Code: Select all

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.10-utopic/linux-image-3.15.10-031510-generic_3.15.10-031510.201408132333_amd64.deb
Install them.

Code: Select all

sudo dpkg -i linux-headers-3.15.10-*.deb linux-image-3.15.10-*.deb
then modify your grub to display all settings at boot (new and old kernel)

Code: Select all

sudo cp /etc/default/grub /etc/default/grub.bak
this will make a backup of your default grub.

Code: Select all

sudo gedit /etc/default/grub
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
Change it to this:
GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false
Save it, run

Code: Select all

sudo update-grub
from a terminal, and reboot. The GRUB menu should show up.
In any case you can hold down shift after bios boot to get it to show
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 6:54 pm

Thank you, now if I am satisfied with the new kernel, how would I make it default once I disable the display?

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sat Aug 16, 2014 7:11 pm

Sorry, nevermind I answered my own question as I did the reboot.

Well, the good news is that my laptop is up to date in many things and running stable. The bad news is that with the updated BIOS and Kernel, the first boot failed to load mouse properly :?

I think I'll just have to live with it until LM18 comes out hopefully with this fixed some day.

Thank you Pat. I will be referring to this thread in the future.

User avatar
PatH57
Level 13
Level 13
Posts: 4576
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by PatH57 » Sun Aug 17, 2014 2:16 am

did you try to remove the blacklisted driver? With the new kernel and bios update it may actually now work and be needed?
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

SJLPHI
Level 3
Level 3
Posts: 107
Joined: Wed May 07, 2014 7:20 pm

Re: LM17 and Thinkpad laptop key & touchpad settings

Post by SJLPHI » Sun Aug 17, 2014 2:40 pm

I tried commenting out the blacklist for ideapad, and it seems that blocking ideapad helps overall.
4/4 boots without blocking ideapad_laptop had issues, twice with the keyboard and twice with the mouse,

I just uncommented it.

Post Reply

Return to “Hardware Support”