HARDWARE LG A1
From Gentoo Linux Wiki
Contents |
[edit] 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.
[edit] Hardware overview
| CPU | Intel Core Duo U2500 (1.2Ghz) |
| Motherboard | Mobile Intel 945PM Express |
| Hard disk | 80 GB - 4200 rpm |
| Cd-rom | External USB Hi-Speed DVD±RW- (R dual layer) / DVD-RAM |
| Video | NVIDIA GeForce Go 7300 TurboCache |
| Audio | Intel SRS WOW HD sound |
| Display | 10.6" TFT with 1280 x 768 px resolution |
| Cardreader | CompactFlash reader and 5-in-1 (SD Memory Card, Memory Stick, Memory Stick PRO, MultiMediaCard, xD-Picture Card) |
| LAN | Agere Systems ET-131x PCI-E Ethernet Controller (10/100/1000Base) |
| WIFI | Intel Corporation PRO/Wireless 3945ABG Network Connection |
| Modem | Unknown |
| USB | 3 ports, USB 1.1 and 2.0 |
| Audio | 1 Line-in, 1 Microphone, 1 SPDIF (Intel High Definition Audio) |
[edit] 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 [...]" |
[edit] Video
Relevant hardware:
- Video card: NVIDIA GeForce Go 7300 TurboCache
- 10.6" XGA TFT screen (default resolution 1280 x 768)
[edit] Console
For framebuffer support use the VESA VGA.
For instructions on installing FrameBuffer and BootSplash read:
- Gentoo: HOWTO gensplash
[edit] 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
|
[edit] Audio
Relevant hardware:
- Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller
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" |
[edit] 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 |
[edit] Network controller
Relevant hardware:
- Ethernet controller: Agere Systems ET-131x PCI-E Ethernet Controller (rev 03)
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.
[edit] WiFi
Relevant hardware:
- Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Installation of the driver, in Gentoo this can be done with this command:
emerge -av net-wireless/ieee80211 net-wireless/ipw3945
Make sure you have the right modules in your kernel, if not portage will complain.
The right modules to include are the crypto algorithms AES, ARC4, MICHEAL MIC
and enable the wireless lan drivers & wireless extensions (device drivers -> networking support -> wireless lan).
[edit] Hard disk and DVD
Relevant hardware:
- IDE interface: Mobile Intel 945PM Express
- Hard disk: IDE UDMA-100
- External USB Hi-Speed DVD±RW- (R dual layer) / DVD-RAM
[edit] 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
|
[edit] 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" |
[edit] USB
Relevant hardware:
- USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
- USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
The three USB ports on the laptop support USB 1 and 2.0.
[edit] Power Management
[edit] 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
|
[edit] Suspend to disk/RAM
Not yet tested
[edit] Card Reader
Relevant hardware:
- Texas Instruments PCIxx21 Integrated FlashMedia Controller
- Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
Not tested.
[edit] Modem
The modem is supported by the hsfmodem. See this HowTo.
[edit] 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 |
[edit] External Links
- This document is listed at the TuxMobil Linux laptop and notebook installation guides survey (LG Electronics).
