“If now I seek the forgiveness of sins, I
do not run to the cross, for I will not find it given there… But I will find in
the sacrament or Gospel the word which distributes, presents, offers, and gives
to me that forgiveness which was won on the Cross.” (AE 40, 214)
Duuuude, I got a Dell. This is my new Dell XPS M1330. It's tuxedo black - matches me and unbelievably small and powerful.
For me, this was a moment of truth. Do I want a mac or do I want to stay with Linux? I priced them both. I considered it. I decided that I really truly love linux. I love my PC, just not with Windows. I love Dell's support.
In the end, whether you go Vista, Mac, or Linux is all a matter of personal freedom and preference. We get alot of gently Mac ribbing on this blog, but in the end linux is like the kinda of ruddy little-brother to Macs.
So... here's a how-to on how to get your M1330 running with linux.
Device
Compatibility
Processor - Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Install Ubuntu's Gutsy Gibbon. It's stable and a very good operating system for a new linux users. It's got great helps and a bleeding edge kernel that you'll need for Dell's latest computer.
The m1330 has the Intel Core2 Duo. That means you can run the AMD/64 version of ubuntu.
Hard Drive Partitioning & Media Direct
First things first, you gotta get your hardrive properly partitioned. You need to decide whether you want to keep Vista or not. If you are new to linux, keep vista. You'll also need to take special care to keep Dell Media Direct working. If you aren't, you can use the Ubuntu Gutsy Install CD to torch it.
Here's a guide to how to shrink your drive and keep the media center stuff working. There is a guide here. It involves a fresh install of Vista. You'd do that anyway, wouldn't you? Who wants all that Dell stuff slowing down your system?
Moving Your Home Directory
Before Things get too installed, it's a good idea to have your home directory on another drive. Partition a separate drive. I suggest this guide..
First things first, you gotta get the wireless working. It won't work out of the box. Ndiswrapper is the way you wanna go. There's a great guide here.
Since you are going to need WPA, do this...
sudo apt-get install wpasupplicant
Graphics - 128MB NVIDIA® GeForce™ 8400M GS
Envy is your friend. Install. Select Nvidea's graphics driver. Reboot. Easy-peasy-lemon-squeezy.
This great guide will help you not only install Envy but also help you install Compiz Fusion. I've had some performance issues with emerald and compiz. The latest drivers (169.07) have improved some performance. Unfortunately, I think the gtk-decorator still provides cleaner graphics.
The super duper Sound Blaster X-Fi card isn't supported yet. You'll also notice that one headphone works and one doesn't. The internal sound card now works out of the box.
Audio - Second Headphone Jack and Microphone (Added 12-17-2007)
Dell released this fix on the second headphone jack.
The fix for the external microphone was given by one of comments below...
Since making these changes, I've had no problems suspending and resuming and my cpu cores have both awoken from sleep. WOOHOO!
If your audio doesn't work on resume, follow this.
The last tweak was just an annoyance that I finally got around to fixing on Christmas Day. If you are having problems with network-manager in Gnome not refreshing the network list on resume, these steps adapted from this guide help me...
It works. I have a no problems sending and receiving files from my Centro. Woohoo!
Power Consumption - Does your fans ever stop?
Some people have reported their fan perpetually running in Gutsy. I have hearing problems, so I can't hear the fan (grin). It's caused by the nvidia driver. I can only tell you about power consumption and the temperature of my CPU. I suggest the following changes..
Install powertop...
sudo apt-get install powertop
Read what it says and decide what you think you need. I made the following changes on boot up...
Then, a blogger suggested that you go into SYSTEM -> ADMINISTRATION -> Services and turn off Bluetooth. I would go into SYSTEM->PREFERENCES->SESSIONS and make the bluetooth not load at startup. I hope this helps.
Hard Drive: Is my Hard Drive cycling itself to death?
The relevant bug information is here. There's been much written about this and it is marked as critical on the fixes. There is dispute about whether this bug actually kills your hard drive. The hard drive in our computer is designed for more cycles. In fact, cycles may not hard it all! But, to feel safe and sound, The relevant fixes and will be moderating hard drive temperatures. I did not apply this fix because I did not feel my harddrive was being effected by this bug. Whether you have this problem or not depends on which hard drive you purchased. The fix and explanation is located here.
Automatix
For the most part, Automatix is a thing of the past. Gutsy has incorporated alot of the things which Automatix
Conclusion
I love this laptop. I love linux on this laptop. If you need help, contact me.
If you have any questions about this guide, please let me know. It's going to be for me a work in progress. I'm very happy with my laptop and really like the way its running. installed. Let me know what you think.
Posted On: October 02nd, 2007 at 5:27pm by Jason Evans [ + ]
One thing to keep an eye on. Gutsy's Gnome has some extra graphical addons to make it more Vista-ish. The second or third day that I had Gutsy on my system, Gnome went up to 100% CPU utilization on both CPU's (dual core). I had to shut down the graphical addons to get it to run correctly. Of course, that was on Gutsy Tribe 4, and it may have been fixed since then.
Posted On: October 02nd, 2007 at 11:49pm by Bloghardt
One thing to keep an eye on. Gutsy's Gnome has some extra graphical addons to make it more Vista-ish. The second or third day that I had Gutsy on my system, Gnome went up to 100% CPU utilization on both CPU's (dual core). I had to shut down the graphical addons to get it to run correctly. Of course, that was on Gutsy Tribe 4, and it may have been fixed since then.
We talking about compiz?
I'm not having problems with it's graphics.
But.... I will say that Compiz and this Nvidia card don't get along well. I think new drivers are going to be needed.
Posted On: October 24th, 2007 at 11:21pm by Shivan Jaikaran [ + ]
I must say this tutorial has helped me alot. When i got my new dell xps m1330, i immediately ripped out vista and put a full install of ubuntu 7.10 desktop edition. These are just some differences i experienced during this install.
1. The wireless card worked out of the box.
2. The network card worked out of the box
3. the webcam worked out of the box.
4. the audio worked out of the box
5. The biometric reader worked to some extent after i followed ur tutorial. I can add a fingerprint for my admin user account but i cant get it to show up in the log on screen. I followed all your steps...
6. I am not sure how to get the Express Card Slot Reader and the firewire to work
7. I cant get compiz to work for the life of me...
Posted On: October 25th, 2007 at 1:56am by Bloghardt
I must say this tutorial has helped me alot. When i got my new dell xps m1330, i immediately ripped out vista and put a full install of ubuntu 7.10 desktop edition. These are just some differences i experienced during this install.
1. The wireless card worked out of the box.
2. The network card worked out of the box
3. the webcam worked out of the box.
4. the audio worked out of the box
5. The biometric reader worked to some extent after i followed ur tutorial. I can add a fingerprint for my admin user account but i cant get it to show up in the log on screen. I followed all your steps...
6. I am not sure how to get the Express Card Slot Reader and the firewire to work
7. I cant get compiz to work for the life of me...
Yes, I have to revise this guide. Gutsy did wonders for the soundcard and speakers.
About compiz, do you have the nvidia drivers installed?
Posted On: October 30th, 2007 at 5:00pm by Jason [ + ]
You know, I just have to say that Ubuntu's driver for Nvidia under Gutsy just turned me completely off. I was running about 12,000 fps using glxgears while using Feisty. Upon switching to Gutsy, I got the drivers they recommended (nvidia-glx-new) and was a little more than displeased when glxgears returned 7,000 (+/- 100) fps. I ended up correcting it by compiling the latest nvidia drivers from their website, but that's not going to cut it in the future. In the meantime I've switched to openSUSE 10.4 and been thoroughly impressed with features like one-click installation of drivers, and a one-click installation of compiz-fusion. Ubuntu is doing a good thing getting their name out there, but I want new versions of a distro to feel like I'm going into the future, not back in time.
I made your changes, but I'm still having the same problems.
After 15 min of just not using my pc, conky showed a temperature of 35 °C but the fan still keeped running.
One time it stopped for a short time at 37°C.
To switch off the fan, one can go to suspend for half a minute or so. But after returning it takes only a few minutes and the fan continues. (And there is still this CPU scaling bug after suspend)
Posted On: November 04th, 2007 at 2:13pm by Bloghardt
I made your changes, but I'm still having the same problems.
After 15 min of just not using my pc, conky showed a temperature of 35 °C but the fan still keeped running.
One time it stopped for a short time at 37°C.
To switch off the fan, one can go to suspend for half a minute or so. But after returning it takes only a few minutes and the fan continues. (And there is still this CPU scaling bug after suspend)
Not cool... we're going to have to wait for fixes to come out for this...
It's the nvidia card that is way too hot. I hear the vesa drivers don't make the fan run, but who wants to run those?
Lets be hopeful that new nvidia drivers will fix the performance/temperature issue completely. Sadly there is no statement from nvidia about this problem in the nvnews.net forum.
For some reason my fingerprinter does not work propper . Works in Vista and thinkfinger installation and configuration worked! But nothing happens when I strip my finger over it....
Suspend worked out of the box for me. Have not tried the mic yet.
Hi!
I've got Dell XPS m1330 too. Fantastic! I've installed Ubuntu in my laptop but the bluetooth doesn't works. The applicattion says: Invalid adress MAC_ADRESS. How can I do? Can you help me with this? My mouse is bluetooth and I've already hated touchpad hehe
Posted On: November 20th, 2007 at 8:51pm by Lakshmi N Kannan
Hi,
I have a Dell D620 and I am running Debian Lenny (testing) on it. Ubuntu and debian don't have much differences in most things. My question is about the scripts that you have in your blogs that turns off compiz fusion before suspend and reloads it during resume. Does it acutally work for you? Here is my problem:
I have followed the steps mentioned in your blog for suspend to work ( I got it from various threads, and now i saw your page ). My video comes back with probability 1 if i suspend without compiz fusion. With compiz fusion it comes back with certain probability. Now i restart X through ctrl + alt + backspace (had to sometimes) and the system freezes completely. I have to use the power key to turn off. Now, if I dont use compiz fusion at all and then do ctrl alt backspace after resume, I can perfectly restart X.
One other thing. I noticed that if compiz-fusion were running and without suspending, I just restart X by pressing ctrl alt backspace it will restart X without any issues. I tried this so many times and it simply works.
In summary,
1. run compiz fusion
2. suspend and resume laptop
3. do ctral alt backspace
Does it freeze your system? It does it everytime for me :)
Are you sure those scripts to turn off and on compiz fusion are working? I noticed that in 25-compiz-kill.sh the "killlalll compiz.real" has three "l"s I noticed it and changed it in mine. I dont think the script works. I proved it to myself by commenting the line that loads compiz fusion in 99-compiz-resume.sh
Why then have those scripts. By the way I have them as executable. May be if those scripts worked well, my problems would disappear. I have temporarily disable ctrl alt backspace from restarting X.
Posted On: November 20th, 2007 at 9:11pm by Bloghardt
Thanks for pointing that out. On the 64-bit install of Ubuntu that I just did, I never installed the scripts. Suspend worked out of the box with compiz-fusion.
Don't ctrl-alt-backspace. When I get that blank screen, I hit ctrl-alt-f6 and the screensaver password box pops up.
I've not been using suspend as much recently, there is a bug that cpu-frequency scaler.
Posted On: November 20th, 2007 at 9:22pm by Bloghardt
You know, I just have to say that Ubuntu's driver for Nvidia under Gutsy just turned me completely off. I was running about 12,000 fps using glxgears while using Feisty. Upon switching to Gutsy, I got the drivers they recommended (nvidia-glx-new) and was a little more than displeased when glxgears returned 7,000 (+/- 100) fps. I ended up correcting it by compiling the latest nvidia drivers from their website, but that's not going to cut it in the future. In the meantime I've switched to openSUSE 10.4 and been thoroughly impressed with features like one-click installation of drivers, and a one-click installation of compiz-fusion. Ubuntu is doing a good thing getting their name out there, but I want new versions of a distro to feel like I'm going into the future, not back in time.
I tried SUSE for about a week. It's nice. That Gnome-Main-Menu is pretty cool too. In the end, I returned to Ubuntu.
Posted On: December 02nd, 2007 at 4:11pm by Hector
Hi There!
I have some problems with Bluetooth connection with my Motorola K1 cellphone, when you search & selected the manager made an obex connection, without setting a password or anything between XPS an K1...
other problem was the DirectMedia Button, without DirectMedia Partition... now, i'm trying to install again with DirectMedia Partition, because my last installation died by this button.
finally, the soundblaster audio card is a Sigmatel Emulation of SB Audigy... anyway, the incorporate microphone doesn't work.
If anybody can help me, please post here...
Have a nice day, and sorry, but my english is too bad!
I tried your fix for the cpu scaling problem after suspend. It does not work for me. After applying it, none of both cores are scalable. Both stay at 2.00 Ghz permanently
Posted On: December 26th, 2007 at 2:34pm by Jesper
I also have an XPS M1330 (a red one) with nVidia 8400M GS, Intel 4965 WiFi, T7300 processor (2 GHz), 2 GB RAM, 160 GB 7200 RPM harddisk and WLED screen.
On my M1330, everything works out-of-the-box with Ubuntu 7.10 - also the WiFi and the webcam. Hibernate and suspend also work without needing to tweak anything. There's one little problem after waking up after suspend: the sound volume is automatically set to the maximum.
The only thing that didn't work was the internal microphone, but that was easily fixed with the patch to ALSA for which you already posted a link.
Posted On: December 26th, 2007 at 3:04pm by Bloghardt
I also have an XPS M1330 (a red one) with nVidia 8400M GS, Intel 4965 WiFi, T7300 processor (2 GHz), 2 GB RAM, 160 GB 7200 RPM harddisk and WLED screen.
On my M1330, everything works out-of-the-box with Ubuntu 7.10 - also the WiFi and the webcam. Hibernate and suspend also work without needing to tweak anything. There's one little problem after waking up after suspend: the sound volume is automatically set to the maximum.
The only thing that didn't work was the internal microphone, but that was easily fixed with the patch to ALSA for which you already posted a link.
I will say how joyful I am to hear that everything worked out of the box for you. My wifi did not work out of the box.
But, I do understand that the next release of Ubuntu will have it work.
Posted On: December 28th, 2007 at 9:45am by herger
Ciao!
I have just bought my new Dell XPS and I am going to install Gutsy.
I have heard of some problems related to the "hard drive killer", that is the continuous start and stop of the hd, that could lower it lifetime considerably....
Can You tell us something about it?
Thanks
Herger
Posted On: December 28th, 2007 at 3:25pm by Bloghardt
There's been much written about this and it is marked as critical on the fixes. It's neat that you should ask me about it a day after I did the research on it.
There is dispute about whether this bug actually kills your hard drive. The hard drive in our computer is designed for more cycles. In fact, cycles may not hard it all. But, to feel safe and sound, I applied the relevant fixes and will be moderating hard drive temperatures..
Posted On: January 09th, 2008 at 6:53am by Swen [ + ]
Am just curious: Did you install 64 bit or 32 bit Gutsy (for this HOWTO) ? Does the Audio - Second Headphone Jack and Microphone fix work for 64 bit if you you -i --force-architecture ?
Hi all!
I bought the marvelous XPS 1330, but I have some problems in mounting CD's and DVD's.
While for USB keys, there is no problem, when I insert the cd-dvd non icon appears on the desktop and I have to mount them manually (always with no icons appearing)...
What can I do?
Thanks and the best regards
Posted On: January 29th, 2008 at 4:06pm by JorgeAT
Ya reparaste tus problemas con el bluetooth y el microfono?
yo ya lo tengo funcionando si te puedo ayudar mande un email saludos
Hi There!
I have some problems with Bluetooth connection with my Motorola K1 cellphone, when you search & selected the manager made an obex connection, without setting a password or anything between XPS an K1...
other problem was the DirectMedia Button, without DirectMedia Partition... now, i'm trying to install again with DirectMedia Partition, because my last installation died by this button.
finally, the soundblaster audio card is a Sigmatel Emulation of SB Audigy... anyway, the incorporate microphone doesn't work.
If anybody can help me, please post here...
Have a nice day, and sorry, but my english is too bad!
Posted On: February 01st, 2008 at 7:30am by herger
Ciao all! Really great post: I had some problems with the microphone and it helped me!
Just one thing: the webcam doesn't semm to be recognized.
If I launch camorama it says:
Could not connect to video device (/dev/video0/).
Please check connection.
Posted On: February 02nd, 2008 at 12:58pm by ben [ + ]
Fingerprint reader , with login support works! Use fprint instead of Thinkfinger.If you install Thinkfinger uninstall it with :sudo apt-get unintall thinkfinger-tools libpam-thinkfinger. Then get the dep package from here: http://madman2k.net/comments/105 , http://madman2k.net/files/fprint-packages.tar . Untar it , issue dpkg -i *.deb .
Modify /etc/pam.d/common-auth to this
auth required pam_env.so
auth sufficient pam_fprint.so
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth required pam_deny.so
#auth sufficient pam_fprint.so
Permissions to /dev/usb/ have to be modified to be able to read it it as standard user (for right now I chmod -R 777 /dev/usb I know bad , better way would be to make a usb group and make the permissions to 775, Some please give a better way. For now it works, Just run ,
pam_fprint_enroll -f 7
Posted On: February 20th, 2008 at 3:23am by Dan at Necessary Roughness [ + ]
Our company had ordered HP laptops with fingerprint readers for some of our employees. They would record their fingerprints while clean, then in the field they would try to activate their laptops with dirty oilfield fingers. It locked the laptops after so many tries, and they had to ship the laptops with the feature turned off.
Posted On: October 09th, 2008 at 11:42pm by Rhonald [ + ]
Hi,
you don't have to explicitly download NVIDIA driver for ubuntu, there is a tool called restricted driver manager with which you can enable the card and it will automatically download, install and configure the driver.
If that fails, you can download the binary driver from the following page: