John Hunt's web log | Open source, Linux, Developer tips, Beer, Whatever

Archive for August 2005

Aug/05

26

Amazon

Dear Customer

Greetings from Amazon.co.uk. We are writing to inform you that the price of
a recently ordered DVD title was incorrect at the time of placing your
order, and we hope that we can clear up any misunderstanding.

Despite our best efforts, with the millions of items available on our
website, pricing errors can occasionally occur. In our Pricing and
Availability
Policy, we state that where an item’s correct price is higher than our
stated price, we contact the customer before dispatching. Please know that
we will be cancelling all affected orders. If you still wish to purchase
this item, please place a new order online which will be charged at the
correct price.

Please accept our apologies for the inconvenience caused by this error, and
rest assured that we will continue to make every effort to maintain the
accuracy of all prices on our site. We hope you will find this an
acceptable solution and look forward to serving you again in the future.

Sincerely,

Customer Service Department
Amazon.co.uk

D’oh!

No tags

Aug/05

24

Suspend S3 on IBM Thinkpad R50e

Well, this one has had me stuck for ages…but Antoine from the linux-thinkpad mailing list managed to help out (thanks v.much!).

This mini-howto should help you get suspend working on your R50e, and perhaps many other laptops with the intel extreme graphics 2 chipset. The main problem is that the display is not restored properly or at all and you’re left with a blank screen.

Another symptom (that I was having) which was really frustrating me was I was left with a

Stopping tasks========

Screen when I hit Fn to resume, also the suspend light stayed on and the whole laptop was locked up. The reason for that was because I had the s3_bios= kernel param in my grub.conf, make sure you remove this.

Also, I’ve read that you’re not supposed to have any kind of framebuffer in your kernel or as a module…even un-loading the fb module won’t help; so make sure you remove all traces of framebuffer stuff from your kernel if it’s compiled in, or alternatively make sure the modules aren’t loaded on boot.

Ok? Right then. Read this guide:
How to make ACPI work

Make sure you don’t do this, it’ll cause symptoms of annoyance as described above:

acpi_sleep=s3_bios

Ok, so now check that we’ve got ACPI working.

As root:
dmesg | grep supports
and you should get this:
ACPI: (supports S0 S3 S4 S5)

Even if you don’t get that, you might as well try it. Here’s the script:

#!/bin/bash

chvt 1
cat /proc/bus/pci/00/02.0 > /tmp/video_state
sync
#------------------- [ Enter Sleep Mode ] -----------------------------
hwclock --systohc
echo -n 3 > /proc/acpi/sleep
hwclock --hctosys
#---------------------------------------------------------------------------
cat /tmp/video_state > /proc/bus/pci/00/02.0
chvt 7
rm /tmp/video_state

That also prevents the clock from drifting.

I’ll be updating this guide a bit when I have time.

No tags

Aug/05

18

Jabber (not the hutt)

People ought to stop using MSN. Did you know that Microsoft legally own everything you write on there? Start using the Jabber IM protocol. There are various clients out there for windows, one of them is called exodus which looks alright. Myself, I use gaim, which is primarily a linux client although I think there may be a windows version around.

It’s a good idea to start using something else, otherwise you’ll find microsoft taking over your lives even more.

Oh, my login on jabber is johnrhunt incase you were wondering.

No tags

Aug/05

17

Rhythmbox 0.9

Version 0.9 of Rhythmbox is out!

Requires a lot of dependancies, but I’d recommend it.

Or get the source here:
Rhythmbox download page

No tags

Aug/05

13

Wireless networking in Gentoo

This is a work in progress
Fire up dhcp on the wireless interface: dhcpcd eth1
(that should create the device also kinda thing)

The init script (/etc/init.d/wireless)

#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
before net.eth0
}

start() {
#! /bin/sh
# wifi: wpa_supplicant init
echo " * [Wifi]: Enabling WPA supplicant..."
if [ -x /sbin/wpa_supplicant ]; then
wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w -dd
dhcpcd eth1
fi
}

stop() {
echo "Stop doesn't work yet!"
}

restart() {
echo "Restart doesn't work yet!"
}

rc-update add wireless default

Then we configure /etc/wpa_supplicant.conf


#CONFIG_CTRL_IFACE=y
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="home"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk="somepass"
}

Then hope for the best I guess!

No tags

Aug/05

12

Gentoo on Thinkpads

While setting up my new laptop, I’ve found quite a handy guide for getting Gentoo working on IBM thinkpads:
Gentoo Linux on IBM Thinkpad
Hope it helps you as much at it helped me.

No tags

Aug/05

4

Tesselate

I’ve been offered a chance to help with a quite well established site called tesselate which is primarily an electronic music review and preview e-mag type thing, although it also has various news articles and stuff also. I’ve also offered to give Sam who runs it a hand with giving the site a tech overhaul. It’s already quite popular which is nice!

More reviews soon!

No tags

Aug/05

3

Global issues

Here’s an interesting site someone in Norway suggested to me:
Global issues .org
As the name suggests, it’s a site on global issues such as global dimming, G8 summit etc.. quite handy

No tags

Find it!

Theme Design by devolux.nh2.me