Forum.ArchosFans.com

Unofficial Archos Support Forum
It is currently Wed Nov 13, 2019 12:26 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jan 03, 2011 8:19 am 
Offline
Archos Novice
Archos Novice

Joined: Wed Dec 01, 2010 4:33 am
Posts: 8
[ 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'
/etc/network/interfaces
# 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
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200

[ 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)

TODOs(?):
- 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.

Top
   
PostPosted: Tue Jan 04, 2011 8:22 pm 
Offline
Archos Novice
Archos Novice

Joined: Fri Dec 17, 2010 7:15 am
Posts: 5
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.


Top
   
PostPosted: Sat Jan 22, 2011 8:05 pm 
Offline
Archos Novice
Archos Novice

Joined: Sat Jan 22, 2011 8:02 pm
Posts: 1
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 ?


Top
   
PostPosted: Fri Jan 28, 2011 5:39 pm 
Offline
Archos Guru
Archos Guru

Joined: Thu Nov 23, 2006 3:44 pm
Posts: 524
Location: openaos.org
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.

_________________
openAOS


Top
   
PostPosted: Fri Jan 28, 2011 10:51 pm 
Offline
Archos Novice
Archos Novice

Joined: Fri Jan 28, 2011 10:46 pm
Posts: 15
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited