cancel
Showing results for 
Search instead for 
Did you mean: 

COM PORT query Mint 15

shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

OK...because of several "weird" happenings.... things not opening, and flashing bits and cursor going on walkabout... I have re-installed Mint 15 Cinamon.... and found this page
http://sealedblade.wordpress.com/2008/08/20/ubuntu-pl2303-usb-to-rs232-adapter/
Method 1
I have followed the Ubuntu route, and get the right result....
I have not installed the driver..... as it was originally for my Windows vista.... I have found this page
http://lxr.free-electrons.com/source/drivers/usb/serial/pl2303.c
And, as it is a Linux driver, I thought it would be best to use this... ( not yet done )....
should I just copy and paste it onto a terminal, or how do I get it to load ?
The USB/Serial adapter has been located by the system from the initial work as above,....
so once the driver is installed,
it should only be a matter of allocating the COMPORT number as was originally instructed ? ? ? ?  or not?  Undecided

HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: COM PORT query Mint 15

Right now in my Cinnamon install, have found that the users & groups doesn't work, as you found, it loads an empty System Settings.
To get a working one:-
In a terminal enter
apt install gnome-system-tools
enter your password and it should be in the menu as Users & Groups (ignore the User Accounts one)
As to your rs232 adaptor, why are you re-installing drivers? It has been found and is in use as ttyUSB0 no need to do anything with it, except get wine to recognise it.
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

OK.... now got the Users & Groups pane open....
Thought the adapter "needed" the driver to work,... but .... if you say not, then I am happy not to try to install the driver....
just get wine to recognise it, and the CWcom prog to use it !......
Progress is being made  Smiley
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

Update...... have been trying to be "intelligent" about this.... and started again, reading thru the first answers and trying things out on the "logical" basis, that " the answer is out there...... "
so have managed to get Mint to recognise the usb/serial adapter, and did this in terminal.....
ls -l ~/.wine/dosdevices
Here is the result....
Quote

gerry@gerry-Inspiron-1545 ~ $ ls -l ~/.wine/dosdevices
total 0
lrwxrwxrwx 1 gerry gerry 10 Jun  4 16:28 c: -> ../drive_c
lrwxrwxrwx 1 gerry gerry 11 Jun  4 20:38 com1 -> /devttyUSB0
lrwxrwxrwx 1 gerry gerry  8 Jun  4 16:29 d:: -> /dev/sr0
lrwxrwxrwx 1 gerry gerry  8 Jun  4 16:29 e:: -> /dev/sda
lrwxrwxrwx 1 gerry gerry  8 Jun  4 18:54 f:: -> /dev/sdd
lrwxrwxrwx 1 gerry gerry  8 Jun  4 18:54 g:: -> /dev/sr1
lrwxrwxrwx 1 gerry gerry  8 Jun  4 20:40 h:: -> /dev/sdb
lrwxrwxrwx 1 gerry gerry  1 Jun  4 16:28 z: -> /
gerry@gerry-Inspiron-1545 ~ $


from that, I am assuming that Mint now recognises COM1....
Now all I need is some way for the app/program, to recognise the COM1 exists and connect when I choose COMPORT instead of KEYBOARD on the Config screen....
which, I presume, has something to do with this from earlier....
Quote

and more detailed instructions for this bit..... please.

Reading up on this you will also need to add yourself to the dialout group, to be able to access the com ports. And to log off/in again to get the changes updated. (Use Users & Groups from the menu)

as I now have "Users & Groups" available... I need to have instructions on how to do the above, please....

Waldo
Grafter
Posts: 473
Registered: ‎01-08-2007

Re: COM PORT query Mint 15


# adduser waldo dialout
Adding user `waldo' to group `dialout' ...
Adding user waldo to group dialout
Done.

In your case it would be sudo adduser.
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

OK... Thanks Waldo... will give that a try later on......
(assume change waldo to gerry !  Cheesy )
Wink
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

@ waldo......
Been there.... done that..... still not working....
Cry
the prog does not "see" the comport .....
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: COM PORT query Mint 15

Did you log off/on again, this is needed to make the changes effective.
Have you looked at the Ham radio section of Synaptic to see if there is something there that would be useful?
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

@ HB.... first query..... erm ..... no.... will do that and see what happens !  Roll_eyes
second query.... no, I doubt if there is... this is a " chat " type prog.... that can use a morse key to send the letters , or the keyboard as normal... not specific to "ham radio"...
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

Logged out... re-booted.... and still the same... no connection from the Config choice to the comport
( have also unplugged the adapter a couple of times, and still no recognition )....
ejs
Aspiring Hero
Posts: 5,442
Thanks: 631
Fixes: 25
Registered: ‎10-06-2010

Re: COM PORT query Mint 15

Quote from: shutter

gerry@gerry-Inspiron-1545 ~ $ ls -l ~/.wine/dosdevices
lrwxrwxrwx 1 gerry gerry 11 Jun  4 20:38 com1 -> /devttyUSB0


Your com1 symlink is broken. You missed the / between dev and ttyUSB0. /dev/ is a directory, ttyUSB0 is the device in that directory. You will need to remove the incorrect symlink then try again:

rm ~/.wine/dosdevices/com1
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

OK...did the rm bit, and then messed up the next bit by putting UZB instead of USB.... so I did this....
Quote

gerry@gerry-Inspiron-1545 ~ $ ln -s /dev/ttyUZB0 ~/wine/dosdevices/com1
ln: failed to create symbolic link ‘/home/gerry/wine/dosdevices/com1’: No such file or directory
gerry@gerry-Inspiron-1545 ~ $ ls -l ~/.wine/dosdevices
total 0
lrwxrwxrwx 1 gerry gerry 10 Jun  4 16:28 c: -> ../drive_c
lrwxrwxrwx 1 gerry gerry  8 Jun  4 16:29 d:: -> /dev/sr0
lrwxrwxrwx 1 gerry gerry  8 Jun  4 16:29 e:: -> /dev/sda
lrwxrwxrwx 1 gerry gerry  8 Jun  4 18:54 f:: -> /dev/sdd
lrwxrwxrwx 1 gerry gerry  8 Jun  4 18:54 g:: -> /dev/sr1
lrwxrwxrwx 1 gerry gerry  8 Jun  4 20:40 h:: -> /dev/sdb
lrwxrwxrwx 1 gerry gerry  1 Jun  4 16:28 z: -> /
gerry@gerry-Inspiron-1545 ~ $ cd ~/.wine/dosdevices/
gerry@gerry-Inspiron-1545 ~/.wine/dosdevices $ ln -s /dev/ttyUSB0 com1
gerry@gerry-Inspiron-1545 ~/.wine/dosdevices $

Going out now before I do anything else .... so will log off and see what happens when I boot up again... ( about 1 hour or so)

shutter
Community Veteran
Posts: 22,214
Thanks: 3,773
Fixes: 65
Registered: ‎06-11-2007

Re: COM PORT query Mint 15

YAY ! Cheesy
Thanks very much guys for all your help.... Wink

. it now works .... BRILL !... am so pleased.... Smiley
Linux Mint 15 is looking good.... !
It is good that WINE work so easily, compared to all the faffing about that went before !..
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: COM PORT query Mint 15

That WAS faffing about compared to the programs I use in wine.
Glad it is working for you, awaiting your next problem  Cheesy
VileReynard
Hero
Posts: 12,616
Thanks: 582
Fixes: 20
Registered: ‎01-09-2007

Re: COM PORT query Mint 15

BTW if you are only interested in the last few lines of dmesg, use
Quote
dmesg | tail

"In The Beginning Was The Word, And The Word Was Aardvark."