HARDWARE Sony Vaio PCG-R600
From Gentoo Linux Wiki
| Laptops • TV Tuner Cards • Wireless • Servers • Storage • Other Hardware • Motherboards • Related |
Contents |
[edit] Sony Vaio PCG-R600
This HOW-TO is intended to help you install and configure Gentoo for use on the Sony Vaio PCG-R600 laptop. It seems apply to the folowing Vaio list :
PCG-R600HEK,PCG-R600HEP, PCG-R600HEPD, PCG-R600HFK ,PCG-R600HFP ,PCG-R600HFPD ,PCG-R600HMK ,PCG-R600HMKD ,PCG-R600HMP ,PCG-R600HMPD ,PCG-R600MEP ,PCG-R600MF ,PCG-R600MX
It's a simple fork from HARDWARE Sony Vaio PCG-R505EL
But in 2.6.12-gentoo-r6 Kernel, because of an unresolved probleme in DRI/DRM support with its i830MG Chipin supperior Kernel
No KDE and No Gnome, just Fluxbox
[edit] TO-DO
- Framebuffer 1024x768-24@70 fbsplash support (can't get /dev/fb0/modes to show that mode)
- Modem - haven't tested
- External Monitor - haven't bothered
- JogDial - how to configure?
- Hibernation - how to configure?
- Understand youngest 2.6.12-gentoo-r6 kernl i830M X11 DRM Support
[edit] Hardware
The Sony Vaio R600 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.
[edit] Specifications
[See appendix for complete specs]
- Processor: Mobile Intel® Pentium® III M. Supports Enhanced Intel SpeedStep Technology
- L2 Cache Memory: 512 KB (CPU Integrated)
- Standard Memory (RAM): 256 MB SDRAM (Maximum 512 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
[edit] Edit make.conf
Assumes no KDE and no GNOME, but Power Linux Desktop PowerUser
CFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="aac alsa binfilter bzip2 cli dri esd exif fbcon firefox flac gif hardened i8x0 imlib iproute2 java jpeg jpeg2k mad matroska mikmod mmx mng mono mozilla mp3 ncurses nptl nptlonly nsplugin ogg opengl pcntl pcre png posix python quicktime real session sndfile speex spell sse ssl svg symlink threads tiff truetype vorbis win32codecs wmf xmms xv xvid zlib"
VIDEO_CARDS="-ati i810 -mga -none -s3virge -savage -sis -tdfx -trident -via"
INPUT_DEVICES="mouse keyboard"
[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.12-gentoo-r6
-> 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
-> Character Device
Direct Rendering Manager (Module)
Intel 830M, .... (Module)
i830 (Module)
i915 (Module)
-> 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
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] 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] Devices, Networking & Power Mgmt
Refer to the Laptop HOWTO
[edit] Sound Notes
Please enable these options :
| Linux Kernel Configuration: Gentoo required option |
Sound --->
<*> Sound Card Support
Advanced Linux Sound Architecture --->
<*> Sequencer support
<*> OSS Mixer API
<*> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Including plugin system
[*] OSS Sequencer API
<*> RTC Timer support
[*] Verbose procfs contents
PCI Devices --->
<*> Intel/SiS/nVidia/AMD/Ali AC97 Controller
|
[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
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

