Category talk:X31

From ThinkWiki
Jump to: navigation, search

Bluetooth Antenna?

Any idea how the Bluetooth BMDC antenna looks like, how large it is, or if it is posible to install it into an X31 without Bluetooth card or Logo on the panel? Epic

ACPI and CF Cards

If you have a CF Card (mounted or unmounted) in the CF slot, it might happen, that ACPI Suspend/Hibernate modes don't work. This happened to me with an old 4 MB CF-Card, I'll try with something more recent sometime. Couldn't find anything useful about that in syslog.

Installation Report

Today, I installed a GNU/Linux Debian system on my X31 - without any external USB devices. This is what I did instead:

  • Boot up my regular PC with Knoppix 3.8 (including Knoppix Terminal Server)
  • Start terminal server. In settings, uncheck "security" to enable root access on clients!
  • Link X31 to PC's network interface (either directly using a crossed cable or with normal patch cables using a switch).
  • Boot up X31 (the odd boot device name stands for ethernet).
  • Start knx2hd (Knoppix Menu) and install to your liking.

Note: With qtparted you even can shrink existing NTFS partitions if you dare (no guarantees), be aware that this may take some 20 minutes.

All hardware was correctly detected (sound, cisco wlan, energy savings), just hibernation lacks the suspend2 patch in kernel. Suspend to RAM works, however.


Hei,

great, thanks for the info. It would be nice if you could turn this into an Installation page with the title "Installing Knoppix on a ThinkPad X31". Wyrfel 20:34, 28 May 2005 (CEST)


Sound problems

I am unable to get sound to work on my X31.. The modules are loaded, alsamixer is set max and i unmuted all channels (tried with both headphones on and off). Any help would be greatly appreciated.. -- RichiH 01:57, 8 October 2006 (CEST)

make all sleep modes work

I was able to have all sleep modes (hibernate and sleep) work properly on my X31 by doing the following:

  • acpi_sleep=s3_bios,s3_mode passed to the kernel
  • no uswsusp or hibernate package installed
  • the following in /etc/default/acpi-support:
anarcat@mumia:~$ grep '^\w' /etc/default/acpi-support
ACPI_SLEEP=true
ACPI_HIBERNATE=true
ACPI_SLEEP_MODE=mem
MODULES="snd_intel8x0 snd_intel8x0m snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd snd_page_alloc"
MODULES_WHITELIST=""
SAVE_VBE_STATE=true
VBESTATE=/var/lib/acpi-support/vbestate
POST_VIDEO=true
USE_DPMS=true
RADEON_LIGHT=true
HIBERNATE_MODE=platform
LOCK_SCREEN=true
STOP_SERVICES="mysql "
RESTART_IRDA=false
ENABLE_LAPTOP_MODE=false

I also hacked around the scripts in /etc/acpi, although I think it is not really necessary... The only files I modified are:

anarcat@mumia:/etc/acpi$ hg status
M events/ibm-hibernatebtn
M events/ibm-sleepbtn
M events/sleepbtn

and those are not called by the gnome or default ACPI scripts.

TheAnarcat 18:49, 14 July 2007 (UTC)

sleeping the airo card

This is what I use to power off my airo card, as the default debian scripts do not work since there's no proper hooks in the driver (i think) to power it off. Sorry for the quick brain dump...

First you need to change the action that gets called when the wifi button is hit:

--- a/events/ibm-wireless       Wed Jul 04 15:27:47 2007 -0400
+++ b/events/ibm-wireless       Wed May 23 02:46:02 2007 -0400
@@ -3,5 +3,5 @@
 # /etc/acpi/wireless.sh for further processing.

 event=ibm/hotkey HKEY 00000080 00001005
-action=/etc/acpi/ibm-wireless.sh
+action=/etc/acpi/airo-wireless.sh

The airo-wireless.sh script reads like this:

#!/bin/bash
# Find and enable/disable wireless devices

cd /sys/class/net/
for DEVICE in *; do
    if [ -d $DEVICE/wireless ]; then
# $DEVICE is a wireless device. Check if it's powered on:
        if ifconfig -s | grep -q $DEVICE; then
# It's powered on. Switch it off.
            ifconfig $DEVICE down
            echo 0
        else
# It's powered off. Switch it on.
            ifconfig $DEVICE up
            echo 1
        fi
    fi
done

TheAnarcat 18:49, 14 July 2007 (UTC)