EeePC

From Genunix

Jump to: navigation, search

This page will contain information about OpenSolaris support of the EeePC line of laptops from Asus.

In the meantime, feel free to browse the eeepc-discuss mail archives

Contents

EeePC line of laptops from Asus

Model Name CPU wired ethernet wireless ethernet Graphics chips sound card USB controller keyboard Bugs References
701 Intel Celeron M processor 900MHz(Actually works 663MHz) Attansic Technology L2 100 Mbit Atheros AR5007EG (b/g) Wireless Ethernet Intel 915GM chipset Intel 82801FB Intel 82801FB IBM Enhanced N/A Device Driver Utility
900 Intel Celeron M processor 900MHz Attansic Technology L2 100 Mbit Atheros AR5007EG (b/g) Wireless Ethernet Intel 915GM chipset Intel 82801FB Intel 82801FB IBM Enhanced N/A Device Driver Utility
901 Intel Atom N270 processor 1.6GHz Attansic Technology L1E 100 Mbit Ralink RT2860 (b/g/n) Wireless Ethernet Intel 945GME chipset Intel 82801G Intel 82801G IBM Enhanced N/A Device Driver Utility
1000 Intel Atom N270 processor 1.6GHz Attansic Technology L1E 100 Mbit Ralink RT2860 (b/g/n) Wireless Ethernet Intel 945GME chipset Intel 82801G Intel 82801G IBM Enhanced N/A Device Driver Utilit

EEE PC 701

Getting around general issues

Can't install latest builds because OpenSolaris needs over 4GB

Eee 701 regular model only has smaller SSD (4GB) so we cant install OpenSolaris normally.if you would install OpenSolaris please refer to Masafumi's distro which is included zfs compression option to install all packages. for more info please check Masafumi's project opensolaris-liveusb-for-eeepc

Can't work L2 driver on atge driver in OpenSolaris packages

You should unistall atge driver 'pkg unistall -r SUNWatge' and install Murayama-san's driver as below the instruction.Masafumi's distros are included the driver.

Onboard small SSD upgrade info in PDF

Booting with input devices enabled

  1. When the boot prompt appears (grub), press the 'e' key to edit the boot option.
  2. Locate the line that starts with $kernel and press the 'e' key.
  3. Go to the end of the line and type in '-v' so that it looks like:
    kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -v
  4. Press the enter key.
  5. Press 'b' to boot.

Note, this was fixed with the putback of "6695011 kb8042 driver does not support built in keyboard for Asus EEE PC" in snv_100 and is not necessary in that build onwards.

Install OpenSolaris snv-111

snv-111 only has wireless driver included, not wired ethernet driver.

run following command to set development branch of package as preferred and install gcc.

root@opensolaris:~# pkg set-authority -P -O http://pkg.opensolaris.org/dev/ opensolaris-dev
root@opensolaris:~# pkg authority -H
opensolaris-dev          (preferred)  origin   online   http://pkg.opensolaris.org/dev/
opensolaris.org                       origin   online   http://pkg.opensolaris.org/release/
root@opensolaris:~# pkg install SUNWgcc
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWgcc 
                                     0/4     38/2100    7.01/30.26

Modified version that include wired ethernet driver

Included Murayama-san's NIC driver

Burn this usb from opensolaris

Note: you need a 2GB pen drive for following usb image. To create burn this usb image , you can download it and 'env LC_ALL=C pfexec usbcopy [Masafumi's distro liveUSB]' (needs SUNWdistro-const) then make LiveUSB for Eees.

Burn this usb image from windows XP

or usg OSOlive.exe for windows to burn this usb file onto your usb pen drive.

Install missing drivers

Pre-Check

  1. OS info after a successful OpenSolaris 2008.11 installation.
root@opensolaris:~# cat /etc/release
                       OpenSolaris 2008.11 snv_101b_rc2 X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 19 November 2008
root@opensolaris:~#
  1. EEE PC 701 Hardware info
