Re: USB device reset while printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 Mar 2012, Wolfgang Rosenauer wrote:

> Hi,
> 
> since kernel 3.1 I cannot really use my HP USB printer anymore. Every
> try to print more than one page results in a USB reset disconnecting the
> USB I/O:
> 
> Mar  6 18:37:42 Hygiea kernel: [45838.854035] usb 1-4: reset high speed
> USB device number 5 using ehci_hcd
> Mar  6 18:37:42 Hygiea hp[21391]: io/hpmud/musb.c 1043: bulk_write
> failed buf=0x7fff7b5aed40 size=8192 len=-34: Success
> Mar  6 18:37:42 Hygiea hp[21391]: io/hpmud/musb.c 1423: unable to write
> data hp:/usb/Officejet_6300_series?serial=CN69DCH2GW04M4: Success
> Mar  6 18:37:42 Hygiea kernel: [45838.969179] Did not find alt setting 1
> for intf 0, config 1
> Mar  6 18:37:42 Hygiea kernel: [45838.969189] usb 1-4: usbfs: process
> 21391 (hp) did not claim interface 1 before use
> 
> I first noticed when I updated to openSUSE 12.1 which has kernel 3.1
> (and recently 3.1.9) and therefore reported it also there:
> https://bugzilla.novell.com/show_bug.cgi?id=751712
> 
> I've also just tried version 3.2.9 (I think there is no newer official
> release yet?) which shows the same issue.
> 
> I was trying to bisect from
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> (I'll attach the bisect log file as well)
> and it pointed to
> "
> fcda12e7f6d58d61997681a9d41779e3fd2ffc94 is the first bad commit
> "
> But for me that merge is not obviously related so I'm pretty lost.
> (I'm not a kernel developer anyway)

Let's start by getting more data about the problem.  I'd like you to 
collect a usbmon trace showing what happens when you try to print a 
two-page document.  (Instructions for usbmon are in the kernel source 
file Documentation/usb/usbmon.txt.)  Make the document itself extremely 
simple, like just a single line of text on each page.

In fact, do this twice, once under 3.1 and once under 3.0, so we can
compare the results.

Also, please include either the "lsusb -v" output for the printer or
else the printer's section in /sys/kernel/debug/usb/devices.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux