So, you want to run FreeBSD on
IBM Thinkpad T40?
Apart from Google and common sense, here are some useful hints, without any warranty of course. (I have model
2379D6U and use
- I have also used
and 5.1-RELEASE in the past.).
6.0-STABLE and 5.3-RELEASE:
The pccard slots are recognized out of the box.
Use OLDCARD instead of NEWCARD to have your pccard slots recognized. So put these in your kernel:
nodevice cbb nodevice pccard nodevice cardbus device card 1 device pcicAnd set the following variable in /etc/rc.conf:
pccard_enable="YES"Alternatively, you may have your pccard slots recognized using NEWCARD, by adding the following parameter to /boot/loader.conf:
6.0-STABLE and 5.3-RELEASE:
ACPI works out of the box. If you get the following message when booting: "ACPI autoload failed - no such file or directory", change module_path="/boot/modules" to
device apmand the following device hints to /boot/device.hints:
hint.acpi.0.disabled="1" hint.apm.0.disabled="0" hint.apm.0.flags="0x20"and set the following variable in /etc/rc.conf:
apm_enable="YES"Suspend/resume works, even if you have X running, as long as you turn to a virtual console when resuming. To avoid getting a blank screen after a period of inactivity and having to switch from X to a virtual console and then back to X, add the following to /etc/sysctl.conf:
hw.syscons.sc_no_suspend_vtswitch=1After a resume the mouse will not work, unless you restart the mouse daemon. To avoid that, you may add the following device hint to /boot/device.hints:
To be able to use the em0 driver for Intel's GigaBit Ethernet card, put this parameter in /boot/loader.conf:
Load the driver as a kernel module on boot time, by putting this in /boot/loader.conf:
In 5.1-RELEASE do not use agp in the kernel, to be able to run X (any resolution you want) on ATI's Radeon Mobility 9000. So comment out device agp or put this in your kernel:
nodevice agpNo need to do that for 6.0-STABLE and 5.3-RELEASE. The trackpoint works with the SysMouse driver. To be able to use the middle button disable the touchpad from the BIOS. (The touchpad works as well.) Quickly produce an XF86Config file with:
XFree86 -configureYou can use:
DefaultDepth 24To avoid hangs when suspending/resuming do not use the dri module. Here are the modules to have in your XF86Config file:
Section "Module" # Load "dri" Load "freetype" Load "xtt" Load "dbe" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "speedo" Load "type1" Load "ddc" Load "xaa" EndSection
Intel's integrated WLAN card (PRO/Wireless 2100):
Supported out of the box using ipw.
Supported, by the NDISulator, aka "Project Evil". Also supported by ipw. To install ipw in 5.3-RELEASE, follow the excellent instructions. To automate the card's configuration at boot time, you can put this in /boot/loader.conf:
if_ipw_load="YES"and these in /etc/rc.conf:
/usr/sbin/ipwcontrol -i ipw0 -f /usr/local/libdata/if_ipw/ipw2100-1.3.fw ifconfig_ipw0="DHCP"Note that the radio transmitter cannot be controlled by Fn+F5, but is switched on automatically when the ipw interface goes up. Also note that the interface cannot obtain an IP address if a firmware binary image has not been downloaded to the adapter (hence the order of the commands in /etc/rc.conf).
And that should do it! You can contact me with questions, comments or hints (especially regarding the TV-Out, the IrDA, or the modem). Many thanks to all the FreeBSD hackers for making this possible.
-- Thomas Repantis