root@opensolaris:~# smbios  | head -100
ID    SIZE TYPE
0     67   SMB_TYPE_BIOS (BIOS information)

  Vendor: American Megatrends Inc.
  Version String: 0910
  Release Date: 03/03/2008
  Address Segment: 0xf000
  ROM Size: 524288 bytes
  Image Size: 65536 bytes
  Characteristics: 0x17f8bde90
        SMB_BIOSFL_ISA (ISA is supported)
        SMB_BIOSFL_PCI (PCI is supported)
  <snip>

  Manufacturer: ASUSTeK Computer INC.
  Product: 701
  Version: x.x
  Serial Number: EeePC-1234567890

  UUID: 8033aac0-aeef-dc81-35b5-001fc62edae4
  Wake-Up Event: 0x6 (power switch)
  SKU Number: 90OAM01BB0112131U305Q
  Family: To Be Filled By O.E.M.

ID    SIZE TYPE
2     108  SMB_TYPE_BASEBOARD (base board)

  Manufacturer: ASUSTeK Computer INC.
  Product: 701
  Version: x.xx
  Serial Number: EeePC-0123456789
  Asset Tag: To Be Filled By O.E.M.
  Location Tag: To Be Filled By O.E.M.

  Chassis: 3
  Flags: 0x9
        SMB_BBFL_MOTHERBOARD (board is a motherboard)
        SMB_BBFL_REPLACABLE (board is field-replacable)
  Board Type: 0xa (motherboard)

ID    SIZE TYPE
3     68   SMB_TYPE_CHASSIS (system enclosure or chassis)

  Manufacturer: ASUSTek Computer INC.
  Version: x.x
  Serial Number: 0x00000000
  Asset Tag: 0x00000000
<snip>
root@opensolaris:~#

  1. Wireless hardware info.
  2. Ethernet card info
  3. Sound Card info.
  4. Web Cam info

Enable the Sound Card

  • Sound
  • latest supports sound but you can use 'boomer' which is based on OSS v4

Enable Wired ethernet connection

  1. Download atge-2.6.3.tar.gz source ball.
    • 2.6.5 is latest check atge-2.6.5.tar.gz
    • the way of installation is same as 2.6.3 below.
    1. "wget http://homepage2.nifty.com/mrym3/taiyodo/atge-2.6.3.tar.gz"
    2. Currently Sunstudio compiler can't compile atge-2.6.3, lets use gcc instead.
    3. make sure you have gcc compiler installed, if not "pkg install SUNWgcc". We need gcc to compile atge-2.6.3
  root@opensolaris:~# pkg info SUNWgcc
          Name: SUNWgcc
       Summary: gcc - The GNU C compiler
      Category: Development/C
         State: Installed
     Authority: opensolaris.org
       Version: 3.4.3
    Build Release: 5.11
        Branch: 0.101
   Packaging Date: Wed Nov 19 23:48:06 2008
          Size: 79.15 MB
          FMRI: pkg:/SUNWgcc@3.4.3,5.11-0.101:20081119T234806Z
   root@opensolaris:~# 
