| View previous topic :: View next topic |
| Author |
Message |
Filip
Joined: 03 Sep 2007 Posts: 52

|
Posted: Wed Feb 27, 2008 3:25 pm Post subject: HSO v1.0 |
|
|
Changes:
- Overhaul of driver structures. Removal hangs should be gone now.
- Fixes for high-speed devices.
Have fun!
Regards
| Description: |
|
 Download |
| Filename: |
hso-1.0.tar.gz |
| Filesize: |
28.71 KB |
| Downloaded: |
1103 Time(s) |
_________________ Filip Aben
Option International |
|
| Back to top |
|
 |
thasan
Joined: 26 Feb 2008 Posts: 2

|
Posted: Fri Feb 29, 2008 9:05 am Post subject: |
|
|
| Code: | diff Makefile_old Makefile
112c112
< rm -rf $(addprefix (INSTALLDIR),$(addsuffix .ko,$(list-m)))
---
> rm -rf $(addprefix $(INSTALLDIR),$(addsuffix .ko,$(list-m)))
|
|
|
| Back to top |
|
 |
chriskross
Joined: 01 Jan 2007 Posts: 13

|
Posted: Fri Feb 29, 2008 5:08 pm Post subject: |
|
|
Apologies for being thick, but after extracting the tarball, where do I go fro there? I have the following files in the hso directory:
CHANGELOG dial.cht hso_connect.sh* init.cht README tmp/
connect.sh* hso.c hso.h Makefile stop.cht
Then I try 'make':
[root@localhost hso]# make
mkdir -p /home/chris/hso/hso/tmp/.tmp_versions
make -C /lib/modules/2.6.22.18-laptop-1mdv/build M=/home/chris/hso/hso MODVERDIR =/home/chris/hso/hso/tmp/.tmp_versions modules
make: *** /lib/modules/2.6.22.18-laptop-1mdv/build: No such file or directory. Stop.
make: *** [modules] Error 2
Surely I don't have to recompile the kernel to build this 'build' in?
I seem to have the switcher working, the blue light on my Option iCON HSUPA (direct fro Option) is on continuously... so close!
Chris
Chris
|
|
| Back to top |
|
 |
chriskross
Joined: 01 Jan 2007 Posts: 13

|
Posted: Sun Mar 02, 2008 5:00 pm Post subject: |
|
|
To answer my own question: I had to install the kernel 'devel' package, and now 'make' works.
Now to get the driver working! usb_modeswitch seems to work (it says nothing needs to be switched) yet the 'devices' file has 'usb-storage' against the iCON.
|
|
| Back to top |
|
 |
Paul Site Admin
Joined: 08 Oct 2004 Posts: 510 Location: UK and Belgium

|
Posted: Tue Mar 04, 2008 9:17 am Post subject: |
|
|
Hi,
Which device ID was being detected (Which device do you have?). That affects the configuration of the usb_switch conf file.
I have found that for some devices setting the target ID to 0x0 allows the usb_switch to run ok.
I found that the timing can be critical - this sort of works for me:
1. Plug the device in
2. View files on CD
3. Close file browser
4. run usb_switch
Using udev would be better.
Cheers,
Paul
|
|
| Back to top |
|
 |
chriskross
Joined: 01 Jan 2007 Posts: 13

