Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G15daemon: did not claim interface 0 before use?
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
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Netherlands

PostPosted: Mon Oct 26, 2009 11:54 pm    Post subject: G15daemon: did not claim interface 0 before use? Reply with quote

After resuming from KDE4 suspend to ram my LCD is not working and dmesg is flooded with there errors until I manually restart g15daemon:
Code:
usb 4-2.4: usbfs: process 2873 (g15daemon) did not claim interface 0 before use


It seems like this error was supposed to be fixed months ago (if not years) but for some reason I'm stuck with it again. I even found a bug report about this for someone using a KVM switch and I have the hotplug script they posted so I suppose it is already part of my system: http://bugs.gentoo.org/show_bug.cgi?id=236422

So why does the KDE4 way of suspending screw up g15daemon again?

Or as an alternative solution: how to I tell PowerDevil to restart the g15daemon when it comes back?
_________________
More ramblings of a linux junky...
Back to top
View user's profile Send private message
DaveQB
n00b
n00b


Joined: 23 May 2005
Posts: 22

PostPosted: Tue Feb 18, 2014 2:00 am    Post subject: Reply with quote

I know this is an old topic, but it came up very high in a google search for the issue.

I am having this issue now

My solution was to create a script called:

Code:
/etc/pm/sleep.d/99g15daemon


with contents

Code:
#!/bin/bash

if [ "$1" == resume ]
then
  sleep 5
  /usr/sbin/service g15daemon restart
fi


And chmod 754 /etc/pm/sleep.d/99g15daemon

Problem worked around.

This is on a Linux Mint machine.

PS the sleep line might not be needed.
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