From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13364C433DF for ; Wed, 26 Aug 2020 07:08:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2E89206FA for ; Wed, 26 Aug 2020 07:08:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726739AbgHZHIg convert rfc822-to-8bit (ORCPT ); Wed, 26 Aug 2020 03:08:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:56092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbgHZHIf (ORCPT ); Wed, 26 Aug 2020 03:08:35 -0400 From: bugzilla-daemon@bugzilla.kernel.org To: linux-usb@vger.kernel.org Subject: [Bug 208959] USB-serial (mct_u232): bit7=1 when tty is set to cs7? Date: Wed, 26 Aug 2020 07:08:34 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_usb@kernel-bugs.kernel.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: USB X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: low X-Bugzilla-Who: johan@kernel.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_usb@kernel-bugs.kernel.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=208959 --- Comment #3 from Johan Hovold (johan@kernel.org) --- On Tue, Aug 25, 2020 at 03:20:48PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=208959 > > --- Comment #2 from mslade@epic-code.com.au (mslade@epic-code.com.au) --- > Please clarify what you mean by "converter" here. I was referring to the USB-serial device. > FYI to test I was just doing this: > > # stty -F /dev/ttyUSB0 1200 cs7 What is the output of "stty -a -F /dev/ttyUSB0" after this? > # dd if=/dev/ttyUSB0 bs=1|hd Try using a terminal program instead and connect the device to another USB-serial device (e.g. ftdi or pl2303) and see if you can get 7-bit words to work. You can also try enabling debugging and provide the relevant bits from dmesg when you connect, configure and read from the device: echo module mct_u232 +p > /sys/kernel/debug/dynamic_debug/control Johan -- You are receiving this mail because: You are watching the assignee of the bug.