You are not logged in.
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: FalseKeyPress 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
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: FalseKeyPress 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: FalseSo, 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
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
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
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: FalseKeyPress 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: FalseSo, 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
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
Ahh.. Thanks.
What does the NoSymbol mean?
Offline
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
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
So i'll have to download them again through Pacman?
Offline
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
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
Aye. georgia_tech_swagger has been a really swell guy.
Offline