On Wed, 22 Aug 2012, Amit Uttamchandani wrote:
> > One thing to look out for: Evidently usbhid_submit_report() does not
> > check the HID_DISCONNECTED flag and will happily allow reports to be
> > submitted after usbhid_stop() returns. This appears to be a bug. It
> > could account for the b
On Sat, Aug 18, 2012 at 08:16:12PM -0400, Alan Stern wrote:
> On Sat, 18 Aug 2012, Alan Stern wrote:
>
> > > Looking at the output of usbmon, the kernel re-uses URB addresses. Is it
> > > possible that the urb is freed while the instruction is in
> > > *implement()*?
> >
> > In fact, the usbhid d
On Sat, 18 Aug 2012, Alan Stern wrote:
> > Looking at the output of usbmon, the kernel re-uses URB addresses. Is it
> > possible that the urb is freed while the instruction is in
> > *implement()*?
>
> In fact, the usbhid driver does not free any URBs until it is unbound
> from the device. It k
On Sat, 18 Aug 2012, Amit Uttamchandani wrote:
> On Fri, Aug 17, 2012 at 10:04:24PM -0400, Alan Stern wrote:
>
> [snip]
>
> Thanks for the reply.
>
> > >
> > > Some updates:
> > >
> > > After running usbmon, I realized that the paging request address is the
> > > address of the urb.
> >
> >
On Fri, Aug 17, 2012 at 10:04:24PM -0400, Alan Stern wrote:
[snip]
Thanks for the reply.
> >
> > Some updates:
> >
> > After running usbmon, I realized that the paging request address is the
> > address of the urb.
>
> That doesn't make sense. implement() shouldn't know anything about the
>
On Sat, 18 Aug 2012, Amit wrote:
> Amit writes:
>
> > I am getting the following kernel oops (http://paste.debian.net/182812/)
> > sporadically. Kernel version is 3.2.14.
> >
> > Code basically does the following:
> >
> > ioctl(fd,HIDIOCSUSAGES, &ref_multi_u);
> > ioctl(fd,HIDIOCSREPORT, &re
Amit writes:
> I am getting the following kernel oops (http://paste.debian.net/182812/)
> sporadically. Kernel version is 3.2.14.
>
> Code basically does the following:
>
> ioctl(fd,HIDIOCSUSAGES, &ref_multi_u);
> ioctl(fd,HIDIOCSREPORT, &rep_info_u);
>
> Here are some notes:
>
> 1. Happen
Hello,
I am getting the following kernel oops (http://paste.debian.net/182812/)
sporadically. Kernel version is 3.2.14.
Code basically does the following:
ioctl(fd,HIDIOCSUSAGES, &ref_multi_u);
ioctl(fd,HIDIOCSREPORT, &rep_info_u);
Here are some notes:
1. Happens in implement() function cal