From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 15 20:15:03 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 07B21C97 for ; Mon, 15 Apr 2013 20:15:03 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id D166817D6 for ; Mon, 15 Apr 2013 20:15:02 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id qd14so571462ieb.11 for ; Mon, 15 Apr 2013 13:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=dEnI7VsGE+WYAe5GH8BzI6zd7aZ5bJ3GfOf94ossP4M=; b=qMdeH1r6nxVdX23JRdSZYv6HXN96fev6Fy9lLOGP96q5Q57VcqYcXL0pfJeOYFCGA3 H3zmSM7krFSo1vz/3R6HsMR5D9juQHvO79ZrxbWdWXeFG8jYMo7ttdZVedB80HBYDAla AFKCABwa+Q6cA4RjqCv0+z+wkUHYSvv1hheAW43k0LxZG/T21TCPQSyq8OiZbp2iYORS Q/By4A7BMO6Vd4X0qvgr/hE3EqgqDmQbB6v6ZCXWTaTPBSXdlnznrf8jTK2iFLUt2KZ1 Kps4Nsw3NCzhoAEfgN43oKUBZoqw3W+kWIjfQMHQHNSwXiynkdLM+kcAS/HtcwKaqHO5 UxJQ== X-Received: by 10.50.136.130 with SMTP id qa2mr6126771igb.1.1366056902502; Mon, 15 Apr 2013 13:15:02 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id ua6sm12443684igb.0.2013.04.15.13.15.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 13:15:01 -0700 (PDT) Message-ID: <516C5FC0.9060507@gmail.com> Date: Mon, 15 Apr 2013 15:14:56 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: USB Printer quirks References: <5169DFFB.4030101@gmail.com> <516BD94F.7030507@bitfrost.no> In-Reply-To: <516BD94F.7030507@bitfrost.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 20:15:03 -0000 On 4/15/2013 5:41 AM, Hans Petter Selasky wrote: > Hi, > > What does dmesg say about your printer. > > Is cups hooked up the correct /dev/uxxx device ? > > --HPS Here's what I got the last time I plugged it in. Apr 13 07:38:17 jri root: Unknown USB device: vendor 0x040a product 0x4043 bus uhub7 Apr 13 07:38:17 jri kernel: ugen8.2: at usbus8 Apr 13 07:38:17 jri kernel: ulpt0: on usbus8 Apr 13 07:38:17 jri kernel: ulpt0: using bi-directional mode Apr 13 07:38:17 jri kernel: umass0: on usbus8 Apr 13 07:38:17 jri kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Apr 13 07:38:17 jri kernel: umass0:14:0:-1: Attached to scbus14 Apr 13 07:38:17 jri kernel: (da0:umass-sim0:0:0:0): got CAM status 0x50 Apr 13 07:38:17 jri kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device Apr 13 07:38:17 jri kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 4 refs Apr 13 07:38:17 jri kernel: (da0:umass-sim0:0:0:0): removing device entry The umass is probably for the card reader, I've never tried it with FreeBSD. Cups would sometimes work, at most I'd be able to print one document/test and then it'd hang. I would actually have to power cycle the printer to try again. I think it was a problem reading from usb. What I'm really curious about is why it would work properly in a linux jail and not on FreeBSD. The closest hint I have is a kernel message "linux: pid 8781 (usb): ioctl fd=5, cmd=0x604 ('^F',4) is not implemented".