in reply to Re^5: r/w attached infrared head on /dev/ttyUSB0
in thread r/w attached infrared head on /dev/ttyUSB0

I tried now a complete other raspberry with an older installation of raspbian.
It is exactly the same situation.

So I can be sure, there are no other running processes or something other what kills my script.


I now it can be working.
Some years ago I had this thing working, but after some years the SD card was crashed.
And I have a backup - problem is, I don't know where...
What I remember, I had the same problems but I made it working.
  • Comment on Re^6: r/w attached infrared head on /dev/ttyUSB0

Replies are listed 'Best First'.
Re^7: r/w attached infrared head on /dev/ttyUSB0
by haukex (Archbishop) on May 28, 2019 at 07:51 UTC

    Sorry I can't be of more assistance, other than all the debugging tips and trying to find the difference between cat+stty and Perl, I'm still out of ideas at the moment. It could possibly be related to whatever kernel driver or USB module this is - in the node I linked to, I mentioned that I discovered that I needed to set -echo for some of the adapters I was working with (specifically, an FTDI USB-COM485-PLUS4 module with a FT4232H chip). Unfortunately, the way I discovered this was with lots of experimenting and banging my head against the wall. I recall using cat+stty, minicom, and screen to talk to the virtual port until I figured out the issue with the -echo option. I can only suspect that the issue with the module you're working with might be similar, some combination of options needed to make it work. Good luck, and let us know if you have more questions or you do figure it out :-)

Re^7: r/w attached infrared head on /dev/ttyUSB0
by holli (Abbot) on May 26, 2019 at 17:39 UTC
    Do you remember a vaguely familiar looking guy asking you about it?


    holli

    You can lead your users to water, but alas, you cannot drown them.
      no
        Too bad. That means you will never going to invent a time machine =)


        holli

        You can lead your users to water, but alas, you cannot drown them.