Uniwill 223ii0

From ArchWiki
Revision as of 05:32, 27 February 2006 by Nam (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Uniwill 223ii0

This computer is a 12.1" widescreen laptop. It is sold in the US by Alienware and by the good, always helpful folks at LinuxCertified, probably among others. Advantages of this computer:

  • truly excellent screen
  • simple, compact design
  • small weight
  • excellent Linux compatibility (including modem and suspend-to-ram)


  • not-so-great battery life (~2h)

A review can be found here.

Arch Noodle (0.7.1) on Uniwill 223ii0

This laptop works very well under Arch. Almost everything works out of the box. Here are a few specific steps to take to enable all functionalities:

  • modem - you need to use the slmodem driver from Smartlink:
pacman -S slmodem

and add slmodem-alsa in the daemons section of /etc/rc.conf

You may experience a few oddities every now and then when using the modem (slow connection, being disconnected unexpectedly), but it works overall.

  • suspend to ram (not thoroughly tested, use at your own risk) - can be achieved using the script below, modified from this post in the forums. You'll need the vbetool package:
pacman -S vbetool

#Initiates a suspend-to-ram!

# Suspend
echo "Going to sleep at `date`"

#Let's go to Terminal 1 (Ctrl+Alt+1)
echo "* chvt 1"
/usr/bin/chvt 1

# Close Programs
# Stopping the Network
if test -e /var/run/daemons/network ;
   then /etc/rc.d/network stop;
   else echo "Network is not Running";

#Save Alsa Mixer Settings and give all the programs 2 secs to finish shutting down.
alsactl store
sleep 2

# Unload Modules [snd_emu10k1 = sound 8139too = network]
rmmod snd_emu10k1
rmmod 8139too
rmmod usb_storage
rmmod usbhid
rmmod uhci_hcd
rmmod ohci_hcd
rmmod ehci_hcd
rmmod usbcore

#Save Video State
echo "* save vbestate"
/usr/sbin/vbetool vbestate save > /etc/acpi/vbestate
echo "* writing to /sys"
echo -n "mem" > /sys/power/state
echo ""

# Resume
echo "Back from sleep at `date`"

# Restore the state of the Video
echo "* restore vbestate"
/bin/cat /etc/acpi/vbestate | /usr/sbin/vbetool vbestate restore

# Lets restore the clock
echo "* restore clock"
/sbin/hwclock --hctosys

# Lets get back to Xorg (Ctrl+Alt+1)
echo "* chvt 7"
/usr/bin/chvt 7

# Load Modules
modprobe snd_emu10k1
modprobe 8139too
modprobe usbcore
modprobe ehci_hcd
modprobe ohcd_hcd
modprobe uhci_hcd
modprobe usbhid
modprobe usb_storage

#Give the modules some time to learn
sleep 5

#Load Programs
/etc/rc.d/network start
alsactl restore
echo "* done"
echo ""
# Done
exit 0 

  • touchpad - best when used with synaptics:
pacman -S synaptics

Don't forget to modify your xorg.conf file accordingly, following the post-install instructions.

  • Xorg - good compatibility using the i810 driver, full resolution can be achieved, and decent results (800-900fps) with glxgears, considering we're using an integrated graphic card. The xorg.conf file produced by xorgconfig works well, but make sure to modify the resolution:
-- xorg.conf file :: cut --

Subsection "Display"
       Depth       24
       Modes       "1280x800"
       ViewPort    0 0

-- xorg.conf file :: cut --

  • special note: modular Xorg problem - see next section

Modular Xorg

Since the introduction of modular Xorg in current, you cannot use the i810 driver anymore. A bug in Xorg creates problems, as reported on bugs.archlinux.org here. The laptop works well using the standard VESA driver, though. It seems that a fix is on its way, which will make the use of the i810 driver possible again in the near future. But you should maybe stick to the previous version of Xorg if you have the choice, especially if acceleration is important for you.