HP 2133

Материал из wiki.lissyara.su
Перейти к: навигация, поиск

Обзор проблем при установке FreeBSD на HP 2133 Mini-Note.

Железка - проц VIA 1200MHz, 512Mb DDR2, 120Gb HDD, 8.9' экран. Из прочего - веб-камера, кард-ридер, новый PCMCI (непомню как называется =)), 2 USB порта, гигабитный LAN, WiFi. Оба последних на чипах BroadCom.

1. Встроенная видяха - на данный момент тем драйвером openchrome, что в портах (0.2.903) поддерживается лишь разрешение 640x480. Надо качать сорцы с svn компилить руками.

svn co http://svn.openchrome.org/svn/trunk openchrome
cd openchrome
./autogen.sh
make
make install

С иксами ситуация интересная. При первом запуске всё нормально работало на автодетекте. После ребута начались проблемы - выставлялось разрешение больше реального, VirtualSize тоже больше. Пришлось нарисовать конфиг.

В общем - всё работает, надеюсь, скоро ситуация с дровами измениться.

2. WiFi. Сделан на новых броадкомовских микрухах - драйвера нет - когда Paradox допишет - неизвестно. Выход - использовать ndis.

3. Не работает звук на динамики. Глубоко пока не рыл - но не пашет. Наушники пашут.



pciconf -lv

hostb0@pci0:0:0:0:      class=0x060000 card=0x3030103c chip=0x03641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Host Bridge'
   class      = bridge
   subclass   = HOST-PCI
hostb1@pci0:0:0:1:      class=0x060000 card=0x3030103c chip=0x13641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Host Bridge'
   class      = bridge
   subclass   = HOST-PCI
hostb2@pci0:0:0:2:      class=0x060000 card=0x3030103c chip=0x23641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Host Bridge'
   class      = bridge
   subclass   = HOST-PCI
hostb3@pci0:0:0:3:      class=0x060000 card=0x00000000 chip=0x33641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Host Bridge'
   class      = bridge
   subclass   = HOST-PCI
hostb4@pci0:0:0:4:      class=0x060000 card=0x3030103c chip=0x43641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Host Bridge'
   class      = bridge
   subclass   = HOST-PCI
ioapic0@pci0:0:0:5:     class=0x080020 card=0x3030103c chip=0x53641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 I/O APIC Interrupt Controller'
   class      = base peripheral
   subclass   = interrupt controller
hostb5@pci0:0:0:6:      class=0x060000 card=0x3030103c chip=0x63641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Security Device'
   class      = bridge
   subclass   = HOST-PCI
hostb6@pci0:0:0:7:      class=0x060000 card=0x00000000 chip=0x73641106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 Host Bridge'
   class      = bridge
   subclass   = HOST-PCI
pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0xb1981106 rev=0x00 hdr=0x01
   vendor     = 'VIA Technologies Inc'
   device     = 'ProSavageDDR P4X600,Apollo KT400/A/600 CPU to AGP Bridge'
   class      = bridge
   subclass   = PCI-PCI
pcib2@pci0:0:2:0:       class=0x060400 card=0xc3231106 chip=0xa3641106 rev=0x80 hdr=0x01
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 PCI to PCI Bridge Controller'
   class      = bridge
   subclass   = PCI-PCI
pcib3@pci0:0:3:0:       class=0x060400 card=0xc3231106 chip=0xc3641106 rev=0x80 hdr=0x01
   vendor     = 'VIA Technologies Inc'
   device     = 'P4M900 PCI to PCI Bridge Controller'
   class      = bridge
   subclass   = PCI-PCI
atapci0@pci0:0:15:0:    class=0x01018f card=0x3030103c chip=0x53721106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   class      = mass storage
   subclass   = ATA
uhci0@pci0:0:16:0:      class=0x0c0300 card=0x3030103c chip=0x30381106 rev=0xb0 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
   class      = serial bus
   subclass   = USB
uhci1@pci0:0:16:2:      class=0x0c0300 card=0x3030103c chip=0x30381106 rev=0xb0 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
   class      = serial bus
   subclass   = USB
uhci2@pci0:0:16:3:      class=0x0c0300 card=0x3030103c chip=0x30381106 rev=0xb0 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
   class      = serial bus
   subclass   = USB
ehci0@pci0:0:16:4:      class=0x0c0320 card=0x3030103c chip=0x31041106 rev=0x90 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'VT6202/12 USB 2.0 Enhanced Host Controller'
   class      = serial bus
   subclass   = USB
isab0@pci0:0:17:0:      class=0x060100 card=0x3030103c chip=0x33721106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   class      = bridge
   subclass   = PCI-ISA
hostb7@pci0:0:17:7:     class=0x060000 card=0x337e1106 chip=0x287e1106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'VT8251 Ultra VLINK Controller'
   class      = bridge
   subclass   = HOST-PCI
hostb8@pci0:0:19:0:     class=0x060000 card=0x00000000 chip=0x337b1106 rev=0x00 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = 'VT8237A Standard PCI to PCIe Bridge'
   class      = bridge
   subclass   = HOST-PCI
pcib4@pci0:0:19:1:      class=0x060401 card=0x3030103c chip=0x337a1106 rev=0x00 hdr=0x01
   vendor     = 'VIA Technologies Inc'
   device     = 'VT8237A Standard PCI to PCI Bridge'
   class      = bridge
   subclass   = PCI-PCI
vgapci0@pci0:1:0:0:     class=0x030000 card=0x3030103c chip=0x33711106 rev=0x01 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   class      = display
   subclass   = VGA
