Post details: Thinkpad Configuration, part 2

3 February, 2008

Permalink 10:12 UTC, by Josh Saddler Email , 827 words, 654 views   English (US)
Categories: Gentoo, Hardware

Thinkpad Configuration, part 2

Right, I'm almost done setting up the Thinkpad.

The keyboard is still taking some getting used to -- I hate having the Fn at the far left, where the Ctrl key should be, and I hate not having the Del/Home/End keys vertically aligned with the right edge of the keyboard. I also keep forgetting I have a working middle mouse button for Firefox. Too used to having to Ctrl-click tabs on the Toshiba. And . . . I love the scroll function on the synaptics touchpad. Love it. The pad itself I don't use much; I'm too used to trackpointers. Plus it's too easy to turn a drag motion into a sudden click. I do like the IBM trackpoint more than my Toshiba; the IBM one is more accurate and has a nicer surface.

Fingerprint use: for the time being, I've uninstalled fprint, and installed thinkfinger instead. Why the switch? Because thinkfinger works out-of-the-box with SLiM, and pam_fprint doesn't work with it at all. If it worked with SLiM, I'd switch back. Also, thinkfinger's enrollment seems to work better. I'm getting far fewer rejected scans. I'd like to file a feature request bug with fprint upstream to get SLiM supported, but its bugtracker mails aren't getting through to my devmail. dsd, you reading this? :)

I still haven't bothered playing with hdaps yet or finding out why it thinks my disk is unsupported. While on the subject of disks, it occurs to me that I really should have created a /usr/portage partition and formatted it as ReiserFS. ext3 is just too slow for Portage ops.

I at least solved my networking issues by adding a couple of required modules and undoing parallel startup. I also fixed a typo in conf.d/net. I don't plan on using NetworkManager any time soon, as it requires lots of Gnome dependencies. For now, I added a second network block to wpa_supplicant.conf:

network={
        key_mgmt=NONE
        priority=-9999999
}

I haven't tested it yet, but I think this should work for unsecured public access points. Actually, I think this was probably in wpa_supplicant.conf before I deleted everything and added my own config.

My desktop and development environment are just about complete; got my keys imported and my firewall setup and everything. Still haven't setup my system for Bluetooth or audio production yet. Or games. ;)

As promised, I've made my working kernel config available. For all you Intel X3100 users, this may be of use in setting up uvesafb. Also, if you've got an IPW3945 ABG network card, this may be useful if you're using the in-kernel iwl driver. I've enabled the appropriate statistics options to use powerTOP, which is a very nice way to monitor power usage. I get about 2.8 hours doing basic wireless internet, docs work, etc. with my screen almost at full brightness. Not bad. I think I waited too long to get an Ultrabay battery; SCALE 6x is less than a week away!

Speaking of SCALE, I'm going. So I should probably get tickets & registration for me and my wife, yeah? Oh, and a hotel reservation. My new laptop has been such a distraction.

I've discovered a really unusual bug/behavior. I removed alsasound from the boot runlevel, in case I'm running on battery. Now, unless you blacklist them, your sound modules will still get loaded regardless, taking that much more power (even with aggressive soundcard power management enabled.) So what I had been doing was starting and stopping the ALSA initscript once my desktop was loaded. Here's the bug:

Starting and stopping ALSA this way actually kills all GTK theming in Xfce. The decorations revert to GTK defaults, the window colors go to their GTK defaults, the panel becomes ugly, you name it. All I have to do to re-apply the default (pretty) Xfce GTK theme is open one of Xfce's configuration utilities. Any of them. Isn't that bizarre? I have no idea why the hell that happens. Every time I stop ALSA. It's a minor nuisance, I guess.

On thinkpad_acpi and hotkeys:

It's a known bug that the brightness hotkeys don't work, but echoing values directly to /proc does. There won't be a fix for this any time soon, either. I've been in contact with upstream, submitting reports to their database, etc. Still have to go through and test the rest of my hardware (Bluetooth, etc.) and submit another report, but the outlook is not favorable for hotkeys. I still need to find a good program that will recognize the Fn-Home/Fn-End key command for brightness adjustments. xbacklight works, but I need keybinds to call it. Xfce has a built in keybind program, but it can't see Fn key combos. I'll have to find a sane xbindkeys setup (or similar app); there's probably something on ThinkWiki or the Gentoo Forums.

