IrScrutinizer capture does not work with Girs Nano #443
-
Hi, I am trying to capture my remotes by using Arduino Nano with Girs 1.03 backend and IrScrutinizer. Girs is uploaded to Nano and in Arduino serial console I can capture remote keys as is visible in the screenshot: After that I closed Arduino IDE and started IrScrutinizer-2.3.1-x86_64.AppImage on Ubuntu 10.04. My user is member of dialout group and selecting and configuring Girs backend (Sending hw) shows that device is connected and Girs version is 1.0.3. My problem is that capture does not work, for example when I press Test button on Capturing hw I get: "No Signal received" Is there a way to log serial connection if what I wrote does not have imediate answer? |
Beta Was this translation helpful? Give feedback.
Replies: 17 comments 2 replies
-
Ubuntu is version 20.04 (not 10.04). |
Beta Was this translation helpful? Give feedback.
-
Hi,
Select Options (in the top bar) -> verbose, and the serial communication will be logged to the console window. Please do this, perform the whole procedure, and post the (complete) content here. Both the screenshoots look fine. |
Beta Was this translation helpful? Give feedback.
-
Here is the log:
LocalSerialPortBuffered.readString: received "?GirsLite 1.0.3"
LocalSerialPortBuffered.sendString: Sent '\r'.
LocalSerialPortBuffered.readString: received "OK"
LocalSerialPortBuffered.sendString: Sent 'version\r'.
LocalSerialPortBuffered.readString: received "GirsLite 1.0.3"
LocalSerialPortBuffered.sendString: Sent 'modules\r'.
LocalSerialPortBuffered.readString: received "Base Transmit Capture
Receive Led Parameters"
LocalSerialPortBuffered.sendString: Sent 'analyze\r'.
LocalSerialPortBuffered.readString: TIMEOUT
LocalSerialPortBuffered.sendString: Sent 'analyze\r'.
LocalSerialPortBuffered.readString: TIMEOUT
On 12/2/21 8:37 AM, Bengt Martensson wrote:
Hi,
Is there a way to log serial connection if what I wrote does not
have imediate answer?
Select Options (in the top bar) -> verbose, and the serial
communication will be logged to the console window. Please do this,
perform the whole procedure, and post the (complete) content here.
Both the screenshoots look fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMYISFAZQ4UDOBB2Q62ODXTUO4O3XANCNFSM5JFOZ67Q>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Croatian Institute of Emergency Medicine <http://www.hzhm.hr>
Željko Puškarić / Voditelj službe za informatiku | Head of IT Sector
***@***.*** ***@***.***>/ +385 1 5496-092
Hrvatski zavod za hitnu medicinu | Croatian Institute of Emergency Medicine
Office: +385 1 5496-089 / Fax: +385 1 4677-180
Planinska 13, 10000 Zagreb, Hrvatska | Croatia
www.hzhm.hr <http://www.hzhm.hr>
|
Beta Was this translation helpful? Give feedback.
-
At this time, the Arduino starts looking for an IR signal, and the yellow LED goes on. Please have the to-be-analyzed signal sent here.
For some reason, nothing arrives (or is recognized). That is all I can say without further information. |
Beta Was this translation helpful? Give feedback.
-
Here are the same commands and replies from Arduino IDE serial console:
Sent: \r
received: OK
Sent: version\r
received: GirsLite 1.0.3
Sent: modules\r
received: Base Transmit Capture Receive Led Parameters
Sent: analyze\r
<yellow LED turns on>
<button on remote pressed>
<red LED turns on>
received: f=36363 +867 -898 +865 -898 +1752 -898 +865 -898 +865 -899
+865 -1788 +1750 -898 +865 -1786 +1752 -899 +865 -898 +865 -65535 +865
-901 +865 -898 +1750 -898 +865 -898 +867 -898 +865 -1786 +1750 -899 +865
-1788 +1750 -898 +865 -898 +865 -65535
On 12/2/21 7:56 PM, Bengt Martensson wrote:
|LocalSerialPortBuffered.readString: received "?GirsLite 1.0.3"
LocalSerialPortBuffered.sendString: Sent '\r'.
LocalSerialPortBuffered.readString: received "OK"
LocalSerialPortBuffered.sendString: Sent 'version\r'.
LocalSerialPortBuffered.readString: received "GirsLite 1.0.3"
LocalSerialPortBuffered.sendString: Sent 'modules\r'.
LocalSerialPortBuffered.readString: received "Base Transmit Capture
Receive Led Parameters" LocalSerialPortBuffered.sendString: Sent
'analyze\r'. |
At this time, the Arduino starts looking for an IR signal, and the
yellow LED goes on. Please have the to-be-analyzed signal sent here.
|LocalSerialPortBuffered.readString: TIMEOUT |
For some reason, nothing arrives (or is recognized).
That is all I can say without further information.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMYISFAOGNHQL3QXAEOUSXLUO66MBANCNFSM5JFOZ67Q>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Croatian Institute of Emergency Medicine <http://www.hzhm.hr>
Željko Puškarić / Voditelj službe za informatiku | Head of IT Sector
***@***.*** ***@***.***>/ +385 1 5496-092
Hrvatski zavod za hitnu medicinu | Croatian Institute of Emergency Medicine
Office: +385 1 5496-089 / Fax: +385 1 4677-180
Planinska 13, 10000 Zagreb, Hrvatska | Croatia
www.hzhm.hr <http://www.hzhm.hr>
|
Beta Was this translation helpful? Give feedback.
-
Please do not fullquote my text. In this context, it just adds noise. Thank you.
This is perfect. So the hardware works. I have just tried with Ubunto 20.04.01 and IrScrutinizer 2.3.1 AppImage and I cannot reproduce. Everything work fine. So I do not know how I can help you...?? |
Beta Was this translation helpful? Give feedback.
-
Hi
I am trying to debug the problem and for that matter i installed serial
port monitoring program called interceptty. It attaches to real serial
port and creates virtual serial port to which a program can be attached
(in my case real port is /dev/ttyUSB0 and virtual is /dev/ttyUSB3). I
can connect to port with minicom and everything works OK (I can send
commands and am getting expected replies).
When I start IrScrutinizer it does see virtual port (/dev/ttyUSB3) but
when I try to connect to it (<Open> button in Girs Client Sending hw) it
returne message: "NonExistingPortException: /dev/ttyUSB3"
Is there a way around it? Perhaps some other serial port monitoring
program that works with IrScrutinizer?
P.S. interceptty command line is:
interceptty -s 'ispeed 115200 ospeed 115200' /dev/ttyUSB0 /dev/ttyUSB3
|
Beta Was this translation helpful? Give feedback.
-
With the verbose option, the serial communication is echoed to the console, so there is no real need for a port-sniffer. Please flash "my" 1.0.3 using e.g. Please also try the "Generic Binary" as per http://www.harctoolbox.org/IrScrutinizer.html#Generic+Binary |
Beta Was this translation helpful? Give feedback.
-
Have you made any further progress on this? Again, you are describing a sort-of "this-cannot-happen" situation (bidirectional serial communication first works (version number and modules), then it suddenly does not work). And I cannot reproduce... |
Beta Was this translation helpful? Give feedback.
-
Hi,
I intend to try it on another computer but have been busy lately. Will
let you know the outcome.
…On Sat, 2021-12-18 at 04:31 -0800, Bengt Martensson wrote:
Have you made any further progress on this?
Again, you are describing a sort-of "this-cannot-happen" situation
(bidirectional serial communication first works (version number and
modules), then it suddenly does not work). And I cannot reproduce...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or
Android.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Hi, I tried it on another machine but with the same result. Could it be a kernel version issue (I am using rather recent kernel versions, 5.8 on one machine and 5.13 on another)? |
Beta Was this translation helpful? Give feedback.
-
Hi, Examples: command: version-CR - command: modules-CR- but for capture and receive So Agirs does not output line endings of any kind as a reply to capture and receive commands. If software like IrScrutinizer tries to read such data from serial port it can happen that it times out because of the lack of line ending character. |
Beta Was this translation helpful? Give feedback.
-
No, this is not true. All output is made with (or ended with)
|
Beta Was this translation helpful? Give feedback.
-
Hi, I got it working. The problem was that I installed AGirs through Arduino Library Manager. That version does not have |
Beta Was this translation helpful? Give feedback.
-
Congratulations! Is it correct that you are using Infrared4Arduino version 1.2.2 (see ~/Arduino/libraries/Infrared/library.properties); using the library manager version 1.0.3 the problem occurs; with the current GitHub version (which is stupidly enough also called 1.0.3, blush...) it works? Please verify; I want to fix this. |
Beta Was this translation helpful? Give feedback.
-
Yes, Infrared4Arduino version is indeed 1.2.2. and problem is as you described (library manager version does not work, GitHub version does work). |
Beta Was this translation helpful? Give feedback.
-
Thank you again for finding this problem! I have set the version of the current Github sources to 1.0.4 (bengtmartensson/AGirs#64). It should be in the Arduino library manager within a few hours or so. Let me know if you find further issues. |
Beta Was this translation helpful? Give feedback.
Hi,
I got it working. The problem was that I installed AGirs through Arduino Library Manager. That version does not have
stream.println();
command in the right place (diff of Arduino version and GitHub version is attached). I had to remove AGirs and install it from zip file that I downloaded from GitHub. After uploading that sketch to Arduino Nano everything works fine from IrScrutinizer as well as from my Python program.
Thanks a lot for your help
diffs.zip
.