Day 2 of installing Ubuntu Linux 7.04 on my brother’s Toshiba Satellite 2410 laptop. I have done this before, but boy is this irritating. I mistakingly took the wrong approach of installing all the applications that he would need/want before doing a thorough hardware check.
So after I ran into the infamous “poltergeist” problem of starting X, and I then trashed the install with a poor reinstall of the nvidia-glx/nvidia kernel. I did the same thing to my main machine by accident, but I don’t have the luxury of a reinstall so I am running that on the open source, non-3d accelerated nv driver. Better this then nothing (no more Quake 4 until I fix this). Boy, I am getting rusty on with my installs and configuration. (I used to run Gentoo and be better at this stuff.)
Getting back to the laptop, I did a reinstall and re-enabled the proprietary nvidia drivers. And got the poltergeisty blinking LCD screen. In the old days, a simple Option IgnoreEDID fixed this problem. Well nVidia, kindly updated their drivers to ignore this option. So now the problem needs to be fixed in a proper hacker way.
Fortunately this post in the Ubuntu forums helps: http://ubuntuforums.org/showthread.php?t=536526&highlight=geforce+420
along with this:
http://www.edwiget.name/content/view/144/26/
Note that this solution is hardly user-friendly. But then again configuring a Linux install, is the equivalent work of what an OEM or a highly-paid system administrator does. Here are the steps for the desperate:
- Open up /etc/X11/xorg.conf with your favorite command-line text editor. I chose my weapon of choice: vi.
- Add the line Option “UseDisplayDevice” “DFP-0” to the Device section.
- Save the file.
- Run sudo /etc/init.d/kdm restart (or gdm depending on your GUI login manager). This will restart X, at 800×600 resolution. This we will fix soon too.
- Login into your account under X.
- You will need a hexeditor also: I use khexeditor. So install that if you need to: sudo aptitude install khexeditor
- Run nvidia-settings. Now we follow the steps in the second link.
- Click on DFP-0 and Aquire EDID.
- Save the resulting edid.bin file.
- Exit nvidia-settings, and open up the edid.bin file in your hex editor.
- Edit the file as such: change the value in row 4, column 9 from c9 to 00. And change the value in row 4, column 11 from 31 to 41. (Refer to the second link for clarification.)
- Save the file under a different name. I called mine: edid-fixed.bin
- Now copy this file somewhere it can not be touched by an ordinary user. I copied mine to /.
- Now open up /etc/X11/xorg.conf and add the line: Option “CustomEDID” “DFP-0:/edid-fixed.bin” to the Device section. Just replace the path to whatever you saved the fixed edid file.
- Restart kdm as before. Enjoy your fixed, 3d accelerated desktop.
Now with that done, all I needed to do was configure my wireless card to connect to my wireless network. A simple point-and-click wizard thanks to NetworkManager. So there you have it, a working install of Ubuntu Linux 7.04 on a Toshiba Satellite 2410.