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

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

 




Hi,

On 03/03/2017 09:48 PM, Alan Stern wrote:
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).


Thank you Alan for catching this!

I've copy-pasted the path from above and forgot to fix driver name. Unfortunately I did the same mistake in my second response. Please excuse me Laszlo for this oversight.

Cheers,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
--
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