Installing HSOconnect from scratch on a new Ubuntu system.
HSOconnect Ubuntu 8.04 Step by Step Install (To Be revised)
|
|
| Written by Paul Hardwick | |
| Sunday, 15 June 2008 | |
| 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. First let us prepare for compiling programs and kernel modules by using the following command: sudo apt-get install build-essential libusb-dev linux-headers-$(uname -r)
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 and install ozercdoff 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 ![]() usermod -a -G dialout paul Download and install hsolinkcontrol (hsolink i386 deb) Download and install HSOconnect Test this works from the console: python -m hsoc HSOconnect can be found in the Applications/Internet menu.
|
|
| Last Updated ( Tuesday, 17 June 2008 ) |
