Connect on LInux

User support for our new E-Stim Connect service. Looking for help? Then have a look at https://e-stim.online for instructions and answers to frequently asked questions. Comments and suggests for improvement of the service are always welcome.
Post Reply
khyzer
Active
Posts: 5
Joined: Tue Mar 24, 2020 5:01 pm
Location: France

Connect on LInux

Post by khyzer » Thu Mar 26, 2020 9:34 am

Hi, I try to use E-Stim Connect on Linux. In the application I select the port that has been created when I plug the cable. I also try the other but without success.

In the log box I have the following errors :
STATUS 2020-03-26 10:14:39: Logging started
SERIAL 2020-03-26 10:14:47: Serial port error 101
STATUS 2020-03-26 10:14:47: Opened serial port /dev/ttyUSB0
SERIAL 2020-03-26 10:14:47: Serial port error 101
SERIAL 2020-03-26 10:14:47: Serial port error 101
SERIAL 2020-03-26 10:14:47: Serial port error 101
>SERIAL 2020-03-26 10:14:47: S
SERIAL 2020-03-26 10:14:52: Timeout - 2B not responding

Does anybody run E-Stim Connect on Linux ?

Thanks.



khyzer
Active
Posts: 5
Joined: Tue Mar 24, 2020 5:01 pm
Location: France

Re: Connect on LInux

Post by khyzer » Thu Mar 26, 2020 7:42 pm

I trace the system calls of E-Stim Connect, i see that the application try to use /dev/ttyS0 whatever the selection on the dropdown :(

I found a dirty workaround : I rename /dev/ttyS0 in /dev/ttyS0.orig and link /dev/ttyUSB0 to /dev/ttyS0 and it works !

proxs
Newbie
Posts: 2
Joined: Fri Mar 27, 2020 6:18 pm
Location: Czech Republic

Re: Connect on LInux

Post by proxs » Fri Mar 27, 2020 6:44 pm

Hi there,

How did you install E-Stim Connect on linux?

When I download and extract it there are unknown files that cant be installed in any way i know.

I am new in linux so please help me to make it work.

khyzer
Active
Posts: 5
Joined: Tue Mar 24, 2020 5:01 pm
Location: France

Re: Connect on LInux

Post by khyzer » Sat Mar 28, 2020 10:19 am

Hi,

It''s not really an install, it runs directly from the extracted location. But you have to make it executable before.

Here is what you can do in a terminal :
1. extract the archive
2. rename the folder because the software will create it anyway and i like things one one place (not mandatory)
3. go inside the directory
4. make E-Stim Connect executable
5. exec the binary file

It's look like this (lines starting with <number>$ are commands to use, others are output):

Code: Select all

1$ unzip Dowloads/E-Stim_Connect.zip
Archive:  Dowloads/E-Stim_Connect.zip
  inflating: E-Stim Connect/appicon_128.png  
 extracting: E-Stim Connect/appicon_32.png  
 extracting: E-Stim Connect/appicon_48.png  
  inflating: E-Stim Connect/E-Stim Connect  
   creating: E-Stim Connect/E-Stim Connect Libs/
  inflating: E-Stim Connect/E-Stim Connect Libs/libc++.so.1  
  inflating: E-Stim Connect/E-Stim Connect Libs/libRBAppearancePak64.so  
  inflating: E-Stim Connect/E-Stim Connect Libs/libSSLSocket64.so  
  inflating: E-Stim Connect/E-Stim Connect Libs/XojoGUIFramework64.so  
   creating: E-Stim Connect/E-Stim Connect Resources/
 extracting: E-Stim Connect/E-Stim Connect Resources/battery25.png  
 extracting: E-Stim Connect/E-Stim Connect Resources/battery50.png  
 extracting: E-Stim Connect/E-Stim Connect Resources/battery75.png  
 extracting: E-Stim Connect/E-Stim Connect Resources/batteryfull.png  
 extracting: E-Stim Connect/E-Stim Connect Resources/batterylow.png  
 extracting: E-Stim Connect/E-Stim Connect Resources/onepixel.png  
2$ mv "E-Stim Connect" EStimConnect
3$ cd EStimConnect
4$ chmod +x E-Stim\ Connect
5$ ./E-Stim\ Connect
You can do the same with a graphical file browser but I don't use one. I prefer the command line. After that you can also create a shortcut to the file E-Stim Connect if you want.

I hope this can help you.

proxs
Newbie
Posts: 2
Joined: Fri Mar 27, 2020 6:18 pm
Location: Czech Republic

Re: Connect on LInux

Post by proxs » Sat Mar 28, 2020 11:03 am

Thank you very much.

Now I have another problem. I cant connect to serial USB port, maybe it cause because of problem you mentioned on this thread.

I dont fully understand what I should do here:

"I found a dirty workaround : I rename /dev/ttyS0 in /dev/ttyS0.orig and link /dev/ttyUSB0 to /dev/ttyS0 and it works !"

I can see dev/ttyUSB0 in E-Stim Connect app but when i try to connect it end up with error "No response from 2B"

I can see device connected with lsusb command "Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC"

Sorry to bother so much.

khyzer
Active
Posts: 5
Joined: Tue Mar 24, 2020 5:01 pm
Location: France

Re: Connect on LInux

Post by khyzer » Sat Mar 28, 2020 3:31 pm

There is the command I use :

Code: Select all

cd /dev
sudo mv ttyS0 ttyS0.orig
sudo ln -s ttyUSB0 ttyS0
This assumes that ttyUSB0 is the estim port. You can verif that if after plug the cable into the USB port your see in output of the command dmesg a line like

Code: Select all

FTDI USB Serial Device converter now attached to ttyUSB0

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest