spacer
spacer search

PHARscape
Phar enough!

Search
spacer
header
Main Menu
Home
Linux and 3G
Linux and 3G Forum
Python Stuff
Pictures
Astronomy
Links
Contacting Me
Search
Mambo License
About
Syndicate
Lunarpages.com Web Hosting
 
Home arrow HSOconnect and Ubuntu 8.04

HSOconnect Ubuntu 8.04 Step by Step Install Print E-mail
Written by Paul Hardwick   
Sunday, 15 June 2008
This is a HOW-TO showing every step I took to install the HSO driver and HSOconnect on a new Ubuntu 8.04 32-bit system.

This Howto uses links in to my forum to download specific files but you should always check that you are using the latest version of files if you run in to problems.


What do we see without any  drivers installed?

Plug the device in , open a console and type dmesg:


[ 4037.260492] scsi 5:0:0:0: Direct-Access ZCOPTION HSDPA Modem 3.00 PQ: 0 ANSI: 2
[ 4037.290439] sd 5:0:0:0: [sdc] 2410 2048-byte hardware sectors (5 MB)
[ 4037.296415] sd 5:0:0:0: [sdc] Write Protect is on
[ 4037.296425] sd 5:0:0:0: [sdc] Mode Sense: bf 00 80 08
[ 4037.296430] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[ 4037.306408] sd 5:0:0:0: [sdc] 2410 2048-byte hardware sectors (5 MB)
[ 4037.312398] sd 5:0:0:0: [sdc] Write Protect is on
[ 4037.312406] sd 5:0:0:0: [sdc] Mode Sense: bf 00 80 08
[ 4037.312411] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[ 4037.312420] sdc: [mac] sdc1 sdc2
[ 4037.332502] sd 5:0:0:0: [sdc] Attached SCSI disk
[ 4037.332557] sd 5:0:0:0: Attached scsi generic sg2 type 0


Download the HSO driver source

On my system Firefox downloads files to the Desktop so that is where I look for the files
Open up a console and type....

paul@r60-ubuntu:~$cd ~/Desktop
paul@r60-ubuntu:~/Desktop$ tar zxf hso-1.2.tar.gz
paul@r60-ubuntu:~/Desktop$ cd hso
paul@r60-ubuntu:~/Desktop/hso$ make
paul@r60-ubuntu:~/Desktop/hso$ sudo make install


Download rezero

and compile it (Note: I remove the rezero binary that is already there to force a clean compile).


paul@r60-ubuntu:~/Desktop/hso$ cd ~/Desktop/
paul@r60-ubuntu:~/Desktop$ mkdir hsoudev
paul@r60-ubuntu:~/Desktop$ mv hso-udev.tar.gz hsoudev
paul@r60-ubuntu:~/Desktop$ cd hsoudev
paul@r60-ubuntu:~/Desktop/hsoudev$ tar zxf *
paul@r60-ubuntu:~/Desktop/hsoudev$ rm rezero
paul@r60-ubuntu:~/Desktop/hsoudev$ make
paul@r60-ubuntu:~/Desktop/hsoudev$ sudo make install


Unplug the Icon and plug it back in again.
Type dmesg to see what has changed...


[ 4957.883380] scsi 6:0:0:0: Direct-Access ZCOPTION HSDPA Modem 3.00 PQ: 0 ANSI: 2
.........
[ 4959.784329] HSO: Found Network port hso0
[ 4959.784503] HSO: Found Control port /dev/ttyHS0
[ 4959.784585] HSO: Found Application port /dev/ttyHS1
[ 4959.787005] HSO: Found Diagnostic port /dev/ttyHS2
paul@r60-ubuntu:~/Desktop/hsoudev$


Now check the access permissions:

paul@r60-ubuntu:~/Desktop/hsoudev$ ls -al /dev/ttyHS*
crw-rw---- 1 root dialout 253, 0 2008-06-15 09:58 /dev/ttyHS0
crw-rw---- 1 root dialout 253, 1 2008-06-15 09:58 /dev/ttyHS1
crw-rw---- 1 root dialout 253, 2 2008-06-15 09:58 /dev/ttyHS2
paul@r60-ubuntu:~/Desktop/hsoudev$


Am I in the dialout group?

paul@r60-ubuntu:~/Desktop/hsoudev$ grep dialout /etc/group dialout:x:20:paul
paul@r60-ubuntu:~/Desktop/hsoudev
$

Yes I am :)


If I was not in the dialout group then I could use the command:

usermod -a -G dialout paul


Download and install hsolinkcontrol (hsolink i386 deb)


Download and install HSOconnect

Test this works:
python -m hsoc

The HSOconnect can be found in the Applications/Internet menu.


Last Updated ( Tuesday, 17 June 2008 )
< Prev   Next >
spacer

 
Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License.
spacer