I have a USB modem that is identified in Linux (Ubuntu 12.04) with lsusb
as
Bus 001 Device 003: ID 0572:1329 Conexant Systems (Rockwell), Inc.
How to talk to that device (e.g. with microcom etc?)? What dev
device should I use? There is no /dev/ttyUSBXXX
available and just one /dev/ttyACM0
.
You can use cu.
You can connect to your modem with:
(with: ttyACM0 being the device /dev/ttyACM0) You should get a response:
At this point you can use any of the standard AT commands such as to test dialing:
You should have your userid set to the group dialout for permission to access the modem.
You can exit the cu application with "~." (tilde dot).
You can find other Hayese commands at:
http://en.wikipedia.org/wiki/Hayes_command_set
If by talk you mean send AT commands in the form
try this: http://brunomgalmeida.wordpress.com/2012/04/06/send-at-commands-to-usb-modem/
Use
minicom
,socat
orscreen
:NOTE: I used real device name
/dev/ttyUSB1
instead of fake/dev/usbDev
.I believe the answer you're looking for is here: Using a USB winmodem with a Conexant driver in (K)Ubuntu 11.10 (Oneiric).
Important stuff (extracted from the site):
When I plugged a Conexant modem, I executed
and it said:
[...]
[...]
so I knew that the HSF modem was recognized by the system.
As I had a previous internet connection, I upgraded the system
I checked that I had no previous Conexant drivers installed. For example: I executed
and it said that that file did not exist; if it existed I would have thought that something was still installed.
I made sure that I had "gcc" and "make" ready, executing
Then I executed those steps told there:
I prepared the files for the driver compilation, executing
and if I had a 64-bit operating system I executed
else, if I had a 32-bit operating system I executed
If I had a 64-bit operating system I executed
else, if I had a 32-bit operating system I executed
A note for the curious ones: that file was the newest one in http://www.linuxant.com/drivers/hsf/full/downloads.php
And then, if I had a 64-bit operating system I executed
else, if I had a 32-bit operating system I executed
The next step was to clean the present directory.
If I had a 64-bit operating system I executed
else, if I had a 32-bit operating system I executed
Then I had to change some files to adapt them to work with the 3.0.0 version of the Linux kernel. If I had a 64-bit operating system I executed
else, if I had a 32-bit operating system I executed
and then a text editor was launched. I searched for the string
and below I found the string
I deleted that last string, and wrote there
and I saved and closed that file. I executed
and then a text editor was launched. I searched for the string
and below I found the string
I deleted that string, and wrote there
and I saved and closed that file. I executed
and then a text editor was launched. I searched for the string
and below I found the string
I deleted that last string, and wrote there
and I saved and closed that file.
A note for the curious ones: the source of those changes in those files was http://www.openmamba.org/showfile.ht...l-2.6.37.patch
The user named Chiaseth helped telling those steps that I followed, this way:
I executed
xdg-open modules/osservices.c
and then a text editor was launched. I searched for the string
and I deleted that string, and wrote there
In that file I searched for the strings
replacing all of them with
Also, in that file I searched for the strings
replacing all of them with
and I saved and closed that file.
I executed
xdg-open modules/osdcp.c
In that file I searched for the string
replacing it with
and I saved and closed that file.
I executed
xdg-open modules/osdiag.c
In that file I searched for the string
replacing it with
and I saved and closed that file.
I executed
xdg-open modules/osfloat.c
In that file I searched for the string
replacing it with
and I saved and closed that file.
I executed
xdg-open modules/osservices.c
In that file I searched for the string
replacing it with
and I saved and closed that file.
I executed
xdg-open modules/GPL/oscompat.h
In that file I searched for the string
replacing it with
and I saved and closed that file.
Finally... If executed
It asked "Where is the linux source build directory that matches your running kernel?", then I simply pressed the return key to accept the default answer. I also accepted the default answer in other questions.
Finally the command reported that
I executed
and at the end I saw
which meant, among other things, that the USB modem was detected at
/dev/ttySHSF0
.Note: as they said in https://help.ubuntu.com/community/Di...Howto/Conexant: "do not delete or move the source tree [in our case: ~/conexant_modem] from your system after these steps, it will be required to uninstall and patch the driver."
I launched
kppp
(for example) and configured a new "connection", specifying that the modem was at/dev/ttySHSF0
. You could also use a program likeefax-gtk
to send faxes through the modem.Ensure that your USB modem is properly inserted into any available USB port on your Ubuntu computer.
Click the network icon and select
Edit connections
. This will launch Ubuntu's networking management utility.Select the name of the USB modem from the list of available connections, then click
Properties.
Click
Enable this Connection
to tell Ubuntu that you want to use this device to connect to Internet networks.Click
OK.
Your USB modem will now be properly connected to and configured in Ubuntu, and you can now use it to connect to the Internet.Source of tutorial here
There are two software I know of you can use to send AT(Attention) commands to your modem one is Serial port terminal and other one is Cutecom.