HP/Compaq nc2400

Материал из Gentoo Linux Wiki

Перейти к: навигация, поиск
Вернуться в раздел железо


Это — незавершённая статья. Вы можете помочь проекту, исправив и дополнив материал.

Содержание

[править] HP nc2400 Gentoo Linux

[править] Hardware

[править] Спецификация

CPU
Intel(R) Core(TM) Duo (1.2 GHz, 2048 Kb L2 cache)
Chipset
Intel Corporation Mobile 945(945GM/GMS/940GML + 82801GICH7 Family)
RAM
1GB 533 MHz DDR2 SDRAM
Battery ???
HDD
TOSHIBA MK8009GAH 80 Gb
Display
12" TFT WXGA 1280x800 16M
Video controller
Intel Media Accelerator 950 with up to 224 MB shared system memory
Net.wired Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet
Net.wifi Intel Corporation PRO/Wireless 3945ABG Network Connection
PCMCIA CardBus bridge: Texas Instruments Unknown device 8039 (??)
Keyboard
101/102 key compatible with "One-Touch Productivity Buttons"
Pointer
?? (джойстик)
Audio
Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controlle
Modem ??
Fingeprint Scanner ??

[править] Порты

Standard: 2 USB 2.0 // 1 IEEE 1394 // 1 RJ-11 // 1 headphone/line-out // 1 microphone in // 1 docking connector // 1 battery connector // 1 AC power
Rear: 1 RJ-45

[править] lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
02:09.0 CardBus bridge: Texas Instruments Unknown device 8039
02:09.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
02:09.4 Communication controller: Texas Instruments Unknown device 803d
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

}}}

[править] Настройки

[править] Установка

Ставил x86 2006.0 с livecd.
При загрузке с livecd не поднимаются иксы, предлагает настроить - отказываемся и нормально ставимся без иксов.

[править] Модули для поддержки оборудования

Ethernet: tg3 Звук: snd_hda_intel Мышь: На борту нет ps/2 разъемов для мыши - только usb (не забыть поддержку usb)

[править] X server

Для X потребуется драйвер по крайней мере i810,
я собирал с VIDEO_CARDS="v4l vesa vga fbdev i810"

для поддержки такого нестандартного разрешения придется

echo 'sys-apps/915resolution ~x86' >> /etc/portage/package.keywords
emerge sys-apps/915resolution

эта утилита меняет в VBIOS-е видеорежим.

/etc/conf.d/915resolution

replace=("45 1280 800 16")
log="/var/log/915resolution"

добавляем rc-скрипт:
rc-config add 915resolution default


/etc/X11/xorg.conf содержит приблизительно следующее:


Section "Module"
   Load       "glx"
   Load       "dri" # еще не заработала =)
EndSection
...
Section "Modes"
# gtf 
 Identifier    "TheModes"
 # 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
 Modeline "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
 # 1280x800 @ 70.00 Hz (GTF) hsync: 58.31 kHz; pclk: 98.89 MHz
 Modeline "1280x800_70.00"  98.89  1280 1352 1488 1696  800 801 804 833  -HSync +Vsync
 # 1280x800 @ 72.00 Hz (GTF) hsync: 60.05 kHz; pclk: 102.80 MHz
 Modeline "1280x800_72.00"  102.80  1280 1360 1496 1712  800 801 804 834  -HSync +Vsync
EndSection
...
...
Section "Device"
   Identifier  "** Intel i810 (generic)               [i810]"
   Driver      "i810"
   VendorName  "Intel"
EndSection
Section "Screen"
     Identifier      "Screen0"
     Device          "** Intel i810 (generic)               [i810]"
     Subsection "Display"
         Depth 16
         Modes "1280x800"
     EndSubsection
EndSection


[править] Звук

Управление звуком можно настроить в иксах через xbindkeys
emerge x11-misc/xbindkeys media-sound/alsa-utils

~/.xbindkeysrc

#Управление основным каналом
#использовал шаг=2, т.к. IMHO шаг=1 слишком мелкий
"amixer -q sset PCM 2+ unmute"
  m:0x10 + c:176
"amixer -q sset PCM 2- unmute"
  m:0x10 + c:174
"amixer -q sset PCM toggle"
  m:0x10 + c:160

и добавить запуск xbindkeys Автозапуск DE/WM или ~/.xclients (решение позаимствовал от Toshiba_Satellite_U200)

[править] make.conf

make.conf использовал такой

CFLAGS="-O3 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"

несмотря на рекомендации

CFLAGS="-O2 -march=pentium4 -pipe"
MAKEOPTS="-j3"


[править] TODO

  • настройка сенсорных клавиш
  • настройка сканера отпечатков пальцев
  • Wireless
  • PCMIA

[править] Ссылки

Личные инструменты