Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301340 - app-misc/g15daemon-1.9.5.3-r2: usbfs: process 6257 (g15daemon) did not claim interface 0 before use after pm-suspend
Summary: app-misc/g15daemon-1.9.5.3-r2: usbfs: process 6257 (g15daemon) did not claim ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 07:21 UTC by Stijn Tintel
Modified: 2011-08-03 07:49 UTC (History)
1 user (show)

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


Attachments
g15daemon suspend/resume script (20g15daemon,173 bytes, text/x-shellscript)
2011-03-24 04:27 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2010-01-18 07:21:52 UTC
If you suspend with g15daemon running, after resume your kernel log will be flooded with:

usb 4-2.4: usbfs: process 6258 (g15daemon) did not claim interface 0 before use

The display on my G15 just shows the default "Logitech", instead of G15daemon/G15stats.

Reproducible: Always

Steps to Reproduce:
1. emerge g15stats
2. /etc/init.d/g15stats start
3. pm-suspend
4. resume
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-06 20:43:22 UTC
Can you please take this upstream or produce a code fix?
I don't have a setup to suspend.

Alternatively, please trace those uses with a debugger and give me a backtrace.
Comment 2 BT 2011-03-24 04:27:01 UTC
Created attachment 267043 [details]
g15daemon suspend/resume script

It appears the Debian folks have a solution to this problem. It involves stopping/starting g15daemon on suspend/resume by placing a script (20g15daemon) in '/usr/lib/pm-utils/sleep.d'.

I have attached a modified 20g15daemon script which uses our init.d scripts to start/stop g15daemon. You can find the original in the the Debian bug report[1].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611649
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-08-03 07:49:42 UTC
Fixed in r4