From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 15:28:21 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39A22106566B for ; Sun, 1 Nov 2009 15:28:21 +0000 (UTC) (envelope-from oxyd.oxyd@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id C732B8FC08 for ; Sun, 1 Nov 2009 15:28:20 +0000 (UTC) Received: by ewy5 with SMTP id 5so731708ewy.36 for ; Sun, 01 Nov 2009 07:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=YJ/kyNZWFU23Fwzm4xnz2dMyQlNo6z72t/hg5FPgv/Q=; b=cf5Vlzs2om4Z183Iob1ivcKYYGJPcKDzAg2C2AO1D1iHS0KbNwsYDDBbqKKcIgpcNG l4DJcUOHSq8bL9zvvJZQik2+BGli0TcgfXUs8iIsZIAq5gVX5X8CsZl6P+qCwHLGdz+K +czKSl7fh61YOPGuk17KPYvE96vWB9sHHzvlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lekUECEhGBlQ0jyQ/uWwov+YmfduDqmfh6SNTZqEiw1PWV+Z9PvYkcMSj1mP0HW/Qj XZGob8WRyiF1l7UyuVrUjatWjDVZ24v6DERqO6+qKqpcXuJMhHfPbhU3l62yHzNoEVGf HtwUsQmBn27TiAs7f0wkCVcQXI2i2XYjqA3CY= MIME-Version: 1.0 Received: by 10.216.86.206 with SMTP id w56mr3139145wee.1.1257087530089; Sun, 01 Nov 2009 06:58:50 -0800 (PST) Date: Sun, 1 Nov 2009 15:58:50 +0100 Message-ID: From: =?UTF-8?Q?Ond=C5=99ej_Majerech?= To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 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, 01 Nov 2009 15:28:21 -0000 Hello list, I had my HP P1005 printer working just fine under 7.2-RELEASE, but I just updated to 8.0-RC2 and the driver doesn't seem to like the new USB stack. I was using the foo2xqx driver [ http://foo2xqx.rkkda.com/ ] -- with this driver, the firmware needs to be sent to the printer each time it is turned on, like this: cat sihpP1005.dl > /dev/ugen0.0. Now, according to dmesg, the printer is now known as device /dev/ugen2.2, but I can't send the firmware to it (and I can't send the firmware to any other ugen* device either): cat sihpP1005.dl > /dev/ugen2.2 cat: stdout: Input/output error (Trying the same as root or with sudo doesn't make any difference.) My /etc/devfs.rules: add path 'da*' mode 0660 group operator add path 'usb' mode 0777 add path 'usb/*' mode 0666 add path 'usbctl' mode 0666 add path 'ugen*' mode 0777 ls -lh /dev/ugen* with the printer connected and turned on: lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen0.1 -> usb/0.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen1.1 -> usb/1.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen2.1 -> usb/2.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 20:31 /dev/ugen2.2 -> usb/2.2.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen3.1 -> usb/3.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen4.1 -> usb/4.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen5.1 -> usb/5.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen6.1 -> usb/6.1.0 Googling around for possible solutions didn't turn up anything successful for me. I asked on the FreeBSD Forums and was told to turn on debug informations on ugen by sysctl hw.usb.ugen.debug=1 -- I did, but I don't see anything new in dmesg or /var/log/messages -- maybe I don't know where to look? Anyway, any suggestions? ~ Ondra