Search:  
Gentoo Wiki

LG_A1

Contents

General

This guide is about how to install Linux on the LG A1 Express Dual.

Please notice that the network controller does not have a driver in the current kernel (2.6.19) and that the 2006.1 Gentoo CD's don't support the Intel PRO/Wireless LAN 3945abg network controller.

This machine is very similar technically to the LG C1.

Hardware overview

CPUIntel Core Duo U2500 (1.2Ghz)
MotherboardMobile Intel 945PM Express
Hard disk80 GB - 4200 rpm
Cd-romExternal USB Hi-Speed DVD±RW- (R dual layer) / DVD-RAM
VideoNVIDIA GeForce Go 7300 TurboCache
AudioIntel SRS WOW HD sound
Display10.6" TFT with 1280 x 768 px resolution
CardreaderCompactFlash reader and 5-in-1 (SD Memory Card, Memory Stick, Memory Stick PRO, MultiMediaCard, xD-Picture Card)
LANAgere Systems ET-131x PCI-E Ethernet Controller (10/100/1000Base)
WIFIIntel Corporation PRO/Wireless 3945ABG Network Connection
ModemUnknown
USB3 ports, USB 1.1 and 2.0
Audio1 Line-in, 1 Microphone, 1 SPDIF (Intel High Definition Audio)

CPU

The U2500 is a dual core CPU, for portage CFLAGS and USE

File: make.conf
 CFLAGS="-O2 -march=prescott -pipe"
 USE="sse sse2 mmx mmxext [...]"

Video

Relevant hardware:

Console

For framebuffer support use the VESA VGA.

For instructions on installing FrameBuffer and BootSplash read: Fbsplash

Xorg

Xorg works fine, just remember to emerge the nvidia-drivers. Some xorg.conf settings:

File: xorg.conf :: Touchpad
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto" # Auto detect
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
    Option "Emulate3Buttons"
EndSection
File: xorg.conf :: LCD
Section "Monitor"

    Identifier  "My Monitor"
    HorizSync   31.5 - 64.3
    VertRefresh 60
EndSection

Audio

Relevant hardware:

The built-in sound card is a Intel High Definition Audio Controller. This is supported by the hda-intel driver in >=alsa-driver-1.0.14_rc1.

File: /etc/make.conf
ALSA_CARDS="hda-intel usb-audio"



Volume buttons

This ultraportable has a analog button to raise, lower and mute the sound. If you use a display manager you can add the keykodes to the global Xmodmap file and restart your X session.

File: /etc/X11/Xmodmap
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

Network controller

Relevant hardware:

This card works with the et131x driver, but this driver is not yet included with the kernel or portage. To get this driver you'll have to download the source from the Agere ET131x ethernet driver project [1] and compile it manualy.

WLAN

Relevant hardware:

See this guide.

Hard disk and DVD

Relevant hardware:

IDE Controller

The IDE controller is a Intel chipset.

Linux Kernel Configuration: IDE Controller
Device Drivers  --->
   ATA/ATAPI/MFM/RLL support  --->
      <*> ATA/ATAPI/MFM/RLL support
      <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
      <*>     Include IDE/ATA-2 DISK support
      [*]       Use multi-mode by default
      <*>     Include IDE/ATAPI CDROM support
      [*]     PCI IDE chipset support
      [*]       Sharing PCI IDE interrupts support
      [*]       Generic PCI bus-master DMA support
      [*]         Use PCI DMA by default when available
      [*]           Enable DMA only for disks
      <*>         Intel PIIXn chipsets support

Devices

If you have compiled USB support in the kernel, the DVD drive will be detected as /dev/sr0

The optimal hdparm settings to improve data transfer speeds are

File: /etc/conf.d/hdparm
hda_args="-c1 -d1 -u1 -m16 -X69"

USB

Relevant hardware:

The three USB ports on the laptop support USB 1 and 2.0.

Power Management

CPU Frequency scaling

Linux Kernel Configuration: acpi
Power management options (ACPI, APM)  --->
  CPU Frequency scaling  --->
     [*] CPU Frequency scaling
        Default CPUFreq governor (userspace)  --->
        <*> Intel Enhanced SpeedStep

Suspend to disk/RAM

Not yet tested

Card Reader

Relevant hardware:

Not tested.

Modem

The modem is supported by the hsfmodem. See this guide.

Appendix A: lspci

Code: lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 110M / GeForce Go 7300 (rev a1)
02:00.0 Ethernet controller: Agere Systems ET-131x PCI-E Ethernet Controller (rev 03)
05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
06:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:00.1 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:00.4 Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

External Links

Retrieved from "http://www.gentoo-wiki.info/LG_A1"

Last modified: Thu, 28 Aug 2008 21:16:00 +0000 Hits: 13,425