Page 1 of 1

T500 Linux

Posted: Fri Feb 26, 2016 6:59 pm
by 789
bash-3.1$
System: Host: darkOrange Kernel: 2.6.37.6.t500 i686 (32 bit) Desktop: Fluxbox Distro: Slackware 13.0.0.0.0
Machine: System: LENOVO (portable) product: 2055A38 version: ThinkPad T500
Mobo: LENOVO model: 2055A38 Bios: LENOVO version: 6FET93WW (3.23 ) date: 10/12/2012
CPU: Dual core Intel Core2 Duo CPU T9400 (-MCP-) cache: 6144 KB flags: (lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx)
Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz
Graphics: Card: Intel Mobile 4 Series Integrated Graphics Controller
X.Org: 1.6.3 drivers: intel (unloaded: radeon) Resolution: 1680x1050@60.0hz
GLX Renderer: N/A GLX Version: N/A
Audio: Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: HDA Intel Sound: ALSA ver: 1.0.23
Network: Card: Intel PRO/Wireless 5100 AGN [Shiloh] Network Connection driver: iwlagn
IF: wlan0 state: up mac: 00:22:fa:5f:b6:fa
Drives: HDD Total Size: 320.1GB (26.0% used) 1: id: /dev/sda model: SAMSUNG_HM321HI size: 320.1GB
Partition: ID: / size: 7.2G used: 3.0G (45%) fs: ext2
Sensors: System Temperatures: cpu: 36.0C mobo: 33.0C
Fan Speeds (in rpm): cpu: 0
Info: Processes: 77 Uptime: 19 min Memory: 139.8/2937.1MB Client: Shell (bash)
bash-3.1$
Sound buttons are not responsive (under Linux, under XP work fine). According to this article:
https://wiki.debian.org/InstallingDebia ... nkpad/T500
this problem have been overcome in kernel 2.6.31
:banana:

Re: T500 Linux

Posted: Sun Feb 28, 2016 12:21 am
by Omineca
Search Google for "XBindKeys" and "ThinkPad." You have a very spartan desktop running on the machine, and it probably lacks the necessary key bindings. I've had to use XBindKeys with LXDE on Debian. It looks like a few different people have built XBindKeys for Slackware.

Re: T500 Linux

Posted: Sun Feb 28, 2016 8:19 am
by tarvoke
you may not have to deal with it manually - Slackware still has the tpb (ThinkPadButtons) package, which ought to handle any bezel hotkeys and volume buttons.

(apologies could be wrong, it has been literally 2 decades since I used Slackware - lol it used to take like 12 3.25" floppies to install.)

these days, I've become a broken record - for a very long time I used to hate on the people who said "use Mint! I love Mint!" - but now I am exactly one of those people. so, use Mint! :) basically every single button and even ALL OF the F-keys *just work automagically*. cinnamon is not quite as light as fluxbox or LXDE but it is still pretty respectably light (well, only my opinion - from a person who was hardcore into KDE/kdm for a very long time - so I may be skewed. and I have always had an irrational hatred for Gnome, but, dang, son, cinnamon makes my life pleasant.)

((btw for window-management, Mint also offers: MATE, Xfce (super-lightweight!!!), and, yes, KDE LOL))

(((but ultimately yeah it's up to what sort of shell/repo-management/etc is historically-comfortable to you. we all pick our poisons.)))

Re: T500 Linux

Posted: Mon Feb 29, 2016 7:44 am
by evening_hunger
Wow, a 2011 kernel. Got to try Slack some day:) And for your problem, try xev and see what it yields when you press volume buttons.
As in:

Code: Select all

user:~$ xev
After which, a white window will pop-up, it's a probing field window. Once it's focused, all impulses (from keys, mouse, trackpoint) will be shown in the original terminal (the one where you typed 'xev'). Note that if you use the mouse with xev, it will flood the window with billion impulses per minute. Now, press volume buttons and see what happens. This is a prequisite - we must know whether Xorg 'sees' you keys. If it does, it'll be easy.

Re: T500 Linux

Posted: Mon Feb 29, 2016 5:00 pm
by 789
evening_hunger wrote:Wow, a 2011 kernel.
try xev
T500 was assembled in 2008 ..... a 2011 kernel is appropriate


bash-3.1# xev
Outer window is 0xe00001, inner window is 0xe00002

KeyRelease event, serial 31, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2379521, (425,-341), root:(426,8),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2381661, (425,-341), root:(426,8),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2382004, (425,-341), root:(426,8),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2383783, (425,-341), root:(426,8),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2384126, (425,-341), root:(426,8),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2386599, (425,-341), root:(426,8),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2386815, (425,-341), root:(426,8),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

EnterNotify event, serial 34, synthetic NO, window 0xe00001,
root 0x112, subw 0x0, time 2399351, (177,34), root:(178,383),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 34, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0