Re: DirectSoft 5 Serial communications Issue's

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

 



On Mon, 2012-05-21 at 17:24 -0500, samuraimarc wrote:
> > I'm able to access all 5 serial ports on my system (Fedora 16, Wine
> > 1.5.2) with the aid of UDEV local rule that sets /dev/tty[A-Z]*
> > permissions to 0666 without using any symlinks. 
> 
Details are here:
http://www.libelle-systems.com/free/wine/serial_port_access.html

> I switched back to 0644 and used the above code. It doesnt matter what
> COM* I use I can get Csmain up and running and go to add a link and it
> cant open the port like its busy.  I get the same message in
> VirtualBox when I forget to shutdown Rslinx for AB PLCs. 
> Hope this is useful.
> 
What, exactly, is the error message? 

If your app claims the port is busy it could be either an access
permission problem or that some other program is using it. setserial
reports "Device or resource busy" if the device is in use and "No such
file or directory" if the device file doesn't exist.  It may be worth
running this dual command:

	ls -l /dev/ttyS*; sudo lsof | grep 'ttyS.'

immediately before and after trying your Wine app. 


Martin





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

  Powered by Linux