Sony Vaio PCG-R505EL
From Gentoo Linux Wiki
| Laptops • TV Tuner Cards • Wireless • Servers • Storage • Other Hardware • Motherboards • Related |
|
[edit] Sony Vaio PCG-R505EL
This HOW-TO is intended to help you install and configure Gentoo for use on the Sony Vaio PCG-R505EL laptop. PLEASE add to it as you see fit.
NOTE: This is based on installing Gentoo 2006.0 with KDE
[edit] TO-DO
- Sound - ALSA?
- Modem - haven't tested
- External Monitor - haven't bothered
- JogDial - how to configure?
- Hibernation - how to configure?
[edit] Hardware
The Sony Vaio R505EL uses an Intel 82801 to provide PCI Bus, LAN Controller (10/100 Ethernet), IDE Controller, USB, Interrupt Controller, Timers, ACPI, DMA Controller, AC'97 Sound codec, AC'97 Modem, Real-Time Clock, and SMBus. Except for the CPU and memory, this chip is the computer. 82801CAM Technical Specs (Mobile Intel 830 Chipset Family)- PDF
[edit] Upgrades
I was able to successfully upgrade the memory to 640Mb by purchasing a SimpleTech 512Mb card
They also sell 80Gb drives to replace the 30Gb standard.
[edit] Specifications
[See appendix for complete specs]
- Processor: Mobile Intel® Pentium® III processor1 1.13 GHz-M. Supports Enhanced Intel SpeedStep Technology
- L2 Cache Memory: 512 KB (CPU Integrated)
- Hard Disk Drive: 30 GB
- Standard Memory (RAM): 256 MB SDRAM (Maximum 384 MB) (PC133 unbuffered µDIMM memory modules)
- LCD Screen: 12.1" XGA TFT
- Graphics: Intel® 830MG chipset integrated graphics accelerator 32 MB video RAM (max.) shared with main memory (Expandable to 48MB max. if main memory is upgraded)
- Modem: V.90 compatible modem
[edit] Installation
[edit] Set the BIOS
Press F2 at startup and make sure Plug'n'Play OS is set to Yes
[edit] Boot from LiveCD
Download and burn the Gentoo 2006.0 LiveCD - when ready, boot directly from it.
In order to have access to the CD drive in the docking station for the rest of the install, you will have to enable ACPI and SCSI at least:
boot: gentoo-nofb acpi=on doscsi
Note: No matter what way I set it, it seems impossible to get the LiveCD to start the graphical installer, and even if I tweak xorg.conf, I can still only get 640x480 resolution (too small to see the config screens). Based on LOTS of research, it seems that AGPGART is failing to load because of some memory weirdness with the i810 chipset.
[edit] Install Gentoo!
Choose the defaults for all the options until you get to the prompt. Out of common courtesy (and in case I need it again for myself), I'll supplement the entire Gentoo install and note any deviations. Refer to the Gentoo Handbook for our main walkthrough...
Are you sitting comfortably? Then we'll begin.
[edit] Configure the Partitions
Follow the Instructions to set up your partitions like this:
Device Boot Start End Blocks Id System /dev/hda1 * 1 63 31720+ 83 Linux /dev/hda2 64 1056 500472 82 Linux swap / Solaris /dev/hda3 1057 58140 28770336 83 Linux
Note: If you plan on running vmware, now would be a good time to create a 10Gb partition!
[edit] Edit make.conf
Assumes KDE
| File: /etc/make.conf |
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="acpi ieee1394 qt kde dvd alsa cdr dri hal dbus opengl
firefox usb -gtk -gnome"
|
[edit] Configure the Kernel
First, get to know your machine, intimately - review the lspci output below in Appendix C
NOTE: This is for gentoo-sources Linux Kernel v2.6.16-gentoo-r7 (I would have provided the .config, but this wiki won't support that)
| Linux Kernel Configuration: gentoo-sources-2.6.16-r7 |
-> Loadable module support
-> Enable loadable module support (MODULES [=y])
Module unloading
-> Processor type and features
-> Processor family (<choice> [=y])
Pentium M
-> Device Drivers
-> Network device support
-> Ethernet (10 or 100Mbit)
-> EISA, VLB, PCI and on board controllers (NET_PCI [=y])
Intel(R) PRO/100+ support
-> Graphics support
Intel 810/815 support (EXPERIMENTAL)
-> Character devices
Sony Vaio Programmable I/O Control Device support (EXPERIMENTAL)
-> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
Intel I810
-> /dev/agpgart (AGP Support) (AGP [=y])
Intel 440LX/BX/GX, I8xx and E7x05 chipset support
-> I2C support
-> I2C support (I2C [=y])
-> I2C Hardware Bus support
Intel 810/815
|
Still to be included up there..
- ACPI: ac, battery, button, fan, processor, thermal, evdev, cpu frequency scaling
- Sound: ALSA SND_INTEL8x0 (snd_ac97_codec)
- DVD/CD: ieee1394, ochi1394, sbp2, scsi cd-rom
- Input: input, keybdev, mousedev
- USB: usb-storage
- General: module-unloading
[edit] Module Autoload
find your modules with the following:
# find /lib/modules/2.6.16-gentoo-r7/ -type f -iname '*.o' -or -iname '*.ko'
/etc/modules.autoload.d/kernel2.6:
# Base firmware_class # Net dummy s2io # SCSI dpt_i2o ipr sata_sis sata_sx4 # USB touchkitusb cytherm phidgetservo # Video cfbcopyarea cfbfillrect cfbimgblt fb i810fb vgastate # Libraries libcrc32c # Networking lapb
[edit] fstab
/dev/hda1 /boot ext2 defaults,noatime 1 2 /dev/hda2 none swap sw 0 0 /dev/hda3 / ext3 noatime 0 1 /dev/sr0 /mnt/cdrom auto noauto,user 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs nodev,nosuid,noexec 0 0 /dev/fd0 /mnt/floppy auto noauto 0 0 # if you want a USB Drive to work, this will set it up /dev/sdb1 /mnt/usbdrive vfat noauto,user,exec 0 0
This should have you installed fully - don't forget to change the root password!
[edit] KDE
(if you don't like KDE or Gnome, I suggest Xfce)
Lets follow the KDE installation instructions
emerge kde
'nuf said - follow the rest of the instructions
If you get a message 'unknown group: plugdev', then try adding your user to usb group (and maybe messagebus and haldaemon)
[edit] Packages
The following are some interesting packages to check out on gentoo-portage.com:
- www-client/mozilla-firefox
- app-portage/kuroo (also look at KPackage )
- app-laptop/spicctrl
- app-misc/sjog
- app-misc/sonypid
- app-laptop/laptop-mode-tools
- x11-drivers/xf86-video-i810
- app-misc/i810switch
- sys-power/cpudyn
- kde-base/klaptopdaemon (should already be installed)
- vmware-workstation (requires license)
[edit] VMWare
If you have problems with VMWare hanging while installing a guest OS, try this in your make.conf:
CFLAGS="-O2 -march=pentium3 -pipe -mno-tls-direct-seg-refs"
and rebuild based on the new flag (and go to bed for 12 hrs):
# emerge --emptytree --deep --ask --verbose world
Make sure vmware is loading at default level
rc-update add vmware default
..and the modules are in /etc/modules.autoload.d/kernel2.6
# VMWare vmmon vmnet
[edit] Devices, Networking & Power Mgmt
Refer to the Laptop HOWTO
[edit] Sound Notes
Use ALSA in the kernel, and when in KDE, open up the mixer and turn the sound up!
[edit] JogDial
Look at R505GL
[edit] Appendix A: Links
[edit] Sony
[edit] Laptops with Linux
[edit] Hardware
- SJog
- i810
- Stupid Vaio Tricks
- Vaio Tools for Linux (not in portage)
- i810 Switch LCD/CRT switch
- SonyPI
[edit] Reference Installations
- R505EL (RedHat)
- R505GL (Gentoo)
- R505GL (Gentoo)
- R505TSK (Gentoo)
- R505JL (RedHat)
- R505TS (Gentoo)
- Z505GA (Debian)
- VGN-TX2 (Gentoo)
- PCG-FX240
[edit] Community
[edit] Setup
- Laptop HOWTO
- Laptop Wiki’s
- Gentoo Power management guide
- Mini-HowTo Battery Powered Linux
- A link collection to laptop howtos on various distributions
- How to make ACPI work - contains recent tips
- Gentoo Linux on the PACKARD BELL ipower 7000 series
[edit] Appendix B: Hardware Specifications
- Processor: Mobile Intel® Pentium® III processor1 1.13 GHz-M. Supports Enhanced Intel SpeedStep Technology
- L2 Cache Memory: 512 KB (CPU Integrated)
- Hard Disk Drive: 30 GB
- C/D Drive Partition (Approximate) C: 16 GB (NTFS); D: 14 GB(NTFS)
- Standard Memory (RAM): 256 MB SDRAM (Maximum 384 MB) (PC133 unbuffered µDIMM memory modules)
- LCD Screen: 12.1" XGA TFT
- Graphics: Intel® 830MG chipset integrated graphics accelerator 32 MB video RAM (max.) shared with main memory (Expandable to 48MB max. if main memory is upgraded)
- Sound Capabilities: Microsoft® sound system compatible
- Memory Stick® Media: One slot (supports MagicGate Memory Stick® media and Memory Stick® media)
- Modem: V.90 compatible modem
- Built-in Capabilities:
- Stereo speakers
- Touch pad
- Jog Dial Control
- MagicGate Memory Stick® media slot
- Expansion Capabilities: One type I or II PC Card, with CardBus support
- Connection Capabilities:
- 2 USB ports
- Phone line (RJ-11) jack
- Ethernet port (10BASE-T/100BASE-TX)
- i.LINK® (IEEE 1394) port6
- Microphone jack
- Headphone jack
- Monitor (VGA) port
- Docking Station connector
- Supplied Accessories:
- Rechargeable battery pack
- AC adapter and power cord
- Docking Station
- Power Source: 19.5V DC/AC 100-240V
- Power Management: Energy Star® Compliant; Advanced Configuration and Power Interface (ACPI)
- Battery: Lithium-ion
- Dimensions: 11.0" (w) x 1.16" (h) x 9.4" (d) (279.5 mm x 29.4 mm x 239 mm)
- Weight: 4.30 lbs. (1.95 kg) with battery; 6.68 lbs. (3.03 kg) with battery and Docking Station
- Operating Temperature: 40°F to 95°F (5°C to 35°C)
- Operating Humidity: 20% to 80% (not condensed), provided that humidity is less than 65% at 95°F (35°C), hygrometer reading of less than 84°F (29°C)
- Storage Temperature: -4°F to 140°F (-20°C to 60°C) (temperature gradient less than 18°F (10°C)/hour)
- Storage Humidity: 10% to 90% (not condensed) provided that humidity is less than 20% at 140°F (60°C), hygrometer reading of less than 95°F (35°C)
- Docking Station - Model Name CD-RW/DVD Docking Station (PCGA-DSM51)
- Docking Station - Optical Drive CD-RW/DVD Combo Drive
- Reads data up to 24x (CD-ROM)
- Writes data up to 16x (CD-R)
- Writes data up to 10x (CD-RW)
- Reads data up to 8x (DVD)
- Docking Station - Laser Diode Properties Wave Length: 784 nm (CD) and 662 nm (DVD); Laser Output: 64 µW (CD) and 1.28 µW (DVD)
- Docking Station - Floppy Disk Drive 3.5", 1.44 MB/720 KB, internal
- Docking Station - Connection Capabilities:
- i.LINK® (IEEE 1394) S400 port6
- 2 USB ports
- Ethernet port (10BASE-T/100BASE-TX)
- VGA (monitor) port
- Parallel (printer) port
- Serial port
- Docking Station - Dimensions 11.0" (w) x 0.73" (h) x 9.25" (d)8
(279.5 mm x 18.5 mm x 235 mm) Docking Station - Weight 2.18 lbs. (0.99) kg)
Notes: Maximum speed for faxing is 14.4 Kbps. Your modem is capable of downloading at 53 Kbps using V.90/K56flex. Your online service or Internet Service Provider may not support this technology or operate at this speed.
[edit] Appendix C: PCI Information
| Code: lspci -v |
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04) Subsystem: Sony Corporation Unknown device 8100 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 Region 0: Memory at <unassigned> (32-bit, prefetchable) Capabilities: [40] Vendor Specific Information 00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 04) (prog-if 00 [VGA]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 9 Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M] Region 1: Memory at e0000000 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 1 Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:02.1 Display controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 (2250ns max) Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M] Region 1: Memory at e0080000 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 1 Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 9 Region 4: I/O ports at 1800 [size=32] 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02) (prog-if 00 [UHCI]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin B routed to IRQ 9 Region 4: I/O ports at 1820 [size=32] 00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02) (prog-if 00 [UHCI]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin C routed to IRQ 9 Region 4: I/O ports at 1840 [size=32] 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=64 I/O behind bridge: 00003000-00003fff Memory behind bridge: e0200000-e02fffff Prefetchable memory behind bridge: 20000000-21ffffff Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 255 Region 0: I/O ports at <ignored> Region 1: I/O ports at <ignored> Region 2: I/O ports at <ignored> Region 3: I/O ports at <ignored> Region 4: I/O ports at 1860 [size=16] Region 5: Memory at e0100000 (32-bit, non-prefetchable) [size=1K] 00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin B routed to IRQ 255 Region 4: I/O ports at 1880 [size=32] 00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin B routed to IRQ 9 Region 0: I/O ports at 1c00 [size=256] Region 1: I/O ports at 18c0 [size=64] 00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02) (prog-if 00 [Generic]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin B routed to IRQ 9 Region 0: I/O ports at 2400 [size=256] Region 1: I/O ports at 2000 [size=128] 02:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI]) Subsystem: Sony Corporation Unknown device 8100 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (750ns min, 1000ns max), Cache Line Size 08 Interrupt: pin A routed to IRQ 9 Region 0: Memory at e0205000 (32-bit, non-prefetchable) [size=2K] Region 1: Memory at e0200000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME+ 02:05.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 168 Interrupt: pin A routed to IRQ 9 Region 0: Memory at e0206000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 20000000-21fff000 (prefetchable) Memory window 1: 22000000-23fff000 I/O window 0: 00003400-000034ff I/O window 1: 00003800-000038ff BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42) Subsystem: Sony Corporation Unknown device 8100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 66 (2000ns min, 14000ns max), Cache Line Size 08 Interrupt: pin A routed to IRQ 9 Region 0: Memory at e0204000 (32-bit, non-prefetchable) [size=4K] Region 1: I/O ports at 3000 [size=64] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- |
[edit] Appendix Z: versions and authors
- 1.0: Daragh Fitzpatrick - daraghfi(at)yahoo[dot]com

