From owner-freebsd-usb@FreeBSD.ORG Sun Feb 4 01:32:39 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 3124D16A403 for ; Sun, 4 Feb 2007 01:32:39 +0000 (UTC) (envelope-from jessy@muenchen-mail.de) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.freebsd.org (Postfix) with ESMTP id BCD0F13C4AA for ; Sun, 4 Feb 2007 01:32:38 +0000 (UTC) (envelope-from jessy@muenchen-mail.de) Received: from mail01.m-online.net (svr21.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id F20009893F for ; Sun, 4 Feb 2007 02:12:07 +0100 (CET) Received: from svr5.m-online.net (svr5.m-online.net [62.245.150.167]) by mail.mnet-online.de (Postfix) with ESMTP id E624990F77 for ; Sun, 4 Feb 2007 02:12:07 +0100 (CET) Received: (from wmrun@localhost) by svr5.m-online.net (8.13.6/8.12.6/Submit) id l141C7n5003526 for freebsd-usb@freebsd.org; Sun, 4 Feb 2007 02:12:07 +0100 Received: from 62.245.240.8 ( [62.245.240.8]) as user jessy@muenchen-mail.de@pop.mnet-online.de by webmail.mnet-online.de with HTTP; Sun, 04 Feb 2007 02:12:07 +0100 Message-ID: <1170551527.45c532e7906d1@webmail.mnet-online.de> Date: Sun, 04 Feb 2007 02:12:07 +0100 From: jessy@muenchen-mail.de To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 62.245.240.8 X-Auth-Info: QIg6F5QsFFHB5B9Uh0ADRSH1OKNEJW7loYiCo1ALZqw= Subject: Sending to ulpt0 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: Sun, 04 Feb 2007 01:32:39 -0000 Good day, I have asked this question at some other places as well but haven't gotten a single useful answer. Searches made no results, besides I don't really know what to look for. My parents recently bought a Laserjet 1018 printer and I want(ed) to install it under FreeBSD 6.1. I found foo2zjs wich is a driver collection for GDI-printers. Well the driver works fine, besides a single problem, which is the worst of all: The printer needs its firmware sent every time it powers up. I can do this by booting windows and using the Windows-driver to print a page. Then the computer freezes and I need to reset. Sick :) But then the printer starts working, no matter which OS. I can plug it into the other PC and it prints. I switch it off and back on and it stops working. The manual for foo2zjs instructs to send the firmware with cat /usr/share...hp1018.lp >/dev/ulpt0 to the printer, which leads to a timeout (Device busy) I tried all possible things, recompiling without tcp over serial interface, which is said to eat up the device, plugging back and forth which doesnt make a difference. I also found a patch for ulpt.c which is supposed to fix the problem, but no avail. I just can't cat to /dev/ulpt0 or /dev/unlpt0. >From my amateur point of view I have two options: 1. Send the firmware directly to the usb-port the printer cable is attached to instead of invoking the driver or 2. detaching the driver from the usb-port, sending the firmware over a generic usb driver and re-attaching the ulpt driver Unfortunately I have no single clue how to do this :( Can somebody give me a hint if this can be done and if so, how? Or maybe there is a simple solution avoiding this problem? Thanks in advance for your efforts! Jessy