Debian 9 usb mouse lsusb

broken image
broken image

Print(' search string=%s %s %s' % (device, device, device)) Print(' search string=%s %s' % (device, device)) But I can't suspend any USB devices, this are instructions followed: 1) found your USB device at /sys/bus/usb/devices 2) identify bus/device for your case (in this case let's try to suspend optical mouse) lsusb Bus 003 Device 002: ID 046d:c016 Logitech, Inc.

broken image

Print('Failed to list usb devices! Error: %s' % ex) First, I did 'lsusb' to find the mouse device: Bus 002 Device 003: ID 1a7c:0068 Evoluent VerticalMouse 3 And got the ID of the device. To solve this, I have blacklisted the power management for the USB mouse. Path = '/dev/bus/usb/%s/%s' % (bus, device) I have 'laptop-mode-tools' installed, and I traced this problem to laptop-mode-tools trying to put the mouse to sleep and not waking it up. Manufacturer_info = ' '.join(categoryinfo)ĭevice_dict = manufacturer_info I wrote a script to show how I’d do that: #!/bin/bash

broken image