
by Tilo Sloboda, last update: 02 Sept 2004
15 September 2004
, created Oct 1998
Even if your computer is not a PCG-8x8, but uses similar hardware (NeoMagic 256AV chipset),
this page might be helpful for you.
e.g. some people with the new SONY VAIO F-series or 505's found this very helpful too.
I use LINUX on laptops since 1992, when I bought my first no-name 486 laptop (no Micro$oft software on my machines!). Since then I installed LINUX on quite a lot of PCs and laptops, and while I was working for SONY.. on several SONY desktop PCs (PCV-E201,..) and laptops.
Luckily these days you don't have to install LINUX from a huge stack of about 50+ floppies anymore, but can conveniently install from CD-ROM. =-)
See update on Upgrading from 2.4 to 2.6 kernel (2 Sept 2004)
See update on Installing RedHat 6.1
See update on Upgrading to RedHat 6.0
See update on 24-Bit color mode
See update on CardBus/PCMCIA support
See update on Disabling Gnome / KDE
See update on Using two grafics cards + two monitors! (on a regular desktop machine of course)
266 MHz Pentium II CPU, 13.3" XGA Active Matrix LCD (1024 x 768), 64 MB RAM (expandable to 192 MB max.), 4 GB Harddisk, 24x CD-ROM, Built-in Stealth 3D stereo speakers, TV output.
In case you wanted to buy a 'naked' 2.5" EIDE hard drive and put it in a
drive bracket: it's even harder to get that part.
Recently I have found the part number for that drive assembly: A-8044-303-A (without disk)
Thank you Delmar!
The main advantage of the PCG-838 over the PCG-808 is the faster CPU (366 MHz PentiumII), the larger hard drive (6.4 GB), and it's 2x DVD-ROM drive. Both laptops come with 64MB RAM, and use the same Grafics Chip: NeoMagic MagicMedia 256AV with 2.5 MB Video RAM and 128 bit Accelerator
Maybe you'll need to look for extra stuff on one of the RedHat FTP Mirrors
A big thanks to Bill Dudley, who provided me with the following email regarding the kernel upgrade from 2.4 to 2.6 and the changes necessary to make it work:
Here is Bill's modules.conf file for the 2.6 kernel:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-es1688
options snd-ex1688 port=0x220 irq=5 dma1=1 dma2=5 mpu_port=0
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# OSS/Free portion - card #1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
After upgrading from Red Hat LINUX 5.2 to 6.0 I experienced one problem when trying to open x-windows (e.g. an xterm) within my window manager (fvwm2). I got the error message: "xterm: no available ptys" and the window didn't open.
To fix this problem for the current session, you have to manually mount:
mount -t devpts none /dev/pts
And for the future, add the following line to your /etc/fstab file:
none /dev/pts devpts rw 0 0
Otherwise it won't be remounted at reboot.
The partition layout of your disk should look something like this:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 909 ? 83 Linux native
/dev/hda2 910 942 ? 82 Linux swap
/dev/hda4 943 992 201600 a0 unknown
You should see some number in stead of the question marks.
IMPORTANT: DO NOT REMOVE OR MODIFY the already
existing 200 MB partition!!! CREATE IT, if you have a new hard disk!
The PCG-808 needs this partition to dump it's memory
contents in case the battery becomes
too weak during hybernation mode!
I don't need to add a BLINK tag, do I? You got the idea, right? ;-) Make SHURE you have this 200MB partition with id 0xA0
The NeoMagic driver has been part of XFree86 for at least 2 distributions of Red Hat. No need for a special server.
I use it with full XGA resolution (1024x768) on the LCD and also with (1600x1200) on my external 21 inch monitor.
Please have a look at the XFree Web Site for
new versions of the X-driver and
for Available Documentation -- especially
NeoMagic related Documentation.
This is the pointer to the Version 3.3.5 binaries.
XF86Config files
The file /etc/X11/XF86Config contains the configuration of
your X-Server and a description of which screen resolutions your
monitor can support.
This is my original XF86Config file for my PCG-808, and this is my XF86Config file for high screen resolutions which I use on my 21" monitor (listing modes for "1280x1024" "1440x1152" "1600x1200" "1800x1440"). I love tiny fonts ;-)
24-bit Color Mode
Maybe you also want to use your screen in 24-bit color resolution?
That would be quite nice, wouldn't it?
[servers]
0=/usr/bin/X11/X -bpp 32
#1=/usr/bin/X11/X
#
:0 local /usr/X11R6/bin/X -bpp 24
For some configurations your X-driver may need -bpp 32 to enable
24-bit color.
And use the XF86Config file from above.
Using two grafics cards and two monitors..
Of course this is not intended for laptops -- it's too hard to force a second grafic card into them =-)
But i thought I'd add this here, hoping people
might find it useful for configuring their LINUX-desktop machines..
Edit the bottom of /etc/X11/gdm/gdm.conf as follows:
[servers]
0=/usr/bin/X11/X -bpp 32
1=/usr/bin/X11/X -bpp 32
..for both grafic cards running in 32-bit or 24-bit resolution..
otherwise the default is 8 bit. Depending if you set your DISPLAY environment
variable to localhost:0.0 or localhost:0.1,
the windows will go to one or the other screen.. =-)
ONLY do this when you are finished playing around with your X-configuration file!!
Edit the file /etc/inittab and set the default runlevel to 5
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
# id:3:initdefault:
id:5:initdefault:
You can also set a nice default background picture by editing the
file /etc/X11/xdm/Xsetup_0, e.g. as follows:
#!/bin/sh
# $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $
/usr/X11R6/bin/xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
#
# use your favourite picture here ---------------\
# V
/usr/X11R6/bin/xv -root -ncols 16 -quit -max /etc/X11/xdm/NY_breakfast.jpg
# /usr/X11R6/bin/xbanner
No Gnome/KDE in Red Hat 6.0 and 6.1
In the recent RedHat versions 6+ you have the choice of either using
Gnome or KDE as a default window manager and you have to make that choice
during installation. These new RedHat versions use gdm instead of xdm.. see /etc/X11/gdm .. Unfortunately there are no hints whatsoever in the
Gnome and/or KDE documentation telling you how to get rid of these window managers.
Desperately looking through the configuration files, I found two ways to force gdm to use the window manager of my choice..
..resistance is futile!!
# cat > ~/.xinitrc fvwm CTRL-D #In other words, you just put 'fvwm' in your ~/.xinitrc file -- for root in has to be under /root of course.
> cat > ~/.Xclients
# force file ~/.Xclients to tell gdm which window manager to start..
#
# PLEASE don't give me gnome/kde - but rather start fvwm
if [ -f /usr/X11R6/bin/fvwm ]; then
exec fvwm
else
exec twm
fi
> chmod u+x ~/.Xclients
Don't forget to make ~/.Xclients executable, or it won't work!!
And don't forget to clean up.. he he!
> cd ~ > rm -rf .gnome* enlightenment* >
The audio controller in the SONY VAIO PCG-808 Laptop is in fact also the MagicMedia 256AV. If you look up the MagicMedia 256AV site at NeoMagic, you'll find that the MagicMedia is an integrated 2D/3D/DVD MPEG/Audio controller chip that won several technical excellence awards. Now if we can only get a good working driver for it into the 2.2 kernel build we'll be set.
I have been using a variety of Linux Mp3 players and the driver seems
to support 44.1 kHz stereo 16 bit sound on this notebook quite nicely.
I haven't tested full duplex, but the driver source says it is
supported. MS Windows as shipped with the notebook implies the chip
is a ES1879 which sounds possible since the
NeoMagic web page
says, that a companion chip (NM3298) is required for soundblaster compatibility.
Apparently, either Sony chose to use the ESS chip instead, or the
NM8298 is software compatible with or is a second source for the ESS
chip.
At any rate, 16 bit sound output seems to work fine as does the mixer.
Here are the modules and options I use with my self-compiled kernel and Debian 2.1:
soundlow soundcore sound uart401 sb irq=5 io=0x220 dma=1 mpu_io=0x320 dma16=5
See /usr/src/linux/README on what to do, to re-configure, re-compile and re-install your kernel and the kernel modules!
PCMCIA
For RedHat 5.2 I have installed the "new" PCMCIA support pcmcia-cs-3.0.9.tar.gz which also supports 32-bit CardBus cards.
For RedHat 6.0 you don't have to do this.
kernel: aha152x: trying software interrupt, lost. kernel: aha152x: IRQ 5 possibly wrong. Please verify.Then try to disable this particular interrupt in /etc/pcmcia/config.opts by adding a line
exclude irq 5
e.g. I have noticed that I had to disable IRQ 9 in /etc/pcmcia/config.opts to make both my
new 3Com/Megahertz 10/100 Base-T Ethernet CardBus-card 3CCFE575BT and my Jaz-SCSI-card work at the same time.
I recently bought an EPSON 750Z digital camera. It uses FlashCards to
save the pictures. It was no problem to mount the FlashCard under
LINUX. All you need is the adapter to make a PCMCIA card out of the
FlashCard (The adapter costs approx. $12 US),
a directory /flash and the following entry
in /etc/fstab:
/dev/hde1 /flash msdos defaults
|
Maintainer: Tilo Sloboda linux AT unixgods.org last update: 20 February 2000 |
|