Re: how can host disconnect a device without unplug

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

 



> by disconnect i mean whether , under software control  , it is
> possible for a usb host to electronically disconnect
> a device   though both remain plugged over usb .

You can do:
        echo -n '1-4.4:1.0' > /sys/bus/usb/drivers/usbhid/unbind
        echo -n '1-4.4:1.0' > /sys/bus/usb/drivers/usbhid/bind

Which will [de|re]associate the Kernel driver (hid in this case), where
'1-4.4:1.0' is the device in question.
Simon


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