From owner-freebsd-usb@FreeBSD.ORG Thu May 24 22:56:15 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C06016A469 for ; Thu, 24 May 2007 22:56:15 +0000 (UTC) (envelope-from pvh@wfeet.za.net) Received: from ctb-mesg8.saix.net (ctb-mesg8.saix.net [196.25.240.78]) by mx1.freebsd.org (Postfix) with ESMTP id BCD8513C4F5 for ; Thu, 24 May 2007 22:56:14 +0000 (UTC) (envelope-from pvh@wfeet.za.net) Received: from leftside.wfeet.za.net (dsl-241-97-143.telkomadsl.co.za [41.241.97.143]) by ctb-mesg8.saix.net (Postfix) with ESMTP id 866AC260E for ; Thu, 24 May 2007 23:51:40 +0200 (SAST) Received: from leftside.wfeet.za.net (localhost [127.0.0.1]) by leftside.wfeet.za.net (Postfix) with ESMTP id E7BD32E99D for ; Thu, 24 May 2007 23:51:31 +0200 (SAST) X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on leftside.wfeet.za.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 Received: from [192.168.1.10] (blackstar.wfeet.za.net [192.168.1.10]) by leftside.wfeet.za.net (Postfix) with ESMTP id D0C672E18E for ; Thu, 24 May 2007 23:51:31 +0200 (SAST) Message-ID: <465608E5.40005@wfeet.za.net> Date: Thu, 24 May 2007 23:51:33 +0200 From: Peter van Heusden User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (leftside.wfeet.za.net [0.0.0.0]); Thu, 24 May 2007 23:51:31 +0200 (SAST) Subject: HP LaserJet 1010 apparent bi-directional communication problems (with ulpt) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 22:56:15 -0000 Hi everyone I just sent in PR usb/112944, a patch to force uni-directional communication for the HP LaserJet 1010 (as recommended by Eygene Ryabinkin), since bi-di doesn't seem to work. Since I wrote this patch, I've heard that the Samsung ML-4600 laser (product ID 0x3004) also doesn't work properly in bi-di mode, at least with CUPS. What happens is that CUPS has a select() on the /dev/ulpt, and listens to see if there is data to read - when select() indicates that there is, CUPS reads, but hangs on read. Of course, forcing uni-direction communication fixes this problem. I'm not sure if there is a deeper underlying problem here, so I'm not sure if this patch is appropriate? Ulrich Spoerlein mentioned that the new USB stack (by HPS) works with the ML-4600, btw. Peter pvh@wfeet.za.net