Chumby Service Settings in /psp

From Chumby Wiki
Revision as of 19:53, 16 September 2008 by Chumby (Talk | contribs)

Jump to: navigation, search

/psp

/psp/alarm_volume

/psp/alarms

/psp/cgi-bin/

/psp/crontabs/

/psp/crontabs/root

/psp/disable_intro

/psp/firsttime

/psp/hostname

/psp/hosts

/psp/ifdate.xml

/psp/localtime

Contains a copy of the timezone file specified in /psp/timezone

/psp/mute

/psp/network_config

Contains XML for the currently selected network configuration.

/psp/network_configs

Contains XML for the list of network configurations.

/psp/pan

/psp/shoutcast_search

Contains the last search string used in the search box for the SHOUTcast music source in the Control Panel.

/psp/slimserver_ip

/psp/timezone

Contains the timezone selected in the Control Panel, typically a path to a timezone file relative to /usr/share/zoneinfo

/psp/timezone_city

Contains the city and country of the time zone selected in the Control Panel, separated by tab and terminated by a linefeed.

/psp/ts_settings

Contains four or five numbers separated by commas. The first four are the calibration settings, and are values in touch screen units (not pixels).

The first is the X coordinate of the left screen edge, the second is the offset to that value to reach the right screen edge. The third is the Y coordinate of the top screen edge, the second is the offset to reach the bottom screen edge. Note that this last value is negative.

To convert from touch screen values to screen pixels, the formulae are:

  • pixel_x = 320 * (touch_x - ts_settings[0]) / ts_settings[1]
  • pixel_y = 240 * (touch_y - ts_settings[2]) / ts_settings[3]

The use of the fifth number is not yet clear.

/psp/udev/

/psp/url_streams

/psp/use_ntp

/psp/volume

Contains the value of the volume slider, in the range 0 through 100