Menu

#1 First tests on Linux - PC application

1.0
open
nobody
None
2014-08-31
2014-08-29
VCC
No

KUbuntu 14.04, last updated: 2014.08.28.
PC app bootloader svn revision 61.
Tested both on Virtualbox and a physical machine, same behavior.
The USB port is detected as ttyUSB0, but the application can't connect to it. The application responds to system messages like mouse clicks, but it won't close unless terminated by System Monitor (Task Manager).
The Windows version of the application connects to PIC under Windows, but under Wine in Linux, it doesn't even display available COM ports. For Wine, COM7 was created as link to ttyUSB0 using the following command:
ln -s /dev/usb/ttyUSB0 ~/.wine/dosdevices/com7
Wine version is 1.7.25. No other USB device show up in Wine, even those appearing to the OS as ttyACM0 (PIC implements CDC protocol as opposed to FT232). The current version of synaser.pas doesn't search for USB devices like ttyACM0, see GetSerialPortNames function.

1 Attachments

Discussion

  • Jim Kueneman

    Jim Kueneman - 2014-08-30

    The Linix search was written (hacked) by me for Ubuntu. I have no idea how to do this correctly. Do you?

    Also it works on Ubuntu

    if you look at connection_threads.pas

    const
    PATH_LINUX_DEV = '/dev/';
    PATH_OSX_DEV = 'dev/';

    Play with the "/" for Linux.

    Jim

     

    Last edit: Jim Kueneman 2014-08-30
  • VCC

    VCC - 2014-08-31

    Same results on Ubuntu as in KUbuntu.
    Svn revision, same as above, 61. Not tested with revision 62.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.