The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] Loading both ehci-hcd and uhci-hcd drivers causes my printer to fail
Date: Sat, 7 Mar 2009 11:52:25 -0800	[thread overview]
Message-ID: <20090307195225.GA2585@kroah.com> (raw)
In-Reply-To: <1236453644.6077.68.camel@maxim-laptop>

On Sat, Mar 07, 2009 at 09:20:44PM +0200, Maxim Levitsky wrote:
> Hi,
> 
> Short summary:
> 
> I have HP1018 printer, and it works well in windows.
> When I use in in linux, I often see messages like:
> 
> usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
> 
> This is using hp backend that talks to printer using usbfs.
> I also tried usblp, but it just doesn't say anything in kernel log. I
> think it silently ignores similar errors, because the end result is the
> same, the printer sometimes works, but sometimes doesn't.
> (printer needs firmware to be uploaded to it, and I do upload it).
> 
> On the other hand, IF I remove _ether_ ehci-hcd or uhci-hcd from kernel,
> then everything works fine, I already rebooted the printer many times,
> used it to print, upload firmware, and everything just work, but as soon
> as I load the second driver it fails in same way again.
> 
> USB issues with this class of printers are nothing but new, for example
> see:
> 
> http://foo2zjs.rkkda.com/forum/read.php?9,374
> https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/54419

What kernel version are you using?

> I compiled without CONFIG_USB_EHCI_ROOT_HUB_TT
> and it did help (didn't that much testing, but at least firmware loads
> ok, and no error messages)

Can you provide the full kernel log messages from when you plug in your
printer?  Are there any other messages saying that you need to be sure
to load one driver before the other?

thanks,

greg k-h

  reply	other threads:[~2009-03-07 19:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-07 19:20 [BUG] Loading both ehci-hcd and uhci-hcd drivers causes my printer to fail Maxim Levitsky
2009-03-07 19:52 ` Greg KH [this message]
2009-03-07 20:22   ` Maxim Levitsky
2009-03-07 20:23     ` Maxim Levitsky
2009-03-08  0:55     ` Maxim Levitsky
2009-03-08  3:27     ` Alan Stern
2009-03-08 16:09       ` Maxim Levitsky
2009-03-08 16:58         ` Alan Stern
2009-03-09 10:07           ` Maxim Levitsky
2009-03-09 12:26             ` Maxim Levitsky
2009-03-09 14:53               ` Alan Stern
2009-03-09 15:57                 ` Maxim Levitsky
2009-03-09 16:15                   ` Alan Stern
2009-03-09 18:59                     ` Maxim Levitsky
2009-03-09 19:12                       ` Alan Stern
2009-03-09 19:51                         ` Maxim Levitsky
2009-03-09 20:02                           ` Maxim Levitsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090307195225.GA2585@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=maximlevitsky@gmail.com \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox