Ticket #39369

CH340Gでフロー制御効かない件への対応

Date d'ouverture: 2019-07-04 20:36 Dernière mise à jour: 2023-01-18 00:26

Rapporteur:
(del#24082)
Propriétaire:
(Aucun)
État:
Ouvert
Composant:
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

CH340GというUSBシリアル変換を使うと、シリアル接続のハードウェアフロー制御が動かないという現象が発生する。
現時点で二人のユーザから報告が上がっている。

・ユーザ1
 当方への個人問い合わせより。
・ユーザ2
 https://osdn.net/projects/ttssh2/ticket/39187

●原因
真因は不明だが、おそらくUSBシリアル変換のデバイスドライバの問題。

●調査状況
ユーザ1に対して、SetupComm の呼び出しを削除した版では正常動作することが確認できた。
ブランチ(r7742):
branches/hardware_flow_notwork/

ユーザ2に対しては回答が来ないため不明。

●処置案
本件はTera Termの問題ではないと考えているが、シリアルポート設定で事象が回避できるようにしたい。
(1) 設定でSetupCommの呼び出し有無を変更できるようにする。

・teraterm.iniの設定を追加

; Using internal input and output buffer of serial device driver (on/off)
UseDevcieInternalBuffer=off
※デフォルトはoff。従来の動きを変えないようにするため。

・シリアルポート設定を追加

[ ] Use device's internal I/O buffer   (英語)
[ ] デバイスの送受信バッファを使う (日本語)
※送信遅延の下にチェックボックスを追加する

●ブランチ
branches/CH340G_hw_flowctrl

●参考
SetupComm 関数
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setupcomm

Ticket History (3/10 Histories)

2019-07-04 20:36 Updated by: (del#24082)
  • New Ticket "CH340Gでフロー制御効かない件への対応" created
2019-07-04 20:38 Updated by: (del#24082)
  • Details Updated
2019-07-09 19:56 Updated by: (del#24082)
  • Details Updated
2019-07-09 23:47 Updated by: (del#24082)
2019-07-13 15:31 Updated by: (del#24082)
  • Details Updated
2019-07-13 15:34 Updated by: (del#24082)
  • Details Updated
2019-07-31 18:44 Updated by: (del#24082)
2019-08-31 11:33 Updated by: (del#24082)
2019-12-10 19:01 Updated by: (del#24082)
  • Propriétaire Update from yutakapon to (Aucun)
2023-01-18 00:26 Updated by: zmatsuo
  • Composant Update from Tera Term to Hardware/Driver

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion