Bug 1317 - infinite "drivers/usb/input/hid-core.c: control queue full" on apcupsd load
Summary: infinite "drivers/usb/input/hid-core.c: control queue full" on apcupsd load
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Vojtech Pavlik
URL:
Keywords:
: 1316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-03 07:13 UTC by Dan Gregory
Modified: 2004-01-05 09:44 UTC (History)
0 users

See Also:
Kernel Version: 2.6.0-test6 (Also found on test-4 & 5)
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Fix for the "Queue full" problem (413 bytes, patch)
2004-01-05 09:44 UTC, Vojtech Pavlik
Details | Diff

Description Dan Gregory 2003-10-03 07:13:18 UTC
Distribution:  Debian SID

Hardware Environment:  Intel PII 433, SiS7001 USB Controller (rev 11)
Software Environment:  Apcupsd 3.8.5-1.3
Problem Description:   Upon load of apcupsd, the message "drivers/usb/input/hid-
core.c: control queue full" scrolls relentlessly across the screen, until 
apcupsd is stopped.  Apcupds contacts /dev/usb/hiddev0.  "cat /dev/usb/hiddev0" 
fails as well, a process that worked in 2.4.


Steps to reproduce:
# lsmod

ohci_hcd               16576  0
hid                    30720  0
usbcore                98428  7 ohci_hcd,hid

# lspci

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 620 Host (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b3)
00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI
00:01.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller 
(rev 11)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI 
bridge (AGP)

Install apcupsd, configure to point to /dev/usb/hiddev0

/etc/init.d/apcupsd start
Comment 1 Greg Kroah-Hartman 2003-10-03 14:49:57 UTC
*** Bug 1316 has been marked as a duplicate of this bug. ***
Comment 2 MZM 2004-01-05 09:08:05 UTC
Same poroblem on test7 and 2.6.0 (Slackware 9.x)

lspci same as in bug report and 2nd system: 
00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP]
(rev 41)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master
IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 02)
 
lodaed modules: usbcore; hid; ohci_hcd or uhci_hcd.

kernel messages: 
Jan  5 18:25:53 polaron kernel: usb 1-2: USB disconnect, address 2
Jan  5 18:26:02 polaron kernel: hub 1-0:1.0: new USB device on port 2, assigned
address 3
Jan  5 18:26:03 polaron usb.agent[19312]: missing kernel or user mode driver hid
Jan  5 18:26:03 polaron kernel: hiddev96: USB HID v1.00 Device [American Power
Conversion Back-UPS 500 FW: 6.2.I USB FW: c1 ] on usb-0000:00:07.2-2

Jan  5 18:26:05 polaron kernel: drivers/usb/input/hid-core.c: control queue full
Jan  5 18:26:36 polaron last message repeated 13985 times
Jan  5 18:27:37 polaron last message repeated 27552 times
Jan  5 18:28:34 polaron last message repeated 26108 times
and so on...

apcupsd can communicate with UPS device (i unplugged data cable and get
notification about that).

If it's apcupsd problem (?), please contact author via www.apcupsd.com
Comment 3 Vojtech Pavlik 2004-01-05 09:44:10 UTC
Created attachment 1802 [details]
Fix for the "Queue full" problem
Comment 4 Vojtech Pavlik 2004-01-05 09:44:52 UTC
The attached patch should fix the problem.

Note You need to log in before you can comment on or make changes to this bug.