On  6 Apr, Josef Karthauser wrote:

>> Only my USB mice does something bad, it hangs the system hard on
>> shutdown.
> 
> Try this which Scott Long submitted a few days ago:
> 
> Index: uhci.c
> ===================================================================
> RCS file: /usr/home/ncvs/src/sys/dev/usb/uhci.c,v
> retrieving revision 1.104
> diff -u -r1.104 uhci.c
> --- uhci.c      1 Apr 2002 22:03:37 -0000       1.104
> +++ uhci.c      5 Apr 2002 08:17:03 -0000
> @@ -2051,6 +2051,7 @@
>               xfer->pipe->intrxfer = 0;
>       }                                                                              
>       
>       uhci_abort_xfer(xfer, USBD_CANCELLED);
> +     usb_transfer_complete(xfer);
>  }                                                                                   
>         
> 
>  /* Close a device interrupt pipe. */

Go for it ("Tested by:          netchild"), the system now doesn't hangs
anymore at shutdown.

But now the printer hangs the system with:
 usb_detach_wait: ulpt0 didn't detach
 ulpt0: detached
when I turn it off (I tried if this fix also solved the ulpt problem,
even if the patch didn't looked so to me).

Savecore gives me a "Parity error on last dump header", so no backtrace.

Bye,
Alexander.

-- 
            Secret hacker rule #11: hackers read manuals.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to