From owner-freebsd-hackers@freebsd.org Tue Dec 20 17:58:23 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3F0DC89A34 for ; Tue, 20 Dec 2016 17:58:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E99EC2 for ; Tue, 20 Dec 2016 17:58:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 64AAE1FE023; Tue, 20 Dec 2016 18:58:19 +0100 (CET) Subject: Re: USB ppbus? To: George Mitchell , freebsd-hackers@freebsd.org References: <35e62a59-556a-68bf-3b9d-017108f12f38@m5p.com> From: Hans Petter Selasky Message-ID: <930e14f6-d8a8-7f50-21b4-6e76c2057f31@selasky.org> Date: Tue, 20 Dec 2016 18:57:50 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <35e62a59-556a-68bf-3b9d-017108f12f38@m5p.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 17:58:23 -0000 On 12/19/16 20:19, George Mitchell wrote: > I have a USB cable that terminates in a DB25 connector. Inside is a > Prolific Technology PL2305: > http://prolificusa.com/files/ds_pl2305I_v1.0.pdf > It probes as a ulpt. I would love if there existed such a thing as > a uppi device. Does it sound possible to get to such a result by > extending the ppbus code to know about USB? Or might it be simpler > to try to add the ppi ioctls (PPIGDATA, etc.) to ulpt.c? -- George Hi George, There is currently no such thing. ulpt only provides a raw character device. The ppbus could possibly be implemented in userspace using libcuse. --HPS