Linux Mint Debian Edition 201101 on AOA 150

I started to install and run LMDE 201101 on my Acer Aspire One D150.

Changes after install:
Touchpad-In control Center-Hardware-Mouse-Enable Mouse clicks with touchpad

After suspend (lid closed) and resume there was no display. Added one line in “/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi” and commented out another line:

 
<!-- Aspire One 110 -->
 <match key="system.hardware.product" prefix_outof="AOA110;AOA150">
 <!--<merge key="power_management.quirk.none" type="bool">true</merge>-->
 <merge key="power_management.quirk.quirk-vbe-post" type="bool">true</merge>
 </match>

Then restarted hal with
sudo /etc/init.d/hal restart
After this change suspend/resume does work OK for display.

(see also http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/blank-screen-after-resume-from-suspend-764822/ and http://forums.debian.net/viewtopic.php?f=16&t=44378 why I did this)

Now the last initial change: let the fan be controled by temperature I used the lines

>sudo su
>echo -n “enabled” > /sys/class/thermal/thermal_zone0/mode

That’s it for now…

Mobile development – A simple Unicode Character Map

Recently I needed to know, which chars (glyphs) are supported by a windows mobile font. I looked around for a charmap tool like we have on Windows Desktop PCs and was unable to find one. So I started this little tool: CharmapCF.

As you can see, you get a simple charmap and can verify what glyphs are supported and which not (square rectangle).

CharmapCF supports only UCS-2, UTF-16 as used by Microsoft’s Encoding.Unicode class. So it also only supports the Unicode Basic Multilanguage Plane (BMP).

Continue reading ‘Mobile development – A simple Unicode Character Map’ »

All you need to know about unicode

Recently I stumbled about this great article about ASCII, 7 and 8 Bit, codepages, Multi byte, Wide byte and unicode: http://www.joelonsoftware.com/articles/Unicode.html

If you ever get in trouble with wrong encoding display of chars, give this article a try to know the backgrounds.

As you know, Windows CE and Windows MobileĀ  is always unicode except for serial and socket communication. But the truetype fonts available on Windows Mobile devices mostly support only common chars, there file size is about 600K. The file size of Arial Unicode MS is about 22MB.

regards

Mobile Development – Simple serial communication application

Here is a simple application to connect to a serial port. The idea is based on the need of having an application to send demo print files to a virtual comm port connected to a bluetooth printer.

Update 16. March 2011: Added dialog to connect to BT printer by BT Address on Intermec devices. New source and binary at code.google.com.

Update 21. March 2011: Splitted source code and providing three different flavours:
CommAppCFSerial does serial comm only.
CommAppCFbtSearch provides BT connect (Intermec Devices only) and BT discovery
CommAppCF itself is a unstable working release
see code.google.com/p/win-mobile-code … Executables are in bin subdirs.

You can enter and send texts to or send a whole file to the port. Additionally you are able to send ASCII codes by using \xAB syntax, where AB is the hex code of the byte you would like to send.

There is nothing special with the code except the hex decoding/encoding and the possibility to send a file.

Continue reading ‘Mobile Development – Simple serial communication application’ »