another issue with usb com

Questions about Wine on Linux
Locked
camelator
Newbie
Newbie
Posts: 4
Joined: Sat May 31, 2014 2:30 pm

another issue with usb com

Post by camelator »

Here is my issue:

Context:
Ubuntu 14.04 64 bits, wine 1.6.2
I need to set up a flybarless system on my RC helicopter.
There is a windows program (FBL) to do that, and a USB hardware plugged to my helicopter.
The program use COM to communicate with the FBL. On Windows, I can choose the COM port to dial.

Issue:
I successfully installed wine & my program on ubuntu.
I can get information on my usb hardware:
lsusb -s 3:5
Bus 003 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
I can see my usb hardware can use tty:
dmesg | grep tty
[ 2338.988253] usb 3-2: pl2303 converter now attached to ttyUSB0
I made a simlink in .wine/dosdevice:
sudo ln -s /dev/ttyUSB0 com1
and add user to group dialout
sudo adduser christian dialout

unfortunately, when I run my windows application with with, the com port is not shown in the list. there is no com port.

Any suggestion?
camelator
Newbie
Newbie
Posts: 4
Joined: Sat May 31, 2014 2:30 pm

Re: another issue with usb com

Post by camelator »

Anybody to help me????
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: another issue with usb com

Post by dimesio »

Try this:

Code: Select all

sudo chgrp dialout /dev/ttyUSB0
camelator
Newbie
Newbie
Posts: 4
Joined: Sat May 31, 2014 2:30 pm

Re: another issue with usb com

Post by camelator »

it doesn't work as well.
There is no COM port displayed in the list.
is there any way to debug that?
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: another issue with usb com

Post by Carlyn »

Im just watching your thread. because i like WINE but im having issues with getting com ports to work !!!
camelator
Newbie
Newbie
Posts: 4
Joined: Sat May 31, 2014 2:30 pm

Re: another issue with usb com

Post by camelator »

Any chances to have updates on this issue?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: another issue with usb com

Post by dimesio »

You can try upgrading Wine to the latest development release, but I don't expect that to help. If your device requires Windows drivers to work, it won't work in Wine.
b.e.r.n.d
Newbie
Newbie
Posts: 1
Joined: Thu Jun 12, 2014 11:50 am

Re: another issue with usb com

Post by b.e.r.n.d »

Hi,

I had a similar problem with wine 1.4.1 and KTSync.
KTSync is a data sync program for KoamTac USB barcode scanners.
KTSync uses usbser.sys as driver.

Now after following steps, to program runs fine, but without automatic COM Port Scan or sync after reconnect the scanner.

1. The scanner have the device /dev/ttyACM0 (sometimes after reconnect the device changes to ttyACM1 -> make a udev rule!)
2. ln -s /dev/ttyACM0 ~/.wine/dosdevices/com1
3. any reg entry in Hardware\\Devicemap\Serialcomm doesn't help
4. #usermod -a -G dialout user

...and now the important part:

5. Search in the registry for any setup data of your program regarding serial ports. I found for KTSync this:

Last connected Port 01 00 00 00 <- 01 = COM1, 02 = COM2, etc...
Selected Port 01 00 00 00
Founded Ports "" <- always empty in Wine, because its automatic deletet bei KTSync w/o usbser.sys

Now KTSync scans COM1 and found the scanner.
Locked