[ gen8 ] Angstrom tweaks and notes (A70S) by Pupnik

Special Developer Edition Firmwares and Hacking on Archos 5 IT, 5/7 IMT, 605/705, with Android, ├àngstr├Âm and other Linux
Post Reply
Archos Novice
Archos Novice
Posts: 8
Joined: Wed Dec 01, 2010 4:33 am

[ gen8 ] Angstrom tweaks and notes (A70S) by Pupnik

Post by pupnik »

[ audio ]
enable speakers with toggle in alsamixer (to the right)
export SDL_AUDIO_DRIVER=alsa

[ larger onscreen keyboard ]
[email protected]:/usr/share/xkbd
lrwxrwxrwx 1 root root 26 Dec 21 18:06 en_US.qwerty.xkbd -> en_GB.qwerty.tabletpc.xkbd
lrwxrwxrwx 1 root root 26 Dec 21 18:06 en_GB.qwerty.xkbd -> en_GB.qwerty.tabletpc.xkbd

[ usb networking]
smoku recommends changing the default module gadget mode to usb networking
echo 'options musb_hdrc mode_default=2' > /etc/modprobe.d/musb.conf

i find it works to load the module when i run 'ifup usb0'
# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
pre-up rmmod musb_hdrc
pre-up modprobe musb_hdrc mode_default=2
pre-up modprobe g_ether

[ control Archos tablet with PC keyboard and mouse ]
install synergy client on tablet with: opkg install synergy
install synergy server on PC/laptop
remove -hide-cursor from x init (i forgot exactly where it is: grep -r hide-cursor /etc)
configure synergy on server: http://synergy2.sourceforge.net/configuration.html
start synergys on PC/laptop
ssh to archos and start synergy client with synergyc -f [your.server.ip.addr]

[ wlan network]
(no modules available yet afaik)

[ cpu scaling ]
echo ondemand /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
(throttle mhz back from 1ghz when not needed - be kind to your CPU)

[ backlight control ]
echo 100 > /sys/devices/platform/omap_pwm_led.0/leds/lcd-backlight/brightness
(values from 0-255 are accepted)

[ framebuffer ]
Change framebuffer resolution/bpp
fbset -fb /dev/fb0 -g 800 480 800 480 32 <- default bpp
fbset -fb /dev/fb0 -g 800 480 800 480 16 <- double the write speed for games/emulators

TODO: Find how to scale LCD framebuffer - v4l interface is available but /dev/fb1, /dev/fb2 is not
echo 1 > /sys/devices/platform/omapdss/overlay1/enabled ??

[ cflags ]
-O3 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -fsingle-precision-constant
(these seem to work well, but -mfp=vfp might be better)

- find away to mount /mnt_data writeable by user

mount -o remount,uid=100,gid=65535,umask=0077,fmask=0077,dmask=0077 /mnt_data
mount -o remount,uid=100,gid=65535,umask=0077,fmask=0077,dmask=0077 /dev/mmcblk2p1

[email protected]:~# ls -l /mnt_data
drwxr-xr-x 2 root root 4096 Dec 14 09:23 Aldiko
drwxr-xr-x 3 root root 4096 Jan 1 2000 Android

fails with no errors

- wifi module and configuration
- fix gpe Mini Web Browser
- fix gpe applet for setting screen brightness
- get hardware-scaled framebuffer (overlay) on lcd
- switch to conservative speed governor and shorter dimming timeout when running off battery
- share tweaks and hacks with archos community (without needing approval from upstream Angstrom)
- fix microphone input for osc-illoscope visualization program
- port/fix PocketSNES
- port/fix pcsx-rearmed
- port/fix picodrive
- port/fix dosbox mouse and tweak default config for omap3 archos
- get oprofile running with debug / symbol info
- ...
Last edited by pupnik on Sat Jan 15, 2011 5:02 pm, edited 3 times in total.
Archos Novice
Archos Novice
Posts: 5
Joined: Fri Dec 17, 2010 7:15 am

Re: [ gen8 ] Angstrom tweaks and notes (A70S) by Pupnik

Post by geoque »

You may be familiar with a community project hand-held called Pandora. It has a similar TI soc as the Archos. I also believe the OS is also based on Angstrom. You may be interested in www.openpandora.org and/or www.gp32x.com and their associated forums. DJWillis and Pickle are 2 developers that have done a lot of work with DOSbox and Scummvm and may be able to assist with your touchscreen mouse tweaking. However, I suspect that you may already know of the project since you mentioned pcsx-rearmed in your post. I mention this because good, working, touchscreen DOSbox has been on my wishlist for quite a few years now. Anyway, good luck.
Archos Novice
Archos Novice
Posts: 1
Joined: Sat Jan 22, 2011 8:02 pm

Re: [ gen8 ] Angstrom tweaks and notes (A70S) by Pupnik

Post by eeva »

For wlan, it is known to work with android, which is Linux based, thus there must be a driver working with Angstrom too.
Anybody here is familiar with archos Android sources ?
Archos Guru
Archos Guru
Posts: 524
Joined: Thu Nov 23, 2006 3:44 pm
Location: openaos.org

Re: [ gen8 ] Angstrom tweaks and notes (A70S) by Pupnik

Post by dm8tbr »

I guess Archos again licensed TI proprietary code for the WiLink6 driver. Haven't checked though.

The approach I took with gen7 (see openaos blog post on this) to get wifi working should also work with gen8.
Archos Novice
Archos Novice
Posts: 15
Joined: Fri Jan 28, 2011 10:46 pm

Re: [ gen8 ] Angstrom tweaks and notes (A70S) by Pupnik

Post by nielsslot »

To show the mouse cursor again you have to change the /etc/matchbox/session file and reboot (or login again). The X init file also mentions a hide_cursor option, but it's not used on the Gen8. (It's for HTC hardware IIRC)

Also, using an USB Hub with an USB ethernet card and mouse + keyboard connected works great as alternative to using Synergy over USB networking.
Post Reply

Return to “Open Development”