ndis0@pci0:2:0:0:       class=0x028000 card=0x137d103c chip=0x431514e4 rev=0x01 hdr=0x00
   vendor     = 'Broadcom Corporation'
   device     = 'BCM4310 USB Controller'
   class      = network
bge0@pci0:7:3:0:        class=0x020000 card=0x969c14e4 chip=0x169c14e4 rev=0x03 hdr=0x00
   vendor     = 'Broadcom Corporation'
   device     = 'BCM5788 Broadcom NetLink (TM) Gigabit Ethernet'
   class      = network
   subclass   = ethernet
hdac0@pci0:128:1:0:     class=0x040300 card=0x3030103c chip=0x32881106 rev=0x10 hdr=0x00
   vendor     = 'VIA Technologies Inc'
   device     = '??? VIA VT8251/8237A High Definition Audio Controller - HDA Codec Realtek ALC660'
   class      = multimedia
   subclass   = HDA

dmesg

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-PRERELEASE #0: Wed Apr 15 08:50:24 MSD 2009
root@mobile-hdd:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA C7-M Processor 1200MHz (1197.01-MHz 686-class CPU)
Origin = "CentaurHauls"  Id = 0x6d0  Stepping = 0
Features=0xa7c9bbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
Features2=0x4181<SSE3,EST,TM2,xTPR>
VIA Padlock Features=0xffcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
real memory  = 468385792 (446 MB)
avail memory = 440074240 (419 MB)
ACPI APIC Table: <HP     APIC1303>
ioapic0 <Version 0.3> irqs 0-23 on motherboard
ioapic1 <Version 0.3> irqs 24-47 on motherboard
kbd1 at kbdmux0
usb_spca5xx_init: gspca driver 01.00.20 registered
acpi0: <HPQOEM SLIC-MPC> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fed02000, 1000 (3) failed
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1be00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xd8000000-0xdbffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 27 at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ndis0: <Dell Wireless 1395 WLAN Mini-Card> mem 0xfdffc000-0xfdffffff irq 24 at device 0.0 on pci2
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
ndis0: WARNING: using obsoleted if_watchdog interface
ndis0: Ethernet address: 00:21:00:60:de:ff
pcib3: <ACPI PCI-PCI bridge> irq 31 at device 3.0 on pci0
pci5: <ACPI PCI bus> on pcib3
atapci0: <VIA ATA controller> port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f,0xc000-0xc0ff irq 21 at device 15.0 on pci0
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xb800-0xb81f irq 20 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xb880-0xb89f irq 21 at device 16.2 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 23 at device 16.3 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfbeffc00-0xfbeffcff irq 21 at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: wrong number of companions (4 != 3)
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 8 ports with 8 removable, self powered
ugen0: <Chicony Electronics Co., Ltd. CNF7070, class 239/2, rev 2.00/8.55, addr 2> on uhub3
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci7: <ACPI PCI bus> on pcib4
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x3003> mem 0xfeaf0000-0xfeafffff irq 16 at device 3.0 on pci7
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:22:64:4d:37:d2
bge0: [ITHREAD]
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
pcib5: <ACPI Host-PCI bridge> on acpi0
pci128: <ACPI PCI bus> on pcib5
hdac0: <VIA VT8251/8237A High Definition Audio Controller> mem 0xfebfc000-0xfebfffff irq 17 at device 1.0 on pci128
hdac0: HDA Driver Revision: 20090329_0131
hdac0: [ITHREAD]
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pmtimer0 on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1197014147 Hz quality 800
Timecounters tick every 1.000 msec
ad4: 114473MB <Hitachi HTS542512K9A300 BB2OC3MP> at ata2-master UDMA33
hdac0: HDA Codec #0: Analog Devices AD1984A
pcm0: <HDA Analog Devices AD1984A PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Analog Devices AD1984A PCM #1 Analog> at cad 0 nid 1 on hdac0
GEOM_LABEL: Label for provider ad4s1a is ufsid/49e4adc0c1a81fcd.
Trying to mount root from ufs:/dev/ad4s1a
GEOM_LABEL: Label ufsid/49e4adc0c1a81fcd removed.
GEOM_LABEL: Label for provider ad4s1a is ufsid/49e4adc0c1a81fcd.
GEOM_LABEL: Label ufsid/49e4adc0c1a81fcd removed.
WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.

xorg.conf

# xorg.conf

Section "InputDevice"
       Identifier      "Generic Keyboard"
       Driver          "kbd"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "pc105"
       Option          "XkbLayout"     "en"
EndSection

Section "InputDevice"
       Identifier      "Configured Mouse"
       Driver          "mouse"
EndSection

Section "Device"
       Identifier      "Configured Video Device"
       Driver          "openchrome"
       Option          "VBESaveRestore"        "true"
       Option          "PanelSize"             "1024x600"
       Option          "SWCursor"              "True"
       Option          "XaaNoImageWriteRect"   "true"
EndSection

Section "Monitor"
       Identifier      "Configured Monitor"
       DisplaySize     196 114
#       HorizSync       30-70
#       VertRefresh     55-90
EndSection

Section "Screen"
       Identifier      "Default Screen"
       Monitor         "Configured Monitor"
EndSection


Добавлено 2009-09-02 Он сдох =) Как оказалось у всей серии бага - они просто не включаются =( вот так =( Однако, сервис HP - на 5 баллов. В течение недели заменили материнку, хотя я его расковыривал раз 5 наверно, и следы этого были. Всё пашет, уже больше года.