From owner-freebsd-usb@FreeBSD.ORG Mon Oct 28 09:25:20 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D4CF04D4 for ; Mon, 28 Oct 2013 09:25:20 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 655532DF5 for ; Mon, 28 Oct 2013 09:25:20 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 4FDB57A0CA for ; Mon, 28 Oct 2013 10:25:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 551128FBA88 for ; Mon, 28 Oct 2013 10:25:46 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M11PAL4OaTqx for ; Mon, 28 Oct 2013 10:25:45 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 5AAFE8FBA86 for ; Mon, 28 Oct 2013 10:25:45 +0100 (CET) Message-ID: <526E2DC5.7020008@bitfrost.no> Date: Mon, 28 Oct 2013 10:26:29 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "freebsd-usb@FreeBSD.org" Subject: Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 09:25:20 -0000 On 10/28/13 10:05, Aurélien Croc de Suray wrote: >> Hi, >> >> Is this some kind of cheap clone, hence Prolofic is spelled wrong? > > It seems the company name is spelled wrong since the vendor ID corresponds to > Prolific Technology Inc.: > > # usbconfig -u 2 -a 3 dump_device_desc > ugen2.3: at usbus2, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0100 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x067b > idProduct = 0x2305 > bcdDevice = 0x0200 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > >> Else there are two printer port devices: >> /dev/ulptX and /dev/unlptX >> Did you try both? > > It is the same with /dev/unlptx.. > > >> Can you show a USB dump while opening these devices. > > You'll find three attached files representing the dump of the usb activity when > I plug in the device, when I open and try to read on ulpt0 and unlpt0. > Hi, You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove the reading of the status message. I think your device might be counterfeit, given the bad spelling of the manufacturer. This string comes from the device itself. The one that is supplied with FreeBSD is spelled correctly: > grep -ri prolif /usr/src/sys/dev/usb/usbdevs vendor PROLIFIC 0x067b Prolific Technology vendor PROLIFIC2 0x5372 Prolific Technologies --HPS >> What host controller is this device connected through? > > The host controller is an Intel EHCI root hub: > # usbconfig -u 2 -a 1 dump_device_desc > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0000 > idProduct = 0x0000 > bcdDevice = 0x0100 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > > Regards, > > Aurélien >