Date: Mon, 19 Jun 2000 19:30:05 -0700 From: Mike Muir <mmuir@es.co.nz> To: stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: ULPT success anyone? Message-ID: <394ED72D.E73F8741@es.co.nz> References: <394ECEDD.30EC5FEC@es.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Muir wrote: > > Hi there, > Recently picked up a Brother HL-1240 printer which supports USB and > Parrallel connections, and since i had a USB cable lying around I > thought that I might as well try to get the thing working under freebsd > using ulpt0.. > Well so far no luck, I get kernel panics whenever accessing /dev/ulpt0. > ulpt0 is certainly picked up on boot and verified with usbdevs. When > accessing /dev/ulpt0 in any way, it stirs up a response from the printer > (as if data was coming in, it gets all ready to print, but not data > comes in so it stops.) My printcap is as follows: > > PRINTCAP: > > Brother HL-1240|HL-1240|lp|local line printer:\ > :sh:\ > :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ > :ld=\033%-12345X@PJL\r\n@PJL SET RESOLUTION=600\r\n: > > ( The last line is for 600dpi as per the recommendations on > http://www.picante.com/~gtaylor/pht/show_printer.cgi?recnum=234953 ) > > Additionally, right before the panic: > > Jun 19 17:50:43 ogre /kernel: uhub0: port error, restarting port 2 > Jun 19 17:50:43 ogre /kernel: ulpt0: at uhub0 port 2 (addr 3) > disconnected > Jun 19 17:50:43 ogre /kernel: ulpt0: detached > > Am I missing something? Is there another setting to be considered? > Dmesg follows, and yes i've tried w/o SMP support, same thing. > (Printer works fine in Win2k.) > > Hopefully someone can prevent me from having to spring for a parallel > cable! Just to follow up, usbd seems to be causing the panics.. Without it running, i get some action from the printer (warms up and gets ready to print) followed by this message from apsfilter's test print: Printing test page... -rw------- 1 root wheel 1508497 Jun 19 19:28 /aps_testout.VW8581 eval: cannot create /dev/ulpt0: error 16 What might error 16 be? Seems as though some control is being sent along the wire, but the data just isnt getting there.. any ideas? [ogre] [~] > ls -l /dev/ulpt0 crw------- 1 root wheel 113, 0 Jun 19 19:15 /dev/ulpt0 -mike. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394ED72D.E73F8741>