[Wine] Re: Help with USB-to-serial cable

islandBilly wineforum-user at winehq.org
Sat Jan 22 15:53:54 CST 2011


doctordruidphd wrote:
> I am trying to use software to program a scanner radio (BCD396t and UASD software). The software installs and seems to run properly, reading and writing database files. But I cannot connect to the scanner, through a USB-to-serial cable. 
> OS: ubuntu-8.10, kubuntu-8.10, debian/lenny (tried them all)
> 
> lsusb identifies the cable as follows:
> Bus 002 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
> 
> I set up the link in dosdevices as follows:
> ln -s /dev/ttyUSB0 com5
> 
> When I change the baud rate in the software, and then check with stty, it is changing the baud rate on ttyUSB0, so that part works. This computer has only USB ports, no serial. I actually have several other devices with the same problem -- need to program with USB-serisl cables.
> 
> Any ideas how to set this up?
> 
> update: I saw the earlier post regarding a gps on a serial cable.
> Doesn't help.
> Upon plugging in the USB-serial cable, dmesg spits out the following:
> 
> --------------------
> [ 1150.724077] usb 2-1: new full speed USB device using ohci_hcd and address 2
> [ 1150.936841] usb 2-1: configuration #1 chosen from 1 choice
> [ 1151.718575] usbcore: registered new interface driver usbserial
> [ 1151.721047] usbserial: USB Serial support registered for generic
> [ 1151.722382] usbcore: registered new interface driver usbserial_generic
> [ 1151.722391] usbserial: USB Serial Driver core
> [ 1151.943651] usbserial: USB Serial support registered for pl2303
> [ 1151.946619] pl2303 2-1:1.0: pl2303 converter detected
> [ 1151.978846] usb 2-1: pl2303 converter now attached to ttyUSB0
> [ 1151.980971] usbcore: registered new interface driver pl2303
> [ 1151.980980] pl2303: Prolific PL2303 USB to serial adaptor driver
> --------------------------
> So that much seems to be working.


Here is a happy update: I had exactly the same setup, ie a netbook  running Ubuntu 10.10 with no serial ports and a device, in this case a gps, using Prolific PL2303 driver. I did in fact use WINE to install this driver from the CD that came with the gps, and it seemed to install fine: the device started working. Then seeing the post above, I created a sym link to the WINE zone, not the home folder, ie: 

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1 

 Result: my charting software (also running under wine) works fine. Now, I must admit that a "gpsInformation" utility program that came with it did not work at all, so there must be differences somewhere in how these two Windoze programs are set up to look at com ports.







More information about the wine-users mailing list