Dominic Fandrey
2017-Apr-06 10:16 UTC
Unsupported USB BT device causes high interrupt load
I have an Interrupt load of 2000 interrupts/s from xhci0. As the culprit I have identified the following device: ugen0.6: <vendor 0x8087 product 0x07dc> at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) The impression I have from googling this is that it's an unsupported BT device sitting on board of my Intel Wireless AC 7260 card (I also have an unsupported SD/MMC card reader sitting on the mainboard). usbconfig -d 0.6 power_off Ends the interrupt spree. I'm running FreeBSD 11.0-STABLE #1 r316490 amd64. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 618 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20170406/975bb48d/attachment.sig>
can you capture a usb transfer dump from usbdump ? I'd like to see if it's because the usb bluetooth code is trying to attach and failing, or whether it really is just some broken transfer / notification loop. -a On 6 April 2017 at 03:16, Dominic Fandrey <kami at freebsd.org> wrote:> I have an Interrupt load of 2000 interrupts/s from xhci0. > > As the culprit I have identified the following device: > > ugen0.6: <vendor 0x8087 product 0x07dc> at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > The impression I have from googling this is that it's an unsupported > BT device sitting on board of my Intel Wireless AC 7260 card (I also > have an unsupported SD/MMC card reader sitting on the mainboard). > > usbconfig -d 0.6 power_off > > Ends the interrupt spree. > > I'm running FreeBSD 11.0-STABLE #1 r316490 amd64. > > -- > A: Because it fouls the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? >
Dominic Fandrey
2017-Apr-18 13:03 UTC
Unsupported USB BT device causes high interrupt load
> I have an Interrupt load of 2000 interrupts/s from xhci0. > > As the culprit I have identified the following device: > > ugen0.6: <vendor 0x8087 product 0x07dc> at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > ?The device spamms me with interrupts after every boot and resume until I send it a power_off command. For anyone else with a similar problem, I'm using the following devd rule to mitigate the issue (https://pastebin.com/raw/HmDur3Le): notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "vendor" "0x8087"; match "product" "0x07dc"; action "usbconfig -d $cdev power_off"; }; -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 618 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20170418/c90ad3ae/attachment.sig>