Search:  
Gentoo Wiki

AOpen_MP965-DR

This is both my first attempt at Gentoo, and an attempt to install linux on an under documented system.

Please bear with me.

Contents

My Goals

  1. Install MythTV
  2. Get LIRC working
  3. Fully document the hardware, making it easier for others to follow.

Hardware Used

Supposedly everything is Linux compatible, however I had some trouble finding any real documentation.

The MP965 and MP965-DR (Manufacturer's site)(better site with more details, but really high price) are barebones mini computers.

I added

4GB of ram

Intel 4965AGN mini-pci-express wireless card[1]

2.4GHz Merom Intel Core 2 Duo

2.5inch SATA drive

Hauppaugge WinTV-USB2 PVR [2]

The MP965-DR and the Hauppaugge HOWTO Setup Kernel/System for MythTV#Hauppauge remote .28bt848.2Fbt878.29 both come with IR remotes which I will try and get both working.

I also will be attaching a Nyko Airflow game controller, which I have had working on linux before.

lspci

0:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation Unknown device 1049 (rev 03)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation Mobile SATA Controller IDE (rev 03)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 03)
01:00.0 Network controller: Intel Corporation Unknown device 4229 (rev 61)
02:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)

modules

CPU

See this HowTo.

Graphics

See this guide.

Sound

snd-hda-intel

Wireless

iwl4964

Wireless Kernel requirements

Please note, I found these modules googling[3], and managed to get it working after enabling all of them. They all must be MODULES or you will get Unknown Symbol errors. I did, anyway.

Linux Kernel Configuration: 2.6
  Networking  --->
     Wireless  --->
        <M> Generic IEEE 802.11 Networking Stack (mac80211)
        <M> Generic IEEE 802.11 Networking Stack
        ---   IEEE 802.11 WEP encryption (802.1x)
        <M>   IEEE 802.11i CCMP support
        <M>   IEEE 802.11i TKIP encryption
     Cryptographic options  --->
     <M>   Cryptographic algorithm manager
     <M>   ECB support
     <M>   CBC support
     <M>   AES cipher algorithms
     <M>   ARC4 cipher algorithm 

GigE

worked out of the box with the installer kernel

TV-tuner

unknown off the top of my head, but it is Linux supported

USB

untested other than keyboard

Firewire

untested

IR reciever

The lirc_mceusb2 module is required to get the built in IR receiver working. The version that comes with app-misc/lirc-0.8.3_pre1 has a bug in it and will not work so you must get the CVS version.

Code: Compile CVS Lirc
#get the gentoo lirc stuff
emerge lirc
cvs -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc login
# press enter for password
cvs -z8 -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc co lirc
cd lirc
./autogen.sh
./setup.sh
./configure --prefix=/usr --with-driver=mceusb2
make
make install

Now configure lirc for gentoo

File: /etc/conf.d/lircd
LIRCD_OPTS="-d /dev/lirc0"

Bluetooth

The official bluetooth module for the minipc works out of the box.

Progress

Hardware Status Module Links and notes
Video Working i810 TV-Out untested, OpenGL???
Sound Working Alsa
Ethernet Working -- out of the box e1000_watchdog
USB Working - out of the box
FirewireUntested
Intel 4965AGN Working iwl4965 See notes this page
IR Remote and receiver Working lirc_mceusb2 See noted this page

Trouble I ran into

Alsa

Installing alsa-lib gave this error:

make[3]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.15_rc2/work/alsa-lib-1.0.15rc2/modules/mixer/simple'
make[2]: *** [all-recursive] Error 1 

Solution: upgrade python to 2.5. Seriously. [4]

iwl4965

iwl4965: Failed to register network device (error -12)

Compile all the required modules as modules. See above.

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

Last modified: Fri, 29 Aug 2008 03:13:00 +0000 Hits: 1,361