
http://beagleboard.org/Products/BeagleBone+Black

I got /var/www/umsp populated from svn and then spent many hours figuring out how get the php files to run from a browser on my PC.mad_ady wrote:* the apache configuration and the particularities regarding UMSP initialization: /etc/init.d/S64umsp, /etc/init.d/S66apache2 (some of the apache config just tries to disable HTTP auth for the /umsp directory)
* you need to edit some UMSP files to fit your system (/usr/share/umsp/hardware-dependent.php) - please note that most plugins use hardcoded paths to get to /conf/config, so you might need to keep at least a link pointing to that path.
* reimplement the UMSP announcement periodically (currently it is done in /usr/bin/wdlxtv.watch). It can be done in cron, every 5 seconds with "wget http://127.0.0.1/umsp/send-ssdp.php?btnSend=Submit -O /dev/null 2>/dev/null >/dev/null"
Use packet captures and check log files to see that the server is announced and is visible on the network. Also, I tested it with xbmc and some specific plugins only...
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName>UMSP (on WDTV)</friendlyName>
<manufacturer>WDLXTV</manufacturer>
<manufacturerURL>http://forum.wdlxtv.com/viewforum.php?f=49</manufacturerURL>
<modelDescription>
UMSP media server gives you access to internet media via plugins
</modelDescription>
<modelName>UMSP</modelName>
<modelNumber>0.2</modelNumber>
<modelURL>http://forum.wdlxtv.com/viewforum.php?f=49</modelURL>
<serialNumber>0</serialNumber>
<UDN>uuid:badbabe1-6666-6666-6666-000000000000</UDN>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<width>170</width>
<height>114</height>
<depth>8</depth>
<url>http://wiki.wdlxtv.com/images/logo.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>
<controlURL>/umsp/control-reply.php</controlURL>
<eventSubURL>/umsp/cdEvent.xml</eventSubURL>
<SCPDURL>/umsp/MediaServerContentDirectory.xml</SCPDURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<controlURL>/umsp/cmControl.xml</controlURL>
<eventSubURL>/umsp/cmEvent.xml</eventSubURL>
<SCPDURL>/umsp/MediaServerConnectionManager.xml</SCPDURL>
</service>
</serviceList>
<presentationURL>/umsp/umsp-test.php</presentationURL>
</device>
</root>
root@Deneb:/root# config_tool -h
Copyright (C) 2007, Alphanetworks, inc.
Usage: config_tool [options]
-s,--save :save the config to flash
-l,--load :load the flash config
-m,--monitor <time> :start the flash monitor, the attribue
-c,--change <VAL=KEY, -c> :save the value and key
-t,--savedir <srdir=targefile> :save the dir to the target file
--regiondata <clean> :clean all region data sections to zero
--regiondata <get> :print region data info
--regiondata <set tv_mode-region-location> :set region data info
e.g.: 0-0-15, USA; 0-0-4, Canada.
root@Deneb:/root# which config_tool
/sbin/config_tool
root@Deneb:/root# config_tool -c UMSP=OFF
config saved val:key => (UMSP,OFF)
root@Deneb:/root# config_tool -s
F:mkconfig_translate_config_dir_to_file,75: [load config] ret_config=0
save config_file=/dev/sigmblockk, config_id=8459
write to block file OK.
root@Deneb:/root# file /sbin/config_tool
/sbin/config_tool: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.12, with unknown capability 0xf41 = 0x756e6700, stripped
root@Deneb:/root# head /conf/config
LAN_TYPE='d'
LAN_TYPE_WIRELESS='d'
IP2='192.168.1.4'
NETMASK2='255.255.255.0'
GATEWAY='0'
GATEWAY2='192.168.1.1'
SET_DNS_SRV='a'
LANDNS='192.168.1.1'
IP_WIRELESS='192.168.0.88'
NETMASK_WIRELESS='255.255.255.0'
Users browsing this forum: No registered users and 2 guests