<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pandorawiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aninhumer</id>
	<title>Pandora Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pandorawiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aninhumer"/>
	<link rel="alternate" type="text/html" href="https://pandorawiki.org/Special:Contributions/Aninhumer"/>
	<updated>2026-04-23T16:01:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0-alpha</generator>
	<entry>
		<id>https://pandorawiki.org/index.php?title=PND:FAQ&amp;diff=2208</id>
		<title>PND:FAQ</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=PND:FAQ&amp;diff=2208"/>
		<updated>2010-03-07T16:43:39Z</updated>

		<summary type="html">&lt;p&gt;Aninhumer: Moved all advanced questions to a separate section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of '''frequently asked questions''' about using the Pandora PND package format. For factual and other kinds of questions, use the [[Special:Search|search box]]. If your question is not answered on this page, do some research and include it!&lt;br /&gt;
__NOTOC__ __TOC__&lt;br /&gt;
&lt;br /&gt;
==The PND system==&lt;br /&gt;
&lt;br /&gt;
===What is a PND file?===&lt;br /&gt;
:A PND file is a compact file that contains one or more runnable applications for the Pandora. The file is basically an archive (like a ZIP, RAR or ISO) that contains all the data that the provided set of applications require, along with some meta data about the applications themselves.&lt;br /&gt;
&lt;br /&gt;
===Why are PNDs useful?===&lt;br /&gt;
:Normally, on an ordinary computer, it is necessary to install an application in order to run it. This usually happens in one of many different ways; an installer might be run, or an archive might become extracted, etc.&lt;br /&gt;
:PND files are used to allow for applications to be executed ''without'' them being installed first. They are supposed to work in a way similar to game cartridges, in that they contain all of the necessary information in one tight package that can be executed independently.&lt;br /&gt;
:This system is inspired by similar systems such as the Apple OS 10 DMG file system, the Puppy Linux package format, or the Haiku Box package management system.&lt;br /&gt;
&lt;br /&gt;
===Can I modify a PND file?===&lt;br /&gt;
:You can, but you need easily obtained open source freeware special tools to do so. (These tools are included by most Linux distributions by default, but are downloads for Windows and Mac OSX users.) It is advised that only developers modify or create PND files.&lt;br /&gt;
&lt;br /&gt;
===Can a PND file modify itself?===&lt;br /&gt;
:No, not generally. A pnd-file, even after extended use may be copied anywhere and still be in its original state. Any changes the application has made will have been redirected to its appdata directory instead, so you have your self-contained directory of its changes.&lt;br /&gt;
&lt;br /&gt;
===How does a PND store application data?===&lt;br /&gt;
:Since the PND cannot modify itself, there has to be a way for it to store runtime data, such as configuration files and user-added level files. This is achieved in the PND system by creating an application data directory for each application that is inside a PND. Since a PND can contain many applications, there can, and will, be multiple application data folders per PND, and each application declares its own application data folder name.&lt;br /&gt;
:The application data folders are located in &amp;quot;pandora/appdata/*&amp;quot; on the device that the PND is stored on.&lt;br /&gt;
&lt;br /&gt;
===What desktop environments do pnd files work with?===&lt;br /&gt;
:As described below, the pnd-files will cause the system to spit out standard &amp;quot;.desktop&amp;quot; files for each application contained. The Pandora firmware includes several desktop environments (ie: menus) that understand those files (or operate with pnd-files directly.) The &amp;quot;.desktop&amp;quot; files are a standard however, so you are free to install other desktop environments and they should work fine out of the box with pnd-files, without any alteration whatsoever,&lt;br /&gt;
&lt;br /&gt;
===Can a PND-file be unpacked and used?===&lt;br /&gt;
:A pnd-file may be unpacked into what is called a &amp;quot;PXML-application directory&amp;quot; if the packager of the pnd-file followed the specification. (ie: the icon and PXML.xml metadata are included in the contained filesystem and not just found at the end of the pnd-file.) An application directory may be auto-discovered and executed just like a pnd-file, but you can muck with the files in-place without a problem. When the application writes back to itself however, the changes will still be directed to the appdata directory as with a regular pnd-file.&lt;br /&gt;
:This is an advanced topic, noted here for completeness.&lt;br /&gt;
&lt;br /&gt;
===Can the PND-file system be added to other Linux distributions?===&lt;br /&gt;
:It is very easy to add the PND system to other Linux distributions, be they Pandora oriented or not. As of 2010 the Pandora APIs are are a little Pandora-specific, but effort will be made to split off the PND-file support and Pandora-specific support into separate systems, so that non-Pandora Linux distributions can even more easily adopt the PND-file system should they wish to. Certainly however, if you're building a new distribution to run on the Pandora, it is absolutely trivial to include PND-file support (and other Pandora originated technologies), so please do, to help for a consistent user experience.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
===How do I use PND files?===&lt;br /&gt;
:Using PND files on your Pandora is easy: You simply get hold of a PND file, presumably via a web page of some kind, and store it in a special folder on one of your SD cards. See the folder listing below. By default, both SD slots (and other mountable media) on the Pandora will be monitored for PND-files, though everything is configurable for advanced users. &lt;br /&gt;
:Once you've put your PND in a known location, the PND system will pick up the new PND, &amp;quot;activate&amp;quot; it, and create shortcut icons to the applications inside of the PND. You can then use these icons to launch the applications.&lt;br /&gt;
&lt;br /&gt;
===How do I launch a PND application without putting it in a special location?===&lt;br /&gt;
:If you open a PND file in your file manager, the first application in the PND will be launched without you having to move the PND file.&lt;br /&gt;
&lt;br /&gt;
===How do I choose where the shortcut icons for a PND appear?===&lt;br /&gt;
:With the default configuration, there are four different folders you can put your PND files in to have their applications show up in different locations:&lt;br /&gt;
:* &amp;quot;/media/*/pandora/menu&amp;quot; - These PND-files will only generate shortcut icons in the system's application menu. (&amp;quot;*.desktop&amp;quot; files will be written to &amp;quot;/usr/share/applications&amp;quot;)&lt;br /&gt;
:* &amp;quot;/media/*/pandora/desktop&amp;quot; - These PND files will only generate shortcut icons on the Desktop. (&amp;quot;*.desktop&amp;quot; files will be written to &amp;quot;~/Desktop&amp;quot;)&lt;br /&gt;
:* &amp;quot;/media/*/pandora/apps&amp;quot; - Deprecated to some extent, this directory is used to be _both_ menu and desktop, without having to copy the pnd-file into /menu and /desktop (avoiding duplication)&lt;br /&gt;
:* &amp;quot;/usr/pandora/apps&amp;quot; This also extracts shortcut icons to the desktop. This path should not be touched, and is included to make an easy avenue for the Pandora firmware developers to include essential tools for the user, when bundled as pnd-files. (As of this writing early 2010, such tools are built into the firmware without being pnd-files, but the option exists still.)&lt;br /&gt;
&lt;br /&gt;
==Advanced Information==&lt;br /&gt;
&lt;br /&gt;
===How is a PND file structured?===&lt;br /&gt;
:The PND file is simply an archive or file system image (currently, ISO and SquashFS are supported) with a &amp;quot;PXML.xml&amp;quot; appended at the end. There can also be an accompanying icon that is appended as well.&lt;br /&gt;
&lt;br /&gt;
===How does the PND discovery mechanism work?===&lt;br /&gt;
:There is an open source API for working with pnd-files and PXML-application directories (among other tasks); this API can be used by developers wishing to take advantage of the pnd auto-discovery system, such as when developing a new menu system say.&lt;br /&gt;
:There is a special process called &amp;quot;pndnotifyd&amp;quot; that uses this API to watch the PND search paths for file changes. Once it finds a new PND file, it uses the PXML.xml file to generate one or more &amp;quot;*.desktop&amp;quot; files for the PND. (A .desktop file is a open standard way of describing an application and how to execute it, and is supported across most popular desktop environments.)&lt;br /&gt;
&lt;br /&gt;
===How do I change the search paths for PND files?===&lt;br /&gt;
:Simply edit the &amp;quot;/etc/pandora/conf/apps&amp;quot; file, and change the &amp;quot;searchpath&amp;quot; entry to include the paths you want to use. Paths are separated by colons (&amp;quot;:&amp;quot;) and may include wildcards (in the shape of &amp;quot;*&amp;quot;) anywhere in the path.&lt;br /&gt;
&lt;br /&gt;
===How do I configure different locations for my PND shortcuts?===&lt;br /&gt;
:Edit the file &amp;quot;/etc/pandora/conf/desktop&amp;quot; (The &amp;quot;desktop&amp;quot; refers to &amp;quot;*.desktop files&amp;quot;). It will look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Open Pandora&lt;br /&gt;
# Desktop configuration&lt;br /&gt;
&lt;br /&gt;
[desktop]&lt;br /&gt;
searchpath	/media/*/pandora/desktop:/media/*/pandora/apps:/usr/pandora/apps&lt;br /&gt;
dotdesktoppath	~/Desktop/&lt;br /&gt;
iconpath	/tmp&lt;br /&gt;
&lt;br /&gt;
[menu]&lt;br /&gt;
searchpath	/media/*/pandora/menu&lt;br /&gt;
dotdesktoppath	/usr/share/applications&lt;br /&gt;
iconpath	/tmp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:You should leave the &amp;quot;iconpath&amp;quot; variables be, but you can change which paths are searched through and where &amp;quot;*.desktop&amp;quot; files are extracted with the &amp;quot;searchpath&amp;quot; and &amp;quot;dotdesktoppath&amp;quot; variables, respectively.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] [[Category:PND]]&lt;/div&gt;</summary>
		<author><name>Aninhumer</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=PND:FAQ&amp;diff=2207</id>
		<title>PND:FAQ</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=PND:FAQ&amp;diff=2207"/>
		<updated>2010-03-07T12:00:10Z</updated>

		<summary type="html">&lt;p&gt;Aninhumer: /* How is a PND file structured? (Advanced) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of '''frequently asked questions''' about using the Pandora PND package format. For factual and other kinds of questions, use the [[Special:Search|search box]]. If your question is not answered on this page, do some research and include it!&lt;br /&gt;
__NOTOC__ __TOC__&lt;br /&gt;
&lt;br /&gt;
==The PND system==&lt;br /&gt;
&lt;br /&gt;
===What is a PND file?===&lt;br /&gt;
:A PND file is a compact file that contains one or more runnable applications for the Pandora. The file is basically an archive (like a ZIP, RAR or ISO) that contains all the data that the provided set of applications require, along with some meta data about the applications themselves.&lt;br /&gt;
&lt;br /&gt;
===Why are PNDs useful?===&lt;br /&gt;
:Normally, on an ordinary computer, it is necessary to install an application in order to run it. This usually happens in one of many different ways; an installer might be run, or an archive might become extracted, etc.&lt;br /&gt;
:PND files are used to allow for applications to be executed ''without'' them being installed first. They are supposed to work in a way similar to game cartridges, in that they contain all of the necessary information in one tight package that can be executed independently.&lt;br /&gt;
:This system is inspired by similar systems such as the Apple OS 10 DMG file system, the Puppy Linux package format, or the Haiku Box package management system.&lt;br /&gt;
&lt;br /&gt;
===How is a PND file structured? (Advanced)===&lt;br /&gt;
:The PND file is simply an archive or file system image (currently, ISO and SquashFS are supported) with a &amp;quot;PXML.xml&amp;quot; appended at the end. There can also be an accompanying icon that is appended as well.&lt;br /&gt;
&lt;br /&gt;
===Can I modify a PND file?===&lt;br /&gt;
:You can, but you need easily obtained open source freeware special tools to do so. (These tools are included by most Linux distributions by default, but are downloads for Windows and Mac OSX users.) It is advised that only developers modify or create PND files.&lt;br /&gt;
&lt;br /&gt;
===Can a PND file modify itself?===&lt;br /&gt;
:No, not generally. A pnd-file, even after extended use may be copied anywhere and still be in its original state. Any changes the application has made will have been redirected to its appdata directory instead, so you have your self-contained directory of its changes.&lt;br /&gt;
&lt;br /&gt;
===How does a PND store application data?===&lt;br /&gt;
:Since the PND cannot modify itself, there has to be a way for it to store runtime data, such as configuration files and user-added level files. This is achieved in the PND system by creating an application data directory for each application that is inside a PND. Since a PND can contain many applications, there can, and will, be multiple application data folders per PND, and each application declares its own application data folder name.&lt;br /&gt;
:The application data folders are located in &amp;quot;pandora/appdata/*&amp;quot; on the device that the PND is stored on.&lt;br /&gt;
&lt;br /&gt;
===What desktop environments do pnd files work with?===&lt;br /&gt;
:As described below, the pnd-files will cause the system to spit out standard &amp;quot;.desktop&amp;quot; files for each application contained. The Pandora firmware includes several desktop environments (ie: menus) that understand those files (or operate with pnd-files directly.) The &amp;quot;.desktop&amp;quot; files are a standard however, so you are free to install other desktop environments and they should work fine out of the box with pnd-files, without any alteration whatsoever,&lt;br /&gt;
&lt;br /&gt;
===Can a PND-file be unpacked and used?===&lt;br /&gt;
:A pnd-file may be unpacked into what is called a &amp;quot;PXML-application directory&amp;quot; if the packager of the pnd-file followed the specification. (ie: the icon and PXML.xml metadata are included in the contained filesystem and not just found at the end of the pnd-file.) An application directory may be auto-discovered and executed just like a pnd-file, but you can muck with the files in-place without a problem. When the application writes back to itself however, the changes will still be directed to the appdata directory as with a regular pnd-file.&lt;br /&gt;
:This is an advanced topic, noted here for completeness.&lt;br /&gt;
&lt;br /&gt;
===Can the PND-file system be added to other Linux distributions?===&lt;br /&gt;
:It is very easy to add the PND system to other Linux distributions, be they Pandora oriented or not. As of 2010 the Pandora APIs are are a little Pandora-specific, but effort will be made to split off the PND-file support and Pandora-specific support into separate systems, so that non-Pandora Linux distributions can even more easily adopt the PND-file system should they wish to. Certainly however, if you're building a new distribution to run on the Pandora, it is absolutely trivial to include PND-file support (and other Pandora originated technologies), so please do, to help for a consistent user experience.&lt;br /&gt;
&lt;br /&gt;
===How does the PND discovery mechanism work? (Advanced)===&lt;br /&gt;
:There is an open source API for working with pnd-files and PXML-application directories (among other tasks); this API can be used by developers wishing to take advantage of the pnd auto-discovery system, such as when developing a new menu system say.&lt;br /&gt;
:There is a special process called &amp;quot;pndnotifyd&amp;quot; that uses this API to watch the PND search paths for file changes. Once it finds a new PND file, it uses the PXML.xml file to generate one or more &amp;quot;*.desktop&amp;quot; files for the PND. (A .desktop file is a open standard way of describing an application and how to execute it, and is supported across most popular desktop environments.)&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
===How do I use PND files?===&lt;br /&gt;
:Using PND files on your Pandora is easy: You simply get hold of a PND file, presumably via a web page of some kind, and store it in a special folder on one of your SD cards. See the folder listing below. By default, both SD slots (and other mountable media) on the Pandora will be monitored for PND-files, though everything is configurable for advanced users. &lt;br /&gt;
:Once you've put your PND in a known location, the PND system will pick up the new PND, &amp;quot;activate&amp;quot; it, and create shortcut icons to the applications inside of the PND. You can then use these icons to launch the applications.&lt;br /&gt;
&lt;br /&gt;
===How do I change the search paths for PND files? (Advanced)===&lt;br /&gt;
:Simply edit the &amp;quot;/etc/pandora/conf/apps&amp;quot; file, and change the &amp;quot;searchpath&amp;quot; entry to include the paths you want to use. Paths are separated by colons (&amp;quot;:&amp;quot;) and may include wildcards (in the shape of &amp;quot;*&amp;quot;) anywhere in the path.&lt;br /&gt;
&lt;br /&gt;
===How do I launch a PND application without putting it in a special location?===&lt;br /&gt;
:If you open a PND file in your file manager, the first application in the PND will be launched without you having to move the PND file.&lt;br /&gt;
&lt;br /&gt;
===How do I choose where the shortcut icons for a PND appear?===&lt;br /&gt;
:With the default configuration, there are four different folders you can put your PND files in to have their applications show up in different locations:&lt;br /&gt;
:* &amp;quot;/media/*/pandora/menu&amp;quot; - These PND-files will only generate shortcut icons in the system's application menu. (&amp;quot;*.desktop&amp;quot; files will be written to &amp;quot;/usr/share/applications&amp;quot;)&lt;br /&gt;
:* &amp;quot;/media/*/pandora/desktop&amp;quot; - These PND files will only generate shortcut icons on the Desktop. (&amp;quot;*.desktop&amp;quot; files will be written to &amp;quot;~/Desktop&amp;quot;)&lt;br /&gt;
:* &amp;quot;/media/*/pandora/apps&amp;quot; - Deprecated to some extent, this directory is used to be _both_ menu and desktop, without having to copy the pnd-file into /menu and /desktop (avoiding duplication)&lt;br /&gt;
:* &amp;quot;/usr/pandora/apps&amp;quot; This also extracts shortcut icons to the desktop. This path should not be touched, and is included to make an easy avenue for the Pandora firmware developers to include essential tools for the user, when bundled as pnd-files. (As of this writing early 2010, such tools are built into the firmware without being pnd-files, but the option exists still.)&lt;br /&gt;
&lt;br /&gt;
===How do I configure different locations for my PND shortcuts? (Advanced)===&lt;br /&gt;
:Edit the file &amp;quot;/etc/pandora/conf/desktop&amp;quot; (The &amp;quot;desktop&amp;quot; refers to &amp;quot;*.desktop files&amp;quot;). It will look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Open Pandora&lt;br /&gt;
# Desktop configuration&lt;br /&gt;
&lt;br /&gt;
[desktop]&lt;br /&gt;
searchpath	/media/*/pandora/desktop:/media/*/pandora/apps:/usr/pandora/apps&lt;br /&gt;
dotdesktoppath	~/Desktop/&lt;br /&gt;
iconpath	/tmp&lt;br /&gt;
&lt;br /&gt;
[menu]&lt;br /&gt;
searchpath	/media/*/pandora/menu&lt;br /&gt;
dotdesktoppath	/usr/share/applications&lt;br /&gt;
iconpath	/tmp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:You should leave the &amp;quot;iconpath&amp;quot; variables be, but you can change which paths are searched through and where &amp;quot;*.desktop&amp;quot; files are extracted with the &amp;quot;searchpath&amp;quot; and &amp;quot;dotdesktoppath&amp;quot; variables, respectively.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] [[Category:PND]]&lt;/div&gt;</summary>
		<author><name>Aninhumer</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=PXML_specification&amp;diff=1616</id>
		<title>PXML specification</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=PXML_specification&amp;diff=1616"/>
		<updated>2009-11-02T17:36:56Z</updated>

		<summary type="html">&lt;p&gt;Aninhumer: Added source tags, still needs headings and other formatting tweaks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This is taken from the HTML version included in the libpnd distribution; the HTML formatting therein may be perverted during import to this wiki.'''&lt;br /&gt;
&lt;br /&gt;
The PXML file format specification&lt;br /&gt;
Introduction&lt;br /&gt;
&lt;br /&gt;
Attention: at the present time, the PXML file format isn't set in stone, and is therefore subject to change. There is no guarantee that the format or the schema are bug-free or will be changed at any time. Please wait until this standard is finished before writing a PXML file.&lt;br /&gt;
&lt;br /&gt;
This is the human-readable specification for the PXML file format. The PXML file format is used in your applications for the OpenPandora® that you package in &amp;quot;.pnd&amp;quot;-files or distribute otherwise, to make it possible for menus and launchers to use your applications and their properties.&lt;br /&gt;
&lt;br /&gt;
A PXML file should be appended to your &amp;quot;.pnd&amp;quot;-file, using the tools provided for that purpose, or put in a directory that you want to serve as a redistributable package, to make it possible for launchers and menus to find it. It should have the name &amp;quot;PXML.xml&amp;quot; not case sensitive, and there should only be one such file. The contents of the PXML file should also comply to this specification without exception, to guarantee that everyone will be able to read it.&lt;br /&gt;
&lt;br /&gt;
The PXML format is XML-based and fully XML-compliant, which means that it can be read and written by any XML reader or writer. Included with this specification should also be a &amp;quot;.xsd&amp;quot;-file, which is used by XML tools to validate PXML files. A &amp;quot;.xsd&amp;quot;-file is also known as a XML schema, and can be called the &amp;quot;computer-readable&amp;quot; version of this document. It is very good practice to validate your PXML-files with that schema before publishing them.&lt;br /&gt;
&lt;br /&gt;
To write a PXML file, you also need to know the basics of writing a XML file. It boils down to the following:&lt;br /&gt;
&lt;br /&gt;
   1. If an element contains text or other elements, it needs a start-tag and an end-tag. This looks like this:&lt;br /&gt;
      &amp;lt;exampleelement someattribute=&amp;quot;something&amp;quot;&amp;gt;something inside it&amp;lt;/exampleeelement&amp;gt;&lt;br /&gt;
   2. If an element does not contain other elements or text, but only attributes, it looks like this:&lt;br /&gt;
      &amp;lt;exampleelement2 someattribute=&amp;quot;something&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Format&lt;br /&gt;
&lt;br /&gt;
The PXML-file is split up into multiple so-called elements, each of which specify one property of the &amp;quot;.pnd&amp;quot;-package. All of these elements are surrounded with a &amp;quot;&amp;lt;PXML&amp;gt;&amp;quot;-tag, which tells the readers of the file that the data within that tag belongs to a PXML file. The tag and elements should be defined as follows:&lt;br /&gt;
The PXML-tag&lt;br /&gt;
&lt;br /&gt;
The PXML-tag serves as the container for all PXML elements. It is the first thing that should occur in your PXML file. An example &amp;quot;&amp;lt;PXML&amp;gt;&amp;quot;-tag would look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PXML xmlns=&amp;quot;http://openpandora.org/namespaces/PXML&amp;quot; id=&amp;quot;uniqueID&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!--All of the PXML elements should be put here--&amp;gt;&lt;br /&gt;
&amp;lt;/PXML&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the PXML tag accepts a few attributes, namely the &amp;quot;id&amp;quot; and &amp;quot;xmlns&amp;quot; attributes.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;xmlns&amp;quot; attribute is required by the XML standard, and guarantees that this file will be identified as a PXML file. You must include the xmlns attribute, exactly as shown, in your PXML file, with the URL as specified. Only then can it be guaranteed that the file will be read at all by launchers and menu apps.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;id&amp;quot; attribute specifies an identifier for your PND package, and should be something globally unique so that no two PND packages have the same id. This can be achieved by appending some random number to your application name, and to use that as your id; or to simply generate a completely random, very long id. If this id already is used in another PND file, those two PND files will conflict with each other, and unforseeable errors will occur. Please put effort into generating an unique id for your PXML-file.&lt;br /&gt;
The title element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The title element specifies the text that is shown to the users of your PND file as the application title. This element can be specified multiple times in multiple languages the language is indicated by the lang attribute.&lt;br /&gt;
&lt;br /&gt;
At least one &amp;quot;title&amp;quot;-element is required, in the &amp;quot;en_US&amp;quot; American English language.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;title lang=&amp;quot;en_US&amp;quot;&amp;gt;Your application name&amp;lt;/title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;title lang=&amp;quot;de_DE&amp;quot;&amp;gt;Deinen Programmnamen&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The description element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The description element specifies the text that is shown to the users of your PND file as the application description. This element can be specified multiple times in multiple languages the language is indicated by the lang attribute.&lt;br /&gt;
&lt;br /&gt;
At least one &amp;quot;description&amp;quot;-element is required, in the &amp;quot;en_US&amp;quot; American English language.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;description lang=&amp;quot;en_US&amp;quot;&amp;gt;Your long description of this application, describing it's purpose and highlighting it's features.&amp;lt;/description&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;description lang=&amp;quot;de_DE&amp;quot;&amp;gt;Deine etwas längere Programmbeschreibung, die den Sinn des Programmes und den wichtigsten Features beschreiben sollte.&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The exec element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The exec element should specify all the information needed to execute your application.&lt;br /&gt;
An exec element must be included in every PXML file. It accepts the following attributes:&lt;br /&gt;
&lt;br /&gt;
The command attribute specifies the path to the executable file. This should be a relative path to a file within the PND package.&lt;br /&gt;
&lt;br /&gt;
The startdir attribute specifies the starting directory Also known as the working directory that the application should start in. This should be a relative path to a directory within the PND package, or to a well-known directory in the Pandora file system.&lt;br /&gt;
&lt;br /&gt;
The standalone attribute specifies wether or not this application can run on its own, or if it needs parameters to run.&lt;br /&gt;
A value of &amp;quot;true&amp;quot; or &amp;quot;1&amp;quot; means that the application can be run without parameters.&lt;br /&gt;
A value of &amp;quot;false&amp;quot; or &amp;quot;0&amp;quot; means that the application must be run with parameters.&lt;br /&gt;
&lt;br /&gt;
The background attribute specifies wether or not this application should run in the background, and it should be possible to switch to other apps while it is running, or if it is the only application that should be running.&lt;br /&gt;
A value of &amp;quot;true&amp;quot; or &amp;quot;1&amp;quot; means that the application can run in the background.&lt;br /&gt;
A value of &amp;quot;false&amp;quot; or &amp;quot;0&amp;quot; means that the application must be run as the only application.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;exec background=&amp;quot;true&amp;quot; startdir=&amp;quot;/usr/share/icons/&amp;quot; standalone=&amp;quot;true&amp;quot; command=&amp;quot;./myprogram&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The icon element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The icon element should specify a nice icon for your program.&lt;br /&gt;
An icon element is optional. It accepts the following attributes:&lt;br /&gt;
&lt;br /&gt;
The src attribute specifies the path to the image file used as the icon.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;icon src=&amp;quot;./images/icon.png&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The previewpics element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The previewpics element is an element that contains multiple other elements.&lt;br /&gt;
A previewpics element is optional.&lt;br /&gt;
&lt;br /&gt;
It contains multiple pic-elements. Every pic-element represents one preview picture. If the previewpics element is specified, it must contain at least one pic element.&lt;br /&gt;
&lt;br /&gt;
The src attribute on a pic element specifies the path to the image file used as the preview picture.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;previewpics&amp;gt;&lt;br /&gt;
  &amp;lt;pic src=&amp;quot;./preview/pic1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;pic src=&amp;quot;./preview/pic2.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/previewpics&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The author element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The author element is an element that is used by the author to introduce him/herself.&lt;br /&gt;
An author element is optional. It accepts the following attributes:&lt;br /&gt;
&lt;br /&gt;
The name attribute specifies the name of the author.&lt;br /&gt;
&lt;br /&gt;
The website attribute specifies the website of the author.&lt;br /&gt;
&lt;br /&gt;
The email attribute specifies the e-mail of the author.&lt;br /&gt;
This attribute is not yet supported.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;author name=&amp;quot;Bjornhild Andersson&amp;quot; website=&amp;quot;http://some.website.with.author.info&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The version element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The version element specifies the application version.&lt;br /&gt;
A version element is required. It accepts the following attributes:&lt;br /&gt;
&lt;br /&gt;
The major attribute specifies the major version number. This number should be 0 or more.&lt;br /&gt;
&lt;br /&gt;
The minor attribute specifies the minor version number. This number should be 0 or more.&lt;br /&gt;
&lt;br /&gt;
The release attribute specifies the release number. This number should be 0 or more.&lt;br /&gt;
&lt;br /&gt;
The build attribute specifies what build the application is at. This number should be 0 or more.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;version major=&amp;quot;1&amp;quot; minor=&amp;quot;1&amp;quot; release=&amp;quot;1&amp;quot; build=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The osversion element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The osversion element specifies the application version.&lt;br /&gt;
An osversion element is optional. It accepts the same attributes as the version element.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;osversion major=&amp;quot;1&amp;quot; minor=&amp;quot;1&amp;quot; release=&amp;quot;1&amp;quot; build=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The categories element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The categories element is an element that contains multiple other elements.&lt;br /&gt;
A categories element is required, and must contain at least one category.&lt;br /&gt;
&lt;br /&gt;
It contains multiple category-elements. Every category-element represents one category that this app can be sorted into. Valid categories are (among others):&lt;br /&gt;
&lt;br /&gt;
   1. Development&lt;br /&gt;
   2. Education&lt;br /&gt;
   3. Games&lt;br /&gt;
   4. Graphics&lt;br /&gt;
   5. Internet&lt;br /&gt;
   6. Multimedia&lt;br /&gt;
   7. Office&lt;br /&gt;
   8. Settings&lt;br /&gt;
   9. System&lt;br /&gt;
  10. Utilities&lt;br /&gt;
&lt;br /&gt;
The category-element takes one attribute: The name-attribute. This attribute represents the category name, which preferrably should be one of the above.&lt;br /&gt;
&lt;br /&gt;
A category-element can contain further child-elements: subcategory-elements. These represent the subcategories of a category that the app will be sorted into.&lt;br /&gt;
&lt;br /&gt;
The subcategory-element also takes a name-attribute; this attibute can contain any name for your subcategory.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;categories&amp;gt;&lt;br /&gt;
  &amp;lt;category name=&amp;quot;Games&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;subcategory name=&amp;quot;Strategy&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;subcategory name=&amp;quot;Turn-based&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/category&amp;gt;&lt;br /&gt;
  &amp;lt;category name=&amp;quot;Graphics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;subcategory name=&amp;quot;Image Editors&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/categories&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The associations element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The associations element is an element that contains multiple other elements.&lt;br /&gt;
An associations element is optional, except if exec.standalone is false.&lt;br /&gt;
&lt;br /&gt;
It contains multiple association-elements. Every association-element represents one file action association.&lt;br /&gt;
&lt;br /&gt;
The name attribute on an association element specifies the user-friendly action name for the association.&lt;br /&gt;
&lt;br /&gt;
The filetype attribute on an association element specifies what file types (in MIME format) that this association should apply to.&lt;br /&gt;
&lt;br /&gt;
The exec attribute on an association element specifies the command-line arguments that should be given to the program, when this action is performed. The exec can contain a &amp;quot;%s&amp;quot;, which indicates where the file name of the file, that the action is performed on, should be inserted.&lt;br /&gt;
For example, if the exec-line is &amp;quot;--file %s --type lol&amp;quot;, and you have a file &amp;quot;lol.bmp&amp;quot; that the action is performed on, the exec-line is transformed into &amp;quot;--file &amp;quot;lol.bmp&amp;quot; --type lol&amp;quot;&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;associations&amp;gt;&lt;br /&gt;
  &amp;lt;association name=&amp;quot;Open Bitmap Image&amp;quot; filetype=&amp;quot;image/bmp&amp;quot; exec=&amp;quot;-f %s --no-deinterlacing&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;association name=&amp;quot;Crash the computer with a stylesheet&amp;quot; filetype=&amp;quot;text/css&amp;quot; exec=&amp;quot;-f %s --crash-on-success&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/associations&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The clockspeed element&lt;br /&gt;
Description&lt;br /&gt;
&lt;br /&gt;
The clockspeed element specifies what clockspeed this app should run at.&lt;br /&gt;
A clockspeed element is optional. It accepts the following attributes:&lt;br /&gt;
&lt;br /&gt;
The frequency attribute specifies the wanted frequency, in megahertz mHz.&lt;br /&gt;
Example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;clockspeed frequency=&amp;quot;600&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Example file&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;PXML id=&amp;quot;youruniqueID&amp;quot; xmlns=&amp;quot;http://openpandora.org/namespaces/PXML&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title lang=&amp;quot;en_US&amp;quot;&amp;gt;Program Title&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;title lang=&amp;quot;de_DE&amp;quot;&amp;gt;German Program Title&amp;lt;/title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;exec background=&amp;quot;true&amp;quot; startdir=&amp;quot;/usr/share/icons/&amp;quot; standalone=&amp;quot;true&amp;quot; command=&amp;quot;./program&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;icon src=&amp;quot;./program.png&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;description lang=&amp;quot;en_US&amp;quot;&amp;gt;This is the English Description of the file.&amp;lt;/description&amp;gt;&lt;br /&gt;
  &amp;lt;description lang=&amp;quot;de_DE&amp;quot;&amp;gt;This would be the German description.&amp;lt;/description&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;previewpics&amp;gt;&lt;br /&gt;
    &amp;lt;pic src=&amp;quot;./preview/pic1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;pic src=&amp;quot;./preview/pic2.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/previewpics&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;author name=&amp;quot;Some Dudeson&amp;quot; website=&amp;quot;http://a.bc.de&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;version major=&amp;quot;1&amp;quot; minor=&amp;quot;1&amp;quot; release=&amp;quot;1&amp;quot; build=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;osversion major=&amp;quot;1&amp;quot; minor=&amp;quot;0&amp;quot; release=&amp;quot;0&amp;quot; build=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;categories&amp;gt;&lt;br /&gt;
    &amp;lt;category name=&amp;quot;Main category&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;subcategory name=&amp;quot;Subcategory 1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;subcategory name=&amp;quot;Subcategory 2&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/category&amp;gt;&lt;br /&gt;
    &amp;lt;category name=&amp;quot;Alternative category&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;subcategory name=&amp;quot;Alternative Subcategory 1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/category&amp;gt;&lt;br /&gt;
  &amp;lt;/categories&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;associations&amp;gt;&lt;br /&gt;
    &amp;lt;association name=&amp;quot;View Word File&amp;quot; filetype=&amp;quot;application/msword&amp;quot; exec=&amp;quot;-f %s -t doc&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/associations&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;clockspeed frequency=&amp;quot;600&amp;quot;/&amp;gt;&amp;lt;!--Frequency in Hz--&amp;gt;&lt;br /&gt;
&amp;lt;/PXML&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Validation&lt;br /&gt;
&lt;br /&gt;
To validate a PXML file, you need a XSD (XML schema) validator, and you have to know how to use it.&lt;br /&gt;
&lt;br /&gt;
You will also need to put the XML schema for the PXML format in the same folder as your PXML file.&lt;br /&gt;
&lt;br /&gt;
When you have done that, and know how to use it, you need to change a few things in your PXML file. In your PXML tag, change the contents from this...&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PXML id=&amp;quot;...&amp;quot; xmlns=&amp;quot;http://openpandora.org/namespaces/PXML&amp;quot;&amp;gt; ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...to this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PXML id=&amp;quot;...&amp;quot; xmlns=&amp;quot;http://openpandora.org/namespaces/PXML&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xsi:noNamespaceSchemaLocation=&amp;quot;PXML_schema.xsd&amp;quot;&amp;gt; ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the PXML file can be validated.&lt;/div&gt;</summary>
		<author><name>Aninhumer</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=USB_reference&amp;diff=1552</id>
		<title>USB reference</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=USB_reference&amp;diff=1552"/>
		<updated>2009-10-25T20:56:41Z</updated>

		<summary type="html">&lt;p&gt;Aninhumer: /* So which devices are USB 1.1, and which ones are USB 2.0? */ Not sure webcams are 1.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Readme First!==&lt;br /&gt;
