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=-6.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 2BEAFC433DB for ; Mon, 1 Feb 2021 08:44:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C558064E3C for ; Mon, 1 Feb 2021 08:44:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232007AbhBAIns (ORCPT ); Mon, 1 Feb 2021 03:43:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:46678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbhBAInq (ORCPT ); Mon, 1 Feb 2021 03:43:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0E5D764E33; Mon, 1 Feb 2021 08:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612168986; bh=4GHVwdKvr7NVXxwSGn+ugqaicjZ0MF+dQLEP9JdKRQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WIwBlnFaBosINORHaaUYGoM51p1E9/vW+2lDGeOqImeSjk8/C4RzLCHdddsP4py4O Xd3qK0a2TV12TXfxEIFitpiY3zHXD65axhqDOM4c0uog/o3IeQwafujKDTVmne84pr Gr1y3PMxTViITh7wifrAA0oT19V8ZUJ5dn1LQ3RJ7R08zXNrNdyXBBjz3Allx2Fflo XgMg5qmhlJAYwLLzkIlh5ordc4WFP3K0SD58t5MsBa2Vh2DTGTTM66x1Hf2ngxjIhC 7ymLg2DHpi2k/+hQxcnOjZzcAi3bFJxchmV0E+KANgL1+TCvxVjT3hzUU3prFj9M8l eO3YzV/SB1KFA== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1l6Unl-0004Jp-TT; Mon, 01 Feb 2021 09:43:17 +0100 Date: Mon, 1 Feb 2021 09:43:17 +0100 From: Johan Hovold To: Joe Abbott Cc: linux-usb@vger.kernel.org Subject: Re: pl2303.c 110 baud not working Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Sat, Jan 30, 2021 at 05:30:15AM -0600, Joe Abbott wrote: > Sorry it's been so long. Busy. No worries. > > So in any case, we'd need to key this off of the device type. > > > Yes, key off type as I can't find the relationship. Windows > uses a8 a6 01 80 02 07 for any request near 110 and switches > to direct encode for anything near 75 or 150. Ok, thanks for checking. > > I noticed that > > > > 12000000 / 0x1a6a8 ~= 110.9 > > > > Possibly just a coincidence, especially as 0x1aa22 would be closer > > match. But perhaps you can try a few more rates not in baud_sup and see > > if you can figure it out. > > Coincidence. 0x01aa22 doesn't work. Not even close. > > I had to give up. Too many other things to do and hard coding > is working for me. I fully understand. Let me check with Prolific and see if they are willing to shed some light on this. Johan