среда, 29 сентября 2010 г.

Gentoo Linux on Dell Vostro 3700

Недавно обзавелся ноутбуком Dell Vostro 3700. Конечно было решено поставить на него Linux. Скажу сразу, что работает все, что проверял. Не проверял еще только Bluetooth и сканер пальчиков(у меня его нет).

# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 330M] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
12:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)
13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
14:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01)
14:00.1 System peripheral: Ricoh Co Ltd Device e230 (rev 01)
14:00.2 System peripheral: Ricoh Co Ltd Device e852 (rev 01)
14:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 01)
# lsusb
Bus 002 Device 003: ID 09da:000e A4 Tech Co., Ltd
Bus 002 Device 004: ID 0c45:6450 Microdia
Bus 002 Device 002: ID 8087:0020 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 413c:8160 Dell Computer Corp.
Bus 001 Device 004: ID 413c:8161 Dell Computer Corp.
Bus 001 Device 005: ID 413c:8162 Dell Computer Corp.
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 002: ID 8087:0020 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • Настройка Broadcom BCM43224 802.11a/b/g/n
1. Ядро
CONFIG_LIB80211=Y
CONFIG_WIRELESS_EXT=Y (Ставим с помощью IPW2200=Y)
CONFIG_MAC80211=Y
2. broadcom_sta
elvenhome ~ # emerge broadcom-sta
3. Настройка wpa_supplicant
# emerge wpa_supplicant
# touch /etc/wpa_supplicant/wpa_supplicant.conf
# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
    ssid="MyESSID"
    scan_ssid=1
    psk="my_pass"
    priority=2
}
# cat /etc/conf.d/net
modules=( "wpa_supplicant" )
wpa_supplicant_eth1=( "-Dwext" )

  • Настройка звука
Device Drivers --->
   Sound Card Support --->
     <*> Advanced Linux Sound Architecture --->
       <*> PCI sound devices --->
         <*> Intel HD Audio --->
[*] SND_HDA_HWDEP
[*] SND_HDA_INPUT_JACK
[*] SND_HDA_CODEC_SIGMATEL
[*] SND_HDA_CODEC_NVHDMI
[*] SND_HDA_GENERIC
[*] SND_HDA_POWER_SAVE
Затем следует добавить в /etc/modprobe.d/alsa.conf строчку:
options snd-hda-intel model=dell
  •  Настройка web-камеры
Device Drivers --->
  <*> Multimedia support --->
    [*] Video For Linux
    [*] Enable Video For Linux API 1
    [*] Video capture devices --->
      [*] Autoselect perfin.... (VIDEO_HELPER_CHIPS_AUTO)
      [*] V4L USB Devices --->
        <*> USB Video Class (UVC)
        [*] UVC Input events device support
        <*> GSPCA based webcams --->


# usermod -a -G video user

Все остальное заводится с полпинка. А вот так сейчас выглядит мой рабочий стол на буке: