Olaf Hering wrote:
On Mon, Sep 01, David Brownell wrote:


Olaf Hering wrote:

Good morning,

who is mainaining lsusb these days?

I recently sent a patch to Thomas Sailer <[EMAIL PROTECTED]>, which he reports is now merged into CVS. ...


Where is this CVS? I sent him a mail once, but it bounced, probably an
outdated mail address.

I have no idea. Thomas?




There are several bugreports like this:

usbdevfs: process 17978 (lsusb) did not claim interface 0 before use

What does it mean?
Is the application broken?
If so, how can it be fixed?

It's a warning that could be fixed, nothing especially broken, but someone would have to patch it.


You mean something like that?

diff -p -purN linux-2.4.22/drivers/usb/devio.c linux-2.4.22.usb/drivers/usb/devio.c
--- linux-2.4.22/drivers/usb/devio.c    2003-06-13 16:51:36.000000000 +0200
+++ linux-2.4.22.usb/drivers/usb/devio.c        2003-09-02 10:31:36.000000000 +0200
@@ -384,7 +384,7 @@ static int checkintf(struct dev_state *p
        if (test_bit(intf, &ps->ifclaimed))
                return 0;
        /* if not yet claimed, claim it for the driver */
-       printk(KERN_WARNING "usbdevfs: process %d (%s) did not claim interface %u before 
use\n",
+       printk(KERN_DEBUG "usbdevfs: process %d (%s) did not claim interface %u before 
use\n",
               current->pid, current->comm, intf);
        return claimintf(ps, intf);
 }


More like that, but I'm wondering why lsusb would ever need to
access a non-control endpoint.  If it's trying to do that,
surely that's a bug in the user mode code.  If it isn't, it's
likewise a bug in the kernel code (trying to claim something
when it's not appropriate).  Either way the bug should get
tracked down, rather than papered over (by changing level).

- Dave




or that?

diff -p -purN linux-2.4.22/drivers/usb/devio.c linux-2.4.22.usb/drivers/usb/devio.c
--- linux-2.4.22/drivers/usb/devio.c 2003-06-13 16:51:36.000000000 +0200
+++ linux-2.4.22.usb/drivers/usb/devio.c 2003-09-02 10:32:33.000000000 +0200
@@ -383,9 +383,6 @@ static int checkintf(struct dev_state *p
return -EINVAL;
if (test_bit(intf, &ps->ifclaimed))
return 0;
- /* if not yet claimed, claim it for the driver */
- printk(KERN_WARNING "usbdevfs: process %d (%s) did not claim interface %u before use\n",
- current->pid, current->comm, intf);
return claimintf(ps, intf);
}







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to