&lt;br /&gt;
If you have a question to ask, that isn't covered in this FAQ already, please ask over on the [http://www.gp32x.com/board/index.php?showforum=61 Forums].&lt;br /&gt;
&lt;br /&gt;
==USB FAQ==&lt;br /&gt;
&lt;br /&gt;
===How many USB ports does Pandora have?===&lt;br /&gt;
Pandora has two USB ports:&lt;br /&gt;
* 1x USB 2.0 host port (USB standard-A receptacle)&lt;br /&gt;
* 1x USB 1.1/2.0 OTG port (USB mini-AB receptacle)&lt;br /&gt;
&lt;br /&gt;
===What does “host port” mean?===&lt;br /&gt;
A USB host port “hosts” any device that you plug in, just like the USB ports on your computer. Pandora’s full size USB A port can host USB 2.0 devices, and provide up to 500mA (the maximum allowed according to USB standards).&lt;br /&gt;
&lt;br /&gt;
===What does “OTG” mean?===&lt;br /&gt;
OTG stands for On The Go. USB OTG ports can operate in two different modes. When connected through this port, the Pandora can act as a device, for example when connected to a computer for charging &amp;amp; data transfer. For this mode, you need a standard-A to mini-B cable. However, the Pandora can also act as a host port for USB 1.1 and USB 2.0 devices. For details on how to make the necessary cable connection, see [[USB_reference#OTG_host_mode|the OTG host mode section]]. This port can supply a maximum of 100mA in host mode. Although this port implements On The Go functionality, it can not get an official On The Go certification because the OTG specification requires a device to have exactly one USB port. (The Pandora has two.) Also, the mini-AB connector used on the Pandora has been taken out of the specification in 2007 (but is still widely adopted).&lt;br /&gt;
&lt;br /&gt;
===What’s all this stuff about USB 1.1 and USB 2.0? Isn’t USB, uh, universal?===&lt;br /&gt;
The USB 2.0 protocol is not backwards compatible with USB 1.1. Most USB ports (eg. on your computer’s motherboard, in USB hubs) actually contain two chips to allow universal compatibility – one for USB 1.1, and one for USB 2.0.&lt;br /&gt;
&lt;br /&gt;
Pandora’s USB standard-A host port does not contain this second chip. Only USB 2.0 devices bearing the “USB HIGH SPEED” logo can be plugged directly into this port. However, USB 1.1 devices can be connected to this port through a USB hub, provided the hub bears the “USB HIGH SPEED” logo.&lt;br /&gt;
&lt;br /&gt;
Pandora’s USB OTG (mini-AB) port is fully compatible with both USB 1.1 and USB 2.0, allowing it to host either type of device.&lt;br /&gt;
&lt;br /&gt;
===So which devices are USB 1.1, and which ones are USB 2.0?===&lt;br /&gt;
[[Image:USB-HighSpeed-certified-Logo.png|thumb|alt=USB High Speed Certified logo|Devices bearing this logo are certified High Speed devices. They can be plugged directly into Pandora's USB 2.0 host port.]]&lt;br /&gt;
There are no set rules. As a very general guide:&lt;br /&gt;
* Common USB 1.1 devices include keyboards, mice, headsets, older USB devices.&lt;br /&gt;
* Common USB 2.0 devices include cameras, PMPs, HDDs, hubs, card readers, thumb drives.&lt;br /&gt;
This is just a rough representation of what’s out there in the wild, and you will find exceptions. Devices like HSDPA modems and GPS units could fall into either category. The only reliable indication of true USB 2.0 compatibility is the “USB High Speed Certified” logo (right).&lt;br /&gt;
&lt;br /&gt;
===Arrgh, USB used to be simple. What can I actually connect to Pandora?===&lt;br /&gt;
Almost anything, as long as it's supported by Linux. Think of a USB device that everybody uses (mouse, keyboard, thumb drive...) and chances are it will be a simple matter of plug and play. But this might not be the case for more specialised USB devices (modems, ethernet adapters, USB displays...), many of which will only function with Windows specific drivers.&lt;br /&gt;
&lt;br /&gt;
If you intend to purchase USB accessories for use with Pandora, you should first research Linux support for that type of device. Devices already tested on Pandora will be added to the [[USB compatibility list]].&lt;br /&gt;
&lt;br /&gt;
The various USB connection scenarios are as follows:&lt;br /&gt;
&lt;br /&gt;
==Pandora as USB slave==&lt;br /&gt;
[[Image:Pandora.usb.slave.png|thumb|alt=Pandora as USB slave|Pandora as USB slave]]&lt;br /&gt;
Using a USB standard-A to mini-B cable (the kind you probably own several of), you can:&lt;br /&gt;
* Transfer data to/from Pandora&lt;br /&gt;
* Charge Pandora's battery.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
*Charging Pandora from your computer's USB port is best done with Pandora in standby mode, or switched off. The current provided by your computer will probably not be sufficient to provide an effective charge while Pandora is being used.&lt;br /&gt;
&lt;br /&gt;
==Hosting USB devices==&lt;br /&gt;
[[Image:Pandora.usb.host.png|thumb|alt=Pandora as a USB host|Pandora as a USB host]]&lt;br /&gt;
*Directly plug in a USB 2.0 device such as a thumb drive, or a Huawei E160 modem.&lt;br /&gt;
*Using a USB standard-A to USB standard-B (or mini-B, micro-B, depending on what's on the device) cable, connect USB 2.0 devices such as cameras, PMPs, and HDDS.&lt;br /&gt;
*Connect a USB hub, which will enable you to to connect USB 1.1 devices such as keyboards, mice, or a Huawei E220 modem.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
*This port can supply a maximum of 500mA. If you plan to use a USB HDD, note that very few of these can draw sufficient power from a single USB port. A powered HDD caddy or powered USB hub will be necessary in most cases.&lt;br /&gt;
&lt;br /&gt;
==OTG host mode==&lt;br /&gt;
[[Image:Pandora.usb.otg.host.png|thumb|alt=Pandora in OTG host mode|Pandora in OTG host mode]]&lt;br /&gt;
How you connect a device to the mini-AB OTG port depends on the device's USB connector.&lt;br /&gt;
*standard-B receptacle: Use a mini-A to standard-B cable.&lt;br /&gt;
*mini-B receptacle:  Use a mini-A to mini-B cable.&lt;br /&gt;
*micro-B receptacle: Use a mini-A plug to standard-A receptacle adapter and a standard-A to micro-B cable.&lt;br /&gt;
*standard-A plug: Use a mini-A plug to standard-A receptacle adapter.&lt;br /&gt;
*mini-A plug: No extra cable or adapter needed.&lt;br /&gt;
*micro-A plug: No standardized solution exists.&lt;br /&gt;
&lt;br /&gt;
This port allows you to connect a USB 1.1 device directly, without the use of a hub. This port is also USB 2.0 compliant.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
*mini-A and mini-AB connectors have been removed from the present USB standard. This means that the above connectors may vanish from the market at some point (although there will probably be demand for them for some time). There are a lot of connectors available that were never standardized. It is recommended that you do not use them as they may lead to non-working connections. Stick to the cables and adapters mentioned above and look for a mention of &amp;quot;OTG&amp;quot; or &amp;quot;On The Go&amp;quot; and you should be on the safe side.&lt;br /&gt;
*In host mode, this port can supply a maximum of 100mA. USB 1.1 devices that draw more than 100mA will need to connect to Pandora's other USB port via a hub, as depicted in the previous example. The Huawei E220 is one such device.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[USB_compatibility_list|Pandora USB compatibility list]]&lt;br /&gt;
*[http://www.usb.org/developers/docs/usb_20_122208.zip USB 2.0 Standard (including present OTG spec)]&lt;br /&gt;
*[http://www.usb.org/developers/onthego/otg1_0.pdf Original OTG Specification defining mini-A and mini-AB and allowed connections]&lt;br /&gt;
*[http://www.usb.org/developers/Deprecation_Announcement_052507.pdf mini-A and mini-AB Deprecation Announcement]&lt;br /&gt;
*[http://en.wikipedia.org/wiki/USB Wikipedia page on USB]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>Aninhumer</name></author>
		
	</entry>
</feed>