|
Posted: Tue Mar 04, 2008 6:28 pm Post subject: |
|
|
[quote="Paul"]Hi,
Which device ID was being detected (Which device do you have?). That affects the configuration of the usb_switch conf file.
I have found that for some devices setting the target ID to 0x0 allows the usb_switch to run ok.
I found that the timing can be critical - this sort of works for me:
1. Plug the device in
2. View files on CD
3. Close file browser
4. run usb_switch
Using udev would be better.
Paul[/quote]
Thanks, Paul.
lsusb returns Bus 001 Device 004: ID 0af0:7251 Option
and this is what I put in usb_modeswitch.conf:
DefaultVendor= 0x0af0
DefaultProduct= 0x7251
TargetVendor= 0x0af0
TargetProduct= 0x7251
It's the Globesurfer iCON HSUPA.
But I feel I may be missing out (my lack of knowledge) on the HSO front. Another post pointed at the REAME to explain how to create the approprite dev (./connect.sh up returns "/dev/ttyHS0: No such file or directory" and
n inet
connected
SIOCSIFNETMASK: No such device
SIOCGIFADDR: No such device
SIOCSIFBROADCAST: No such device
hso0: unknown interface: No such device
).
(after modprobe hso).
Am I right in thinking this requires running init.cht? If so, it tells me i don't have permissions (after su'ing!)
(When you say 'view files on CD', do you mean read whatever is on the USB memory portion of the iCON? Even though dmesg gives:
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 1:0:0:0: CD-ROM ZCOPTION HSDPA Modem 3.00 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
no storage devices are displayed ony my desktop.
Chris
|
|
| Back to top |
|
 |
bully
Joined: 05 Mar 2008 Posts: 4

|
Posted: Wed Mar 05, 2008 7:43 am Post subject: |
|
|
| Hello , Im newbie here and very very newbie in Linux stuff...I have a ASUS eeepc and a Option Globetrotter Icon 7,2...please somebody explain step by step how I have to do to make my minilaptop works on Option modem to surf the net...thanks !!
|
|
| Back to top |
|
 |
pistooli
Joined: 19 Feb 2007 Posts: 19

|
Posted: Wed Mar 05, 2008 11:36 pm Post subject: |
|
|
I am also a 3epc owner and the process of compiling the driver was a pain... first I compiled my own kernel (also for 2 GB memory support), and after that compiling the hso modul was relatively straightforward... but the entire process took 2 hrs all together...
and while the module loaded just fine, my option usb refused to work... so I was back to my old, trusted and bulky option icon I which works fine with the usb-serial module...
but I guess the icon 7.2 also uses the usb-serial driver, so you might try that... (I was trying the option 225)
|
|
| Back to top |
|
 |
Paul Site Admin
Joined: 08 Oct 2004 Posts: 510 Location: UK and Belgium

|
Posted: Wed Mar 12, 2008 11:40 am Post subject: |
|
|
Hi All,
rezero is utlity to do the Zerocd switching and may be a better option than usb_modeswitch.
You will find it posted at the top of this forum.
Cheers,
Paul
|
|
| Back to top |
|
 |
chri
Joined: 13 Mar 2008 Posts: 5

|
Posted: Thu Mar 13, 2008 9:24 am Post subject: HSO Driver 1.0 , ICON 225 and Ubuntu 7.10 AMD64 |
|
|
Hi, a brief summary :
- HSO driver is ok, except a warning about the MAC address
| Code: | [2574:set_ethernet_addr]: Attempting to get MAC address failed: using default
[ 1137.435655] HSO: Found Network port hso0
[ 1137.435790] HSO: Found Control port /dev/ttyHS0
[ 1137.435839] HSO: Found Application port /dev/ttyHS1
[ 1137.454564] HSO: Found Diagnostic port /dev/ttyHS2
[ 1137.460049] HSO: Found Modem port /dev/ttyHS3 |
in dmesg
- both REZERO and usb_modeswitch utilities are ok
- connection through ppp method is ok
- connection through network method is freezing the system, the workaround consisting of commenting out line number 791 in hso.c is ok
| Code: | | /* hso_serial_tiocmset(tty, NULL, 0, TIOCM_RTS|TIOCM_DTR); */ |
(i've also changed in hso_connect.sh script NETDEV from eth1 to hso0)
- in dmesg, i receive warnings
| Code: | [ 1148.533748] intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)hso0: no IPv6 routers present
[ 1410.654866] read_bulk_callback: received USB status - unknown status (-104)read_bulk_callback: received USB status - unknown status (-104)read_bulk_callback: received USB status - unknown status (-104)read_bulk_callback: received USB status - unknown status (-104)intr_callback: received USB status - unknown status (-104)ctrl_callback: received USB status - unknown status (-104)
|
Regards and thanks for this good job
--
Chri
|
|
| Back to top |
|
 |
theVOID
Joined: 06 Feb 2008 Posts: 16

|
Posted: Thu Mar 13, 2008 11:39 am Post subject: |
|
|
The ZeroCD utility and the HSO is great!
I now have 3 USB modems connected in one computer!
|
|
| Back to top |
|
 |
chri
Joined: 13 Mar 2008 Posts: 5

|
Posted: Thu Mar 13, 2008 12:49 pm Post subject: |
|
|
| theVOID wrote: | The ZeroCD utility and the HSO is great!
I now have 3 USB modems connected in one computer! |
I agree.
I have just discovered a problem.
Connection with PPP is alaways OK.
Connection with Network Interface hso is ok at the first connexion. But, if i disconnect, i can not connect anymore. Do you have the samebehaviour ? Worse, if i insist, after 5, 6 or 7 (it depends) connexion attemps, the system freeze
I think it's related to the "Freeze on dialin" bug; commenting out line number 791 is a workaround, but does not fix totally the problem.
Regards,
--
Chri
|
|
| Back to top |
|
 |
Filip
Joined: 03 Sep 2007 Posts: 52

|
Posted: Thu Mar 13, 2008 4:35 pm Post subject: |
|
|
Hi,
Connection issues aside, does the system freeze still persist after commenting out line 791 ?
Regards
_________________ Filip Aben
Option International |
|
| Back to top |
|
 |
chri
Joined: 13 Mar 2008 Posts: 5

|
Posted: Thu Mar 13, 2008 8:28 pm Post subject: |
|
|
| Filip wrote: | Hi,
Connection issues aside, does the system freeze still persist after commenting out line 791 ?
Regards |
This evening, i can not reproduce the issue, i've tried to connect / disconnect, no failure and no freeze.
Maybe it was a temporary network operator problem, and many failures have make the system freeze.
--
Chri
|
|
| Back to top |
|
 |
chri
Joined: 13 Mar 2008 Posts: 5

|
Posted: Fri Mar 14, 2008 8:43 pm Post subject: Ethernet Address is changing |
|
|
Hi,
when i insert my ICON 225, the ethernet address of the hso interface is always different.
Is it related to this message ?
[2574:set_ethernet_addr]: Attempting to get MAC address failed: using default
Is it possible to pass a fixed ethernet address as an option to the hso mdules ?
I need to map hso0 to eth1, for this, i modify
hermes:/etc/udev/rules.d/70-persistent-net.rules
but i need a fix ethernet address for this configuration.
Regards,
--
Chri
|
|
| Back to top |
|
 |
|