All of the basic requirements for the L501X to work on Debian are here…
The following article is “mirrored” here because last time I went to check it, it no longer existed. I recovered it from Google’s cached copy (Thanks Google!)
Written by AMLJ
Friday, 28 January 2011 06:38
Hi! I just bought a Dell XPS L501X laptop, and hopefully, after some pain got everything to work! Wanted to make it easier for people who might be next!
This is actually tested on Squeeze, but I think, and I hope, and I’m kinda sure it will work with Lenny too!
So, let’s start…
If you use an old image for installation, you will have problem, even with getting the wired connection to work during the installation… For me, it didn’t work afterwards too… Be sure to download a new image. (Right now Release Candidate 2)
So, you need a wired connection, oh well, you might as well get the wireless to work by giving the installer what it asks for, but I couldn’t!
Now… You finish the installation, there is no wireless, and Debian greets you with a 800×600 resolution! I thought my eyes are not seeing well at first! No need to worry!
For wireless issue, see http://wiki.debian.org/iwlagn.
Open a terminal and…
[Enter root password]
apt-get install gcc make linux-headers-`uname -r` build-essential
If I’m right, that’s all you need, but there might be something else you need, if so, please leave a comment so I would edit this too! (I can also help you if you didn’t know what to install)
Now, download the driver from http://www.nvidia.com/object/linux-display-amd64-260.19.36-driver.html.
Go to the terminal emulator again, and after reading what you need to do, do this:
/etc/init.d/gdm3 stop [Change gmd3 to kdm, or whatever else if you are using them)
[Now press Alt+Right Directional Key]
cd /home/[Your username]/Downloads [You need to go to the directory which that file is in, so the path may change
chmod 770 NVIDIA-Linux-x86_64-260.19.36
Now, you might get the error about gcc… Don’t abort the installation. Other steps are easy (if you got any errors and didn’t know what to do, leave a comment), and as the last step, it will ask something regarding nvidia-xconfig… Choose yes.
/etc/init.d/gdm3 start && exit [As mentioned earlier, gdm3 can change]mkdir /usr/src/alsa
Now, the resolution should be OK! So let’s solve the next problem!
No sound through the damn great speakers? Download the alsa-drivers package from http://www.alsa-project.org/snapshot/files/ (avoid the July of 2011 snapshot like the plague!!), and copy it to /usr/src/alsa:
Now go there, and unzip the package:
tar jxvf alsa-d*
Now, you need to compile this:
./configure --with-cards=hda-intel --with-sequencer=yes ; make ; make install
If it all goes well, you will see something about the sound being muted by default and so on…
That’s it, next time you must have sounds… And that’s not all, the mic will work now as well, and also, the headphones and all that (I tried downloading all those packages and compiling, and therefore none of these worked, I only got the sound first time)
Oh, you might want to remove that NVIDIA logo, as well!
You need to edit /etc/X11/xorg.conf… In order to do that, I always suggest VIM, but well, that’s not so easy to use for some, so you can try Nano.
You will see a part like this:
VendorName "NVIDIA Corporation"
After VendorName, and before EndSection, paste this into a new line:
Now, that part should look like this:
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
That’s it, we got rid of that one as well!
Next problem is suspend… It doesn’t work for you does it? Well, I haven’t found a clean solution, but it works… When you want to suspend, run this:
Now hibernate. And afterwards:
For example, you can try the F1 button for this one… Add a shortcut, so that when you press that “gksu rmmod xhci” would be executed, and when you press Ctrl+F1 “gksu modprobe xhci”.
What I have done, is to make the screen locked right after suspend, and when the password is entered, the next command which is executed it the above.
The other problem which I had forgotten to mention, and thanks to “AdanOva” I remembered, is the F keys, and the combination of Fn and them… The F1 to F12 keys, do not work as expected. They always work, as if you are using them with the Fn keys. So, for example, if you want to increase the screen brightness, just press F5… Now, if you want to actually use the F1-12 keys, you should hold Fn and then press them…
So, if you should normally press Fn+F1, just press F1, and if you should normally press F1, you have got to press Fn+F1! (Funny!)
Last thing I can think of, is Flash Player. I am trying the native 64-bit version now! (Square)
Download it from http://labs.adobe.com/downloads/flashplayer10_square.html, and then extract it. You will see a file. Now copy it to where you should using this command:
cp libflashplayer.so /usr/lib64/mozilla/plugins/
1- Unfortunately, some don’t understand that those who need these drivers, and something like Flash Player, are not the governments, and are the people. So, if you are from a country like Iran you won’t be able to download these. If you need these, and can’t download them, leave a comment, with your e-mail and I’ll send a mail to you and will attach these, or find another way to give them to you. I hope we see a day when normal people would not have these kind of problems just because of the choices the governments make.
2- Doing this for 32-bit Debian is also very easy, you just need to download the 32-bit NVIDIA driver, and 32-bit Flash Player (Easier to find than the 64-bit version!)
3- If you had any problems, you can ask, and I hope I’d be able to help!