A solution to my Dell Laptop Suspend problem? Solved!

Dell M1210 Ubuntu power configs

Ok yes its partly my fault but I seem to have power control panel for KDE and Gnome working on the same machine. If I use just the Gnome settings and close the lid of my laptop, it will lock up and the only way to get back to normal is to power the laptop off again (aka hold the power button in). If I use the KDE power setting and close the lid of my laptop, it powers down correctly and when I open it up again, I get Ubuntu exactly where I left it after entering the user password again. Why?

Actually I'm almost not interested in the why but the how do I use KDE's Power settings instead of Gnome but still use Gnome? Right now I have to remember to start the KDE setting otherwise its back to powering off the laptop again. Oh just for bug reports and the record, I'm running Ubuntu 7.10 with Compiz Fusion (this only became a problem in 7.10). on a Dell XPS M1210 with an Intel Graphics card and restricted driver a/b/g wireless card. Everything else is fine except suspend and hibernate (which never works)

So anyone with a solution?

Glyn solved my problem. The problem is to do with the Gnome Power manager, so we disabled it from starting up in the boot manager and wrote at the end of the file /etc/acpi/lid.sh.

grep -q closed /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then
/etc/acpi/sleep.sh
fi

This forces the Laptop to sleep when the lid is closed. Oh you should try running "sudo /etc/acpi/sleep.sh" from a command line to double check your machine will sleep ok. I'm planning to put up a bug report for this pretty soon.

Comments [Comments]
Trackbacks [0]

BarCampLondon3 this weekend

BarCampLondon3

So its the weekend of the 3rd London BarCamp. This one is going to be very special because its hosted by the do no evil Google and arranged as part of BBC Backstage. Its weird because I've hardly mentioned it but have been thinking about it alot. Partly because I said a long time ago I would stop arranging them and let others take over once other BarCamps started cropping up in the UK. So I've gone back on that and decided that once there are regular overnight stay barcamps in the UK such as BarCampBrighton (good work guys).

There's been a lot of talk about the BarCampLondon Tickets once again. So let me clear up what happened. We released the tickets in 4 waves over a 2 weeks period. I counted the time from when they were open till the last of that round of tickets was gone. And I can report back that the first round announced over twitter went in 9mins (28 tickets, glad Eventwax can handle load and concurrent connections correctly). The 2nd wave we sent a email out to the Google Open source jam crowd the day before and the next day the 25 tickets lasted 13hours! On the 3rd wave another email went out to the Girl Geekdinners list the day before and the next day the tickets lasted only 1 hour 3 mins. The 4th and last wave no one was told till I twittered when there were 5 tickets left. Those tickets lasted 9hours. So in total all the tickets went in less that 24 hours and thats with just a couple of twitters and emails. Almost 500 people follow me on twitter and I expect that will drop after this post, because if you want to get the tickets you need to do more that just follow me on twitter.

The Reserved list idea was my idea to stop people emailing me asking for spare tickets. And its partly done the trick. Unfortually theres been little drop out (a total of 6 so far believe it or not). I have had some good and bad emails including one which was threating (which I'm not sure was a joke or not, so I deleted it).The reserve list is serving its purpose because we're able to make changes to right up to the last few days.

So the 3rd BarCampLondon is going to be something special, Google really have a great office and they have stamped there unique personality over it. From the 4th Floor to the 6th Floor its as bright and colourful as you'd imagine Google would be. But whats extra impressive is the extras Google and the BBC have planned. That's all I'm going to say for now. Its going to be amazing and trust me the best so far.

See you lucky ticket holders this weekend, the rest of you I'll hopefully see you at the Christmas party?

Comments [Comments]
Trackbacks [0]