Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2006 15:10:23 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Aivaras Kondrotas <kedentojas@yahoo.co.uk>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: cat bug?
Message-ID:  <20060127201023.GB65503@xor.obsecurity.org>
In-Reply-To: <20060125100249.19993.qmail@web25403.mail.ukl.yahoo.com>
References:  <20060125100249.19993.qmail@web25403.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Jan 25, 2006 at 10:02:49AM +0000, Aivaras Kondrotas wrote:
> Can anybody explain me if cat command is different in
> Freebsd than in other linux/unix/bsd os'es, because
> this problem appear just in Freebsd.
> 
> I am running a FreeBSD 6.0. To get working my printer
> I have to upgrade my firmware, but
> I get problem "cat: stdout: Input/output error".

This is cat reporting an error from the ulpt0 device.  So your problem
is really with the ulpt driver.

> Searched for days in google, but it appears that all
> results leads to just Freebsd OS.
> Do I have to switch OS just to make my printer work?

What happens if you can some normal file to the device?

> ----------------------------------------------------------------
> #dmesg | grep ulpt
> ulpt0: Hewlett-Packard hp LaserJet 1000, rev
> 1.10/1.20, addr 2, iclass 7/1
> ulpt0: using bi-directional mode
> 
> # cat SIhp1000.dl > /dev/ulpt0
> cat: stdout: Input/output error

Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD2n4vWry0BWjoQKURAp0cAKC1juNRHSjCC3qKK7ZlHOlebrXgjwCeMGRE
W4USLy7/q9QqD6WQ1X0DbBU=
=F2EZ
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060127201023.GB65503>