lenovo interview questions
Top lenovo frequently asked interview questions
I just learned that some Lenovo laptops include a utility that offers to limit battery charging capacity to within 0–80% in order to slow the attenuation of the battery lifespan:
How can I do this in Ubuntu?
Source: (StackOverflow)
Hey I have new Lenovo z570 laptop recently. It has a unique keyboard. I am able to use it but not to its full capabilities. I am unable to map some of the 'extra' keys to their respective functions. There is no separate keyboard model for lenovo z570. I would like to configure this keyboard properly and give back to the ubuntu repos for storage so that later someone else using the same laptop can use my configuration that I have set.
How do I do that?
Source: (StackOverflow)
Brightness adjustment keys <Fn + ⇑/⇓> have no effect (although they are recognized by the environment), and I can't change the brightness using GUI tools as well. This seems like a problem in Linux itself, not the desktop environment.
I can change the brightness in Windows OS, so it's not some kind of hardware fault.
Details:
Lenovo B570 (Model Name: 20093)
Integrated Intel HD graphics card
Kubuntu 11.04 (Linux 2.6.38-10-generic, KDE 4.7.0), everything up to date
No proprietary graphics drivers (only Wi-Fi one)
What I've tried:
- Edit
/etc/default/grub
↦GRUB_CMDLINE_LINUX_DEFAULT
: acpi_osi=Linux
, acpi_backlight=vendor
, nomodeset
. And yes, I did update-grub
- Edit
/etc/X11/xorg.conf
(no such file, even after sudo dpkg-reconfigure xserver-xorg
)
- Edit
/proc/acpi/video/VGA/LCD/brightness
(no such file)
sudo setpci -s 00:02.0 F4.B=XX
(no effect)
xbacklight -set XX
("No outputs have backlight property
")
How can I fix this issue?
Source: (StackOverflow)
My Thinkpad R500 has back/forward keys just about the direction keys, so on Firefox I keep losing entered text, accidentally.
How to disable these back/forward keys?
Excerpt from xev:
KeyPress event, serial 29, synthetic NO, window 0x5e00001,
root 0xbc, subw 0x0, time 2375874, (1279,794), root:(1285,881),
state 0x10, keycode 166 (keysym 0x1008ff26, XF86Back), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 32, synthetic NO, window 0x5e00001,
root 0xbc, subw 0x0, time 2377115, (1279,794), root:(1285,881),
state 0x10, keycode 167 (keysym 0x1008ff27, XF86Forward), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
Source: (StackOverflow)
I have recently upgraded to Ubuntu 14.04 on a Lenovo T420 laptop (Corei7-2620M CPU @ 2.70GHz × 4 + Sandybridge Mobile). The battery is now over 2 years old, but under Ubuntu 12.04 it still lasted between 4 and 5 hours. Now with Ubuntu 14.04 it lasts little over one hour.
What can I do about this issue? Install drivers? Optimise the power management somehow?
Update I: Regarding the graphics card:
$ lspci | grep -i --color 'vga'
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Update II: Below is a sample output from PowerTop. I do not see anything strange, although I never used this programme before. Any insight is welcome.
Usage Events/s Category Description
2419 rpm Device Laptop fan
8.1 ms/s 216.8 Timer hrtimer_wakeup
42.5 ms/s 111.7 Process /usr/lib/firefox/firefox
100.0% Device Audio codec hwC0D1: Conexant
100.0% Device Audio codec hwC0D0: Conexant
6.5 ms/s 73.0 Process /opt/ibm/lotus/notes/framework/../notes /authenticate
3.8 ms/s 76.7 Interrupt PS/2 Touchpad / Keyboard / Mouse
1.0 ms/s 64.1 kWork od_dbs_timer
15.8 ms/s 27.9 Process compiz
7.7 ms/s 32.0 Process gnome-terminal
214.0 µs/s 26.4 kWork disk_events_workfn
24.5 ms/s 26.7 Process /usr/lib/firefox/plugin-container /usr/lib/flashplugin-installer/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /
17.9 ms/s 28.3 Process /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
5.3 ms/s 31.4 Process /usr/bin/java -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /usr/share/eclipse.kepler//plugins/org.
1.2 ms/s 32.7 Process /home/desousa/.rvm/rubies/ruby-1.9.2-p290/bin/ruby script/rails s
1.5 ms/s 18.7 Timer tick_sched_timer
372.4 µs/s 16.3 Process [rcu_sched]
3.4 ms/s 12.8 Process transmission-gtk /home/desousa/Desktop/foo.torrent
1.2 ms/s 11.0 Interrupt [42]
464.6 µs/s 7.7 Process /usr/lib/firefox/plugin-container /opt/google/talkplugin/libnpgoogletalk.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib
1.8 ms/s 10.2 Process /opt/ibm/lotus/notes/framework/rcp/eclipse/plugins/com.ibm.rcp.base_6.2.3.20110915-1350/linux/x86/notes2 --launcher.suppressErr
492.4 µs/s 9.8 Process [irq/44-iwlwifi]
1.2 ms/s 8.4 Interrupt [0] HI_SOFTIRQ
100.4 µs/s 7.6 Timer ehci_hrtimer_func
498.1 µs/s 7.0 Process /usr/lib/jvm/java-6-sun/jre/bin/java -Djava.util.logging.config.file=/usr/share/tomcat7/conf/logging.properties -Djava.util.log
0.9 ms/s 6.1 Process diodon
130.8 µs/s 6.4 kWork ieee80211_iface_work
38.7 µs/s 6.4 kWork gen6_force_wake_work
76.9 µs/s 6.1 kWork intel_unpin_work_fn
342.9 µs/s 5.6 Process /usr/sbin/mysqld
0.7 ms/s 5.4 Interrupt [3] net_rx(softirq)
90.6 µs/s 5.5 Interrupt [44] iwlwifi
3.1 ms/s 2.9 Process gedit
186.7 µs/s 4.1 Process syndaemon -i 1.0 -t -K -R
179.0 µs/s 4.2 Process /opt/google/talkplugin/GoogleTalkPlugin
238.6 µs/s 4.1 Process /opt/ibm/lotus/notes/taskldr /opt/ibm/lotus/notes/taskldr
Update III: I did another test, running the laptop until the battery was completely drained. There are two important differences in battery management from 12.04:
Whereas with 12.04 the screen would be dimmed after 30 seconds of inaction, with 14.04 the screen is always left with the same brightness. There are even moments when the fan speeds up when I am not typing, this never happened with 12.04.
Although I have set the laptop to suspend after 10 minutes inactive on battery, it never suspends. Once the 10 minutes are past Ubuntu simply shows the log on screen; it does not dim the screen either.
Update IV: I run the updates yesterday and the battery is being discharged even faster, now it is gone in less that an hour. Below is the output of powertop
minutes after unplugging.
The battery reports a discharge rate of 32.8 W
The estimated remaining time is 0 hours, 56 minutes
Summary: 722.8 wakeups/second, 149.5 GPU ops/seconds, 0.0 VFS ops/sec and 23.3% CPU use
Power est. Usage Events/s Category Description
5.55 W 63.2% Device Display backlight
90.2 mW 162.0 ms/s 220.6 Process /usr/lib/firefox/firefox
70.7 mW 31.0 µs/s 26.3 Process postgres: wal writer process
21.0 mW 306.3 µs/s 30.0 Process [irq/44-iwlwifi]
19.6 mW 8.6 ms/s 63.0 Process compiz
7.63 mW 1.7 ms/s 24.5 Process /opt/ibm/lotus/notes/notes /authenticate
6.43 mW 2.2 pkts/s Device Network interface: wlan0 (iwlwifi)
1.35 mW 188.5 µs/s 2.3 Process diodon
997 µW 77.2 µs/s 2.6 Process syndaemon -i 1.0 -t -K -R
798 µW 4.2 ms/s 19.3 Process /usr/bin/java -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /usr/share/eclipse.kepler//plugins/org.
499 µW 394.4 µs/s 1.1 Process gnome-terminal
299 µW 2.3 ms/s 7.0 Process mono /usr/lib/tomboy/Tomboy.exe --search
0 mW 3.9 µs/s 0.15 Process sametime_idlemon 20 10
0 mW 13.7 ms/s 5.1 Process /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
0 mW 12.6 ms/s 17.7 Process /usr/lib/firefox/plugin-container /usr/lib/flashplugin-installer/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /
0 mW 6.1 ms/s 163.9 Timer hrtimer_wakeup
0 mW 2.7 ms/s 25.6 Interrupt [42] i915
0 mW 2.5 ms/s 14.4 Timer tick_sched_timer
0 mW 2.0 ms/s 19.2 Process rhythmbox
0 mW 1.9 ms/s 7.5 Process /usr/bin/pulseaudio --start --log-target=syslog
0 mW 1.3 ms/s 63.2 kWork od_dbs_timer
0 mW 1.3 ms/s 0.00 Timer delayed_work_timer_fn
0 mW 0.9 ms/s 0.05 kWork acpi_os_execute_deferred
0 mW 0.8 ms/s 0.00 Interrupt [1] timer(softirq)
0 mW 0.7 ms/s 53.4 kWork disk_events_workfn
0 mW 629.9 µs/s 0.8 Process chromium-browser --enable-pinch
0 mW 561.9 µs/s 19.5 Process /home/desousa/.rvm/rubies/ruby-1.9.2-p290/bin/ruby script/rails s
0 mW 508.1 µs/s 0.10 Process powertop
0 mW 496.9 µs/s 5.3 Process /opt/ibm/lotus/notes/framework/rcp/eclipse/plugins/com.ibm.rcp.base_6.2.3.20110915-1350/linux/x86/notes2 --launcher.suppressErr
0 mW 468.2 µs/s 0.8 Interrupt [7] sched(softirq)
0 mW 281.6 µs/s 4.1 Interrupt [4] block(softirq)
0 mW 276.5 µs/s 3.1 kWork iwl_bg_run_time_calib_work
0 mW 260.5 µs/s 0.00 Interrupt PS/2 Touchpad / Keyboard / Mouse
0 mW 200.0 µs/s 15.6 kWork intel_unpin_work_fn
0 mW 173.5 µs/s 4.6 Process /usr/lib/jvm/java-6-sun/jre/bin/java -Djava.util.logging.config.file=/usr/share/tomcat7/conf/logging.properties -Djava.util.log
0 mW 160.9 µs/s 0.00 Process [kworker/u16:0]
0 mW 160.3 µs/s 0.25 Process pool
0 mW 159.0 µs/s 0.00 Interrupt [9] RCU(softirq)
0 mW 147.4 µs/s 4.0 Process /usr/sbin/mysqld
0 mW 144.9 µs/s 0.4 Interrupt [9] acpi
0 mW 131.4 µs/s 10.3 Interrupt [44] iwlwifi
0 mW 129.5 µs/s 2.0 Process /usr/lib/firefox/plugin-container /opt/google/talkplugin/libnpgoogletalk.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib
0 mW 128.7 µs/s 4.7 kWork ieee80211_iface_work
0 mW 118.9 µs/s 0.00 Interrupt [40] SATA controller
Update V: I used the information provided by powertop
to make a few calculations:
- At the discharge rate reported, the battery right now has about 32 Wh of capacity;
- The battery is advertised with a capacity close to 100 Wh when new, lasting up to 15 hours;
- With Ubuntu 12.04 the battery was lasting about 4.5 hours, about 1/3 of 15 hours, squaring exactly with a loss of 2/3 of capacity;
- Thus, with Ubuntu 12.04 the average discharge rate must have been around 7 W.
An increase of power consumption from 7 W to 32 W is nothing short of catastrophic. Whatever is causing this must be far more serious than just some guzzler application or a misconfigured package.
Update VI: I am writing this from a live 14.04 session loaded from a USB key. Power consumption seems to be somewhat lower than with the HDD system (80% - 90%), which can be explained by a reduced number of services and applications running. Still, battery lifetime is far lower than what it was with Ubuntu 12.04.
Update VII: the abnormally high discharge rates are back, apparently after an upgrade to linux-headers-generic
around the 15th of July. This is now reported as a bug at launchpad.
Any hints on how to bring back battery lifetime would be much appreciated.
Source: (StackOverflow)
I have a Lenovo ThinkPad with a fingerprint reader:
How to make Ubuntu recognise it and use it for login?
I already tried:
sudo add-apt-repository ppa:fingerprint/fingerprint-gui
sudo apt-get update
... but this GUI did not recognizes my device. Does anyone knows any other option?
Source: (StackOverflow)
I am considering selling my Mac to get money towards a Lenovo Thinkpad X1 because what I really want to do is to be running an Ubuntu system all the time.
Is this machine completely supported in Ubuntu, with no tiny little feature missing just because I am "going Linux"?
Optional user story section, skip to the question below if you don't have time:
I have a friend who bought a "works on Ubuntu" system a year ago and has hated the fact ever since: battery lasts less than if he boots in Windows (which he despises) and he ascribes that to "no good OS/harware integration and support for advanced chipset power management features", odd behaviour on suspend/resume/hibernate (says: "when it works 90% of the time and the other 10% it makes you lose your work is as good as broken -> 90% is the same as 0% he says), some occasional graphics card glitches he can perfectly well live with and has almost grown affectionate to, and finally, and that is what would make him undo his choice if he could, bad "input device drivers". He says: trackpoint and trackpad just "feel different", "so much better" on Windows and that was impossible to know from the website brochure.
That story makes me very doubtful... but I want to abandon this "walled garden" of prison that is my Mac and go Ubuntu all the way, no doubt about that! My dilemma at this time is just: "I don't want to live with those eternal frustrations for sure"!
Here's a directly answerable phrasing of my question:
- Is the Lenovo Thinkpad X1 supported on Ubuntu? Yes/no, which version?
- Which hardware features are not supported? Provide a list
- Optionally: sort the list in descending order of frustration from your experience
- Optionally: mention if there are acceptable workarounds to the "out-of-the-box" condition described in the earlier points and whether this ameliorates frustration at least to "tolerable" levels
Comment: the Ubuntu hardware certification page is so not-for-end-users it's unreal. Whoa. What would make it end-user friendly is:
Link to "buy here and you'll be just fine, this is the right configuration for you, it'll work as long as you press BUY on that page and don't browse further"
Remove mentions of may and might not work. Just tell it straight: press buy here and you will get a working system with the exception of A, B, C (so that I can decide whether the philosophical "freedom pleasure" I get from escaping an Apple world is enough to off-balance the loss, for instance, of Bluetooth capabilities (something that I of course use on my Mac) but "could" lose to use free (as in freedom) software
The certification page fails to dispel doubts in me as an end-user. I don't feel "eased into Ubuntu", I feel "partially informed".
Source: (StackOverflow)
I am strongly considering to buy a Lenovo Thinkpad Yoga 14 and since I will have to use it for work, I will have to partition it and install Ubuntu.
For this, I am wondering about the current status of Ubuntu for this kind of laptops...
Is the installation doable without any problem?
Is the touchscreen totally and completely supported?
Is the 360 degrees rotation working properly in Ubuntu (flipping the desktop, etc.)?
Are there any known major problems?
I'd be glad if you could address me to some reading about this topic, or if you could update me here! Thank you! :)
Source: (StackOverflow)
I'm using Ubuntu 12.04 & everything about it is great except that it just won't resume after suspend. I've tried the suggestions listed in this thread Entire system freezing after pressing "Suspend" but none worked. I'm using Lenovo Y510P. I'm new to Ubuntu, or unix for that matter, so please let me know if there's anymore information that I should be posting. Thanks.
update
I tried the suggestion by Dima on this post How to enable hibernation?. The machine wakes up from hibernation but immediately the screen gives a screen like this
Wondering if this is an issue with the graphics card or something.
Source: (StackOverflow)
I have seen many people trying to install Ubuntu on laptops like the Lenovo U410 and fail. Sometimes,we have to give up the SSD cache. Have the developers solved it now? Can we install Ubuntu on an Ultrabook like U410 without loosing the SSD cache?
Links to the issue :
Here's one problem :
I recently bought a U410 ultrabook. With the factory settings, the
ubuntu installer does not detect any disks on the system. The problem
is known and has something to do with the SSD, Intel Smart response
technology and the disks' RAID configuration (See
Unable to install 12.04 on a Lenovo U410 Ultrabook
and http://ubuntuforums.org/showthread.php?t=1825132)
Is there a way around this problem without having to remove the existing Windows installation? Also in case not, does my warranty get
void if I remove the pre-loaded windows installation? An Ubuntu system
is essential for me so I need to get it installed somehow.
Would appreciate some pointers.
The only solution is to disable SSD cache and install windows to SSD (I don't think 24GB will be enough) :
- Disabe RAID (select ACHI in BIOS)
- Install windows to SSD.
- Move user data and pagefile to HDD. Disable file indexing on SSD. Install most not system programs to HDD to economy free space. It will
be even faster than cache, but you need to install big programs and
games on D:. Not every man can do it. Thats why they use cache as
default.
- Boot Ubuntu from CD, type in terminal "sudo apt-get remove dmraid"
- Install Ubuntu as usual
- If GRUB doesnt appear (it is because of UEFI) use Boot-Repair utility as described here
https://help.ubuntu.com/community/Boot-Repair
If GRUB appears, but Ubuntu doesn't boot, then you need to break dmraid utility:
7.1 Boot Ubuntu from CD
7.2 type in terminal "sudo apt-get remove dmraid"
7.3 Open "Computer" on the desktop and open the disk where you have installed Ubuntu. On the top of the window will be some letters like
7bgetgu4uf87wch7wir6. Type in terminal "sudo rm /media/{your
partition}/sbin/dmraid" where you replace {your partition} with this
letters
7.4 "sudo touch /media/{your partition}/sbin/dmraid" and "sudo chmod +x /media/{your partition}/sbin/dmraid"
Once you have booted ubuntu, remove dmraid in normal way (using apt-get)
And the easy way is to install ubuntu with wubi. I tried it on ACHI, but there was no problems with dmraid and grub
Here's another problem :
So i bought a lenovo u410 the other day to use with linux along side
my windows pc, problem is when i get to the installation screen the
hard drives dont show up (500gb hdd or 32gb ssd) i also took off
acceleration and put the hard drives in non raid mode but that still
didnt work, i also tried wubi to see if it would run for kicks but
that wont work either, can anyone help me out?
Source: (StackOverflow)
I am using Ubuntu 12.04 and audacious as audio player.I am using a lenovo G460 notebook.It has keys which can play music.They work with Amarok. But , I want to make them work with Audacious.Can anyone help me?
Source: (StackOverflow)
I just upgraded to Ubuntu 13.10 and now I can't use edge scrolling on my laptop's touchpad! Why is this happening?! A few hours back everything was fine in 13.04. Is this a bug? Any workarounds available?
PS: My laptop is a Lenovo G570 with Intel Core i5 @ 2.3GHz
Source: (StackOverflow)
I have permament problem when using WLAN with my Lenovo ThinkPad x121e. The wireless network adapter in use is this one:
lspci:
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
The connection normally works OK for some time and then starts to slow down and eventually disconnects. Sometimes the connection is reestablished seconds later, sometimes it takes 30 or more seconds, sometimes it does not reconnect at all.
This problem occures with every driver I tried up to now. Especially the kernel driver
Linux ThinkPad 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
and Realteks driver that can be found here. The driver I'm using at the moment is the one found in this ppa: ppa:tista/x120e
.
Here is another link to www.thinkwiki.org that hints at a "Low Power State" (LPS) option in realtek's driver but it seems that it cannot be disabled in the current driver.
Is there a way to get a more stable WLAN with this setup?
Some more system information:
lshw -class network:
description: Wireless interface
product: RTL8188CE 802.11b/g/n WiFi Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlan0
version: 01
serial: 38:59:f9:db:e6:83
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192CE driverversion=0006.0321.2011 firmware=56 ip=192.168.178.35 latency=0 link=yes multicast=yes wireless=802.11bgn
resources: irq:17 ioport:3000(size=256) memory:f0200000-f0203fff
iwconfig wlan0:
wlan0 802.11bgn ESSID:"xxx" Nickname:"rtl8192CE"
Mode:Managed Frequency=2.452 GHz Access Point: A2:05:43:2F:6E:8E
Bit Rate=65 Mb/s
Retry:on RTS thr:off Fragment thr:off
Power Management period:0us mode:All packets received
Link Quality=100/100 Signal level=0 dBm Noise level=-120 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ifconfig wlan:
wlan0 Link encap:Ethernet HWaddr 38:59:f9:db:e6:83
inet addr:192.168.178.35 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::3a59:f9ff:fedb:e683/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:117385 errors:0 dropped:0 overruns:0 frame:0
TX packets:85652 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:115417879 (115.4 MB) TX bytes:10463799 (10.4 MB)
Interrupt:17 Memory:ffffc900037a8000-ffffc900037a8100
Source: (StackOverflow)
I have a new Lenovo E540 which has the special keys like volume change and such on the F-Keys here. So to actually use the F-Keys the FN has to be pressed to, so when using Alt+F4 I have to press Alt+Fn+F4 which is very inconvenient.
In the BIOS it is possible to swap the FN and Ctrl Keys so the F-Keys are primary again but then the functionality of the Fn and Ctrl Key are really swapped!
Is there probably a solution where the functionality of the FN and Ctrl key remain and the F-Keys are primary?
Source: (StackOverflow)