USB to serial converters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anyone have an idea as to how to automatically detect the USB number and 
create a sym link in the dosdevices directory.

The problem is that I have several USB devices not used at the same 
time, and when the USB to serial adapter is connected, a /dev/ttyUSB? is 
assigned. To use this assignment under WINE, I need to automatically 
detect /dev/ttyUSB? and then create a sym link in ~/.wine/dosdevices for 
the Windows program to use it. Of course, when the cable is 
disconnected, the symlink must also be removed.

An alternate way is to reserve the serial port to one device 
(/dev/ttyUSB0 for example) and then create a permanent symlink in the 
dosdevices directory. This means that other devices must not use this 
reservation.

Any ideas are appreciated.

Charlie Morrison


_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux