Installation

1. Current (300805) Debian-testing netinst image booted but failed to see the hard drive.

2. Debian-stable (sarge) netinst booted fine and recognized most things. Selected package sets: Desktop, Fileserver.

3. Converted to testing/unstable by copying /etc/apt/sources.list and /etc/apt/apt.conf.d/* from lofar10. IMPORTANT:' make sure of second one and set default distro to testing, otherwise many packages will be installed from unstable and that can mess things up!. Then apt-get update and apt-get upgrade.

4. Remove exim4 and Appletalk services since they only slow down the bootup: dpkg -r netatalk exim4

5. Install packages:

Use this /etc/hdparm.conf: hdparm.conf

Put this in /etc/fstab:

6. Edit /etc/ssh/sshd_config, need to have

Kernels

7. Updated kernel. 2.6.11 didn't work with network card right. 2.6.8 works, 2.6.12 works (may need to install it from unstable).

X11 Config

what did work

what didn't work

Wireless

Need to build some kernel modules, so kernel source (as installed above) is required. Also needs gcc-4.0 since kernel seems to be built with that, so:

Add this to /etc/network/interfaces for basic config (may need to say eth2 not eth1):

and do ifup eth1.

Now, the wireless seems to fail a lot with messages like:

As suggested on http://ubuntuforums.org/archive/index.php/t-26623.html, I tired turning off HW crypto:

So far it seems to have helped, will see.

Roaming wireless etc.

For roaming between wireless networks (i.e. work and home), need to install resolvconf, guessnet and/or waproamd. I couldn't quite get guessnet to work right on boot, but I succeeded with waproamd.

A friggin' pain in the posterior is what it is!!! To make matters worse, the kernel likes to assign eth1 and eth2 "randomly" between the wi/fi interface and the 1394 interface.

Now, here's a fragment of /etc/network/interfaces (see dylan for definitive version).

Now see the following two files on dylan: /etc/waproamd/scripts/essid:oms and essid:WAP-ASTRON. These are scripts that will bring up the wireless interface (fortunately, waproamd passes it in as $IFACE, so we don't care if it's eth1 or eth2) with the appropriate logical config from /etc/network/interfaces above, depending on which essid is detected.

Disabling wireless when ethernet is plugged in

ifplugd can be used to disable/enable wireless when a network cable is plugged in. This is handy when you want both interfaces to use the same IP address. (If addresses are different, then there's no reason not to keep both up always though.)

Now see /etc/ifplugd/action.d/ifupdown-eth0 on dylan. This is a script that ensures that the wireless link is disabled when eth0 is connected, and re-enabled when it is disconnected. (If you're not using waproamd, you can probably just use ifdown/ifup).

ACPI

Copy /etc/acpi/* from dylan, this seems to work. Closing the lid on battery (but not AC!) power puts it to sleep. To resume, open lid and do some combo of Alt+Ctrl+F1 Alt+Ctrl+F7 and Fn-Up, gets the screen on eventually...

My scripts based on those hosted here: http://www.stud.ntnu.no/~gronslet/blog/linux-on-a-dell-x1-aka-samsung-q30.

Sleep seems to work ok, but I'm not convinced cpu freq switches properly.

Sound

Install ALSA:

KDE may need to be switched to alsa in the sound setup. Also, make sure local users are members of the audio group, otherwise the kde soundserver will not start.

High-pitched sound from speakes

See http://gentoo-wiki.com/HARDWARE_Dell_Latitude_X1#Misc for solutions.

I have put this command into /etc/init.d/Local (this is my own file, added as the equivalent of rc.local, must be symlinked as /etc/rc2.d/S99Local)

Touchpad

Touchpad support can be greately improved via the synaptics driver (credit to http://www.stud.ntnu.no/~gronslet/blog/linux-on-a-dell-x1-aka-samsung-q30). Do

and see my xorg.conf.

External monitor support

Clone mode works, just press Fn-F8 a few times. For Xinerama, see links, but probably X.org need to be installed.

Setting up Timba & friends

DebianOnTheLatitudeX1 (last edited 2005-10-10 13:50:55 by OlegSmirnov)