another issue with usb com
another issue with usb com
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?
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?
Re: another issue with usb com
Anybody to help me????
Re: another issue with usb com
Try this:
Code: Select all
sudo chgrp dialout /dev/ttyUSB0
Re: another issue with usb com
it doesn't work as well.
There is no COM port displayed in the list.
is there any way to debug that?
There is no COM port displayed in the list.
is there any way to debug that?
Re: another issue with usb com
Im just watching your thread. because i like WINE but im having issues with getting com ports to work !!!
Re: another issue with usb com
Any chances to have updates on this issue?
Re: another issue with usb com
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.
Re: another issue with usb com
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.
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.