Posts Tagged “hso”
Jul
20
2009
uhso(4): Option HSDPA driver for FreeBSD 8Posted by fli in FreeBSD, tags: FreeBSD, hsdpa, hsoA bit late, but here is the first beta of the Option HSDPA driver for FreeBSD 8. It’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 names in /dev has changed and are now longer called /dev/HSO*, instead they follow the standard ucom names of cuaU*. The new USB stack attach USB devices per USB interface instead of per USB device, so it’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. The packet interface is now exposed as a raw interface instead of emulating an Ethernet device (I seriously wonder why I did that…). 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. And last, I’ve renamed the driver to uhso to reflect its USB nature. Download: uhso-20091122.tar.gz – Add support for iCON 505, fix probing of devices with dynamic number of interfaces, add new custom attach messages based on the port type. Download: uhsoctl-beta-20090820.tar.gz – uhsoctl connection utility, similar to old hsoctl Download: uhso-beta-20090812.tar.gz – Minor bug fix and reworked sysctl nodes. Download: uhso-beta-20090723.tar.gz – No longer PTP interface (completely useless), fixed (hopefully) CDC notification on modem port, added several new device IDs. Thanks to Iain Hibbert for this! Download: uhso-beta-20090722.tar.gz – Bug fixes that should improve RX speed. Download: uhso-beta-20090720.tar.gz If you own an Option device, please leave a comment (or send a mail) with its full name and USB device ID. I’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. If you’re running FreeBSD 8 and own an Option device, please mail me the output of usbconfig -u X -a Y dump_device_desc usbconfig -u X -a Y dump_all_config_desc where X and Y (5 and 2 below) can be obtained through usbconfig # usbconfig ... ugen5.2: <Globetrotter HSDPA Modem Option N.V.> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON This driver has been tested with a Globesurfer iCON 7.2, iCON 255, iCON 505 Quick setup for manual connection Look up the serial ports # 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 Open /dev/cuaU0.0 in a terminal application, for example minicom. Issue the following commands to establish a connection. 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 If you haven’t configured a PDP context with your providers APN, please see the hso page. Configure the interface and set a default route # ifconfig uhso0 95.209.79.126 # route add default -interface uhso0 New release of hso(4), FreeBSD driver for Option iCON branded 3G/HSDPA devices. Changes to hso(4)
Changes to hsoctl(1)
The code can be obtained from the hso page, the update should hit the ports tree soon (comms/hso-kmod). Speed test from a rural location. Values are in bits/s, so that’s almost 300 kB/s downstream and around 40 kB/s upstream. Hopefully downstream is slightly better from a more urban location. 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. However, this is completely untested, if you have any of these devices, please test and report if it works or not. Thank you.
May
04
2008
New version of hso and first version of a connection utilityPosted by fli in General, tags: FreeBSD, hsoI’ve uploaded a new version of the hso driver that fixes some minor bugs related to the TTYs. I’ve also added device ID for Option GlobeSurfer iCON 225 after some initial positive feedback. In addition to this I’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). Both the driver and the connection utility can be found at the hso page.
Apr
22
2008
First release of FreeBSD driver for Option HSDPA devicesPosted by fli in FreeBSD, tags: FreeBSD, hsdpa, hso, optionI’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. Please report successes and failures. |

Entries (RSS)