Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hid-generic control queue full errors.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Philippe23
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2006
Posts: 89
Location: Rome, NY

PostPosted: Mon Apr 22, 2013 11:07 am    Post subject: hid-generic control queue full errors. Reply with quote

I tried upgrading from 3.5.?-r1 to 3.8.3 (hardened). Doing so introduced a CONFIG_HID_GENERIC option, which I turned on. Now, after a little while, my machine will become unresponsive after a while and the logs will be filled with kernel errors referring to: "hid-generic 0003:051D:0002.0002: control queue full" as well as other drivers complaining that IOMMU allocations have failed. The ID appears to be the USB connection to my UPS. I am running apcupsd.

Is anybody else seeing this? Does anybody know of a fix?
Back to top
View user's profile Send private message
trubicoid
n00b
n00b


Joined: 04 Aug 2009
Posts: 23

PostPosted: Mon Jun 16, 2014 2:11 pm    Post subject: Reply with quote

there is a quick fix to disable Run-time Powe Management of the corresponding hiddev0 in my case, but as I have just one hiddev, I can run this in eg. /etc/local.d/

Code:
#!/bin/sh
echo "Correct APC USB problem: hid-generic control queue full"
for i in /sys/class/usbmisc/hiddev*/device/../power/control
do
        if [ -f ${i} ];
        then
                echo on > ${i}
        fi
done


other fix is to decrease POLLTIME in /etc/apcupsd/apcupsd.conf, but I haven't tried that one

interesting is, that with POLLTIME 120 I get the first "control queue full" message aprox. 33 minutes after boot, then several every two minutes as expected
Code:
...
[   50.131312] br0: port 2(tap0) entered forwarding state
[   51.851887] br0: port 1(enp7s0) entered forwarding state
[ 1967.605402] hid-generic 0003:051D:0002.0004: control queue full
[ 2087.778313] hid-generic 0003:051D:0002.0004: control queue full
[ 2087.841686] hid-generic 0003:051D:0002.0004: control queue full
[ 2087.884333] hid-generic 0003:051D:0002.0004: control queue full
[ 2087.946851] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.049248] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.091096] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.132617] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.213981] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.254438] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.294697] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.334954] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.374285] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.412801] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.470766] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.507220] hid-generic 0003:051D:0002.0004: control queue full
[ 2088.543886] hid-generic 0003:051D:0002.0004: control queue full
[ 2208.722264] hid-generic 0003:051D:0002.0004: control queue full
[ 2208.778541] hid-generic 0003:051D:0002.0004: control queue full
[ 2208.814124] hid-generic 0003:051D:0002.0004: control queue full
[ 2208.868629] hid-generic 0003:051D:0002.0004: control queue full
[ 2208.962216] hid-generic 0003:051D:0002.0004: control queue full
[ 2208.993625] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.023837] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.093155] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.121028] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.147701] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.173204] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.198779] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.224450] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.269167] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.292727] hid-generic 0003:051D:0002.0004: control queue full
[ 2209.314990] hid-generic 0003:051D:0002.0004: control queue full
[ 2329.377897] hid-generic 0003:051D:0002.0004: control queue full
...




the best would be to include the fix directly in apcupsd


Last edited by trubicoid on Tue Jun 17, 2014 9:43 am; edited 1 time in total
Back to top
View user's profile Send private message
trubicoid
n00b
n00b


Joined: 04 Aug 2009
Posts: 23

PostPosted: Tue Jun 17, 2014 9:42 am    Post subject: Reply with quote

trubicoid wrote:
POOLTIME


I meant POLLTIME, sorry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum