Linux.SonyVaio HistoryHide minor edits - Show changes to markup Thursday 24 November 2005, at 01:20 GMT+8
by -
Changed line 117 from:
Now the problem is these utilities by themselves don't do much, in particular to:
Now the problem is these utilities by themselves don't do much, in particular Changed line 168 from:
Not particularly elegant, but effective for now. If I have more time and the inclinaison to to better, I'll post it here in a future update. to:
Not particularly elegant, but effective for now. If I have more time and the incentive to to better, I'll post it here in a future update. Monday 04 July 2005, at 04:30 GMT+8
by -
Changed lines 183-185 from:
http://www.linux-on-laptops.com/images/button2.gif to:
http://www.linux-on-laptops.com/images/button2.gif (:comments:) Saturday 14 May 2005, at 10:09 GMT+8
by -
Changed line 1 from:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. to:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. Saturday 09 April 2005, at 06:32 GMT+8
by -
Changed line 12 from:
Just make a standard install, be carefull not to install over your existing Windwos partitions and to avoid touching the first partition of your drive which contains the recovery data for your laptop. to:
Just make a standard install, be carefull not to install over your existing Windows partitions and to avoid touching the first partition of your drive which contains the recovery data for your laptop. Changed lines 62-63 from:
The default txextmode display used by teh kernel when you boot is horrendous: doesn't cut it at all on such a beautiful machine capabable of so much more.
To switch to something a lot more confortable, add the following lines to your to:
The default textmode display used by the kernel when you boot is horrendous: doesn't cut it at all on such a beautiful machine capabable of so much more. Changed line 71 from:
Note: you will still boot in the default textmode until all the services are loaded. To make the kernel switch to the ATI framebuffer we would need to recompile that support into the kernel rather than being an external module. You would then be able to add a simple to:
Note: you will still boot in the default textmode until all the services are loaded. To make the kernel switch to the ATI framebuffer we would need to recompile that support into the kernel rather than being an external module. You would then be able to add a simple Changed line 79 from:
to:
Saturday 02 April 2005, at 05:33 GMT+8
by -
Added line 27:
[dag] Friday 01 April 2005, at 02:40 GMT+8
by -
Changed line 165 from:
Note: Don't forget the “““ to:
Note: Don't forget the Friday 01 April 2005, at 02:39 GMT+8
by -
Changed line 165 from:
Note: Don't forget the to:
Note: Don't forget the “““ Friday 01 April 2005, at 02:33 GMT+8
by -
Changed lines 116-117 from:
Now the problem is these utilities by themselves don do much, in particular to:
Now the problem is these utilities by themselves don't do much, in particular Changed line 119 from:
Kevin J. Smith has a few more information on his Sony Vaio page, but doing as he said would do nothin for me, so I rolled a very quick and very dirty script to load at boot and control the basic stuff: to:
Kevin J. Smith has a few more information on his Sony Vaio page, but doing as he said would do nothing for me, so I rolled a very quick and very dirty script to load at boot and control the basic stuff: Changed line 123 from:
And that's it. Thr Mute button doesn't need the to:
And that's it. The Mute button doesn't need the Changed line 125 from:
Anyway, just copy the following into a file to:
Anyway, just copy the following into a file Changed lines 157-158 from:
chmod 755 dosonystuff mv dosonystuff /usr/bin to:
chmod 755 sonystuff mv sonystuff /usr/bin Changed line 163 from:
/usr/bin/dosonystuff > /dev/null & to:
/usr/bin/sonystuff > /dev/null & Changed line 165 from:
Note: Don't forget the to:
Note: Don't forget the Thursday 31 March 2005, at 17:00 GMT+8
by -
Changed line 12 from:
Just make a standard install, be carefull not to install over your existing Windwos partitions and to avoid touching the first partition of you drive which contains the recovery data for your laptop. to:
Just make a standard install, be carefull not to install over your existing Windwos partitions and to avoid touching the first partition of your drive which contains the recovery data for your laptop. Thursday 31 March 2005, at 16:58 GMT+8
by -
Changed line 146 from:
to:
Thursday 31 March 2005, at 16:45 GMT+8
by -
Changed line 3 from:
After acquiring on of the superb Vaio VGN series laptop, with its wondrous 17" 1920x1200 ultrabright display, I decided to install Fedora on a partition to coexist with the original WindowsXP. to:
After acquiring one of the superb Vaio VGN series laptop, with its wondrous 17" 1920x1200 ultrabright display, I decided to install Fedora on a partition to coexist with the original WindowsXP. Changed lines 5-6 from:
I'm trying to cut down on my dependency on Windows software, and as I preach for a greater use of Linux and OSS in the business world, I have to do as I say. I can't get rid of Windows totally as I still rely on some software and programming environment such as VisualStudio to build Win32 and .Net applications, and on software like CorelDraw! that have not yet crossed over well enough to be used in a production environment. to:
I'm trying to cut down on my dependency on Windows software, and as I preach for a greater use of Linux and OSS in the business world, I have to do as I say. Thursday 31 March 2005, at 16:00 GMT+8
by -
Added lines 128-131:
my $settingfile = '/etc/sonystuff.brightness';
`spicctrl -b\`cat $settingfile\`` if -e $settingfile;
Changed lines 142-150 from:
if ($b==16 && $bright>0) {
$bright -= 20;
$bright = 0 unless $bright > 0;
`spicctrl -b$bright`;
} elsif ($b==17 && $bright<255) {
$bright += 20;
$bright = 255 unless $bright<255;
`spicctrl -b$bright`;
}
to:
fiatLux($bright - 20) if $b==16;
fiatLux($bright + 20) if $b==17
Added lines 146-152:
sub fiatLux { my $lux = shift;
$lux = 0 unless $lux > 0;
$lux = 255 unless $lux < 255;
`spicctrl -b$lux; echo $lux > $settingfile`;
} Changed line 154 from:
I told you, this is very quick and dirty. to:
I told you, this is very quick and dirty, but it will work and save the brightness setting accross reboots.\\ Thursday 31 March 2005, at 10:46 GMT+8
by -
Changed line 1 from:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. Attach:sonyvaio.png Δ to:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. Thursday 31 March 2005, at 10:46 GMT+8
by -
Changed line 1 from:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. to:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. Attach:sonyvaio.png Δ Thursday 31 March 2005, at 09:36 GMT+8
by -
Changed line 178 from:
[[http://www.linux-on-laptops.com/ http://www.linux-on-laptops.com/images/button2.gif] to:
http://www.linux-on-laptops.com/ http://www.linux-on-laptops.com/images/button2.gif Thursday 31 March 2005, at 09:35 GMT+8
by -
Changed line 178 from:
http://www.linux-on-laptops.com/images/button2.gif to:
[[http://www.linux-on-laptops.com/ http://www.linux-on-laptops.com/images/button2.gif] Thursday 31 March 2005, at 09:33 GMT+8
by -
Changed lines 176-178 from:
to:
http://www.linux-on-laptops.com/images/button2.gif Thursday 31 March 2005, at 09:23 GMT+8
by -
Added line 102:
Changed lines 122-124 from:
And that's it. teh Mute button doesn't need to:
And that's it. Thr Mute button doesn't need the Changed lines 165-167 from:
to:
Changed lines 176-182 from:
to:
Thursday 31 March 2005, at 04:53 GMT+8
by -
Changed line 156 from:
/usr/bin/sonystuff > /dev/null & to:
/usr/bin/dosonystuff > /dev/null & Added line 159:
Thursday 31 March 2005, at 04:52 GMT+8
by -
Added lines 115-116:
Now the problem is these utilities by themselves don do much, in particular Added lines 118-159:
Kevin J. Smith has a few more information on his Sony Vaio page, but doing as he said would do nothin for me, so I rolled a very quick and very dirty script to load at boot and control the basic stuff:
And that's it. teh Mute button doesn't need
#!/usr/bin/perl -w
open SONYPI,"/dev/sonypi";
my $b="";
do {
read(SONYPI,$b,1);
$b = ord($b);
if ($b==27) {
`eject cdrecorder`;
} elsif ($b==16 || $b==17) {
my $bright = `spicctrl -B`;
chomp $bright;
if ($b==16 && $bright>0) {
$bright -= 20;
$bright = 0 unless $bright > 0;
`spicctrl -b$bright`;
} elsif ($b==17 && $bright<255) {
$bright += 20;
$bright = 255 unless $bright<255;
`spicctrl -b$bright`;
}
}
} while(1);
I told you, this is very quick and dirty. Now just make this script executable and load at boot as we did before: chmod 755 dosonystuff mv dosonystuff /usr/bin Then call our script from modprobe sonypi /usr/bin/sonystuff > /dev/null & Note: Don't forget the Monday 28 March 2005, at 13:03 GMT+8
by -
Changed line 1 from:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. to:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. This should work on most of the laptops from the VGN-A* series as they are basically variations on the same core. Changed lines 13-14 from:
Check that Grub will give you a choice of OS when you boot and then choose the packages you want to install. teh rest is a breeze and should not bring any issue. to:
Check that Grub will give you a choice of OS when you boot and then choose the packages you want to install. grub should be installed on the Master Boot Record (MBR) of the hard drive, Added lines 103-115:
Function buttonsThose little buttons that adjust brightness, volume, eject the CD need special software to work. Fortunately, some nice people have done most of the hard work for us:
rpmbuild -tb spicctrl-X.Y.tar.bz2 rpmbuilt -tb sonypid-X.Y.tar.bz2 cd /usr/src/redhat/RPMS/i386 rpm -ivh spicctrl-X.Y.i386.rpm rpm -ivh sonypid-X.Y.i386.rpm Added line 124:
Monday 28 March 2005, at 11:30 GMT+8
by -
Changed lines 108-114 from:
to:
Monday 28 March 2005, at 11:20 GMT+8
by -
Deleted lines 50-51:
Note: after rebooting, you will notice that the wireless network adapter will have been detected and configured automatically as Deleted line 70:
Changed lines 100-102 from:
to:
Wireless adapterOnce you have updated your installation with yum as mentionned above, you will notice after rebooting that the wireless network adapter will have been detected and configured automatically as Changed lines 105-108 from:
to:
Links
Sunday 27 March 2005, at 09:12 GMT+8
by -
Changed lines 51-52 from:
: after rebooting, you will notice that the wireless network adapter will have been detected and configured automatically as Displayto:
Note: after rebooting, you will notice that the wireless network adapter will have been detected and configured automatically as Graphic DisplayChanged lines 61-73 from:
Don't try to use the official proprietory ATI driver either, it doesn't work well on a laptop it seems. to:
Don't try to use the official proprietory ATI driver either, it doesn't work well on a laptop it seems. Textmode DisplayThe default txextmode display used by teh kernel when you boot is horrendous: doesn't cut it at all on such a beautiful machine capabable of so much more.
To switch to something a lot more confortable, add the following lines to your modprobe radeonfb service gpm restart clear This will load the proper framebuffer kernel module to drive our ATI card to its fullest, and reload the textmode mouse driver to take advantage of our new whooping 240x75 resolution, that's bout 18k of screen space or 9 times the default resolution. Note: you will still boot in the default textmode until all the services are loaded. To make the kernel switch to the ATI framebuffer we would need to recompile that support into the kernel rather than being an external module. You would then be able to add a simple Sunday 27 March 2005, at 08:47 GMT+8
by -
Added line 51:
: after rebooting, you will notice that the wireless network adapter will have been detected and configured automatically as Added line 54:
Changed lines 58-60 from:
Note: don't use the Screen Resolution or Display Config tools found in the Applications menu, they would mess up the config file. to:
Note: don't use the Screen Resolution or Display Config tools found in the Applications menu, they would mess up the config file. Changed line 90 from:
to:
Sunday 27 March 2005, at 08:43 GMT+8
by -
Changed line 1 from:
The following relates installation of Fedora Core 3 on a Vaio VGN-A170P laptop. to:
The following relates installation of Fedora Core 3 on a Sony Vaio VGN-A170P laptop. Changed lines 18-23 from:
Open a terminal, insert the Fedora Core installation disk and, once the CD/DVD has been mounted, type to:
Open a terminal, insert the Fedora Core installation disk and, once the CD/DVD has been mounted, type the following to ensure that the digital signatures for the verification of packages are loaded: # mount cdrecorder # rpm --import /media/cdrecorder/RPM* Changed lines 31-39 from:
Get Dag's http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt Dag's PGP key, save it and import it as we did before to:
Get Dag's http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt Dag's PGP key, save it and import it as we did before: # rpm --import RPM-GPG-KEY.dag.txt We are now ready to update and isntall anything we want: # yum -y update The Added lines 41-50:
One thing to do is to remove unnecessary services that consume resources on your machine: you can use the Services applet from the menu System Settings -> Server Settigns -> Services.
You can generally remove services such as Reboot and you're done. To install a new application, say # yum -y install mplayer It will download everything needed for mplayer to work, resolving dependencies for you. Changed line 89 from:
to:
Sunday 27 March 2005, at 08:26 GMT+8
by -
Changed lines 31-32 from:
to:
Sunday 27 March 2005, at 08:16 GMT+8
by -
Added lines 16-27:
UpdateThe first thing to do is to update the distribution before we start tinkering with it.
Open a terminal, insert the Fedora Core installation disk and, once the CD/DVD has been mounted, type baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Get Dag's http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt Dag's PGP key, save it and import it as we did before Changed lines 31-33 from:
: don't use the Screen rsolution or Display Config tools found in the menu, they would mess up the config file. to:
Note: don't use the Screen Resolution or Display Config tools found in the Applications menu, they would mess up the config file. Added lines 64-66:
Bits and Tips
Sunday 27 March 2005, at 08:00 GMT+8
by -
Changed lines 1-55 from:
Describe SonyVaio here. to:
The following relates installation of Fedora Core 3 on a Vaio VGN-A170P laptop. IntroAfter acquiring on of the superb Vaio VGN series laptop, with its wondrous 17" 1920x1200 ultrabright display, I decided to install Fedora on a partition to coexist with the original WindowsXP. I'm trying to cut down on my dependency on Windows software, and as I preach for a greater use of Linux and OSS in the business world, I have to do as I say. I can't get rid of Windows totally as I still rely on some software and programming environment such as VisualStudio to build Win32 and .Net applications, and on software like CorelDraw! that have not yet crossed over well enough to be used in a production environment. InstallationI won't go in the details of partitioning the drive. there are a number of utilities that do that very well. I just created a 15GB partition, changed the boot sequence in the BIOS (press the F2 key when booting) and booted from a Fedora Core 3 boot CD. I generally use network installation as I have copied the full install on one of the servers on my network and shared them using NFS. If you have the FC3 DVD or set of CDs, you'll do just as well although it will be a bit slower. Just make a standard install, be carefull not to install over your existing Windwos partitions and to avoid touching the first partition of you drive which contains the recovery data for your laptop. Check that Grub will give you a choice of OS when you boot and then choose the packages you want to install. teh rest is a breeze and should not bring any issue. Reboot your PC, select your Fedora OS and just go through the initial on-screen configuration. DisplayFor some reason, the Fedora tools have a hard time picking up the right display settings for the configuration, so we need to edit the
: don't use the Screen rsolution or Display Config tools found in the menu, they would mess up the config file. FontsThe stock fonts are quite horrible and look quite bad. The best thing I found was to import the True Type Fonts from my existing Windows setup and use those instead:
Open the Font Preferences dialog under Application -> Preferences -> Fonts and select the following:
Under the Font rendering section, click Details... :
Under Mozilla/Firebird, under Edit -> Preferences..., General Tab, click Fonts & Colors...:
Now all those parameters suit me most, you may find others better suited for you. I'm a bit disapointed though that fonts are still an issue to get right. The results are not so pleasing. |