Archive for the ‘Slackware’ Category

To start… My priority was to get my laptop to work at full capacity. So I immediately worked on building the CPU Frequency Daemon. This required me to build the CPU Frequency Utilities. I built versions 2.2.1 and 003 respectively. I have links for the Slackpacks and the bottom of this page. Once I was finished building these, I had to set up my config file for the daemon.

Below is the pertinent sections out of my config file, although you will want to read through the documentation so you can make sure it is set up the way you want.

[code='xml']
[Profile]
name=On Demand High
minfreq=600000
maxfreq=1600000
policy=ondemand
[/Profile]

[Profile]
name=On Demand Low
minfreq=600000
maxfreq=1000000
policy=ondemand
[/Profile]

[Profile]
name=Performance High
minfreq=1600000
maxfreq=1600000
policy=performance
#exec_post=echo 8 > /proc/acpi/sony/brightness
[/Profile]

[Profile]
name=Powersave Low
minfreq=600000
maxfreq=600000
policy=powersave
[/Profile]

# Full Power when plugged in
[Rule]
name=AC Rule
ac=on                    # (on/off)
profile=Performance High
[/Rule]

# conservative mode when not AC
[Rule]
name=AC Off - Low Battery
ac=off                   # (on/off)
battery_interval=0-20
profile=Powersave Low
[/Rule]

# conservative mode when not AC
[Rule]
name=AC Off - Medium Battery
ac=off                   # (on/off)
battery_interval=20-50
profile=On Demand Low
[/Rule]

# stay in performance mode for the first minutes
[Rule]
name=AC Off - High Power
ac=off                   # (on/off)
battery_interval=50-100
profile=On Demand High
[/Rule]
[/code]

I was unable to get the default compiz to run without crashing the system. I then figured I would try to get the newer compiz-fusion (CF) installed. I grabbed some packages from here. Installed everything and went to try to get compiz fusion to run.

[code='bash']
compiz --loose-binding  --replace   ccp  &
kde-window-decorator --replace&

fusion-icon &
sleep 10
[/code]

I put that in my ~/.kde/Autostart directory and restarted KDE. Almost everything seemed to work except for the multiple desktops. Whatever KDE was set to CF would quadruple that number. So if KDE was set for one desktop, CF would show four, but only one would be usable. With the default on Slackware being 4 desktops, with CF it would show 16 desktops. I read quite a few things online to try and fix this and nothing worked. CF isn’t a big deal to me, I mainly wanted it to show off to other people. As such, I didn’t try very hard to fix this.

Now that KDE 4.1 is out, I would love to give it a shot, but so far I have been unable to find any packages that will co-exist with KDE3. One of these days, I may decide to build it all myself, but I have never built a window manager before.

The last big thing for me is to set up the synaptics driver. The mouse still works, but I like the extra features that the synaptics driver provides. I ended up building the with the aid of SlackBuilds, due to the need of a patch to be able to build it with the current xorg. All the files needed were located there. Once I built and installed the driver, my mouse stopped functioning in KDE. After a lot of digging around, I ended up needing to comment out the last line in the file /etc/modprobe.d/psmouse. I think you could probably just delete the file, but that is up to you. Now I just needed to set up the X options so I could use the scroll and the various other options it provides.

[code='xml']
Section "InputDevice"

# Identifier and driver

Identifier    "Mouse1"
Driver      "synaptics"
Option     "Device"      "/dev/mouse"
Option    "Protocol"    "ps2"
Option    "LeftEdge"      "1700"
Option    "RightEdge"     "5300"
Option    "TopEdge"       "1700"
Option    "BottomEdge"    "4200"
Option    "FingerLow"    "25"
Option    "FingerHigh"    "30"
Option    "MaxTapTime"    "180"
Option    "MaxTapMove"    "220"
Option    "VertScrollDelta" "100"
Option    "MinSpeed"    "0.09"
Option    "MaxSpeed"    "0.18"
Option    "AccelFactor"    "0.0015"
Option    "SHMConfig"    "on"
#   Option    "Repeater"    "/dev/ps2mouse"

EndSection
[/code]

Just make sure you load the synaptics driver in the modules section.

[code]Load "synaptics"[/code]

Now come the various packages.
cpufreqd-2.2.1-i486-1_SBo.tgz
cpufrequtils-003-i486-1_SBo.tgz
synaptics-0.14.6-i486-3_SBo.tgz

For the compiz-fusion packages, they can be located here, but you can get them all and install them with these commands:

[code='bash']
mkdir compiz-fusion
cd compiz-fusion
wget -rnd http://bassmadrigal.com/packages/compiz-fusion/
installpkg *tgz
[/code]

Well, I finally got around to installing Slackware 12.1 on my laptop. It is a Dell Inspiron 700m.

Specs

  • Intel Centrino 1.6GHz
  • 1024MB RAM
  • 160 WD Scorpio PATA HD
  • Intel 855 Video w/ 64MB Shared
  • Intel 2200 BG Wireless
  • DVD +/- RW
  • 12.1″ 1280×800 LCD Screen
  • 1394a Firewire
  • Broadcom 10/100 Ethernet
  • Secure Digital (SD) Card Reader

The first thing I noticed was that the installer was the same. Fine by me, I enjoy it anyways. Always simple to use and never problematic. But after the reboot I was greeted by a lilo splashscreen with Slackware on it. Looks nice.

OK on to the big things. After manually changing lilo to use compact (severely increases boot time), and editing my /etc/X11/xorg.conf file to use the i810 driver for the video (it may have done this through one of the xorg setup programs, but I already knew what I needed), I booted into X. Surprisingly it came up at the default resolution of the monitor of 1280×800. In the past I always needed to use a resolution program. Awesome.

Then my wireless worked automatically. No downloading of firmware or recompiling of the ipw2200 or the ieee80211 modules. So far I am very impressed. I did try the SD card reader, and upon inserting the card the laptop froze. No surprise, I have never had any luck trying to get that to work.

But I must say. Initial impressions are very high. I will post more when I get further into it.


EDIT: Upon further investigating (transfering all my backup files and settings of an external), it seems that CPU Speedscaling isn’t working. The CPU is currently stuck at 600MHz, and as far as I can tell, there are no utilities included to change this. I guess I will have to build CPU Freq Daemon. I don’t mind this because I was probably going to build it any way, because I really enjoy the options it gives me.