Read the "README.TXT"
root@opensolaris:~/atge-2.6.3# ls -lrt
total 448
drwxr-xr-x 2  111 staff      2 2009-01-01 07:32 sparcv9
drwxr-xr-x 2  111 staff      2 2009-01-01 07:32 sparc
-r--r--r-- 1  111 staff   1592 2009-01-01 07:32 COPYING
-r--r--r-- 1  111 staff     73 2009-01-01 07:32 version
-r--r--r-- 1  111 staff   5195 2009-01-01 07:32 README.txt
-r--r--r-- 1  111 staff   6402 2009-01-01 07:32 README.japanese-euc
-r--r--r-- 1  111 staff    575 2009-01-01 07:32 Makefile.sparcv9_suncc
-r--r--r-- 1  111 staff    566 2009-01-01 07:32 Makefile.sparcv9_gcc
-r--r--r-- 1  111 staff    367 2009-01-01 07:32 Makefile.sparc_suncc
-r--r--r-- 1  111 staff    362 2009-01-01 07:32 Makefile.sparc_gcc
-r--r--r-- 1  111 staff   1216 2009-01-01 07:32 Makefile.macros
-r--r--r-- 1  111 staff    365 2009-01-01 07:32 Makefile.i386_suncc
-r--r--r-- 1  111 staff    360 2009-01-01 07:32 Makefile.i386_gcc
-r--r--r-- 1  111 staff    806 2009-01-01 07:32 Makefile.config_gld3
-r--r--r-- 1  111 staff    636 2009-01-01 07:32 Makefile.config_gld2
-r--r--r-- 1  111 staff   2866 2009-01-01 07:32 Makefile.common
-r--r--r-- 1  111 staff    567 2009-01-01 07:32 Makefile.amd64_suncc
-r--r--r-- 1  111 staff    559 2009-01-01 07:32 Makefile.amd64_gcc
-r--r--r-- 1  111 staff   6528 2009-01-01 07:32 gem_mii.h
-r--r--r-- 1  111 staff  21238 2009-01-01 07:32 gem.h
-r--r--r-- 1  111 staff 195749 2009-01-01 07:32 gem.c
-r--r--r-- 1  111 staff  29538 2009-01-01 07:32 atl1reg.h
-r--r--r-- 1  111 staff  88451 2009-01-01 07:32 atge_gem.c
-rwxr-xr-x 1  111 staff    773 2009-01-01 07:32 adddrv.sh
drwxr-xr-x 2  111 staff      5 2009-01-01 07:33 amd64
lrwxrwxrwx 1  111 staff      4 2009-01-12 06:40 obj -> i386
lrwxrwxrwx 1  111 staff     17 2009-01-12 06:40 Makefile -> Makefile.i386_gcc
lrwxrwxrwx 1 root root      20 2009-01-12 06:42 Makefile.config -> Makefile.config_gld2
drwxr-xr-x 2  111 staff      5 2009-01-12 07:47 i386
root@opensolaris:~/atge-2.6.3#
make clean;make
root@opensolaris:~/atge-2.6.3# make clean
rm -f i386/*
root@opensolaris:~/atge-2.6.3# make
<snip>
gcc -c -O3 -D__INLINE__=inline -DGEM_GCC_RUNTIME -ffreestanding -U_NO_LONGLONG -D_KERNEL  -U_ASM_INLINES -D_SYSCALL32 -D_SYSCALL32_IMPL  -Dsun 
-D__sun -D__SVR4  -DC2_AUDIT  -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare  -Wno-parentheses -Wno-uninitialized 
-Wno-implicit-function-declaration  -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch  -Wno-format -Werror -Di86pc   -DDEBUG 
-DDEBUG_LEVEL=1 -UGEM_DEBUG_LEVEL  -I /common -UDEBUG_RESUME -UDEBUG_MULTIFRAGS  -UDEBUG_L1E -DGEM_CONFIG_POLLING -UGEM_CONFIG_GLDv3 
-UGEM_CONFIG_VLAN_HW  -UGEM_CONFIG_CKSUM_OFFLOAD -USOLARIS10  -Unotdef -UNEVER -DGEM_GCC_RUNTIME  -UGEM_COMPAT -USANITY -UGEM_CONFIG_FMA 
-UMODULE  -UGEM_CONFIG_RX_DIRECT -DGEM_CONFIG_TX_DIRECT  -UOS_PUTBACK  -UCONFIG_CKSUM_OFFLOAD -UCONFIG_LSO -DCONFIG_POLLING  
-UCONFIG_DONT_RESET_PHY -DUSE_GETSTAT_RX -DVERSION='"2.6.3"' atge_gem.c -o i386/atge_gem.o

gcc -c -O3 -D__INLINE__=inline -DGEM_GCC_RUNTIME -ffreestanding -U_NO_LONGLONG -D_KERNEL  -U_ASM_INLINES -D_SYSCALL32 -D_SYSCALL32_IMPL  -Dsun 
-D__sun -D__SVR4  -DC2_AUDIT  -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare  -Wno-parentheses -Wno-uninitialized 
-Wno-implicit-function-declaration  -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch  -Wno-format -Werror -Di86pc   -DDEBUG 
-DDEBUG_LEVEL=1 -UGEM_DEBUG_LEVEL  -I /common -UDEBUG_RESUME -UDEBUG_MULTIFRAGS  -UDEBUG_L1E -DGEM_CONFIG_POLLING -UGEM_CONFIG_GLDv3 
-UGEM_CONFIG_VLAN_HW  -UGEM_CONFIG_CKSUM_OFFLOAD -USOLARIS10  -Unotdef -UNEVER -DGEM_GCC_RUNTIME  -UGEM_COMPAT -USANITY -UGEM_CONFIG_FMA 
-UMODULE  -UGEM_CONFIG_RX_DIRECT -DGEM_CONFIG_TX_DIRECT  -UOS_PUTBACK  -UCONFIG_CKSUM_OFFLOAD -UCONFIG_LSO -DCONFIG_POLLING  
-UCONFIG_DONT_RESET_PHY -DUSE_GETSTAT_RX -DVERSION='"2.6.3"' gem.c -o i386/gem.o
/usr/ccs/bin/ld -r -dy -N misc/gld i386/atge_gem.o i386/gem.o -o i386/atge
root@opensolaris:~/atge-2.6.3#

make install

root@opensolaris:~/atge-2.6.3# make install
/usr/sbin/install -f /kernel/drv -m 755 -u root -g sys i386/atge
new owner is root
i386/atge installed as /kernel/drv/atge
cp /etc/system /etc/system.noatge
echo "exclude: atge" >> /etc/system.noatge
root@opensolaris:~/atge-2.6.3# more /etc/system

root@opensolaris:~/atge-2.6.3#

add the compiled driver
root@opensolaris:~/atge-2.6.3# ./adddrv.sh

working example
root@opensolaris:~/atge-2.6.3# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
atge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2
        inet 192.168.1.195 netmask ffffff00 broadcast 192.168.1.255
        ether 0:1f:c6:2e:da:e4
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128
atge0: flags=202004841<UP,RUNNING,MULTICAST,DHCP,IPv6,CoS> mtu 1500 index 2
        inet6 fe80::21f:c6ff:fe2e:dae4/10
        ether 0:1f:c6:2e:da:e4
root@opensolaris:~/atge-2.6.3#

Enable Wireless connection

Note that the 0.7.3 driver does not work in build 105 onwards with the putback of Crossbow. For nv_105, use the included ath driver which supports the AR5007EG chip by default.

If the driver fails to attach (for example, when running on 11.08) you can add the pci id to the aliases list by doing:

pfexec update_drv -a -i '"pci168c,1c"' ath
pfexec devfsadm -i ath

EEE PC 900

BIOS Issues

Tried with osol-0906-x86-for-EeePCu2-RC5.usb (from Masafumi Ohta). Wired network works but could not get wireless to work. Perhaps this is due to disabling WLAN in bios (Linux does not care about that) and Fn-F2 did not have any effect.

Can't work L2 driver on atge driver in OpenSolaris packages same as Eee 701

please check atge driver issue on Eee 701 above you should do the same for using atge wired driver.

EEE PC 901

Wireless

The Asus EeePC 901 uses a Ralink 2860 chipset - Wireless Network Driver for Ralink RT2700/2800 (rwn) latest it is included OpenSolaris packages.

EEE keyboard

Note this was fixed with the putback of "6695011 kb8042 driver does not support built in keyboard for Asus EEE PC" in snv_100 and you no longer need to add "-v" option in grub.

Distributions for EeePCs

OpenSolaris for EeePCs

You can easily use OpenSolaris on your Eees without installing Wired,Wifi and something.

Milax for EeePCs

It is confirmed working on Eee 900

References

Blogs

URLs

Twitter

Personal tools