https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Piccobello&feedformat=atomThinkWiki - User contributions [en]2024-03-28T10:11:51ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=52959User:Piccobello2011-10-04T13:14:51Z<p>Piccobello: /* Post Scriptum */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
Update 2010: One of the reasons why I bought this machine was its supposed durability. After a few years I must say I am quite disappointed with it. I carried it around a lot, and the chassis started breacking in several points after only a few months. This is not really a problem as it's not falling apart. The real problem came more recently, in the last year or so. The machine started having some erratic behavior which I suppose to be related to some of the hardware failing: I often get kernel panics (machine freezes, caps lock blinking), and sometimes when I boot either the screen and/or the disk will not work: the led is on but nothing else happens. I still could not identify the problem though (any ideas?).<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Hardy upgrade==<br />
<br />
Todo. All went well, now Sleep (suspend to RAM) works, everything else works out of the box except OSD, but the hotkeys work.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port<br />
<br />
==Post Scriptum==<br />
<br />
My poor thinkpad is now dead. After a short but intensive life, it started experiencing kernel panics, probably caused by a fault in system board. RIP.</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=51485User:Piccobello2011-04-28T14:16:20Z<p>Piccobello: /* Still untested */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
Update 2010: One of the reasons why I bought this machine was its supposed durability. After a few years I must say I am quite disappointed with it. I carried it around a lot, and the chassis started breacking in several points after only a few months. This is not really a problem as it's not falling apart. The real problem came more recently, in the last year or so. The machine started having some erratic behavior which I suppose to be related to some of the hardware failing: I often get kernel panics (machine freezes, caps lock blinking), and sometimes when I boot either the screen and/or the disk will not work: the led is on but nothing else happens. I still could not identify the problem though (any ideas?).<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Hardy upgrade==<br />
<br />
Todo. All went well, now Sleep (suspend to RAM) works, everything else works out of the box except OSD, but the hotkeys work.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port<br />
<br />
==Post Scriptum==<br />
<br />
My poor thinkpad is now dead. After a short but intensive life, I started experiences kernel panics, which were found to be related to the system board. RIP.</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=48409User:Piccobello2010-05-03T10:58:43Z<p>Piccobello: /* Hardy upgrade */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
Update 2010: One of the reasons why I bought this machine was its supposed durability. After a few years I must say I am quite disappointed with it. I carried it around a lot, and the chassis started breacking in several points after only a few months. This is not really a problem as it's not falling apart. The real problem came more recently, in the last year or so. The machine started having some erratic behavior which I suppose to be related to some of the hardware failing: I often get kernel panics (machine freezes, caps lock blinking), and sometimes when I boot either the screen and/or the disk will not work: the led is on but nothing else happens. I still could not identify the problem though (any ideas?).<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Hardy upgrade==<br />
<br />
Todo. All went well, now Sleep (suspend to RAM) works, everything else works out of the box except OSD, but the hotkeys work.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=48408User:Piccobello2010-05-03T10:57:52Z<p>Piccobello: /* Current issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
Update 2010: One of the reasons why I bought this machine was its supposed durability. After a few years I must say I am quite disappointed with it. I carried it around a lot, and the chassis started breacking in several points after only a few months. This is not really a problem as it's not falling apart. The real problem came more recently, in the last year or so. The machine started having some erratic behavior which I suppose to be related to some of the hardware failing: I often get kernel panics (machine freezes, caps lock blinking), and sometimes when I boot either the screen and/or the disk will not work: the led is on but nothing else happens. I still could not identify the problem though (any ideas?).<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Hardy upgrade==<br />
<br />
Todo. All went well, everything works out of the box except OSD, but the hotkeys work.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=48407User:Piccobello2010-05-03T10:56:08Z<p>Piccobello: /* Configuration files (Dapper) */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
Update 2010: One of the reasons why I bought this machine was its supposed durability. After a few years I must say I am quite disappointed with it. I carried it around a lot, and the chassis started breacking in several points after only a few months. This is not really a problem as it's not falling apart. The real problem came more recently, in the last year or so. The machine started having some erratic behavior which I suppose to be related to some of the hardware failing: I often get kernel panics (machine freezes, caps lock blinking), and sometimes when I boot either the screen and/or the disk will not work: the led is on but nothing else happens. I still could not identify the problem though (any ideas?).<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Hardy upgrade==<br />
<br />
Todo. All went well, everything works out of the box except OSD, but the hotkeys work.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
* Suspend to ram does not work.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=48406User:Piccobello2010-05-03T10:51:20Z<p>Piccobello: /* My thinkpad */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
Update 2010: One of the reasons why I bought this machine was its supposed durability. After a few years I must say I am quite disappointed with it. I carried it around a lot, and the chassis started breacking in several points after only a few months. This is not really a problem as it's not falling apart. The real problem came more recently, in the last year or so. The machine started having some erratic behavior which I suppose to be related to some of the hardware failing: I often get kernel panics (machine freezes, caps lock blinking), and sometimes when I boot either the screen and/or the disk will not work: the led is on but nothing else happens. I still could not identify the problem though (any ideas?).<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
* Suspend to ram does not work.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=48405User:Piccobello2010-05-03T10:42:08Z<p>Piccobello: /* Configuration files (Gutsy) */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Configuration files (Hardy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
* Suspend to ram does not work.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35557User:Piccobello2008-01-07T20:32:28Z<p>Piccobello: /* Current issues */ suspend to ram</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
* Suspend to ram does not work.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35556User:Piccobello2008-01-07T20:31:48Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**Sleep does not work any more.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
For some reason this does not work...<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35522User:Piccobello2008-01-07T00:55:53Z<p>Piccobello: /* Still untested */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda (worked in Dapper)<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35521User:Piccobello2008-01-07T00:34:12Z<p>Piccobello: /* Current issues */ Xorg</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[Xorg]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35520User:Piccobello2008-01-07T00:31:14Z<p>Piccobello: /* Gutsy Installation Issues */ xvattr</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*External monitor used to always work, now it only works if I start X after plugging it in. Also,<br />
this [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/55646 bug] is present. I installed xvattr,<br />
and I have to execute this line to show a movie in the external monitor:<br />
<br />
{{cmduser|xvattr -a XV_CRTC -v 1}}<br />
<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35513User:Piccobello2008-01-06T17:53:14Z<p>Piccobello: /* Current issues */ external monitor</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*External monitor used to always work, now it only works if I start X after plugging it in.<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
* External monitor used to always work, now it only works if I start X after plugging it in.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35512User:Piccobello2008-01-06T17:52:04Z<p>Piccobello: /* Current issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*External monitor used to always work, now it only works if I start X after plugging it in.<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=35511User:Piccobello2008-01-06T17:51:30Z<p>Piccobello: /* Gutsy Installation Issues */ external monitor</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*External monitor used to always work, now it only works if I start X after plugging it in.<br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello/Gutsy/Xmodmap&diff=34700User:Piccobello/Gutsy/Xmodmap2007-11-18T14:26:15Z<p>Piccobello: My ~/.Xmodmap</p>
<hr />
<div>This is my {{path|~/.Xmodmap}}:<br />
<br />
!Set special buttons back and forward to do PgUp and PgDn instead,<br />
!as they're close to the arrows<br />
keycode 233 = Next<br />
keycode 234 = Prior<br />
!Kmilo or Kmilo-thinkpad assigned X events to the volume control buttons<br />
!keycode 160 = XF86AudioMute<br />
!keycode 174 = XF86AudioLowerVolume<br />
!keycode 176 = XF86AudioRaiseVolume<br />
!This causes a call to kmix, which I normally don't use, and modifies both<br />
!/proc/acpi/ibm/volume and kmix master. Set these keys back:<br />
keycode 160 = <br />
keycode 174 = <br />
keycode 176 =</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34699User:Piccobello2007-11-18T14:19:57Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. Solution: I found out that the keys were interpreted both by [[ibm-acpi|acpi]] and by [[X]]. I just undefined them in my [[User:Piccobello/Gutsy/Xmodmap|.Xmodmap]].<br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*For most other things I definitely noticed an improvement in stability, usability, etc. I still have to freeze X in Gutsy btw..<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34697User:Piccobello2007-11-18T13:11:02Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing killall Xorg, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*For most other things I definitely noticed an improvement in stability, usability, etc. I still have to freeze X in Gutsy btw..<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34696User:Piccobello2007-11-18T13:08:26Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
At first I tried to upgrade to Edgy. This was a disaster: apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy. This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing {{shellcmd|killall Xorg}}, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*For most other things I definitely noticed an improvement in stability, usability, etc. I still have to freeze X in Gutsy btw..<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34695User:Piccobello2007-11-18T13:07:16Z<p>Piccobello: /* Attempted Edgy upgrade */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing {{shellcmd|killall Xorg}}, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*For most other things I definitely noticed an improvement in stability, usability, etc. I still have to freeze X in Gutsy btw..<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34694User:Piccobello2007-11-18T13:00:47Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
**I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing {{shellcmd|killall Xorg}}, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*For most other things I definitely noticed an improvement in stability, usability, etc. I still have to freeze X in Gutsy btw..<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34693User:Piccobello2007-11-18T13:00:12Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
** I decided to use an ACPI key combination to restart [[X]], as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work. So I added a simple executable script {{path|/etc/acpi/killx.sh}}, simply executing {{shellcmd|killall Xorg}}, and changed the action in {{path|/etc/acpi/events/thinkpad-zoom}} to be<br />
action=/etc/acpi/killx.sh<br />
I also set the action in kmilo-thinkpad (Settings -> System Administration -> IBM Thinkpad Laptop).<br />
*For most other things I definitely noticed an improvement in stability, usability, etc. I still have to freeze X in Gutsy btw..<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34692User:Piccobello2007-11-18T12:52:20Z<p>Piccobello: /* Current issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34691User:Piccobello2007-11-18T12:49:09Z<p>Piccobello: /* Dapper upgrade */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hibernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34690User:Piccobello2007-11-18T12:48:15Z<p>Piccobello: /* Gutsy Installation Issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed [[KMilo|kmilo-legacy]] to recuperate the [[OSD]] and [[How to get special keys to work|special button functions]]:<br />
**replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**hibernate button did not work: edited {{path|/etc/acpi/events/ibm-hibernatebtn}} replacing line<br />
action=/etc/acpi/hibernatebtn.sh<br />
with <br />
action=/etc/acpi/hibernate.sh<br />
which is the real hibernate script. This solved the problem.<br />
**This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34684User:Piccobello2007-11-18T03:54:47Z<p>Piccobello: /* Current issues */ X.org bug</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work. This seems to be due to this [https://bugs.freedesktop.org/show_bug.cgi?id=2000 bug] in [[X.org]].<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34683User:Piccobello2007-11-18T03:48:33Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy Installation Issues==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34682User:Piccobello2007-11-18T03:47:59Z<p>Piccobello: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Breezy Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34681User:Piccobello2007-11-18T03:45:39Z<p>Piccobello: /* Configuration files (Gutsy) */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
todo..<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34680User:Piccobello2007-11-18T03:44:42Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
This time the wireless switch works out of the box, but if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
{{Todo}}<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34679User:Piccobello2007-11-18T03:41:53Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, replaced 0xffff8f with 0xffffff in {{path|/etc/modprobe.d/thinkpad_acpi.modprobe}} to enable {{key|Fn}}{{key|F5}} to {{key|Fn}}{{key|F12}}<br />
options thinkpad_acpi hotkey=enable,0xffffff experimental=1<br />
**if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
{{Todo}}<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello/menu.lst&diff=34672User:Piccobello/menu.lst2007-11-18T00:49:26Z<p>Piccobello: removed commented map</p>
<hr />
<div>My messed up partition table:<br />
<br />
{{cmduser|sudo fdisk -l /dev/hda}}<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order}}<br />
<br />
My {{path|/boot/grub/menu.lst}}<br />
<br />
Relevant modifications:<br />
<br />
* set the root for Windoze to (hd0,1), as I have it on {{path|/dev/hda2}}<br />
<br />
# menu.lst - See: grub(8), info grub, update-grub(8)<br />
# grub-install(8), grub-floppy(8),<br />
# grub-md5-crypt, /usr/share/doc/grub<br />
# and /usr/share/doc/grub-doc/.<br />
<br />
## default num<br />
# Set the default entry to the entry number NUM. Numbering starts from 0, and<br />
# the entry number 0 is the default if the command is not used.<br />
#<br />
# You can specify 'saved' instead of a number. In this case, the default entry<br />
# is the entry saved with the command 'savedefault'. <br />
default 0<br />
<br />
## timeout sec<br />
# Set a timeout, in SEC seconds, before automatically booting the default entry<br />
# (normally the first entry defined).<br />
timeout 10<br />
<br />
## hiddenmenu<br />
# Hides the menu by default (press ESC to see the menu)<br />
#hiddenmenu<br />
<br />
# Pretty colours<br />
color cyan/blue white/blue<br />
<br />
## password ['--md5'] passwd<br />
# If used in the first section of a menu file, disable all interactive editing<br />
# control (menu entry editor and command-line) and entries protected by the<br />
# command 'lock'<br />
# e.g. password topsecret<br />
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/<br />
# password topsecret<br />
<br />
#<br />
# examples<br />
#<br />
# title Windows 95/98/NT/2000<br />
# root (hd0,0)<br />
# makeactive<br />
# chainloader +1<br />
#<br />
# title Linux<br />
# root (hd0,1)<br />
# kernel /vmlinuz root=/dev/hda2 ro<br />
#<br />
<br />
#<br />
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST<br />
<br />
### BEGIN AUTOMAGIC KERNELS LIST<br />
## lines between the AUTOMAGIC KERNELS LIST markers will be modified<br />
## by the debian update-grub script except for the default options below<br />
<br />
## DO NOT UNCOMMENT THEM, Just edit them to your needs<br />
<br />
## ## Start Default Options ##<br />
## default kernel options<br />
## default kernel options for automagic boot options<br />
## If you want special options for specific kernels use kopt_x_y_z<br />
## where x.y.z is kernel version. Minor versions can be omitted.<br />
## e.g. kopt=root=/dev/hda1 ro<br />
## kopt_2_6_8=root=/dev/hdc1 ro<br />
## kopt_2_6_8_2_686=root=/dev/hdc2 ro<br />
# kopt=root=/dev/hda5 ro<br />
<br />
## default grub root device<br />
## e.g. groot=(hd0,0)<br />
# groot=(hd0,0)<br />
<br />
## should update-grub create alternative automagic boot options<br />
## e.g. alternative=true<br />
## alternative=false<br />
# alternative=true<br />
<br />
## should update-grub lock alternative automagic boot options<br />
## e.g. lockalternative=true<br />
## lockalternative=false<br />
# lockalternative=false<br />
<br />
## additional options to use with the default boot option, but not with the<br />
## alternatives<br />
## e.g. defoptions=vga=791 resume=/dev/hda5<br />
# defoptions=quiet splash<br />
<br />
## altoption boot targets option<br />
## multiple altoptions lines are allowed<br />
## e.g. altoptions=(extra menu suffix) extra boot options<br />
## altoptions=(recovery mode) single<br />
# altoptions=(recovery mode) single<br />
<br />
## controls how many kernels should be put into the menu.lst<br />
## only counts the first occurence of a kernel, not the<br />
## alternative kernel options<br />
## e.g. howmany=all<br />
## howmany=7<br />
# howmany=all<br />
<br />
## should update-grub create memtest86 boot option<br />
## e.g. memtest86=true<br />
## memtest86=false<br />
# memtest86=true<br />
<br />
## should update-grub adjust the value of the default booted system<br />
## can be true or false<br />
# updatedefaultentry=false<br />
<br />
## ## End Default Options ##<br />
<br />
title Ubuntu, kernel 2.6.15-27-386<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.15-27-386 root=/dev/hda5 ro quiet splash<br />
initrd /initrd.img-2.6.15-27-386<br />
savedefault<br />
boot<br />
<br />
title Ubuntu, kernel 2.6.15-27-386 (recovery mode)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.15-27-386 root=/dev/hda5 ro single<br />
initrd /initrd.img-2.6.15-27-386<br />
boot<br />
<br />
title Ubuntu, kernel 2.6.12-9-386<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro quiet splash<br />
initrd /initrd.img-2.6.12-9-386<br />
savedefault<br />
boot<br />
<br />
title Ubuntu, kernel 2.6.12-9-386 (recovery mode)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro single<br />
initrd /initrd.img-2.6.12-9-386<br />
boot<br />
<br />
title Ubuntu, memtest86+<br />
root (hd0,0)<br />
kernel /memtest86+.bin <br />
boot<br />
<br />
### END DEBIAN AUTOMAGIC KERNELS LIST<br />
<br />
# This is a divider, added to separate the menu items below from the Debian<br />
# ones.<br />
title Other operating systems:<br />
root<br />
<br />
<br />
# This entry automatically added by the Debian installer for a non-linux OS<br />
# on /dev/hda2<br />
title Microsoft Windows XP Professional<br />
root (hd0,1)<br />
savedefault<br />
chainloader +1</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34671User:Piccobello2007-11-18T00:42:00Z<p>Piccobello: /* Still untested */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, but this still needs some work: <br />
**{{key|Fn}}{{key|F5}} still buggy<br />
**if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
{{Todo}}<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem (recognized by restricted driver module in Gutsy)<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34670User:Piccobello2007-11-18T00:40:44Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, but this still needs some work: <br />
**{{key|Fn}}{{key|F5}} still buggy<br />
**if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with {{path|/proc/acpi/ibm/volume}}. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
{{Todo}}<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34669User:Piccobello2007-11-18T00:40:07Z<p>Piccobello: /* Configuration files */ added Gutsy</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, but this still needs some work: <br />
**{{key|Fn}}{{key|F5}} still buggy<br />
**if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with /proc/acpi/ibm/volume. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files (Dapper)==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Configuration files (Gutsy)==<br />
<br />
{{Todo}}<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34668User:Piccobello2007-11-18T00:36:03Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest, which allowed me to keep most of the settings I had. Now I'm in the process of restoring previous tweaks. <br />
<br />
*Sound did not work at first: I just had to turn on and pull up the PCM output in kmix.<br />
*Fonts look uglier, dirty and fat. <br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options. Now I have the ttys but the boot splash does not work, so I removed the splash boot option.<br />
*Installed kmilo-legacy to recuperate the OSD and special button functions, but this still needs some work: <br />
**{{key|Fn}}{{key|F5}} still buggy<br />
**if I press volume keys kmilo decides that I also want to start kmix and change its master volume as well, together with /proc/acpi/ibm/volume. I found I can suppress this by pressing {{key|Shift}}. <br />
*For most other things I definitely noticed an improvement in stability, usability, etc.<br />
<br />
==Configuration files==<br />
<br />
These are still the ones of dapper<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34667User:Piccobello2007-11-18T00:22:56Z<p>Piccobello: /* Post-install configuration */ Breezy</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Breezy Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options.<br />
<br />
==Configuration files==<br />
<br />
These are still the ones of dapper<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34666User:Piccobello2007-11-18T00:21:47Z<p>Piccobello: /* My thinkpad */ why used</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used, see why [http://www.coopamerica.org/programs/rs/gs-computers.cfm here].<br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options.<br />
<br />
==Configuration files==<br />
<br />
These are still the ones of dapper<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34665User:Piccobello2007-11-18T00:14:44Z<p>Piccobello: /* My thinkpad */ Gutsy</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 7.10 (Gutsy).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options.<br />
<br />
==Configuration files==<br />
<br />
These are still the ones of dapper<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34576User:Piccobello2007-11-15T16:52:28Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb, and add vga=792 to the boot options.<br />
<br />
==Configuration files==<br />
<br />
These are still the ones of dapper<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34575User:Piccobello2007-11-15T16:24:44Z<p>Piccobello: /* Configuration files */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb.<br />
<br />
==Configuration files==<br />
<br />
These are still the ones of dapper<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34574User:Piccobello2007-11-15T16:09:19Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking {{key|Ctrl}}{{key|Alt}}{{key|F1}} just showed a blank screen. Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb.<br />
<br />
==Configuration files==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34573User:Piccobello2007-11-15T16:07:45Z<p>Piccobello: /* Gutsy install */ tty</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
*tty1-6 disappeared, clicking Ctrl+Alt+F1 just showed a blank screen.<br />
Found a solution [http://ubuntuforums.org/showthread.php?p=3776560 here]. In my case I had to unban and load radeonfb.<br />
<br />
==Configuration files==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34572User:Piccobello2007-11-15T16:05:13Z<p>Piccobello: /* Current issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
<br />
==Configuration files==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not always work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34570User:Piccobello2007-11-15T14:36:17Z<p>Piccobello: /* Gutsy install */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
*Sound did not work: I just had to turn on and pull up the PCM output in kmix<br />
<br />
==Configuration files==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=34518User:Piccobello2007-11-13T16:07:33Z<p>Piccobello: /* Dapper upgrade */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Attempted Edgy upgrade==<br />
<br />
This was a disaster. apt-get got completely confused, grub messed up and at boot it could not find any of the kernel images on disk. As I was far back on the ubuntu release schedule anyway, I opted for plan B: fresh install of Gutsy.<br />
<br />
==Gutsy install==<br />
<br />
This went perfectly. I kept home partition and formatted the rest. Now I'm in the process of restoring previous tweaks.<br />
<br />
==Configuration files==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello/xorg.conf&diff=26677User:Piccobello/xorg.conf2006-11-30T13:32:29Z<p>Piccobello: ewto 100 -> 200</p>
<hr />
<div>This is my {{path|/etc/X11/xorg.conf}}<br />
<br />
# /etc/X11/xorg.conf (xorg X Window System server configuration file)<br />
#<br />
# This file was generated by dexconf, the Debian X Configuration tool, using<br />
# values from the debconf database.<br />
#<br />
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.<br />
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)<br />
#<br />
# This file is automatically updated on xserver-xorg package upgrades *only*<br />
# if it has not been modified since the last upgrade of the xserver-xorg<br />
# package.<br />
#<br />
# If you have edited this file but would like it to be automatically updated<br />
# again, run the following command:<br />
# sudo dpkg-reconfigure -phigh xserver-xorg <br />
<br />
Section "Files"<br />
FontPath "/usr/share/X11/fonts/misc"<br />
FontPath "/usr/share/X11/fonts/cyrillic"<br />
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"<br />
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"<br />
FontPath "/usr/share/X11/fonts/Type1"<br />
FontPath "/usr/share/X11/fonts/CID"<br />
FontPath "/usr/share/X11/fonts/100dpi"<br />
FontPath "/usr/share/X11/fonts/75dpi"<br />
# paths to defoma fonts<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "GLcore"<br />
Load "i2c"<br />
Load "bitmap"<br />
Load "ddc"<br />
Load "dri"<br />
Load "extmod"<br />
Load "freetype"<br />
Load "glx"<br />
Load "int10"<br />
Load "type1"<br />
Load "vbe"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Generic Keyboard"<br />
Driver "kbd"<br />
Option "CoreKeyboard"<br />
Option "XkbRules" "xorg"<br />
Option "XkbModel" "pc104"<br />
Option "XkbLayout" "us"<br />
EndSection <br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ExplorerPS/2"<br />
Option "Emulate3Buttons" "on"<br />
Option "Emulate3TimeOut" "50"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelTimeOut" "200"<br />
Option "EmulateWheelButton" "2"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
Option "ZAxisMapping" "4 5"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 (M6 LY)"<br />
Driver "ati"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Generic Monitor"<br />
Option "DPMS"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Device "ATI Technologies, Inc. Radeon Mobility 9000 (M6 LY)"<br />
Monitor "Generic Monitor"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Depth 1<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 4<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 8<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 15<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 16<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 24<br />
Modes "1024x768"<br />
EndSubSection<br />
EndSection<br />
<br />
Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen "Default Screen"<br />
InputDevice "Generic Keyboard"<br />
InputDevice "Configured Mouse"<br />
EndSection<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=User:Piccobello&diff=26632User:Piccobello2006-11-28T15:17:21Z<p>Piccobello: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: {{Kubuntu}} 6.06 (Dapper).<br />
<br />
[http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2673CBU Lenovo page]<br />
<br />
==Installation issues==<br />
<br />
I first installed {{Kubuntu}} 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. As an alternative I could have used the NT boot loader, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Piccobello/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Piccobello/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [http://thunk.org/tytso/linux/t40.html#winxp-fat here]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Piccobello/interfaces|interfaces]] to enable hotplugging the ethernet cable. Which is wrong anyway. I also had to add lines to dhcp on both the wireless (eth0, see below) and the ethernet (eth1). Dapper upgrade removed hotplug, and it's still working, so that was really useless.<br />
<br />
* I enabled {{key|Fn}} + {{key|F5}} creating file {{path|/etc/modprobe.d/ibm_acpi.modprobe}} with the following line:<br />
options ibm_acpi hotkey=enable,0xff9f<br />
<br />
* Modified my GRUB menu.lst. The {{key|Fn}} + {{key|F5}} stopped working.. Finally I found out why looking at {{path|/usr/src/linux-source-2.6.12/Documentation/networking/README.ipw2100}} in section rf_kill, and modified {{path|/etc/acpi/wireless.sh}} accordingly, see [[User:Piccobello/Wireless|here]]. After Dapper upgrade I further cleaned up the script. Now the wireless is disabled at boot, which is what I wanted, and is switched with {{key|Fn}} + {{key|F5}}.<br />
<br />
* I thought the built in wireless did not work, but in fact it [[User:Piccobello/Wireless|does]]<br />
<br />
* I had an [[Problem with high pitch noises|hissing sound]] when on batteries. I found out it's actually related to screen brightness, see [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Dapper upgrade==<br />
<br />
All went fine. <br />
<br />
* This [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/36014 bug] does not seem to present itself, and CPU scaling is still working fine.<br />
<br />
* With xorg version 7.0 I managed to enable scrolling and keep functionality of mouse 2 button. See also [[How to configure the TrackPoint]].<br />
<br />
* [[Hybernation]] is now working. With Breezy, the system used to crash and reboot after resume. <br />
<br />
* With [[ibm-acpi]] ver. 0.8-2 I can now use the experimental settings, adding option experimental=1 to {{path|/etc/modprobe.d/ibm_acpi.modprobe}}.<br />
<br />
==Configuration files==<br />
<br />
* [[User:Piccobello/xorg.conf|xorg.conf]]<br />
* [[User:Piccobello/interfaces|interfaces]]<br />
* GRUB's [[User:Piccobello/menu.lst|menu.lst]]<br />
* Windoze [[User:Piccobello/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* I'd like to use an ACPI key combination to restart X, as sometimes everything freezes, keybord included, but {{key|Fn}} key combinations as brightness, thinklight, still work.<br />
<br />
==Still untested==<br />
<br />
* Irda<br />
* modem<br />
* IEEE 1394<br />
* Parallel port</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=Talk:How_to_setup_boot_loaders&diff=26631Talk:How to setup boot loaders2006-11-28T15:15:43Z<p>Piccobello: Using Grub to boot Windows</p>
<hr />
<div>Why does the article say that LILO/GRUB occopy the "MBR or boot sector" while NT Boot Loaded occupies both? You can boot Windows with a GRUB MBR or GRUB with a Windows MBR, so I don't see why the latter is true.<br><br />
(BTW, sory for the misflag, last edit wasn't "minor".)<br />
<br />
--[[User:Thinker|Thinker]] 09:10, 1 Oct 2005 (CEST)<br />
----<br />
There might be a better expression for that. What it should say is that NTLDR will always install to the partitions boot sector. You can't just install NTLDR to the MBR (as you can do with grub and lilo). Since it installs to the boot sector, you will also have to install something into the MBR that runs that boot sector. If you just install Windows that boot code kind of also belongs to the NT boot loader. Hence, to have an NT boot loader running, you need to have boot code in both the MBR and the boot sector. [[User:Wyrfel|Wyrfel]] 14:13, 1 Oct 2005 (CEST)<br />
----<br />
<br />
== Interferences with BIOS ==<br />
<br />
When I got a new PC (Gericom Phantom 31100 with AMD Sempron) the first thing was to add Linux to the preinstalled Windows XP.<br />
<br />
Here what happended to me:<br />
Booting from Linux install disk and starting installation: Everything fine but what I didnt know: Geometry as reported from disk was different to<br />
geometry on disk. The Windows XP somehow assumed that number of heads is 255 while the disk reported 63.<br />
Additionally the BIOS reported "LBA off" (AMI-Bios 8.00.12 allows only [AUTO] for hard disk recognition and I found no chance to set that using BIOS menu).<br />
<br />
The result: Neither Linux nor Windows was anymore bootable, Windows not even from Recoverty Disk !!!!. <br />
By bad luck I even lost the original MBR in my helpless attempts to fix that using different bootloader configurations. The best I could archieve:<br />
Using the force-lba option in GRUB made the stage 1 loadable but not stage 2. And asking for help thru helpline of manufacturer: No answer till today<br />
(3 weeks from now). <br />
<br />
But I found some hints on Linux pages about: Windows takes number of heads from partition table and refuses to boot in that case.<br />
So a applied the suggested fix<br />
> sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda<br />
<br />
Warning: HDIO_GETGEO says that there are 16 heads<br />
<br />
Disk /dev/hda: 193821 cylinders, 255 heads, 63 sectors/track<br />
Old situation:<br />
Warning: The partition table looks like it was made<br />
for C/H/S=*/16/63 (instead of 193821/255/63).<br />
For this listing I'll assume that geometry.<br />
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0<br />
<br />
Device Boot Start End #cyls #blocks Id System<br />
/dev/hda1 * 0+ 79191 79192- 39912736+ 7 HPFS/NTFS<br />
/dev/hda2 79192 81271 2080 1048320 82 Linux swap<br />
/dev/hda3 81272 193820 112549 56724696 83 Linux<br />
/dev/hda4 0 - 0 0 0 Empty<br />
New situation:<br />
Units = sectors of 512 bytes, counting from 0 <br />
<br />
Device Boot Start End #sectors Id System<br />
/dev/hda1 * 63 79825535 79825473 7 HPFS/NTFS<br />
/dev/hda2 79825536 81922175 2096640 82 Linux swap<br />
/dev/hda3 81922176 195371567 113449392 83 Linux<br />
/dev/hda4 0 - 0 0 Empty<br />
Warning: partition 1 does not end at a cylinder boundary<br />
<br />
sfdisk: I don't like these partitions - nothing changed.<br />
(If you really want this, use the --force option.)<br />
<br />
and using --force made me happy: Both, Linux and Windows now bootable.<br />
<br />
Summary: There a propably 4 problem areas / errors<br />
<br />
1) BIOS tells lba=off for a ATA disk which has LBA=yes after autodedect<br />
In my opinion a bios error<br />
<br />
2) grub-install produces (and overwrites) an MBR which is based on what the disk reports and not on original partition table<br />
<br />
3) Windows XP boot terminated when a completly unnecessary check (number of heads when using LBA) fails<br />
<br />
4) grub doesnt pass thru the force-lba to stage 2<br />
<br />
== Using Grub to boot Windows ==<br />
<br />
<br />
I managed to do it without messing the hidden partition up, see [[User:Piccobello]].</div>Piccobellohttps://www.thinkwiki.org/w/index.php?title=Talk:How_to_configure_the_TrackPoint&diff=26630Talk:How to configure the TrackPoint2006-11-28T15:12:12Z<p>Piccobello: control->configuration (existing page)</p>
<hr />
<div>On {{Fedora}} 5, with kernels 2.6.15 and forward, the path does not include {{path|serio2}}; it stops at {{path|serio0}}. <br />
<br />
Same thing on a {{Ubuntu}} Dapper install on an {{X31}}, again with kernel 2.6.15 (maybe that's the reason? [[User:Piccobello|Piccobello]] 17:02, 26 November 2006 (CET)).<br />
<br />
2006-07-18<br />
On {{Fedora}} 5, with kernels 2.6.16 and forward, the path is {{path|/sys/devices/platform/i8042/serio0/serio2}}<br />
<br />
2005-11-07<br />
OpenSuSE 10.0 has a kernel based on 2.6.13 (probably heavily patched), but the directory /sys/devices/platform/i8042/serio0/serio2 does not exist.<br />
instead, it looks like this:<br />
hoppetosse:/sys/devices/platform/i8042/serio0 # ls -l<br />
total 0<br />
-rw-r--r-- 1 root root 4096 Nov 7 18:38 bind_mode<br />
lrwxrwxrwx 1 root root 0 Nov 7 18:38 bus -> ../../../../bus/serio<br />
-r--r--r-- 1 root root 4096 Nov 7 18:38 description<br />
lrwxrwxrwx 1 root root 0 Nov 7 18:38 driver -> ../../../../bus/serio/drivers/psmouse<br />
--w------- 1 root root 4096 Nov 7 18:38 drvctl<br />
drwxr-xr-x 2 root root 0 Nov 7 18:38 id<br />
-r--r--r-- 1 root root 4096 Nov 7 18:38 modalias<br />
drwxr-xr-x 2 root root 0 Nov 7 18:38 power<br />
-rw-r--r-- 1 root root 4096 Nov 7 18:38 protocol<br />
-rw-r--r-- 1 root root 4096 Nov 7 18:38 rate<br />
-rw-r--r-- 1 root root 4096 Nov 7 18:38 resetafter<br />
-rw-r--r-- 1 root root 4096 Nov 7 18:38 resolution<br />
"description" says it's an "i8042 Aux Port". The page [[Patch to enable advanced trackpoint configuration]] seems to imply that a kernel patch is needed in order to get those features... this needs clarification.<br />
hmm. where can i find out whether "drvctrl" is what i'm looking for and what options it takes? guess it's back to RTFS...<br />
<br />
2005-10-06<br />
It seems that new version of the patch ( 2.6.12 at least ), the press to select entry in /sys is named "press_to_select" and not "ptson". I changed the page accordingly so that it complies with the [[Patch to enable advanced trackpoint configuration]] page.<br />
If you use an older version try :<br />
<br />
===Press to Select===<br />
Press to Select allows you to tap the control stick which will simulate a left click. You can enable this feature by typing the following in to a terminal (you may need to be root):<br />
<br />
:{{cmdroot|echo 1 > /sys/devices/platform/i8042/serio0/ptson}}<br />
<br />
Press to Select should now be enabled. You can disable it in a similar manner:<br />
<br />
:{{cmdroot|echo 0 > /sys/devices/platform/i8042/serio0/ptson}}</div>Piccobello