Németh Márton írta: > Hi, > > in powertop "Tunables" I found the following entry for my Genius NetScroll 110 > USB optical mouse ( > http://www.geniusnet.com/wSite/ct?xItem=16499&ctNode=104&mp=1 ): > >>> Bad Autosuspend for USB device Optical Mouse [Genius] > > If I press Enter it will change to: > >>> Good Autosuspend for USB device Optical Mouse [Genius] > > This changes the .../power/control from "on" to "auto". The actual behaviour > when the power/control is set to "auto" is like this: if the mouse is not > touched for two seconds then it stops responding to any movement or scrolling. > The only way to wake it up is to click one of the right, middle or the left > button > or changing back the power/control setting from "auto" to "on" for example in > powertop. > > I haven't measured how much power I can save with this.
The Genius NetScroll 110 is based on the PAW3502DL-LKK chip from PixArt Imaging Inc. I found the datasheet at www.pixart.com.tw/upload/paw3502_spec_v02_20070521145653.pdf which shows the following operating current specifications: * 10mA @Mouse moving (Normal) * 5mA @Mouse not moving (Sleep) * 480uA @USB suspend (Suspend) I have done some measurements also with digital multimeter. I have measured the current on the USB VBUS signal (+5VDC): * 11.2mA ... 12.3mA @ mouse moving * 3.7mA ... 3.8mA @ mouse not moving * 0.5mA @ USB suspend The transient between Normal and Sleep happens automatically in both directions. When the power/control is set to "auto" then after two seconds the USB suspend mode is activated by Linux kernel. > When I first tried to change this setting, it took me some time to find out > what this new setting means. I'm not sure whether it is user friendly to > autosuspend this mouse after two seconds, as it will stop responding to > movements > or scrolling. Maybe a possibility to set the time for suspend would increase > usability in this case. > > I don't know if the user can be informed about this behaviour when she/he > turns > on the autosuspend for the Genius NetScroll 110 in powertop. > > Maybe an applet would be also good which shows the actual state of the > mouse: whether it will only response to clicks or it is fully operational. > The usability problem is that the mouse may stay on a graphical "OK" button. > When the mouse is suspended then it won't response to movements. The first > left click in this case works sporadically for me: it always wakes up the > mouse, > but sometimes the click is also executed as a command on the graphical user > interface, sometimes it just wakes up the mouse itself. > > Also, the user activity might be necessary to take into account. If she/he > is typing on the keyboard it is probable that she/he will use the mouse also. > I could imagine a powersave behaviour which is connected to the screen saver. > When the screen saver activates then the mouse can be also put to powersave > mode. Other case when the user is watching to a video clip: in this case > the screen saver won't be activated, but the mouse can be put to powersave > mode because it is less probable that the user wants to use it. As long as > the user gets feedback about the state of the mouse (whether it will response > to the movements or only to clicks) usability can be maintained to a certain > grade. > > Are other USB optical mouses working similar way? > > Do you have any comments on the points I described? > > # lsusb -d 0458:003a -v > > Bus 002 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ > Mini Traveler / Genius NetScroll 120 > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 1.10 > bDeviceClass 0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 8 > idVendor 0x0458 KYE Systems Corp. (Mouse Systems) > idProduct 0x003a NetScroll+ Mini Traveler / Genius NetScroll 120 > bcdDevice 1.00 > iManufacturer 1 Genius > iProduct 2 Optical Mouse > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 34 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 4 HID-compliant MOUSE > bmAttributes 0xa0 > (Bus Powered) > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 3 Human Interface Device > bInterfaceSubClass 1 Boot Interface Subclass > bInterfaceProtocol 2 Mouse > iInterface 0 > HID Device Descriptor: > bLength 9 > bDescriptorType 33 > bcdHID 1.10 > bCountryCode 0 Not supported > bNumDescriptors 1 > bDescriptorType 34 Report > wDescriptorLength 62 > Report Descriptors: > ** UNAVAILABLE ** > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0004 1x 4 bytes > bInterval 10 > Device Status: 0x0000 > (Bus Powered) > > When the setting is "Bad": > $ grep "" /sys/devices/pci0000\:00/0000\:00\:10.0/usb2/2-2/power/* > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/active_duration:5780644 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/async:enabled > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/autosuspend:2 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/autosuspend_delay_ms:2000 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/connected_duration:5818732 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/control:on > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/level:on > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/persist:1 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/runtime_active_kids:0 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/runtime_active_time:5780752 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/runtime_enabled:forbidden > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/runtime_status:active > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/runtime_suspended_time:37732 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/runtime_usage:1 > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup:disabled > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_active: > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_active_count: > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_count: > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_hit_count: > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_last_time_ms: > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_max_time_ms: > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-2/power/wakeup_total_time_ms: > > Regards, > > Márton Németh > > _______________________________________________ > Power mailing list > Power@bughost.org > https://bughost.org/mailman/listinfo/power _______________________________________________ Power mailing list Power@bughost.org https://bughost.org/mailman/listinfo/power