Menu

#76 ACM serial devices under LInux

SVN
closed-fixed
nobody
None
5
2023-11-07
2023-11-06
No

the devices like /dev/ttyACMxx will not recognize.
Fix:
add lines
if FindFirst('/dev/ttyAC*', ATTR, sr) = 0 then begin
repeat
if (sr.Attr and ATTR) = Sr.Attr then begin
if Result <> '' then Result := Result + ',';
Result := Result + '/dev/' + sr.Name;
end;
until FindNext(sr) <> 0;
end;
FindClose(sr);

after line 2462 (r270) of synaser.pas

1 Attachments

Related

Bugs: #76

Discussion

  • Geby

    Geby - 2023-11-07
    • status: open --> closed-fixed
     
    • Andreas Brietzke

      Thanks, also for this great SW!

      Am Dienstag, dem 07.11.2023 um 10:57 +0000 schrieb Geby:

      status: open --> closed-fixed
      Comment:
      OK, ttyACM* added

      [bugs:#76] ACM serial devices under LInux

      Status: closed-fixed
      Group: SVN
      Created: Mon Nov 06, 2023 04:57 AM UTC by Andreas Brietzke
      Last Updated: Mon Nov 06, 2023 04:57 AM UTC
      Owner: nobody
      Attachments:

      synaser.pas (71.8 kB; text/x-pascal)
      the devices like /dev/ttyACMxx will not recognize.
      Fix:
      add lines
      if FindFirst('/dev/ttyAC*', ATTR, sr) = 0 then begin
      repeat
      if (sr.Attr and ATTR) = Sr.Attr then begin
      if Result <> '' then Result := Result + ',';
      Result := Result + '/dev/' + sr.Name;
      end;
      until FindNext(sr) <> 0;
      end;
      FindClose(sr);

      after line 2462 (r270) of synaser.pas

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/synalist/bugs/76/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Andreas Brietzke
      Chiba-Ken, Nagareyama-shi
      Nonoshita 6-594-5
      Nagareyama-haitsu D-102
      〒 270-0135
      Japan
      Tel:+81 4 7189 7226

      • 49 69 34872920
        abrietzke@arcor.de
        Skype: andreas.brietzke
        sip:2563920@sipgate.de
        sip:andyb@diamondcard.us
       

      Related

      Bugs: #76

  • Geby

    Geby - 2023-11-07

    OK, ttyACM* added

     

Log in to post a comment.

MongoDB Logo MongoDB