USB-Device connection problem

Questions about Wine on Linux
Locked
Yooooy
Newbie
Newbie
Posts: 2
Joined: Sat Dec 20, 2014 2:52 pm

USB-Device connection problem

Post by Yooooy »

Hi guys!

I just bought a nice USB-oscilloscope but its software runs in Windows only. I tried to run it in WINE but it tells me that no device is connected. There is a forum for this oscilloscope and some user suggested to run the following commend to map the scope to the WINE-emulator:
ln -s /home/USER/.wine/dosdevices/com1 /dev/ttyUSB0

My scope is attached to ttyUSB3 port.
When I run this command I get following message (it's in German so I have to translate it but I'm not sure if I'm using proper technical terms):
symbolic conjunction “/dev/ttyUSB3” could not have been established: file already exists
Well something like that.

BTW its been recognized properly by Ubuntu. When I run the 'lsusb' command, it's listed.

I have no skills in Linux at all so I depend on your help to figure it out. Could somebody look in to it? It would be great! I just don't want to go back to Windws, it's not an option!!! :D

My Ubuntu Version is 14.04.1 LTS and WINE version is wine1.6 1:1.6.2-0ubuntu4

Cheers!

Robert.

PS:
Here is the link to the forum:
http://dpscope.freeforums.org/dpscope-s ... e-t62.html
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: USB-Device connection problem

Post by dimesio »

ln -s /home/USER/.wine/dosdevices/com1 /dev/ttyUSB0
That's backwards; the target is first, then the symlink.
Yooooy
Newbie
Newbie
Posts: 2
Joined: Sat Dec 20, 2014 2:52 pm

Re: USB-Device connection problem

Post by Yooooy »

dimesio wrote: That's backwards; the target is first, then the symlink.
Thank You for the reply!

So is this correct? /dev/ttyUSB3 ln -s /home/USER/.wine/dosdevices/com1

If I type it into the Terminal I get this message:
bash: /dev/ttyUSB3: no permission ('no permission' is my translation)

sudo doesn't help. Do I have to change the access authorization for the ttyUSB3 file?

When I right-click on the file and go to the authorization menu it shows that root can both read&write this file.

Don't know what to do :?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: USB-Device connection problem

Post by dimesio »

Yooooy wrote: So is this correct? /dev/ttyUSB3 ln -s /home/USER/.wine/dosdevices/com1
Obviously not.

ln -s is the command
/dev/ttyUSB3 is the target
/home/USER/.wine/dosdevices/com1 is the symlink

Usage is command target symlink. Note that you have to substitute your actual username for USER in the path to the symlink.

If you have any further questions about how to use ln or any other basic command, ask for help on your distro's forum. This is not a general how-to-use-Linux forum; basic knowledge of how to use your OS is assumed here.
Locked