octavio
June 14th, 2007, 02:24 PM
First of all, i want you to forgive my english. This is my first how to, and will tell you all the steps i have had to take to connect my ubuntu 7.04 to my V3X.
First of all, we will downlad the moto4lin utility from the repositories.
sudo aptitude update
sudo aptitude install moto4lin
Once installed, we need to change the configuration file of moto4lin.
cd $HOME/.qt
gedit moto4linrc
We change the old values to this ones. The most important values are, the device, product and vendor values. Those values are for the motorola V3X. Other motorola have different values. I'm sure you may look in web for those values or you may get them inside the moto4lin using inside preferences the update list button.
I have activated the autoconnect option too.
[device]
cfgACMdevice=/dev/ttyACM0
cfgATproduct=3002
cfgATvendor=22b8
cfgAutoConnect=1
cfgDetachDriver=0
cfgP2Kproduct=3001
cfgP2Kvendor=22b8
[filemanager]
cfgAutoExpandDirTree=0
cfgAutoUpdateFileList=1
cfgGoLastFolder=0
cfgLoadList=0
Now we are going to make a little script in our home directory to load the module and launch moto4lin.
moto4lin as long as i know need root access to work, so we make a sudo launch.
cd $HOME
gedit motorola
This will be the script:
sudo modprobe cdc_acm
sudo moto4lin
now we only need to allow execution for the script with chmod and we have our script.
chmod 700 motorola
./motorola
If all has gone right we will be able to connect our Motorola V3X by USB.
This how to, only have the steps i need to do. If anybody may complete this how to, or know any other way to make things, fell free to post. I just try to give the comunity a little of the knowledge i have taken from comunity.
PD: ahchong has told us that it is necesary to have installed g++. So if you get any problem try that.
First of all, we will downlad the moto4lin utility from the repositories.
sudo aptitude update
sudo aptitude install moto4lin
Once installed, we need to change the configuration file of moto4lin.
cd $HOME/.qt
gedit moto4linrc
We change the old values to this ones. The most important values are, the device, product and vendor values. Those values are for the motorola V3X. Other motorola have different values. I'm sure you may look in web for those values or you may get them inside the moto4lin using inside preferences the update list button.
I have activated the autoconnect option too.
[device]
cfgACMdevice=/dev/ttyACM0
cfgATproduct=3002
cfgATvendor=22b8
cfgAutoConnect=1
cfgDetachDriver=0
cfgP2Kproduct=3001
cfgP2Kvendor=22b8
[filemanager]
cfgAutoExpandDirTree=0
cfgAutoUpdateFileList=1
cfgGoLastFolder=0
cfgLoadList=0
Now we are going to make a little script in our home directory to load the module and launch moto4lin.
moto4lin as long as i know need root access to work, so we make a sudo launch.
cd $HOME
gedit motorola
This will be the script:
sudo modprobe cdc_acm
sudo moto4lin
now we only need to allow execution for the script with chmod and we have our script.
chmod 700 motorola
./motorola
If all has gone right we will be able to connect our Motorola V3X by USB.
This how to, only have the steps i need to do. If anybody may complete this how to, or know any other way to make things, fell free to post. I just try to give the comunity a little of the knowledge i have taken from comunity.
PD: ahchong has told us that it is necesary to have installed g++. So if you get any problem try that.