John Bayly
2011-Mar-23 16:09 UTC
[Nut-upsuser] libusb_get_interrupt: error reading from interrupt endpoint /dev/ugen0.1
Using an Eaton Evolution S 3000 (usbhid-ups) 2.6.0 on FreeBSD 7.3. After checking the debug log for an unrelated reason I saw that it was being swamped by the following message: Mar 23 15:50:57 rack usbhid-ups[65419]: libusb_get_interrupt: error reading from interrupt endpoint /dev/ugen0.1: Resource temporarily unavailable The UPS is ugen0 on /dev/usb1 # ll /dev/usb1 crw-rw---- 1 root uucp 0, 37 Mar 22 18:50 /dev/usb1 # ll /dev/ugen* crw-rw---- 1 uucp wheel 0, 113 Mar 22 18:49 /dev/ugen0 crw-rw---- 1 uucp wheel 0, 130 Mar 22 18:49 /dev/ugen0.1 As far as I can see, everything *appears* to be working properly. Any suggestions? Thanks, John
Charles Lepple
2011-Mar-24 02:17 UTC
[Nut-upsuser] libusb_get_interrupt: error reading from interrupt endpoint /dev/ugen0.1
On Mar 23, 2011, at 12:09 PM, John Bayly wrote:> Using an Eaton Evolution S 3000 (usbhid-ups) 2.6.0 on FreeBSD 7.3. > After checking the debug log for an unrelated reason I saw that it > was being swamped by the following message:The USB stack in FreeBSD prior to 8.0 did not lend itself to being precisely controlled from userspace by libusb. It sounds like you are seeing slightly different problems than I saw while trying to make tripplite_usb work under FreeBSD, but the common symptom was the interrupt endpoints. (FreeBSD prior to 8.0 seems to poll the endpoints more frequently than userspace code reads from them, and I often saw partial packets dropped when the buffer filled up.) How do things work if you add the "pollonly" option to the configuration file?