Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157852 - app-misc/g15daemon: syslog filled with "usb_submit_urb returned -22"
Summary: app-misc/g15daemon: syslog filled with "usb_submit_urb returned -22"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: LCD Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-11 12:33 UTC by Robert Buchholz (RETIRED)
Modified: 2006-12-19 04:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,2.89 KB, text/plain)
2006-12-12 23:48 UTC, Santtu Pajukanta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2006-12-11 12:33:32 UTC
As also reported in ciaranm's weblog [1], g15daemon-1.2.6a does not work properly. The G-keys cannot be used anymore and the syslog is spammed with lines saying:
  usb 2-2.4: usbfs: usb_submit_urb returned -22

Upstream is aware of the bug, but without any solution yet [2].

Apparantly, it happens with all >=gentoo-sources-2.6.16 including 2.6.19.

[1] http://ciaranm.org/show_post.pl?post_id=57
[2] http://thread.gmane.org/gmane.linux.usb.devel/48774/focus=48774
Comment 1 Santtu Pajukanta 2006-12-12 23:43:11 UTC
I'm experiencing the same behaviour. The G keys don't work, nor do the M or L keys. The backlight, USB hub, LCD and standard multimedia keys work.
Comment 2 Santtu Pajukanta 2006-12-12 23:48:00 UTC
Forgot to mention it's gentoo-sources-2.6.19-r1 here on x86. Attaching emerge --info.
Comment 3 Santtu Pajukanta 2006-12-12 23:48:51 UTC
Created attachment 103919 [details]
emerge --info output
Comment 4 Robert Buchholz (RETIRED) gentoo-dev 2006-12-13 05:06:13 UTC
Santtu, thanks a lot for reporting.

Could you please tell me which chipset your mainboard uses?
Also, could you also try to check which was the last kernel version to still work? I am not sure if 2.6.17 still works or if 2.6.15 was the last one working.
Comment 5 Santtu Pajukanta 2006-12-13 11:20:08 UTC
(In reply to comment #4)
> Santtu, thanks a lot for reporting.
> 
> Could you please tell me which chipset your mainboard uses?
> Also, could you also try to check which was the last kernel version to still
> work? I am not sure if 2.6.17 still works or if 2.6.15 was the last one
> working.
> 

I bought the keyboard quite recently, and it's in fact never worked with Linux. My old kernel (2.6.17-gentoo-r1) had no UINPUT support enabled, so discarding some 100 days worth of uptime I compiled the new 2.6.19-gentoo-r1 kernel with UINPUT and rebooted to try with it.

If I find the time, I'll try the keyboard with both my desktop (the machine I'm reporting about) and laptop and a few different kernels.
Comment 6 Santtu Pajukanta 2006-12-13 11:21:27 UTC
Found the manual of my motherboard (ASUS A7V8X-X): The northbridge is VIA KT400 and the southbridge is VIA VT8235.
Comment 7 Robert Buchholz (RETIRED) gentoo-dev 2006-12-15 18:29:43 UTC
No need to test any further yet, as the bug seems to be fixed upstream.

New version should be in CVS soon.
Comment 8 Santtu Pajukanta 2006-12-16 03:01:06 UTC
Yay \o/
Comment 9 Robert Buchholz (RETIRED) gentoo-dev 2006-12-18 17:13:07 UTC
libg15-1.1.1 is in the tree now, fixing this bug according to upstream.
Comment 10 Markus Ullmann (RETIRED) gentoo-dev 2006-12-19 04:28:54 UTC
Robert is right here, update to libg15-1.1.1 and you have your working G Keys back :)