BSD Ports

sysutils/asusoled 0.10_10 DragonFly

Utility for ASUS USB OLED Display

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
sysutils
Package size
16.7 KiB, 41.2 KiB installed

Description

This port provides a utility for controlling USB OLED display found on some ASUS laptops such as G-series models.

Originally it was written by Christian Lamparter <[email protected]> for Linux and the early version is still available from here:

https://launchpad.net/asusoled

Now it is almost rewrite of the code with a lot of new features and improvements by Jung-uk Kim <[email protected]>.

In the other systems

SystemPortVersion
DragonFlysysutils/asusoled0.10_10
FreeBSDsysutils/asusoled0.10_10

Install

Binary package:

pkg install asusoled

From DPorts:

cd /usr/dports/sysutils/asusoled && make install clean

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Please note this utility requires ugen(4).  Try:

	kldstat -m uhub/ugen

If it is loaded, you will see something like the following:

	Id  Refs Name
	 31    1 uhub/ugen

If it is not loaded, then try:

	kldload ugen

Unfortunately early versions of uhid(4) conflict with ASUS LCM.  If this
utility does not work for you, try unloading it first:

	kldunload uhid

If the driver is compiled into kernel, you cannot unload it, however.
If so, you have to recompile kernel without the uhid support or to fix it
for yourself.  If you don't need uhid, just comment out "device uhid" line
from your kernel configuration file and recompile kernel.  If you need uhid,
you have to touch two files:

http://docs.freebsd.org/cgi/mid.cgi?200803141559.m2EFxWs1074538

To build custom kernel, please read "Configuring the FreeBSD Kernel" section
from the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

Also, there are two example rcNG scripts, i.e., asusoled and oled_clock.
You can enable 'asusoled' by adding:

	asusoled_enable="YES"

in your /etc/rc.conf.  If you just want to test it, run:

	/usr/local/etc/rc.d/asusoled forcestart

You will see a black ASUS logo on white background from the display.
Similarly, you can enable or test 'oled_clock', of course. :-)

Enjoy!

Jung-uk Kim <[email protected]>