Re: Cannot dump USB report descriptors, not even after unbinding the device

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

 



On Fri, 3 Mar 2017, László Monda wrote:

> Hi Krzysztof, and thank you for the help!
> 
> > Oh now I see. I missed this when I was reading this email for the first
> > time.
> >
> >> root@spark ~ # echo -n 2-10.3 > /sys/bus/usb/drivers/usb/unbind
> >
> >
> > You are trying to unbind here wrong driver I think. Try to unbound driver
> > for interface instead of for whole device:
> >
> > # echo -n 2-10.3:1.0 > /sys/bus/usb/drivers/usb/unbind
> 
> I've tried to unbind 2-10.3:[0-4].[0-4] but bash always tells me that
> there's no such device.

Krzysztof told you the wrong driver.  You should do:

	echo 2-10.3:1.0 >/sys/bus/usb/drivers/usbhid/unbind

(the -n doesn't matter).

Alan Stern

> The strace output is very long, and I can't make much sense of it, but
> I uploaded it as a GitHub gist:
> https://gist.github.com/mondalaci/424d145263b5b6160d02bd42ce80247f
> 
> Cheers!

--
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