Feature #367
HSO Connect
| Status: | Feedback | Start date: | 06/22/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Aports | |||
| Target version: | Alpine 2.4.0 |
Description
I found the hso module but not the script to connect using the cited module with Option USB modems, it could be found in www.pharscape.org
History
Updated by Natanael Copa over 1 year ago
Care to explain a bit what HSO Connect is? Is it a kernel driver for some kind of USB modems? Is it a userspace daemon? what kind of script is it? init.d script for booting? or udev script for the kernel module?
Updated by Francesco Boscarino over 1 year ago
HSOConnect is a script provided with the hso kernel module to connect to UMTS net. HSO module create 4 ttyHSO[0-3] which are used one for AT commands, one for GPRS control and so on, the script finds the correct one to issue AT commands and starts the packet driver.
Updated by Natanael Copa over 1 year ago
ok I had a look at this. The driver contains some udev rules that we might need port to mdev. We have the usb-modeswitch package in edge/testing repository.
It is a bit difficult for me to test this since I don't have this hardware.
For alpine-2.1 I will try move over to udev, which should make this just work when installing the 99-option-zero-cd.rules file.
Are you ok that we wait with this til 2.1?
ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="ZCOption", ATTRS{idVendor}=="0af0", RUN+="/usr/sbin/usb_modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -M 55534243785634120100000080000601000000000000000000000000000000"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Control", SYMLINK+="wctrl0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Application", SYMLINK+="wapp0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Application", SYMLINK+="wappa0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Application2", SYMLINK+="wappb0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Diagnostic", SYMLINK+="wdiag0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Diagnostic", SYMLINK+="wdiaga0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Diagnostic2", SYMLINK+="wdiagb0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="Modem", SYMLINK+="wmodem0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="GPS", SYMLINK+="wgps0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="GPS_Control", SYMLINK+="wgpsc0"
ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="PCSC", SYMLINK+="wpcsc0"
# setup group proper group rights
ACTION=="add", KERNEL=="ttyHS[0-9]*", GROUP="dialout", MODE="0660"
Updated by Natanael Copa over 1 year ago
- Category set to Aports
Sorry. I completely misunderstood (i think). The thing you are asking for is this:
http://www.pharscape.org/hsoconnect.html
Which is a pythonscript. Right?
Does it work? there is a makefile there, if you run 'sudo make install' it will install it for you in /usr/local, can you verify that it does work?
I suspect there are more things we need to do to get thins thing working.
Updated by Jeff Bilyk 8 months ago
Francesco: was basic functionality ever tested as Natanael suggested above?
Updated by Natanael Copa 5 months ago
- Status changed from New to Feedback
- Assignee set to Natanael Copa
- Target version set to Alpine 2.3.0
Updated by Natanael Copa 4 months ago
- Target version changed from Alpine 2.3.0 to Alpine 2.4.0