You are not logged in.

#26 2008-08-30 03:42:56

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Lenovo ThinkPad T61

I'm sorry, but I don't really understand you too clearly.

I ran xev and got this when I pressed the left control, and <F9>

KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
    root 0x1cb, subw 0x0, time 2515732, (-335,199), root:(245,245),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2c00001,
    root 0x1cb, subw 0x0, time 2518174, (-335,199), root:(245,245),
    state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

So, I would, for cd eject, use 75 + 37 because it's the number after the "keycode"?

Offline

#27 2008-08-30 17:13:46

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lenovo ThinkPad T61

zephyrus17 wrote:

I'm sorry, but I don't really understand you too clearly.

I ran xev and got this when I pressed the left control, and <F9>

KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
    root 0x1cb, subw 0x0, time 2515732, (-335,199), root:(245,245),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2c00001,
    root 0x1cb, subw 0x0, time 2518174, (-335,199), root:(245,245),
    state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

So, I would, for cd eject, use 75 + 37 because it's the number after the "keycode"?

Why did you press left control?   Does your ThinkPad not have a Fn key?    This will not work.    Fn + (a blue key) generates ONE keycode.   You're generating a keycode for left control, and a keycode for F9.   You can use xbindkeys to set F9 to eject, but that could very well affect other programs.


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#28 2008-08-30 17:14:39

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lenovo ThinkPad T61

cschep wrote:

Anyone know which Thinkpad t61 wiki is the latest or most "official"?

Georgia_tech_swagger, have you put any work into a certain one yet?

thanks.

I'm working on all the ThinkPad stuff in the wiki.   I'm going to merge all the pages into the ThinkPad entry in the HCL.    No point in having all these ThinkPad pages that only have a few sentences on them.


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#29 2008-08-30 22:21:19

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lenovo ThinkPad T61

One more change for you guys:

Add the following to the same xbindkeysrc file:

#TouchpadDisable
"thinkpad-tpd.sh"
    m:0x0 + c:249
    NoSymbol



And put the following in /usr/bin/thinkpad-tpd.sh ... and make it chmod +x:

#!/bin/bash
if synclient -l | grep "TouchpadOff             = 0" > /dev/null ; then
    synclient TouchpadOff=1
else
    synclient TouchpadOff=0
fi



This properly disables the touchpad like Fn-F8 should.   This requires however proper synaptics setup on that touchpad.   If you don't have synaptics setup ... pacman -S synaptics

You'll need the following in your /etc/X11/xorg.conf as well:

Section "InputDevice"
        Identifier      "Touchpad"
        Driver          "synaptics"
        Option          "Device"        "/dev/input/mouse1"
        Option          "Protocol"      "auto-dev"         
        Option          "LeftEdge"      "1700"             
        Option          "RightEdge"     "5300"             
        Option          "TopEdge"       "1700"             
        Option          "BottomEdge"    "4200"             
        Option          "FingerLow"     "25"               
        Option          "FingerHigh"    "30"               
        Option          "MaxTapTime"    "180"             
        Option          "MaxTapMove"    "220"             
        Option          "VertScrollDelta"       "100"     
        Option          "MinSpeed"      "0.06"             
        Option          "MaxSpeed"      "0.12"             
        Option          "AccelFactor"   "0.0010"           
        Option          "SHMConfig"     "on"               
EndSection   


You will need to change your default mouse device from /dev/input/mice to /dev/input/mouse2 ..... as it will be the trackpoint mouse device.


Add the following to your Modules section:
      Load  "synaptics"


And add the following to your ServerLayout:
        InputDevice    "Touchpad" "SendCoreEvenets"


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#30 2008-09-01 09:17:54

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Lenovo ThinkPad T61

georgia_tech_swagger wrote:
zephyrus17 wrote:

I'm sorry, but I don't really understand you too clearly.

I ran xev and got this when I pressed the left control, and <F9>

KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
    root 0x1cb, subw 0x0, time 2515732, (-335,199), root:(245,245),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2c00001,
    root 0x1cb, subw 0x0, time 2518174, (-335,199), root:(245,245),
    state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

So, I would, for cd eject, use 75 + 37 because it's the number after the "keycode"?

Why did you press left control?   Does your ThinkPad not have a Fn key?    This will not work.    Fn + (a blue key) generates ONE keycode.   You're generating a keycode for left control, and a keycode for F9.   You can use xbindkeys to set F9 to eject, but that could very well affect other programs.

Oh! DOH! Stupid me.

I pressed Fn+<F9> now, and this came out.

KeyRelease event, serial 37, synthetic NO, window 0x2800001,
    root 0x1cb, subw 0x0, time 952287, (232,-314), root:(233,256),
    state 0x10, keycode 207 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

So it's "207"?

Offline

#31 2008-09-01 20:18:40

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lenovo ThinkPad T61

zephyrus17 wrote:

Oh! DOH! Stupid me.

I pressed Fn+<F9> now, and this came out.

KeyRelease event, serial 37, synthetic NO, window 0x2800001,
    root 0x1cb, subw 0x0, time 952287, (232,-314), root:(233,256),
    state 0x10, keycode 207 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

So it's "207"?

"command-you-want-to-run-goes-here"
    m:0x0 + c:207
    NoSymbol


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#32 2008-09-02 01:13:59

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Lenovo ThinkPad T61

Ahh.. Thanks. smile

What does the NoSymbol mean?

Offline

#33 2008-09-04 03:46:09

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Lenovo ThinkPad T61

I just realised that all the while I was booting through the ARCH kernel rather than the kernel26tp one.

However, after I boot into the 26tp, it says X failed and that it can't load the nVidia module. I tried "modprobe nvidia", but it just says that it can't find that module. My theory is that in the kernel, it's booting something like 'nv' or something older than my graphics driver.

Any help?

Last edited by zephyrus17 (2008-09-04 03:46:22)

Offline

#34 2008-09-05 00:16:50

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lenovo ThinkPad T61

nvidia package in arch repos is built against arch kernel.   If you are using a non-arch kernel, you should be using nvidia packages in AUR since they build against whatever kernel you're running.


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#35 2008-09-05 00:50:51

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Lenovo ThinkPad T61

So i'll have to download them again through Pacman?

Offline

#36 2008-09-05 01:21:26

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Lenovo ThinkPad T61

zephyrus17 wrote:

So i'll have to download them again through Pacman?

See the wiki regarding building something out of AUR.


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

#37 2008-09-05 16:28:52

cschep
Member
Registered: 2006-12-02
Posts: 125
Website

Re: Lenovo ThinkPad T61

georgia_tech_swagger wrote:
cschep wrote:

Anyone know which Thinkpad t61 wiki is the latest or most "official"?

Georgia_tech_swagger, have you put any work into a certain one yet?

thanks.

I'm working on all the ThinkPad stuff in the wiki.   I'm going to merge all the pages into the ThinkPad entry in the HCL.    No point in having all these ThinkPad pages that only have a few sentences on them.

Very cool. Thanks for the hard work!

Offline

#38 2008-09-05 16:33:32

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Lenovo ThinkPad T61

Aye. georgia_tech_swagger has been a really swell guy.

Offline

Board footer

Powered by FluxBB