Signing off for now . . . maybe I'll see ya'll at SCALE? Come on by the Gentoo booth! Devs, users, groupies, etc. are all welcome. :)

Comments:

Comment from: Petr Sýkora [Visitor] Email
About the Fn-Home, Fn-End keys. For me worked to have those:
keycode 212=F20
keycode 101=F21

in my .Xmodmap, which I load in my .xinitrc. This maps these combinations (on my R61i) to F20 and F21, so I can map them in my fvwm config. But the strange think is that pressing one of these combination generates double press, so I finnaly mapped Win-Home and Win-End to same functionality and no more double presses again.

P.S. why is my email on gmail invalid for posting?
PermalinkPermalink 3 February, 2008 @ 11:34
Comment from: Petr Sýkora [Visitor] Email
Also if anyones is interested, this is the rest of my .Xmodpad for R61i:
keycode 233=XF86ApplicationRight
keycode 234=XF86ApplicationLeft
keycode 153=XF86AudioNext
keycode 144=XF86AudioPrev
keycode 164=XF86AudioStop
keycode 162=XF86AudioPlay
keycode 174=XF86AudioLowerVolume
keycode 176=XF86AudioRaiseVolume
PermalinkPermalink 3 February, 2008 @ 11:36
Comment from: hoffie [Visitor] Email
Regarding XFCE, I've experienced that problem multiple times as well. The issue is that there is one tool (xfce-mcs-manager) which manages all XFCE-related settings. As such it is somehow connected to alsa or sound stuff and gets killed by the alsasound init script. Too bad it also manages other things like the GTK+ theme.

Simply starting xfce-mcs-manager in the background (as any XFCE configuration screen does as well) brings back the GTK+ theme again.
Hope this helps as a hacky workaround. :)
PermalinkPermalink 3 February, 2008 @ 11:37
Comment from: Chewi [Visitor] Email
Thanks for mentioning SLiM! I've been using bloody xdm for the past two years due to the lack of a simple yet attractive login manager that didn't require all the KDE or GNOME cruft.
PermalinkPermalink 3 February, 2008 @ 14:19
Comment from: rl03 [Visitor] Email
(1) The XFCE/ALSA issue has been reported at http://bugzilla.xfce.org/show_bug.cgi?id=2167 but no news in a long time.

(2) On my T60p, I added echo enable > /proc/acpi/ibm/hotkey to my local.start which seems to enable a lot of the Fn hotkeys.
PermalinkPermalink 3 February, 2008 @ 19:31
Comment from: Josh Saddler [Member] Email · http://dev.gentoo.org/~nightmorph
@Petr:
I'll report back with my own working setup, once I figure it out. :)

@rl03, hoffie:
Thanks for the report; I've added my own comment on the bug.

On the hotkey parameter, that never seems to do much for me. Also, rather than use local.start, you might want to try putting it in /etc/modprobe.d/thinkpad_acpi.

See this page[1] at ThinkWiki which talks about enabling even more hotkeys using the full mask.

My /etc/modprobe.d/thinkpad_acpi is as follows. Note that it's all on one line.

options thinkpad_acpi brightness_enable=1 fan_control=1 experimental=1 hotkey=enable

[1] http://www.thinkwiki.org/wiki/Thinkpad-acpi#Hotkeys
PermalinkPermalink 3 February, 2008 @ 23:56
Comment from: kabturek [Visitor] Email
Hi, thanks for your notes, they were usefull when setting my T42 :)
About networkmanager - you could look at wicd [1] It has fewer dependecies and works great:)

[1] http://wicd.sourceforge.net/
PermalinkPermalink 11 February, 2008 @ 16:13

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Josh Saddler

The journal of Josh Saddler (nightmorph), a documentation developer.

May 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 53

powered by
b2evolution