Defining a COMPORT number on Linux mint 17 rosa
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: Defining a COMPORT number on Linux mint 17 ros...
Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 9:37 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am trrying to define a comport number through the terminal, using a USB to Serial Converter cable PL2303
This line seems to have a problem in it....
ln -sf /dev/ttyUSB0 ~/.wine/dosdevices/com4
It should be returned as a copy.. and the comport should be assigned to port number 4 However, I must have miscopied something... maybe the slants are the wrong way (back slant ) ? ? or spacing but it gives the following error..
ln:invalid option - -`/`
Try `ln - - help` for more information.
However the help is incomprehensible to me !... can someone please correct it ?
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 9:54 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Have you tried escaping the paths using single quotes? i.e.
'/dev/ttyUSB0' '~/....'
Also make sure that the device your linking to actually exists.
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 10:03 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@Anonymous do you mean i should put the single quotes in where you have them on the existing format of the text?
I am not a Linux geek, so quite a lot of the linux terminology is not understood.
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 10:08 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@shutter, Yes, like this:
ln -sf '/dev/ttyUSB0' '~/.wine/dosdevices/com4'
But this shouldn't really be needed so it tells me that something else is wrong.
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 10:11 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
ok thanks... wll give that a try... and then see if the "dosdevice" i.e. the pl2303 is correctly defined. will probably take me the rest of the day... so don`t rush back ! !
cheers
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 10:18 AM - edited 02-04-2017 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@shutter, what you should do is :
cd ~/.wine/dosdevices
then
ln -sf /dev/ttyUSB0 com4
That should do the trick.
Corrected typo spotted by @VileReynard
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 10:59 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@Anonymous ok thanks for that... maybe that line was missed out when I re-wrote the instructions ! .. will give that a go this afternoon...busy doing other stuff now.. helping a guy in Belguim with cwcom ! ( on linux ! )
cheers
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 11:43 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Shouldn't
ln -sf /def/ttyUSB0 com4
be
ln -sf /dev/ttyUSB0 com4
and do you need root authority to do it?
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 12:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
"hairybiker@octo:~$ ln -s /dev/tty0 ./com4
hairybiker@octo:~$ ll com4
lrwxrwxrwx 1 hairybiker hairybiker 9 Apr 2 12:21 com4 -> /dev/tty0
"
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I see - note that
jeremy@hector ~ $ ls -l /dev/tty0
crw--w---- 1 root tty 4, 0 Mar 31 23:37 /dev/tty0
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 5:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@VileReynard wrote:
Shouldn't
ln -sf /def/ttyUSB0 com4be
ln -sf /dev/ttyUSB0 com4and do you need root authority to do it?
I think you are confusing the issue even more... the original in my post was deV .. so why are you asking if deF should be deV?
As it happens,... the guy I was trying to help,. seems to have sorted it out... therefore, the original instruction that I wrote must have been correct, as it worked for me, on my initial trial... ( and I think it has worked for other Linux users since being published on the internet )..
Maybe, having already got the USB0 comport defined already,.. installing another usb to serial converter has confused the issue.. and I could possibly have mis - read the dmesg listings.
Thanks for your efforts guys.. .... as usual.... much appreciated.
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 5:20 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Linux doesn't come equipped with a /def directory.
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 7:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@VileReynard so why did you post this, then ?
**********************************************************************************************************************************************
VileReynard wrote:
Shouldn't
ln -sf /def/ttyUSB0 com4
be
ln -sf /dev/ttyUSB0 com4
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 9:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@shutter, that was my mistake @VileReynard was only highlighting my error that I then corrected.
Re: Defining a COMPORT number on Linux mint 17 rosa
02-04-2017 9:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@Anonymous Ah, well... that explains why I was confused ! ! ..
@VileReynard restored to glory ! ! ..
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: Defining a COMPORT number on Linux mint 17 ros...