tags/x61David Bremnerby-nc-sa-2.5
Copyright 2020, David Bremner
https://www.cs.unb.ca/~bremner//tags/x61/David Bremnerikiwiki2008-07-06T12:58:03Zalsa for the AD1984 https://www.cs.unb.ca/~bremner//blog/posts/alsa_for_the_AD1984/
<a href="../../whyCC/">by-nc-sa-2.5</a>
Copyright 2020, David Bremner
2008-03-03T11:45:13Z2007-08-30T16:09:00Z
<p> I used the <a href="http://www.klabs.be/~fpiat/linux/debian/Lenny_on_Thinkpad_T61/t61-build-alsa-module.sh">script by Franklin Piat</a> to build a debian package from
unreleased alsa sources. Works great once I remember the hardware
volume control buttons. Doh!. A big shout-out to Franklin for what
seems like a very clean solution.</p>
<h4 id="Update">Update</h4>
<p> As of version 1.0.15-2
I am using the default alsa-modules source package, compiled via
module-assistant</p>
suspend to disk key https://www.cs.unb.ca/~bremner//blog/posts/suspend_to_disk_key/
<a href="../../whyCC/">by-nc-sa-2.5</a>
Copyright 2020, David Bremner
2008-07-06T00:02:58Z2007-08-29T07:14:00Z
<p> Suspend to disk works ok out of the box, if you type (as root)</p>
<pre><code> echo -n disk > /sys/power/state
</code></pre>
<p>I like the command line and all, but somehow this is a bit tedious.
To get Fn-F12 working, one has to first load the thinkpad-acpi module</p>
<pre><code>modprobe thinkpad-acpi
</code></pre>
<p>Next, one has to enable the hotkey subdriver</p>
<pre><code>echo enable > /proc/acpi/ibm/hotkey
</code></pre>
<p>These two steps can be automated by creating <a href="https://www.cs.unb.ca/~bremner/blog/files/etc-acpi-start.d-40-thinkpad-acpi.sh">/etc/acpi/start.d/40-thinkpad-acpi.sh</a>
Finally, workaround a problem with the default /etc/acpi/hibernatebtn.sh.
For some reason, acpi_fakekey is not doing its magic thing, so I
<a href="https://www.cs.unb.ca/~bremner/blog/files/etc-acpi-hibernatebtn.sh">replaced</a> it with a call to hibernate.sh. There are already
some bug reports about this in debian.
Now that we enabled thinkpad-acpi hotkeys, we have to the same hack to
<a href="https://www.cs.unb.ca/~bremner/blog/files/etc-acpi-sleepbtn.sh">/etc/acpi/sleepbtn.sh</a></p>
<p>Be warned, this will may not play nicely with the kde/gnome gui
suspend/resume tools</p>
wifi 4965agn https://www.cs.unb.ca/~bremner//blog/posts/wifi_4965agn/
<a href="../../whyCC/">by-nc-sa-2.5</a>
Copyright 2020, David Bremner
2008-03-03T11:45:13Z2007-08-28T22:47:00Z
<p> First install the firmware:</p>
<pre><code> apt-get install firmware-iwlwifi
</code></pre>
<p> Next, rebuild the kernel and reboot (this is not strictly necessary,
but it is what I did; other people can tell you other ways), so that
you have the source for the kernel you are currently running
available.</p>
<p> Download the latest kernel module source from <a href="http://intellinuxwireless.org/?p=iwlwifi">intellwireless.org</a></p>
<p> Unpack, make (probably twice)
su, make install</p>
<h4 id="Update">Update</h4>
<p> To avoid recompiling your kernel, you can follow the steps from
<a href="http://www.nanonanonano.net/linux/debian/iwlwifi">Stuart Prescott</a></p>
The dim screen after wakeup problem https://www.cs.unb.ca/~bremner//blog/posts/The_dim_screen_after_wakeup_problem/
<a href="../../whyCC/">by-nc-sa-2.5</a>
Copyright 2020, David Bremner
2008-07-06T00:02:58Z2007-08-28T20:24:00Z
<p> Out of the box, it will go to sleep (suspend to ram)
when you hit Fn-F4, but on wakeup the backlight.<br />
Based on a Ubuntu bug report (which I've now lost track of) that mentioned
switching virtual terminals turned the backlight back on, I
created <a href="https://www.cs.unb.ca/~bremner/blog/files/99-switchvt.sh">/etc/apci/resume.d/99-switchvt.sh</a> to automate that
Not the most beautiful solution in the world, but it works. I have
submitted a
[[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439914][debian
bug]]</p>
<ul>
<li><dl>
<dt> <em>UPDATED</em> Another workaround is to add the kernel parameter </dt>
<dd>acpi_sleep=s3_bios</dd>
</dl></li>
</ul>
lenovo x61 under debian unstable https://www.cs.unb.ca/~bremner//blog/posts/lenovo_x61_under_debian_unstable/
<a href="../../whyCC/">by-nc-sa-2.5</a>
Copyright 2020, David Bremner
2008-07-06T12:58:03Z2007-08-28T18:43:00Z
<p> (lenny/sid) on a thinkpad x61. Initially I was running the stock
2.6.22-1-686 kernel; to get wifi going I decided to rebuild the
kernel.
I have installed the acpi-support package,
which then requires some hacking. The various issues are tagged
<span class="selflink">x61</span></p>