Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev eating cpu(solved)"reopen"
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
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 943
Location: halmstad

PostPosted: Thu Dec 27, 2018 7:09 pm    Post subject: udev eating cpu(solved)"reopen" Reply with quote

hi all

udev is eating 100% of one cpu all the and i need some help fix it and this is what i have found:

Code:


mylap /home/hedmo # udevadm monitor
KERNEL[5471.783374] bind     /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.783595] unbind   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
UDEV  [5471.784219] unbind   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.792385] bind     /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.792591] unbind   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
UDEV  [5471.793080] bind     /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.799471] bind     /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.799723] unbind   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
UDEV  [5471.799963] unbind   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.809445] bind     /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
KERNEL[5471.809785] unbind   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.2/2-1.7.2:1.0 (usb)
^Cmylap /home/hedmo #
z


thanks

regards hedmo

EDIT:disabling stuff in bios for now


Last edited by hedmo on Sun Apr 21, 2019 4:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 943
Location: halmstad

PostPosted: Fri Jan 18, 2019 9:47 am    Post subject: Reply with quote

solved by edit /lib/udev/rules.d/97-hid2hci.rules with:

Code:
ACTION=="add", ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInter$
  ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \
  RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"


regards hedmo
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 943
Location: halmstad

PostPosted: Sun Apr 21, 2019 4:58 pm    Post subject: Reply with quote

is there a way to to prevent this file to be overwritten by bluez?

regards hedmo
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1545
Location: KUUSANKOSKI, Finland

PostPosted: Sun Apr 21, 2019 10:18 pm    Post subject: Reply with quote

hedmo wrote:
is there a way to to prevent this file to be overwritten by bluez?
Place the edited file under /etc/udev/rules.d/.
Files under /usr are usually not to be edited and can be overwritten by updates.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
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