User:Historybuff/notes

From Openmoko

< User:Historybuff(Difference between revisions)
Jump to: navigation, search
m (correct links)
(Sound from Alsa with GSM)
Line 15: Line 15:
  
 
[[GTA01_gsm_modem]] for AT commands; [[Gsmd]] for manual AT stuff
 
[[GTA01_gsm_modem]] for AT commands; [[Gsmd]] for manual AT stuff
 +
 +
To get sound working:
 +
alsactl -f /etc/alsa/gsmhandset.state restore

Revision as of 19:50, 10 August 2007

Orientation of screen:

xrandr -o 1 turns screen to landscape mode (xrandr -o 0 to go back to ordinary portrait)

Getting Battery status: cat `find /sys/ | grep battvolt` the output is in millivolts. ~4224 millivolts is completely charged

exact location is /sys/devices/platform/s3c2410-i2c/i2c-0/0-0008/

nicer script (cwd must be above)- CHARGE=`cat battvolt` && awk -v charge=${CHARGE} 'BEGIN {print charge/4224*100" "charge }'


GTA01_gsm_modem for AT commands; Gsmd for manual AT stuff

To get sound working: alsactl -f /etc/alsa/gsmhandset.state restore

Personal tools

Orientation of screen:

xrandr -o 1 turns screen to landscape mode (xrandr -o 0 to go back to ordinary portrait)

Getting Battery status: cat `find /sys/ | grep battvolt` the output is in millivolts. ~4224 millivolts is completely charged

exact location is /sys/devices/platform/s3c2410-i2c/i2c-0/0-0008/

nicer script (cwd must be above)- CHARGE=`cat battvolt` && awk -v charge=${CHARGE} 'BEGIN {print charge/4224*100" "charge }'


GTA01_gsm_modem for AT commands; Gsmd for manual AT stuff