Com ports

Questions about Wine on Linux
Locked
Fitch
Newbie
Newbie
Posts: 3
Joined: Fri Feb 05, 2010 5:52 am

Com ports

Post by Fitch »

I'm sure this has been answered before, so I'm sorry for bringing it up again.

I have a utility which is unfortunately only available in windows, presumably because it's heavily into .NET
After a day getting around the .NET 3.5 problem, I finally made it to the utility's window.
which instantly comments that there are no com ports available.
fcu.png
This is annoying as I took the trouble beforehand to put the links in..

I have two extra files in the ~/.wine/dosdevices directory, com2 (/dev/ttyUSB0) and com3 (/dev/ttyUSB1)

dmesg | grep tty gives:
[ 0.000000] console [tty0] enabled
[ 1.278472] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.906645] tty tty58: hash matches
[ 31.540553] usb 4-2: pl2303 converter now attached to ttyUSB0
[ 31.585977] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB1

Now it's the one attached to USB1 that I need.

If I enter ls -l /dev/ttyUSB1, I get
crw-rw---- 1 root dialout 188, 1 Apr 7 17:19 /dev/ttyUSB1

ls -l /dev/ttyS3
crw-rw---- 1 root dialout 4, 6 Apr 7 17:21 /dev/ttyS3

Which would assume that I don't have permissions
However, checking line 15 of /etc/groups, I get:

dialout:x:20:alistair
because I also added my name previously to dialout.

I even tried sudo usermod -a -G dialout alistair and restarted.
But that didn't give me any com ports either.

so I'm not sure what's happening.
What am I forgetting to do?
Fitch
Newbie
Newbie
Posts: 3
Joined: Fri Feb 05, 2010 5:52 am

Re: Com ports

Post by Fitch »

An update:
I should've posted this. at the same time, it appears that I do have permissions.

alistair@Main:~/.wine/dosdevices$ ls -l
total 0
lrwxrwxrwx 1 alistair alistair 10 Apr 7 17:11 c: -> ../drive_c
lrwxrwxrwx 1 alistair alistair 12 Apr 7 19:48 com2 -> /dev/ttyUSB0
lrwxrwxrwx 1 alistair alistair 12 Apr 7 17:24 com3 -> /dev/ttyUSB1
lrwxrwxrwx 1 alistair alistair 8 Apr 7 17:12 d:: -> /dev/sr0
lrwxrwxrwx 1 alistair alistair 1 Apr 7 17:11 z: -> /

Is there a way in WINE to see if WIndows can see the com ports?
Fitch
Newbie
Newbie
Posts: 3
Joined: Fri Feb 05, 2010 5:52 am

Re: Com ports

Post by Fitch »

bumped
Locked