From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 16 21:51:30 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 E4CE2696 for ; Tue, 16 Apr 2013 21:51:30 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id B8A6F1A5D for ; Tue, 16 Apr 2013 21:51:30 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so1182835ieb.15 for ; Tue, 16 Apr 2013 14:51:30 -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=xIoXpt9So+CJEQNvyUV4CwEOntWNRvOknIwyJFT8Ht4=; b=pVW/Ju0BPaVJbQ4EGucyX3VDfIA8wxqtRUyqP8hsVgcqNVmxXvCGjrYYrMiHL+UcZf uOXlxc2YpyUvNR7qFtMVNLyaULDBmbduu7CatgRvatERHwMxVOR8chkf8dFGz/bGzEmA lR2xOCgo6zujv96jGTRD5j52510qoOVU00/L3DDWXXK4TFJ7ZJnhN78gH3JxG2POWZKV mMT8HY/EOJauNdalVcoD/3+uSVJ02r8Y/v21M4QLyb/GFMgjUCZA8GQCAFbJESyeQeyB u7HhcM1xkwnrvb4ZlfqztuS5ZPiBS6p4tjVjJg3TEvj9BgqTpmrXsXy0tH6GPnlrOH4A Enww== X-Received: by 10.50.20.38 with SMTP id k6mr2497826ige.72.1366149090444; Tue, 16 Apr 2013 14:51:30 -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 w7sm2106383igl.4.2013.04.16.14.51.29 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 14:51:29 -0700 (PDT) Message-ID: <516DC7DB.40203@gmail.com> Date: Tue, 16 Apr 2013 16:51:23 -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> <516C5FC0.9060507@gmail.com> <516D0E8E.20807@bitfrost.no> In-Reply-To: <516D0E8E.20807@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: Tue, 16 Apr 2013 21:51:31 -0000 On 4/16/2013 3:40 AM, Hans Petter Selasky wrote: > On 04/15/13 22:14, Joshua Isom wrote: >> 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". > > Hi, > > What software are you using to print? > > --HPS Just using cups' own test page would cause the issue. I tried to keep testing simple to minimize problems. The driver's available on sourceforge, c2esp and is untested on FreeBSD by the developer. I had trouble with versions 1.6, and the current 2.6.