linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
@ 2018-10-18 17:53 ` bugzilla-daemon
  2018-12-22 17:54 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-10-18 17:53 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

brunosouza (brunofcosouza@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brunofcosouza@gmail.com

--- Comment #9 from brunosouza (brunofcosouza@gmail.com) ---
(In reply to Y S Gupta from comment #8)


Same here. I used the commands from Szymon to find out what was going on and
got the Synaptics Touchpad, too.

The workaround by Y S Gupta works like a charm. Put it in a startup script and
everything is ok. THANK YOU!

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
  2018-10-18 17:53 ` [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel bugzilla-daemon
@ 2018-12-22 17:54 ` bugzilla-daemon
  2019-01-08 18:42 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-12-22 17:54 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #10 from Tournier Mathieu (mathieutournier@gmail.com) ---
Command from Y S Gupta fixed to high cpu load for me.
As this is just a workaround. I suppose this bug should remain open.
Thanks for this, i can now reuse my bluetooth card.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
  2018-10-18 17:53 ` [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel bugzilla-daemon
  2018-12-22 17:54 ` bugzilla-daemon
@ 2019-01-08 18:42 ` bugzilla-daemon
  2019-01-08 19:38 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-01-08 18:42 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

John (jgwphd@yahoo.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgwphd@yahoo.com

--- Comment #11 from John (jgwphd@yahoo.com) ---
When I boot up every day without exception, my machine starts up with one of
the CPU cores running at 100%. I see lots of posts on other forums (Unbuntu 
etc) going back over a year or more blaming touchpads or nvidia or WiFi. Some
even say they can't use their thumb drive if it isn't plugged in when they
boot. The problem also mimics a defective thumb drive where you plug it in and
Ubuntu doesn't see it (because systemd-udevd doesn't have the cycles to process
the newly plugged in USB device). Losing one core makes my machine slower but
not too noticeably so. I do see much longer boot times and sometime it will
hang entirely during boot. I assume a single core or dual core machine will be
drastically slowed down or even unusable. When I search I find other non-ubuntu
os's complaining about similar problems.

I have 18.10 running on my Dell studio XPS with an AMD® Phenom(tm) ii x4 945
processor × 4 and AMD® Juniper graphics. It's a quad-core 64 bit machine. I
have wireless mouse and keyboard for Logitech. I have a pretty vanilla set-up.
I DO NOT have a touchpad or nvidia or WiFi!

I can verify that the problem can be managed by stopping and starting
systemd-udevd. I used the following commands, suggested in this bug report, in
sequence in the terminal which corrects the problem until I boot again. 

sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket
systemd-udevd-control.socket

sudo systemctl start systemd-udevd systemd-udevd-kernel.socket
systemd-udevd-control.socket

Also the problem will "sometimes" re-appear by plugging in a thumb drive! 

This is a serious kernel problem and can manifest its presence in a number of
ways depending on your hardware configuration. 

This is a very very very annoying problem will someone PLEASE fix it soon!
...did I mention that this is a serious problem impacting many people!

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (2 preceding siblings ...)
  2019-01-08 18:42 ` bugzilla-daemon
@ 2019-01-08 19:38 ` bugzilla-daemon
  2019-04-13 14:02 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-01-08 19:38 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #12 from John (jgwphd@yahoo.com) ---
BTW, add to my previous comment an additional symptom:  sometimes my system
will "appear to hang" entirely during boot (but it will power down normally by
briefly touching the power off button when it "looks like" it is stuck).

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (3 preceding siblings ...)
  2019-01-08 19:38 ` bugzilla-daemon
@ 2019-04-13 14:02 ` bugzilla-daemon
  2019-04-13 17:23 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-04-13 14:02 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

gustavo.willer@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gustavo.willer@hotmail.com

--- Comment #13 from gustavo.willer@hotmail.com ---
I have the same problem, that John related.

I have dell n5010, with SSD. Run F30 and suffer to connect bluedio t4. 

If I Uninstall the package bluez-hid2hci, the problem of boot cpu with
systemd-udevd dissappear. But at same time, I lost the connection of bluetooth
device.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (4 preceding siblings ...)
  2019-04-13 14:02 ` bugzilla-daemon
@ 2019-04-13 17:23 ` bugzilla-daemon
  2019-04-13 17:34 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-04-13 17:23 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #14 from John (jgwphd@yahoo.com) ---
An update: The problem I reported in January went away on its own after a few
weeks of having the problem every single day when I booted each morning. I was
installing Ubuntu software updates when they became available during that time.
There is something going on during boot that causes this problem. 

"my speculation" is that I suspect a timing issue with the way things are
initialized during boot up that leads to the problem. Some strange timing issue
is occurring which causes systemd-udevd to fall into an infinite loop
(continuously looking for something or to be notified about an action
completion) and drive one of the processor cores to 100%. When a new kernel was
installed or something was done to change initialization activity during boot
the problem went away because the timing problem that created it was changed. I
believe that some kind of race condition may be at the root of the problem.

From my earlier search on the problem symptoms, it seems that when
systemd-udevd isn't working correctly you can get numerous confusing symptoms
that mysteriously go away when the something changes timing conditions during
boot. Since the problem is in the kernel then it effects other systems besides
Ubuntu.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (5 preceding siblings ...)
  2019-04-13 17:23 ` bugzilla-daemon
@ 2019-04-13 17:34 ` bugzilla-daemon
  2019-04-13 18:30 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-04-13 17:34 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #15 from gustavo.willer@hotmail.com ---
I fix the problem with this approach: 

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836/comments/70

from "Florian Dittmer (fd81)"


"
Following the instructions mentioned by one user in the comments helped me to
solve the cpu load issue with udev-239 and kernel 4.18.17, while Bluetooth
still works.

Run the following command:

/lib/systemd/systemd-udevd -D

This should print garbage in endless loop containing ".../97-hid2hci.rules:"

If so, edit /lib/udev/rules.d/97-hid2hci.rules

and add

ACTION=="add",

in front of line mentioned by above command.

In my case, I had to change the following lines in 97-hid2hci.rules from:

ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01",
ATTR{bInterfaceProtocol}=="02", \
  ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c",
ATTRS{bmAttributes}=="e0", \
  RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"

to:

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

And this fixed the issue (after reboot).
"

from

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (6 preceding siblings ...)
  2019-04-13 17:34 ` bugzilla-daemon
@ 2019-04-13 18:30 ` bugzilla-daemon
  2019-04-13 23:27 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-04-13 18:30 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #16 from John (jgwphd@yahoo.com) ---
These nerd-level suggestions all work but the root cause (the real problem) is
not solved and will pop up again. How is the non-nerd supposed to do this?
...would you want your neighbor editing your system files????  Someone needs to
fix this permanently!

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (7 preceding siblings ...)
  2019-04-13 18:30 ` bugzilla-daemon
@ 2019-04-13 23:27 ` bugzilla-daemon
  2019-04-14 14:22 ` bugzilla-daemon
  2022-04-13 15:14 ` bugzilla-daemon
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-04-13 23:27 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #17 from gustavo.willer@hotmail.com ---
I agree with you, its not the best solution. This bug impact many users! At
next release of this softwares this bug has to be fixed.


But I lost many days to fix this problem, and I'm sharing this 'hard approach'
at forums I had visited before. So other people do not waste so much time!

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (8 preceding siblings ...)
  2019-04-13 23:27 ` bugzilla-daemon
@ 2019-04-14 14:22 ` bugzilla-daemon
  2022-04-13 15:14 ` bugzilla-daemon
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-04-14 14:22 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

--- Comment #18 from John (jgwphd@yahoo.com) ---
This problem has been around for a long time and a lot of people have struggled
with it. You can find examples such as the following on quite a few help sites,
for example

https://askubuntu.com/questions/1028883/ubuntu-18-04-systemd-udevd-uses-high-cpu-conflict-with-wifi

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel
       [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
                   ` (9 preceding siblings ...)
  2019-04-14 14:22 ` bugzilla-daemon
@ 2022-04-13 15:14 ` bugzilla-daemon
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2022-04-13 15:14 UTC (permalink / raw)
  To: linux-bluetooth

https://bugzilla.kernel.org/show_bug.cgi?id=199035

Tournier Mathieu (mathieutournier@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #19 from Tournier Mathieu (mathieutournier@gmail.com) ---
Finnally solved !
5.15 kernel and ubuntu 22.04 upgrade solved totally the issue for me.
I can enable my integrated Dell BT card again :)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-04-13 15:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-199035-62941@https.bugzilla.kernel.org/>
2018-10-18 17:53 ` [Bug 199035] BCM2046B1 and hid2hci generates highcpu usage due to udev since 4.14 kernel bugzilla-daemon
2018-12-22 17:54 ` bugzilla-daemon
2019-01-08 18:42 ` bugzilla-daemon
2019-01-08 19:38 ` bugzilla-daemon
2019-04-13 14:02 ` bugzilla-daemon
2019-04-13 17:23 ` bugzilla-daemon
2019-04-13 17:34 ` bugzilla-daemon
2019-04-13 18:30 ` bugzilla-daemon
2019-04-13 23:27 ` bugzilla-daemon
2019-04-14 14:22 ` bugzilla-daemon
2022-04-13 15:14 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).