<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jdieter</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jdieter"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Jdieter"/>
	<updated>2026-04-15T05:58:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=MojoSDK_on_Fedora&amp;diff=21765</id>
		<title>MojoSDK on Fedora</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=MojoSDK_on_Fedora&amp;diff=21765"/>
		<updated>2012-05-23T11:42:58Z</updated>

		<summary type="html">&lt;p&gt;Jdieter: /* Install Novacom */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing the Mojo SDK on Fedora==&lt;br /&gt;
This guide describes how to install the Mojo SDK provided by Palm and Novacom on a Fedora system.  The procedure described is an extension of the post by mtk on the TreoCentral forums[http://discussion.treocentral.com/web-os-development/197540-mojo-sdk-novacom-packages-easy-install-hand-fedora.html].  It is current as of Fedora 15 and palm-sdk_1.4.5-svn307799-sdk1457-pho465.&lt;br /&gt;
&lt;br /&gt;
Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by &amp;quot;#&amp;quot; are to be run as root, whereas those preceded by &amp;quot;$&amp;quot; are to be run as the normal user.&lt;br /&gt;
&lt;br /&gt;
===Install VirtualBox===&lt;br /&gt;
VirtualBox is available from [http://rpmfusion.org/ RPM Fusion].  Install VirtualBox and load the kernel modules:&lt;br /&gt;
 # yum install VirtualBox-OSE&lt;br /&gt;
 # /etc/sysconfig/modules/VirtualBox-OSE.modules&lt;br /&gt;
&lt;br /&gt;
===Install the Mojo SDK===&lt;br /&gt;
Download the Ubuntu deb package of the Mojo SDK from [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#linux the Official Palm SDK Page].  deb files are simple archives that can be extracted using ar:&lt;br /&gt;
 $ ar xv palm-sdk_1.4.5-svn307799-sdk1457-pho465_i386.deb&lt;br /&gt;
&lt;br /&gt;
Extract the contents of data.tar.gz and move them to their respective locations in your filesystem:&lt;br /&gt;
 $ tar -zxvf data.tar.gz&lt;br /&gt;
 # mv opt/PalmSDK /opt/.&lt;br /&gt;
 # mv usr/local/bin/* /usr/local/bin/.&lt;br /&gt;
 # mv usr/share/doc/palm-sdk /usr/share/doc/.&lt;br /&gt;
&lt;br /&gt;
Extract the contents of control.tar.gz and run the post-install script:&lt;br /&gt;
 $ tar -zxvf control.tar.gz&lt;br /&gt;
 # ./postinst&lt;br /&gt;
&lt;br /&gt;
Optionally clean up the extracted files:&lt;br /&gt;
 $ rm -fr debian-binary data.tar.gz control.tar.gz opt/ usr/ control md5sums postinst&lt;br /&gt;
&lt;br /&gt;
===Install Novacom===&lt;br /&gt;
&lt;br /&gt;
Installing the Novacom tool is now very easy for Fedora 15+ as it's been added to the Fedora repositories.&lt;br /&gt;
&lt;br /&gt;
Install novacom from the Fedora repositories:&lt;br /&gt;
 # yum install novacom&lt;br /&gt;
&lt;br /&gt;
Start the novacomd service:&lt;br /&gt;
 # systemctl start novacomd.service&lt;br /&gt;
&lt;br /&gt;
If you want the novacom service to start on boot, run:&lt;br /&gt;
 # systemctl enable novacomd.service&lt;br /&gt;
&lt;br /&gt;
===Run the Mojo SDK===&lt;br /&gt;
The Mojo SDK should now be installed successfully.  The first launch will load it into the VirtualBox environment.  It can be launched from the command line:&lt;br /&gt;
 $ palm-emulator&lt;br /&gt;
&lt;br /&gt;
===Other Notes===&lt;br /&gt;
For development, using Eclipse and the plugins for Mojo are strongly recommended.  Installation instructions of these plugins can be found at [http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1639 the Official Palm Eclipse plugin Installation Guide]&lt;br /&gt;
&lt;br /&gt;
==Install Mojo SDK on Fedora 11 (Legacy Instructions)==&lt;br /&gt;
'''Note:''' These instructions provide an alternate method of installing the Mojo SDK on Fedora.  These are more involved and therefore might not be as easy as the previous instructions.  They are currently left here for historical reasons but may be removed in the future.&lt;br /&gt;
* Install VirtualBox RPM package available at:&lt;br /&gt;
[http://www.virtualbox.org/wiki/Linux_Downloads VirtualBox Linux Downloads]&lt;br /&gt;
&lt;br /&gt;
''NOTE: If you're running Fedora 64 bit, get the AMD64 version. ( Even if you have an Intel Processor ).&lt;br /&gt;
&lt;br /&gt;
* Install the RPM:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;rpm -ivh VirtualBox-&amp;lt;version&amp;gt;_fedora11-1.&amp;lt;platform&amp;gt;.rpm&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download the Ubuntu deb package of the Mojo SDK from:&lt;br /&gt;
[http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1585 the Official PalmSDK Linux Page]&lt;br /&gt;
&lt;br /&gt;
* Download 'alien' package conversion tool:&lt;br /&gt;
[http://packages.debian.org/unstable/source/alien Debian Alien utility]&lt;br /&gt;
&lt;br /&gt;
''You will need RPM building packages installed for the following method:&lt;br /&gt;
* Build an RPM of alien and install it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;rpmbuild -tb alien_&amp;lt;version&amp;gt;.tar.gz&lt;br /&gt;
rpm -ivh ~/rpmbuild/RPMS/noarch/alien-&amp;lt;version&amp;gt;.rpm&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''If rpmbuild gives an error similar to:&lt;br /&gt;
error: File /download/pre/alien_8.77.tar.gz: No such file or directory&lt;br /&gt;
&lt;br /&gt;
You'll need to extract the archive manually and edit the alien.spec file.  Inside that file, find all instances of the old version number ( in my case 8.77 ) and replace it with the version number of the file you downloaded. ( in my case, 8.78 ).  Once this is done, regenerate the tar.gz file with the following syntax:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;tar -czf alien_8.78.tar.gz alien&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Once this completes, then build and install the RPM as above.&lt;br /&gt;
&lt;br /&gt;
* Use Alien to change the .deb file into a .tgz archive (the RPM feature of alien didn't work for me):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;alien -tc palm_mojo_sdk-Ubuntu-&amp;lt;version&amp;gt;.deb&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alien should report that the .tgz version is generated.&lt;br /&gt;
&lt;br /&gt;
* Extract the .tgz version:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;mkdir tmp&lt;br /&gt;
cd tmp&lt;br /&gt;
tar -xzf ../palm-sdk-&amp;lt;version&amp;gt;.tgz&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy the extracted files into place:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp -a opt/* /opt&lt;br /&gt;
cp -a usr/* /usr&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Run the installation script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;install/doinst.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The script above should add a few entries into your /etc/hosts file.&lt;br /&gt;
&lt;br /&gt;
* Download the Novacom linux drivers linked on this page:&lt;br /&gt;
[http://www.webos-internals.org/wiki/Installing_novaterm_on_ubuntu_64-bit Palm Novacom Linux Driver Wiki Page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* This too will be a .deb.  You will convert and install it the same way you did the SDK:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;alien -tc palm-novacom_&amp;lt;version&amp;gt;_i386.deb&lt;br /&gt;
mkdir novacom&lt;br /&gt;
cd novacom&lt;br /&gt;
tar -xzf ../palm-novacom-&amp;lt;version&amp;gt;.tgz&lt;br /&gt;
cd novacom&lt;br /&gt;
cp -a opt/* /opt&lt;br /&gt;
cp -a usr/* /usr&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''NOTE: If you are using Fedora 64bit, You'll need to install the 32bit version of libusb for the novacom driver to work.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;yum install libusb.i586&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy the novacomd-upstart script into place:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp /opt/Palm/novacom/novacomd-upstart /etc/event.d/palm-novacomd&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Start the novacomd driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;start palm-novacomd&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* As your normal user account, launch the emulator.  The first launch will install it into VirtualBox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;/opt/PalmSDK/Current/bin/palm-emulator&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''For development, you should strongly consider using Eclipse and the plugins for Mojo.  Installation instructions of these plugins can be found at:&lt;br /&gt;
[http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1639 Official Palm Eclipse plugin Installation Guide]&lt;/div&gt;</summary>
		<author><name>Jdieter</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=MojoSDK_on_Fedora&amp;diff=21763</id>
		<title>MojoSDK on Fedora</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=MojoSDK_on_Fedora&amp;diff=21763"/>
		<updated>2012-05-23T11:42:38Z</updated>

		<summary type="html">&lt;p&gt;Jdieter: novacom is out of testing and in the regular repositories now&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing the Mojo SDK on Fedora==&lt;br /&gt;
This guide describes how to install the Mojo SDK provided by Palm and Novacom on a Fedora system.  The procedure described is an extension of the post by mtk on the TreoCentral forums[http://discussion.treocentral.com/web-os-development/197540-mojo-sdk-novacom-packages-easy-install-hand-fedora.html].  It is current as of Fedora 15 and palm-sdk_1.4.5-svn307799-sdk1457-pho465.&lt;br /&gt;
&lt;br /&gt;
Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by &amp;quot;#&amp;quot; are to be run as root, whereas those preceded by &amp;quot;$&amp;quot; are to be run as the normal user.&lt;br /&gt;
&lt;br /&gt;
===Install VirtualBox===&lt;br /&gt;
VirtualBox is available from [http://rpmfusion.org/ RPM Fusion].  Install VirtualBox and load the kernel modules:&lt;br /&gt;
 # yum install VirtualBox-OSE&lt;br /&gt;
 # /etc/sysconfig/modules/VirtualBox-OSE.modules&lt;br /&gt;
&lt;br /&gt;
===Install the Mojo SDK===&lt;br /&gt;
Download the Ubuntu deb package of the Mojo SDK from [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#linux the Official Palm SDK Page].  deb files are simple archives that can be extracted using ar:&lt;br /&gt;
 $ ar xv palm-sdk_1.4.5-svn307799-sdk1457-pho465_i386.deb&lt;br /&gt;
&lt;br /&gt;
Extract the contents of data.tar.gz and move them to their respective locations in your filesystem:&lt;br /&gt;
 $ tar -zxvf data.tar.gz&lt;br /&gt;
 # mv opt/PalmSDK /opt/.&lt;br /&gt;
 # mv usr/local/bin/* /usr/local/bin/.&lt;br /&gt;
 # mv usr/share/doc/palm-sdk /usr/share/doc/.&lt;br /&gt;
&lt;br /&gt;
Extract the contents of control.tar.gz and run the post-install script:&lt;br /&gt;
 $ tar -zxvf control.tar.gz&lt;br /&gt;
 # ./postinst&lt;br /&gt;
&lt;br /&gt;
Optionally clean up the extracted files:&lt;br /&gt;
 $ rm -fr debian-binary data.tar.gz control.tar.gz opt/ usr/ control md5sums postinst&lt;br /&gt;
&lt;br /&gt;
===Install Novacom===&lt;br /&gt;
&lt;br /&gt;
Installing the Novacom tool is now very easy for Fedora 15+ as it's been added to the Fedora repositories.&lt;br /&gt;
&lt;br /&gt;
Install novacom from the Fedora repositories (currently only available in the testing repositories):&lt;br /&gt;
 # yum install novacom&lt;br /&gt;
&lt;br /&gt;
Start the novacomd service:&lt;br /&gt;
 # systemctl start novacomd.service&lt;br /&gt;
&lt;br /&gt;
If you want the novacom service to start on boot, run:&lt;br /&gt;
 # systemctl enable novacomd.service&lt;br /&gt;
&lt;br /&gt;
===Run the Mojo SDK===&lt;br /&gt;
The Mojo SDK should now be installed successfully.  The first launch will load it into the VirtualBox environment.  It can be launched from the command line:&lt;br /&gt;
 $ palm-emulator&lt;br /&gt;
&lt;br /&gt;
===Other Notes===&lt;br /&gt;
For development, using Eclipse and the plugins for Mojo are strongly recommended.  Installation instructions of these plugins can be found at [http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1639 the Official Palm Eclipse plugin Installation Guide]&lt;br /&gt;
&lt;br /&gt;
==Install Mojo SDK on Fedora 11 (Legacy Instructions)==&lt;br /&gt;
'''Note:''' These instructions provide an alternate method of installing the Mojo SDK on Fedora.  These are more involved and therefore might not be as easy as the previous instructions.  They are currently left here for historical reasons but may be removed in the future.&lt;br /&gt;
* Install VirtualBox RPM package available at:&lt;br /&gt;
[http://www.virtualbox.org/wiki/Linux_Downloads VirtualBox Linux Downloads]&lt;br /&gt;
&lt;br /&gt;
''NOTE: If you're running Fedora 64 bit, get the AMD64 version. ( Even if you have an Intel Processor ).&lt;br /&gt;
&lt;br /&gt;
* Install the RPM:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;rpm -ivh VirtualBox-&amp;lt;version&amp;gt;_fedora11-1.&amp;lt;platform&amp;gt;.rpm&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download the Ubuntu deb package of the Mojo SDK from:&lt;br /&gt;
[http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1585 the Official PalmSDK Linux Page]&lt;br /&gt;
&lt;br /&gt;
* Download 'alien' package conversion tool:&lt;br /&gt;
[http://packages.debian.org/unstable/source/alien Debian Alien utility]&lt;br /&gt;
&lt;br /&gt;
''You will need RPM building packages installed for the following method:&lt;br /&gt;
* Build an RPM of alien and install it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;rpmbuild -tb alien_&amp;lt;version&amp;gt;.tar.gz&lt;br /&gt;
rpm -ivh ~/rpmbuild/RPMS/noarch/alien-&amp;lt;version&amp;gt;.rpm&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''If rpmbuild gives an error similar to:&lt;br /&gt;
error: File /download/pre/alien_8.77.tar.gz: No such file or directory&lt;br /&gt;
&lt;br /&gt;
You'll need to extract the archive manually and edit the alien.spec file.  Inside that file, find all instances of the old version number ( in my case 8.77 ) and replace it with the version number of the file you downloaded. ( in my case, 8.78 ).  Once this is done, regenerate the tar.gz file with the following syntax:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;tar -czf alien_8.78.tar.gz alien&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Once this completes, then build and install the RPM as above.&lt;br /&gt;
&lt;br /&gt;
* Use Alien to change the .deb file into a .tgz archive (the RPM feature of alien didn't work for me):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;alien -tc palm_mojo_sdk-Ubuntu-&amp;lt;version&amp;gt;.deb&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alien should report that the .tgz version is generated.&lt;br /&gt;
&lt;br /&gt;
* Extract the .tgz version:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;mkdir tmp&lt;br /&gt;
cd tmp&lt;br /&gt;
tar -xzf ../palm-sdk-&amp;lt;version&amp;gt;.tgz&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy the extracted files into place:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp -a opt/* /opt&lt;br /&gt;
cp -a usr/* /usr&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Run the installation script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;install/doinst.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The script above should add a few entries into your /etc/hosts file.&lt;br /&gt;
&lt;br /&gt;
* Download the Novacom linux drivers linked on this page:&lt;br /&gt;
[http://www.webos-internals.org/wiki/Installing_novaterm_on_ubuntu_64-bit Palm Novacom Linux Driver Wiki Page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* This too will be a .deb.  You will convert and install it the same way you did the SDK:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;alien -tc palm-novacom_&amp;lt;version&amp;gt;_i386.deb&lt;br /&gt;
mkdir novacom&lt;br /&gt;
cd novacom&lt;br /&gt;
tar -xzf ../palm-novacom-&amp;lt;version&amp;gt;.tgz&lt;br /&gt;
cd novacom&lt;br /&gt;
cp -a opt/* /opt&lt;br /&gt;
cp -a usr/* /usr&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''NOTE: If you are using Fedora 64bit, You'll need to install the 32bit version of libusb for the novacom driver to work.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;yum install libusb.i586&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy the novacomd-upstart script into place:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp /opt/Palm/novacom/novacomd-upstart /etc/event.d/palm-novacomd&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Start the novacomd driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;start palm-novacomd&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* As your normal user account, launch the emulator.  The first launch will install it into VirtualBox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;/opt/PalmSDK/Current/bin/palm-emulator&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''For development, you should strongly consider using Eclipse and the plugins for Mojo.  Installation instructions of these plugins can be found at:&lt;br /&gt;
[http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1639 Official Palm Eclipse plugin Installation Guide]&lt;/div&gt;</summary>
		<author><name>Jdieter</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Novacom_on_Fedora&amp;diff=21761</id>
		<title>Novacom on Fedora</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Novacom_on_Fedora&amp;diff=21761"/>
		<updated>2012-05-23T11:42:07Z</updated>

		<summary type="html">&lt;p&gt;Jdieter: novacom is out of testing and in the regular repositories now&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing the Novacom Driver on Fedora==&lt;br /&gt;
This guide describes how to install Novacom on a Fedora system.  The procedure described is an extension of the post [[MojoSDK_on_Fedora]].  It is valid for Fedora 15+.&lt;br /&gt;
&lt;br /&gt;
Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by &amp;quot;#&amp;quot; are to be run as root, whereas those preceded by &amp;quot;$&amp;quot; are to be run as the normal user.&lt;br /&gt;
&lt;br /&gt;
Install novacom from the Fedora repositories:&lt;br /&gt;
 # yum install novacom&lt;br /&gt;
&lt;br /&gt;
Start the novacomd service:&lt;br /&gt;
 # systemctl start novacomd.service&lt;br /&gt;
&lt;br /&gt;
If you want the novacom service to start on boot, run:&lt;br /&gt;
 # systemctl enable novacomd.service&lt;/div&gt;</summary>
		<author><name>Jdieter</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=MojoSDK_on_Fedora&amp;diff=21757</id>
		<title>MojoSDK on Fedora</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=MojoSDK_on_Fedora&amp;diff=21757"/>
		<updated>2012-05-09T19:02:24Z</updated>

		<summary type="html">&lt;p&gt;Jdieter: Update with instructions for installing Novacom from repositories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing the Mojo SDK on Fedora==&lt;br /&gt;
This guide describes how to install the Mojo SDK provided by Palm and Novacom on a Fedora system.  The procedure described is an extension of the post by mtk on the TreoCentral forums[http://discussion.treocentral.com/web-os-development/197540-mojo-sdk-novacom-packages-easy-install-hand-fedora.html].  It is current as of Fedora 15 and palm-sdk_1.4.5-svn307799-sdk1457-pho465.&lt;br /&gt;
&lt;br /&gt;
Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by &amp;quot;#&amp;quot; are to be run as root, whereas those preceded by &amp;quot;$&amp;quot; are to be run as the normal user.&lt;br /&gt;
&lt;br /&gt;
===Install VirtualBox===&lt;br /&gt;
VirtualBox is available from [http://rpmfusion.org/ RPM Fusion].  Install VirtualBox and load the kernel modules:&lt;br /&gt;
 # yum install VirtualBox-OSE&lt;br /&gt;
 # /etc/sysconfig/modules/VirtualBox-OSE.modules&lt;br /&gt;
&lt;br /&gt;
===Install the Mojo SDK===&lt;br /&gt;
Download the Ubuntu deb package of the Mojo SDK from [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#linux the Official Palm SDK Page].  deb files are simple archives that can be extracted using ar:&lt;br /&gt;
 $ ar xv palm-sdk_1.4.5-svn307799-sdk1457-pho465_i386.deb&lt;br /&gt;
&lt;br /&gt;
Extract the contents of data.tar.gz and move them to their respective locations in your filesystem:&lt;br /&gt;
 $ tar -zxvf data.tar.gz&lt;br /&gt;
 # mv opt/PalmSDK /opt/.&lt;br /&gt;
 # mv usr/local/bin/* /usr/local/bin/.&lt;br /&gt;
 # mv usr/share/doc/palm-sdk /usr/share/doc/.&lt;br /&gt;
&lt;br /&gt;
Extract the contents of control.tar.gz and run the post-install script:&lt;br /&gt;
 $ tar -zxvf control.tar.gz&lt;br /&gt;
 # ./postinst&lt;br /&gt;
&lt;br /&gt;
Optionally clean up the extracted files:&lt;br /&gt;
 $ rm -fr debian-binary data.tar.gz control.tar.gz opt/ usr/ control md5sums postinst&lt;br /&gt;
&lt;br /&gt;
===Install Novacom===&lt;br /&gt;
&lt;br /&gt;
Installing the Novacom tool is now very easy for Fedora 15+ as it's been added to the Fedora repositories.&lt;br /&gt;
&lt;br /&gt;
Install novacom from the Fedora repositories (currently only available in the testing repositories):&lt;br /&gt;
 # yum --enablerepo=updates-testing install novacom&lt;br /&gt;
&lt;br /&gt;
Start the novacomd service:&lt;br /&gt;
 # systemctl start novacomd.service&lt;br /&gt;
&lt;br /&gt;
If you want the novacom service to start on boot, run:&lt;br /&gt;
 # systemctl enable novacomd.service&lt;br /&gt;
&lt;br /&gt;
===Run the Mojo SDK===&lt;br /&gt;
The Mojo SDK should now be installed successfully.  The first launch will load it into the VirtualBox environment.  It can be launched from the command line:&lt;br /&gt;
 $ palm-emulator&lt;br /&gt;
&lt;br /&gt;
===Other Notes===&lt;br /&gt;
For development, using Eclipse and the plugins for Mojo are strongly recommended.  Installation instructions of these plugins can be found at [http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1639 the Official Palm Eclipse plugin Installation Guide]&lt;br /&gt;
&lt;br /&gt;
==Install Mojo SDK on Fedora 11 (Legacy Instructions)==&lt;br /&gt;
'''Note:''' These instructions provide an alternate method of installing the Mojo SDK on Fedora.  These are more involved and therefore might not be as easy as the previous instructions.  They are currently left here for historical reasons but may be removed in the future.&lt;br /&gt;
* Install VirtualBox RPM package available at:&lt;br /&gt;
[http://www.virtualbox.org/wiki/Linux_Downloads VirtualBox Linux Downloads]&lt;br /&gt;
&lt;br /&gt;
''NOTE: If you're running Fedora 64 bit, get the AMD64 version. ( Even if you have an Intel Processor ).&lt;br /&gt;
&lt;br /&gt;
* Install the RPM:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;rpm -ivh VirtualBox-&amp;lt;version&amp;gt;_fedora11-1.&amp;lt;platform&amp;gt;.rpm&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download the Ubuntu deb package of the Mojo SDK from:&lt;br /&gt;
[http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1585 the Official PalmSDK Linux Page]&lt;br /&gt;
&lt;br /&gt;
* Download 'alien' package conversion tool:&lt;br /&gt;
[http://packages.debian.org/unstable/source/alien Debian Alien utility]&lt;br /&gt;
&lt;br /&gt;
''You will need RPM building packages installed for the following method:&lt;br /&gt;
* Build an RPM of alien and install it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;rpmbuild -tb alien_&amp;lt;version&amp;gt;.tar.gz&lt;br /&gt;
rpm -ivh ~/rpmbuild/RPMS/noarch/alien-&amp;lt;version&amp;gt;.rpm&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''If rpmbuild gives an error similar to:&lt;br /&gt;
error: File /download/pre/alien_8.77.tar.gz: No such file or directory&lt;br /&gt;
&lt;br /&gt;
You'll need to extract the archive manually and edit the alien.spec file.  Inside that file, find all instances of the old version number ( in my case 8.77 ) and replace it with the version number of the file you downloaded. ( in my case, 8.78 ).  Once this is done, regenerate the tar.gz file with the following syntax:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;tar -czf alien_8.78.tar.gz alien&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Once this completes, then build and install the RPM as above.&lt;br /&gt;
&lt;br /&gt;
* Use Alien to change the .deb file into a .tgz archive (the RPM feature of alien didn't work for me):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;alien -tc palm_mojo_sdk-Ubuntu-&amp;lt;version&amp;gt;.deb&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alien should report that the .tgz version is generated.&lt;br /&gt;
&lt;br /&gt;
* Extract the .tgz version:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;mkdir tmp&lt;br /&gt;
cd tmp&lt;br /&gt;
tar -xzf ../palm-sdk-&amp;lt;version&amp;gt;.tgz&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy the extracted files into place:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp -a opt/* /opt&lt;br /&gt;
cp -a usr/* /usr&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Run the installation script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;install/doinst.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The script above should add a few entries into your /etc/hosts file.&lt;br /&gt;
&lt;br /&gt;
* Download the Novacom linux drivers linked on this page:&lt;br /&gt;
[http://www.webos-internals.org/wiki/Installing_novaterm_on_ubuntu_64-bit Palm Novacom Linux Driver Wiki Page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* This too will be a .deb.  You will convert and install it the same way you did the SDK:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;alien -tc palm-novacom_&amp;lt;version&amp;gt;_i386.deb&lt;br /&gt;
mkdir novacom&lt;br /&gt;
cd novacom&lt;br /&gt;
tar -xzf ../palm-novacom-&amp;lt;version&amp;gt;.tgz&lt;br /&gt;
cd novacom&lt;br /&gt;
cp -a opt/* /opt&lt;br /&gt;
cp -a usr/* /usr&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''NOTE: If you are using Fedora 64bit, You'll need to install the 32bit version of libusb for the novacom driver to work.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;yum install libusb.i586&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy the novacomd-upstart script into place:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cp /opt/Palm/novacom/novacomd-upstart /etc/event.d/palm-novacomd&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Start the novacomd driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;start palm-novacomd&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* As your normal user account, launch the emulator.  The first launch will install it into VirtualBox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;/opt/PalmSDK/Current/bin/palm-emulator&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''For development, you should strongly consider using Eclipse and the plugins for Mojo.  Installation instructions of these plugins can be found at:&lt;br /&gt;
[http://developer.palm.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1639 Official Palm Eclipse plugin Installation Guide]&lt;/div&gt;</summary>
		<author><name>Jdieter</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Novacom_on_Fedora_15&amp;diff=21755</id>
		<title>Novacom on Fedora 15</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Novacom_on_Fedora_15&amp;diff=21755"/>
		<updated>2012-05-09T18:55:49Z</updated>

		<summary type="html">&lt;p&gt;Jdieter: Point to new Novacom_on_Fedora page and mark old instructions as legacy&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing the Novacom Driver on Fedora 15==&lt;br /&gt;
This page has been superseded by [[Novacom_on_Fedora]] as the open source driver is now part of the Fedora distribution.&lt;br /&gt;
&lt;br /&gt;
===Legacy instructions (Only use these if you have a very good reason not to install from the repositories)===&lt;br /&gt;
This guide describes how to install the Novacom Debian files provided by Palm on a Fedora 15 system.  The procedure described is an extension of the post [[MojoSDK_on_Fedora]].  It is current as of Fedora 15 and palm-novacom_1.0.80_i386.deb&lt;br /&gt;
&lt;br /&gt;
Fedora 15 introduced a totally new way to install and maintain system services called Systemd which impacts they way to install and control the Novacom driver.&lt;br /&gt;
See [http://fedoraproject.org/wiki/Features/systemd Systemd in Fedora] and [http://0pointer.de/public/systemd-man/ Man files for Systemd]&lt;br /&gt;
&lt;br /&gt;
Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by &amp;quot;#&amp;quot; are to be run as root, whereas those preceded by &amp;quot;$&amp;quot; are to be run as the normal user.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Start by downloading the Ubuntu deb package of from [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#linux the Official Palm SDK Page].&lt;br /&gt;
&lt;br /&gt;
Extract the archive:&lt;br /&gt;
 $ ar xv palm-novacom_1.0.80_i386.deb &lt;br /&gt;
&lt;br /&gt;
Extract the contents data.tar.gz and move them to their respective locations in your filesystem:&lt;br /&gt;
 $ tar -zxvf data.tar.gz&lt;br /&gt;
 # mv opt/Palm /opt/.&lt;br /&gt;
 # mv usr/local/bin/* /usr/local/bin/.&lt;br /&gt;
 # mv usr/share/doc/palm-novacom /usr/share/doc/.&lt;br /&gt;
&lt;br /&gt;
Extract the contents of control.tar.gz. DO NOT run the post-install script:&lt;br /&gt;
 $ tar -zxvf control.tar.gz&lt;br /&gt;
&lt;br /&gt;
There are several reasons not to run the post-install script but the main one is that probably it will not apply to your system. The postinst script&lt;br /&gt;
# First, it kills novacomd in /etc/event.d. Most likely you do not have it on Fedora 15&lt;br /&gt;
# Second, it removes novacomd from /usr/local/bin/novacomd . Most likely, you do not have it there.&lt;br /&gt;
# Third, it copies the palm-novacomd.conf file to the /etc/init directory, but only if upstart is installed. Most likely upstarts is no longer available at your system.&lt;br /&gt;
# Fourth it checks if it is an Ubuntu system (your's is not) therefore it does not do anything (it was supposed to modify the log rotation and syslog usage files.&lt;br /&gt;
# Finally it restarts novacomd which will not happen.&lt;br /&gt;
&lt;br /&gt;
Therefore this step should not be taken. On the other hand if you happened to install the novacom driver on Fedora 14 or earlier, probably you should review the places examined by the postinst script and erase any trace of the old driver.&lt;br /&gt;
&lt;br /&gt;
Optionally clean up the extracted files:&lt;br /&gt;
 $ rm -fr debian-binary data.tar.gz control.tar.gz opt/ usr/ control md5sums postinst prerm postrmstrm&lt;br /&gt;
&lt;br /&gt;
Download libusb-0.1.so.4 file from the Fedora 14 package. Up to version 1.0.80 you will have to do this.&lt;br /&gt;
Download the rpm from here:[http://rpmfind.net/linux/rpm2html/search.php?query=libusb-0.1.so.4].  If using the 64-bit version of novacom, be sure to obtain the 64-bit version of the Fedora 14 rpm.  libusb-0.1.12-23.fc14.i686.rpm has been used successfuly on a 32-bit system. &lt;br /&gt;
&lt;br /&gt;
Extract the rpm (replace libusb-0.1.12-23.fc14.i686.rpm by the name of the rpm you downloaded):&lt;br /&gt;
 $ rpm2cpio libusb-0.1.12-23.fc14.i686.rpm | cpio -idmv &lt;br /&gt;
&lt;br /&gt;
Copy libusb-0.1.so.4.4.4 to the /opt/Palm/novacom directory&lt;br /&gt;
 # cp usr/lib/libusb-0.1.so.4.4.4 /opt/Palm/novacom&lt;br /&gt;
&lt;br /&gt;
Create a simlink to libusb-0.1.so.4:&lt;br /&gt;
 # ln -s /opt/Palm/novacom/libusb-0.1.so.4.4.4 /opt/Palm/novacom/libusb-0.1.so.4&lt;br /&gt;
&lt;br /&gt;
If you made it through here, you should be able to start the novacom driver manually directly.&lt;br /&gt;
&lt;br /&gt;
 # cd /opt/Palm/novacom&lt;br /&gt;
 # ./novacomd -d&lt;br /&gt;
&lt;br /&gt;
To verify it is working, open a new root terminal window and put a tail on the /var/log/message file&lt;br /&gt;
 # tail -f /var/log/messages&lt;br /&gt;
&lt;br /&gt;
You should see a repeating line of messages like:&lt;br /&gt;
   Oct 30 23:17:39 yourhostname novacomd(novacomd-119): novacom_usb_tx_thread:370: usbll(00010012) wrote tx packet len=61&lt;br /&gt;
   Oct 30 23:17:40 yourhostname novacomd(novacomd-119): novacom_usb_tx_thread:370: usbll(00010012) wrote tx packet len=61&lt;br /&gt;
&lt;br /&gt;
where yourhostname is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Kill the driver&lt;br /&gt;
 # ps ax |grep novacomd&lt;br /&gt;
 # kill jobnumber&lt;br /&gt;
&lt;br /&gt;
where jobnumber is the job number for the novacom driver.&lt;br /&gt;
&lt;br /&gt;
To automate under systemd launching and killing the driver, first we need to create new file called &amp;quot;novacomd.service&amp;quot;&lt;br /&gt;
with the following content:&lt;br /&gt;
 # novacomd - Driver to talk to WebOS Devices&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=Driver to talk to WebOS Devices&lt;br /&gt;
 #After=syslog.target&lt;br /&gt;
 [Service]&lt;br /&gt;
 WorkingDirectory=/opt/Palm/novacom&lt;br /&gt;
 ExecStart=/opt/Palm/novacom/novacomd -d &amp;gt;&amp;gt;/var/log/novacomd.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
 Type=forking&lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=graphical.target&lt;br /&gt;
 &lt;br /&gt;
After you save it, copy it on the /etc/systemd/system directory:&lt;br /&gt;
 # cp novacomd.service /etc/systemd/system&lt;br /&gt;
&lt;br /&gt;
Then, let's notify Systemd that there is a new daemon service available:&lt;br /&gt;
 # systemctl daemon-reload&lt;br /&gt;
&lt;br /&gt;
Start the driver with the command:&lt;br /&gt;
 # systemctl start novacomd.service&lt;br /&gt;
&lt;br /&gt;
Stop the driver with the command:&lt;br /&gt;
 # systemctl stop novacomd.service&lt;br /&gt;
&lt;br /&gt;
The driver has the oddity that despite all the redirection to /var/log/novacomd.log it ignores it and keeps writing to /var/log/messages. If you leave everything as is, the driver will start on boot and fill up /var/log/messages. Therefore it is better, for the moment, to disable it.&lt;br /&gt;
 # systemctl disable novacomd.service&lt;br /&gt;
&lt;br /&gt;
Start and Stop continue working as before, but the service will not start on boot. If anyone wants to research this behavior, pls do and add what is needed to make it work fine.&lt;br /&gt;
Another avenue of research would be to make the driver start/stop when a webos device is inserted/removed from the computer. Systemd is supposed to be able to do that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting ====&lt;br /&gt;
&lt;br /&gt;
If you see in your log file (/var/log/novacomd) or on your screen when you run novacomd from command lines like below:&lt;br /&gt;
&lt;br /&gt;
 [2011/8/4 20:10:48] novacom_usb_findandattach_thread:565: usb_handle 0x00000000, bus=002 dev=005&lt;br /&gt;
 [2011/8/4 20:10:48] novacom_usb_rx_thread:413 -- usbll(00000000) error: reading packet, result(-1), errno 9&lt;br /&gt;
 [2011/8/4 20:10:48] novacom_usb_rx_thread:434 -- usbll(00000000) reading packet, reads(2), duration(100ms), result(-1), last_errno 9&lt;br /&gt;
&lt;br /&gt;
you are most likely using incompatible libusb version - please read the note above about libusb and try using libusb-0.1.so.4&lt;br /&gt;
from Fedora 14.&lt;/div&gt;</summary>
		<author><name>Jdieter</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Novacom_on_Fedora&amp;diff=21753</id>
		<title>Novacom on Fedora</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Novacom_on_Fedora&amp;diff=21753"/>
		<updated>2012-05-09T18:51:29Z</updated>

		<summary type="html">&lt;p&gt;Jdieter: Installing novacom on Fedora using Fedora repositories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing the Novacom Driver on Fedora==&lt;br /&gt;
This guide describes how to install Novacom on a Fedora system.  The procedure described is an extension of the post [[MojoSDK_on_Fedora]].  It is valid for Fedora 15+.&lt;br /&gt;
&lt;br /&gt;
Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by &amp;quot;#&amp;quot; are to be run as root, whereas those preceded by &amp;quot;$&amp;quot; are to be run as the normal user.&lt;br /&gt;
&lt;br /&gt;
Install novacom from the Fedora repositories (currently only available in the testing repositories):&lt;br /&gt;
 # yum --enablerepo=updates-testing install novacom&lt;br /&gt;
&lt;br /&gt;
Start the novacomd service:&lt;br /&gt;
 # systemctl start novacomd.service&lt;br /&gt;
&lt;br /&gt;
If you want the novacom service to start on boot, run:&lt;br /&gt;
 # systemctl enable novacomd.service&lt;/div&gt;</summary>
		<author><name>Jdieter</name></author>
	</entry>
</feed>