Suggested fix for USB printer (ulpt.c)

From: <debardeleben_at_aol.com>
Date: Sun, 22 Mar 2009 06:46:30 -0400
I finally got fed up enough with not being able to print with -CURRENT,
and found a fix that make ulpt work for me with my epson stylus photo 835.

I am using cups, and I have always needed to use the non-reset device,
even with the old USB stack. Hopefully a committer can pick this up and
include an appropriate version of this fix to the source tree. In the mean
time, if you are having trouble with a usb printer with -CURRENT, you
may want to try this patch.

I am attaching a patch file (referenced at /usr/src/sys/dev/usb/serial
from my system. The change is to initialize sc_fflags to 0 when
attaching the device. This is allowing open to stop returning EBUSY.

Now on to finding out why using my newly accessible firewire disks
resulted in filesystem corruption on all of my filesystems. I suspect
some missing lock. Its very annoying, and I lost a lot of important
files. (I will be doing a full backup of all of my disks before
connecting my firewire disks back up).

-Charles

Received on Sun Mar 22 2009 - 09:56:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC