<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>shapeshifter.se &#187; hso</title>
	<atom:link href="http://www.shapeshifter.se/tag/hso/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shapeshifter.se</link>
	<description>Mostly miscellaneous technical mumbo-jumbo.</description>
	<lastBuildDate>Mon, 11 Jul 2011 14:19:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>uhso(4): Option HSDPA driver for FreeBSD 8</title>
		<link>http://www.shapeshifter.se/2009/07/20/uhso4-option-hsdpa-driver-for-freebsd-8/</link>
		<comments>http://www.shapeshifter.se/2009/07/20/uhso4-option-hsdpa-driver-for-freebsd-8/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 14:52:54 +0000</pubDate>
		<dc:creator>fli</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[hso]]></category>

		<guid isPermaLink="false">http://www.shapeshifter.se/?p=633</guid>
		<description><![CDATA[
A bit late, but here is the first beta of the Option HSDPA driver for FreeBSD 8. It&#8217;s more or less completely rewritten and there are some visible changes to the interface.
Because ucom(4) has matured it can now be utilized instead of mucking around directly with the TTY layer. This results in that the device [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WSA: rules for context 'adsense-post-top' did not apply --></p>
<p>A bit late, but here is the first <strong>beta</strong> of the Option HSDPA driver for FreeBSD 8. It&#8217;s more or less completely rewritten and there are some visible changes to the interface.</p>
<p>Because ucom(4) has matured it can now be utilized instead of mucking around directly with the TTY layer. This results in that the device names in /dev has changed and are now longer called /dev/HSO*, instead they follow the standard ucom names of cuaU*.</p>
<p>The new USB stack attach USB devices per USB interface instead of per USB device, so it&#8217;s possible to get both a cuaU0 and cuaU1 device (instead of just cuaU0.0 and cuaU0.1). The number of found serial ports can be read through sysctl.</p>
<p>The packet interface is now exposed as a raw interface instead of emulating an Ethernet device (I seriously wonder why I did that&#8230;).</p>
<p>The driver switches automatically from install-cd mode to modem mode, there is no longer any need for manual switching through devd. Please remove the option-icon.conf file from your /usr/local/etc/devd directory.<br />
This can be disabled by setting hw.usb.uhso.auto_switch to 0</p>
<p>And last, I&#8217;ve renamed the driver to uhso to reflect its USB nature.</p>
<p>Download: <a href="/pub/hso/uhso-20091122.tar.gz">uhso-20091122.tar.gz</a> &#8211; Add support for iCON 505, fix probing of devices with dynamic number of interfaces, add new custom attach messages based on the port type.</p>
<p>Download: <a href="/pub/hso/uhsoctl-beta-20090820.tar.gz">uhsoctl-beta-20090820.tar.gz</a> &#8211; uhsoctl connection utility, similar to old hsoctl</p>
<p><span style="text-decoration: line-through;">Download: <a href="/pub/hso/uhso-beta-20090812.tar.gz">uhso-beta-20090812.tar.gz</a></span> &#8211; Minor bug fix and reworked sysctl nodes.</p>
<p><span style="text-decoration: line-through;">Download: <a href="/pub/hso/uhso-beta-20090723.tar.gz">uhso-beta-20090723.tar.gz</a></span> &#8211; No longer PTP interface (completely useless), fixed (hopefully) CDC notification on modem port, added several new device IDs. Thanks to Iain Hibbert for this!</p>
<p><span style="text-decoration: line-through;">Download: <a href="/pub/hso/uhso-beta-20090722.tar.gz">uhso-beta-20090722.tar.gz</a></span> &#8211; Bug fixes that should improve RX speed.</p>
<p><span style="text-decoration: line-through;">Download: <a href="/pub/hso/uhso-beta-20090720.tar.gz">uhso-beta-20090720.tar.gz</a></span></p>
<p><strong>If you own an Option device, please leave a comment (or send a mail) with its full name and USB device ID.</strong></p>
<p><strong>I&#8217;m particularly interested in the following devices iCON 031, iCON 210, iCON 315, iCON 322, iCON 401, iCON 431, iCON 451, iCON 452, iCON 505.</strong></p>
<p><strong>If you&#8217;re running FreeBSD 8 and own an Option device, please mail me the output of<br />
</strong></p>
<blockquote>
<pre>usbconfig -u X -a Y dump_device_desc
usbconfig -u X -a Y dump_all_config_desc</pre>
</blockquote>
<p>where X and Y (5 and 2 below) can be obtained through usbconfig</p>
<blockquote>
<pre># usbconfig
...
ugen5.2: &lt;Globetrotter HSDPA Modem Option N.V.&gt; at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON</pre>
</blockquote>
<p><strong>This driver has been tested with a Globesurfer iCON 7.2, iCON 255, iCON 505<br />
</strong></p>
<p><strong>Quick setup for manual connection</strong><br />
<em>uhsoctl works as before!</em></p>
<p>Look up the serial ports</p>
<blockquote>
<pre># sysctl dev.uhso
dev.uhso.0.netif: uhso0
dev.uhso.0.type: Network/Serial
dev.uhso.0.ports: 2
dev.uhso.0.port.control.tty: cuaU0.0
dev.uhso.0.port.control.desc: Control
dev.uhso.0.port.application.tty: cuaU0.1
dev.uhso.0.port.application.desc: Application
...
dev.uhso.1.type: Serial
dev.uhso.1.ports: 1
dev.uhso.1.port.diagnostic.tty: cuaU1
dev.uhso.1.port.diagnostic.desc: Diagnostic</pre>
</blockquote>
<p>Open /dev/cuaU0.0 in a terminal application, for example minicom. Issue the following commands to establish a connection.</p>
<blockquote>
<pre>AT+CPIN="1234" # Your PIN
OK

AT_OWANCALL=1,1,1
OK

AT_OWANDATA=1
_OWANDATA: 1, 95.209.79.126, 0.0.0.0, 80.251.201.177, 80.251.201.178, 0.0.0.0, 0.0.0.0, 72000</pre>
</blockquote>
<p>If you haven&#8217;t configured a PDP context with your providers APN, please see the <a href="http://www.shapeshifter.se/code/hso/">hso page.</a></p>
<p>Configure the interface and set a default route</p>
<blockquote>
<pre># ifconfig uhso0 95.209.79.126
# route add default -interface uhso0</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.shapeshifter.se/2009/07/20/uhso4-option-hsdpa-driver-for-freebsd-8/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>{hso,hsoctl}-20081023</title>
		<link>http://www.shapeshifter.se/2008/10/23/hso-20081023/</link>
		<comments>http://www.shapeshifter.se/2008/10/23/hso-20081023/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 10:40:27 +0000</pubDate>
		<dc:creator>fli</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[hso]]></category>

		<guid isPermaLink="false">http://www.shapeshifter.se/?p=380</guid>
		<description><![CDATA[New release of hso(4), FreeBSD driver for Option iCON branded 3G/HSDPA devices.
Changes to hso(4)

Support for the new TTY layer, driver now works with 7.0 upto todays 8.0-CURRENT.
Device IDs for Option GlobeTrotter HSUPA and Option GMT382 added.
Minor performance and stability issues have been addressed.

Changes to hsoctl(1)

hsoctl now forks into background upon a successful connection, the old [...]]]></description>
			<content:encoded><![CDATA[<p>New release of hso(4), FreeBSD driver for Option iCON branded 3G/HSDPA devices.</p>
<p><strong>Changes to hso(4)</strong></p>
<ul>
<li>Support for the new TTY layer, driver now works with 7.0 upto todays 8.0-CURRENT.</li>
<li>Device IDs for Option GlobeTrotter HSUPA and Option GMT382 added.</li>
<li>Minor performance and stability issues have been addressed.</li>
</ul>
<p><strong>Changes to hsoctl(1)</strong></p>
<ul>
<li>hsoctl now forks into background upon a successful connection, the old behvaior can be obtained with -n flag. Disconnection is possible by executing hsoctl -d hso0.  While running in background, important information is logged to syslog.  Complete daemonization is also possible with the -b flag.</li>
<li>Use of AT+CGREG in addition to AT+CREG to detect network registration (for service plans where voice calls are disabled).</li>
<li>resolv.conf handling have been improved, only nameserver entries are changed, other content is left intact. A bug that sometimes caused garbled data to be prepended to resolv.conf have also been addressed.  The resolv.conf path can be altered with the -r flag, disable resolv.conf with -r /dev/null.</li>
<li>hsoctl does now gracefully terminate upon unexpected device removal.</li>
<li>Default route installation have been improved.</li>
</ul>
<p>The code can be obtained from the <a href="http://www.shapeshifter.se/code/hso/">hso page</a>, the update should hit the ports tree soon (<a href="http://www.freshports.org/comms/hso-kmod/">comms/hso-kmod</a>).</p>
<p>Speed test from a rural location. Values are in bits/s, so that&#8217;s almost 300 kB/s downstream and around 40 kB/s upstream. Hopefully downstream is slightly better from a more urban location.</p>
<div id="attachment_387" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.shapeshifter.se/wp-content/uploads/2008/10/338202918.png"><img class="size-full wp-image-387" title="338202918" src="http://www.shapeshifter.se/wp-content/uploads/2008/10/338202918.png" alt="hso(4) speedtest" width="300" height="135" /></a><p class="wp-caption-text">hso(4) speedtest</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.shapeshifter.se/2008/10/23/hso-20081023/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>hso(4) in ports</title>
		<link>http://www.shapeshifter.se/2008/05/18/hso-in-ports/</link>
		<comments>http://www.shapeshifter.se/2008/05/18/hso-in-ports/#comments</comments>
		<pubDate>Sun, 18 May 2008 16:21:57 +0000</pubDate>
		<dc:creator>fli</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[hso]]></category>

		<guid isPermaLink="false">http://www.shapeshifter.se/?p=58</guid>
		<description><![CDATA[Thanks to the great work of Ganaël LAPLANCHE the hso driver and the hsoctl utility can, as of today, be installed through FreeBSD ports from comms/hso-kmod.
Existing users should note that hsod has been renamed to hsoctl and that the utility now properly updates resolv.conf.
Device IDs for the following devices have been added to the driver. [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to the great work of <a href="http://www.martymac.com/">Ganaël LAPLANCHE</a> the <a href="http://www.shapeshifter.se/code/hso/">hso</a> driver and the hsoctl utility can, as of today, be installed through FreeBSD ports from <a href="http://www.freshports.org/comms/hso-kmod/">comms/hso-kmod</a>.</p>
<p>Existing users should note that hsod has been renamed to hsoctl and that the utility now properly updates resolv.conf.</p>
<p>Device IDs for the following devices have been added to the driver. However, this is completely untested, if you have any of these devices, please test and report if it works or not. Thank you.</p>
<ul>
<li>Option GlobeSurfer iCON HSUPA</li>
<li>Option iCON 401</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.shapeshifter.se/2008/05/18/hso-in-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New version of hso and first version of a connection utility</title>
		<link>http://www.shapeshifter.se/2008/05/04/new-version-of-hso-and-first-version-of-a-connection-utility/</link>
		<comments>http://www.shapeshifter.se/2008/05/04/new-version-of-hso-and-first-version-of-a-connection-utility/#comments</comments>
		<pubDate>Sun, 04 May 2008 19:36:27 +0000</pubDate>
		<dc:creator>fli</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[hso]]></category>

		<guid isPermaLink="false">http://www.shapeshifter.se/?p=54</guid>
		<description><![CDATA[I&#8217;ve uploaded a new version of the hso driver that fixes some minor bugs related to the TTYs. I&#8217;ve also added device ID for Option GlobeSurfer iCON 225 after some initial positive feedback.
In addition to this I&#8217;ve published the first version of a connection utility (called hsod) that creates and maintains a UMTS/HSDPA connection and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve uploaded a new version of the hso driver that fixes some minor bugs related to the TTYs. I&#8217;ve also added device ID for Option GlobeSurfer iCON 225 after some initial positive feedback.</p>
<p>In addition to this I&#8217;ve published the first version of a connection utility (called hsod) that creates and maintains a UMTS/HSDPA connection and makes life a lot easier. The utility is still beta and requires some more work, for example I would like it to run in background so that it can be launched from devd when the interface is brought up (ifconfig hso0 up).</p>
<p>Both the driver and the connection utility can be found at the <a href="http://www.shapeshifter.se/code/hso/">hso</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shapeshifter.se/2008/05/04/new-version-of-hso-and-first-version-of-a-connection-utility/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First release of FreeBSD driver for Option HSDPA devices</title>
		<link>http://www.shapeshifter.se/2008/04/22/first-release-of-freebsd-driver-for-option-hsdpa-devices/</link>
		<comments>http://www.shapeshifter.se/2008/04/22/first-release-of-freebsd-driver-for-option-hsdpa-devices/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 21:12:00 +0000</pubDate>
		<dc:creator>fli</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[hso]]></category>
		<category><![CDATA[option]]></category>

		<guid isPermaLink="false">http://www.shapeshifter.se/?p=48</guid>
		<description><![CDATA[I&#8217;ve published the first public beta of my FreeBSD driver for Option HSDPA modems. The driver is still beta but have been successfully tested (and used) with a Option GlobeSurfer iCON 7.2 S device (using a Turbo 3G account from Tre/Hi3G Access Sweden).
The driver is available for download together with instructions at the hso page. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve published the first public beta of my FreeBSD driver for Option HSDPA modems. The driver is still beta but have been successfully tested (and used) with a Option GlobeSurfer iCON 7.2 S device (using a Turbo 3G account from Tre/Hi3G Access Sweden).</p>
<p>The driver is available for download together with instructions at the <a href="http://www.shapeshifter.se/code/hso">hso</a> page. Please report successes and failures.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shapeshifter.se/2008/04/22/first-release-of-freebsd-driver-for-option-hsdpa-devices/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>FreeBSD driver for Option HSDPA cards</title>
		<link>http://www.shapeshifter.se/2008/04/08/freebsd-driver-for-option-hsdpa-cards/</link>
		<comments>http://www.shapeshifter.se/2008/04/08/freebsd-driver-for-option-hsdpa-cards/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 21:00:45 +0000</pubDate>
		<dc:creator>fli</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[hsdpa]]></category>
		<category><![CDATA[hso]]></category>

		<guid isPermaLink="false">http://www.shapeshifter.se/?p=40</guid>
		<description><![CDATA[I&#8217;ve been hacking on a driver for Option GlobeSurfer iCON 7.2 S HSDPA/3G USB cards (and more or less all newer Option cards) for a few days now and I just reached a major milestone. A successful connection!
The driver is called hso for now (same name as the linux driver).  The card is not [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been hacking on a driver for Option GlobeSurfer iCON 7.2 S HSDPA/3G USB cards (and more or less all newer Option cards) for a few days now and I just reached a major milestone. <strong>A successful connection!</strong></p>
<p>The driver is called hso for now (same name as the linux driver).  The card is not a &#8220;normal&#8221; 3G-modem in the sense that it&#8217;s not simply a serial-over-USB card.  Instead it has several serial channels that accept the normal AT interface (signal strength, SMS, etc) and in addition to that a IP packet interface to which one reads and writes raw IP packets.  The card is exposed through a simulated Ethernet device.<span id="more-40"></span></p>
<pre>hso0: flags=1088c3&lt;UP,BROADCAST,RUNNING,NOARP,SIMPLEX,MULTICAST,NEEDSGIANT&gt;
   metric 0 mtu 1500
        ether 40:0c:e3:69:11:00
        inet 83.178.12.92 netmask 0xffffffff broadcast 83.178.12.92
        inet6 fe80::420c:e3ff:fe69:1100%hso0 prefixlen 64 scopeid 0x5</pre>
<p>Currently it&#8217;s a bit annoying to setup a connection as it requires that one first opens a serial channels and issue  AT_OWANCALL to create a connection and AT_OWANDATA to get the ip-address and nameservers and then manually configure the interface.  It would be nice if this could be automated by the driver with the interface is brought up, however that would require the driver (and thus kernel) itself to read from its own serial channel&#8230;bit hackish but maybe it works</p>
<p>Finally, the output from the very first connections. This is a ping from my workstation to the computer connected through the card.</p>
<pre>fli@nexus&gt; ping 83.178.12.92
PING 83.178.12.92 (83.178.12.92): 56 data bytes
64 bytes from 83.178.12.92: icmp_seq=0 ttl=56 time=446.203 ms
64 bytes from 83.178.12.92: icmp_seq=1 ttl=56 time=332.321 ms</pre>
<p>And this is from the computer connected with the card</p>
<pre>fli@genesis&gt; ping ping.sunet.se
PING ping.sunet.se (192.36.125.18): 56 data bytes
64 bytes from 192.36.125.18: icmp_seq=0 ttl=248 time=287.708 ms</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shapeshifter.se/2008/04/08/freebsd-driver-for-option-hsdpa-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

