Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 15:03:43 +0200
From:      Dominic Fandrey <kami@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Unsupported USB BT device causes high interrupt load
Message-ID:  <20170418150343.24c6e436bf5baecd835b2d0d@freebsd.org>
In-Reply-To: <20170406121635.99a513360faaf2f40992fb8a@freebsd.org>
References:  <20170406121635.99a513360faaf2f40992fb8a@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Tue__18_Apr_2017_15_03_44_+0200_y+dvKsE=o7L8I6XL
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> I have an Interrupt load of 2000 interrupts/s from xhci0.
>=20
> As the culprit I have identified the following device:
>=20
> ugen0.6: <vendor 0x8087 product 0x07dc> at usbus0, cfg=3D255 md=3DHOST sp=
d=3DFULL (12Mbps) pwr=3DON (100mA)
>=20
> =E2=80=A6

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";
};

--=20
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?=20


--Signature=_Tue__18_Apr_2017_15_03_44_+0200_y+dvKsE=o7L8I6XL
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEfYhGEP+7uobxe8A3b/BdaakqWdsFAlj2DrBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdE
ODg0NjEwRkZCQkJBODZGMTdCQzAzNzZGRjA1RDY5QTkyQTU5REIACgkQb/Bdaakq
WdtQ5wgAnVrskRSNereWiH1EZDMAtf4ZUYS9bHQj79zKlwbghfjGIyxTdydJzDZZ
RNI9UHHqYlfEoz4i8ua3mFlq3/GmWazCZt5p6gI3+GHEtFJysaD4R4pL5kBjxmDQ
GXth7kY/gFeqHYwikrqjAD3ZZ50c9KDa7pQ1oR7DnfsNxfpMxSeJ8f/aU6wVLub6
qMnwLrlMCuZJZFReHeOLVRNA02YKkrhTDT3/pvH363s6yq3g+PAVr7sGJSoEu1zF
Q1/Hvc9pXAtR2+urEjn/OwhdSn91OVNEaJDLPOTY2pGsJy+6AtclMHdH7AFNKe5E
1WFOZzP/HrfAAHeW6x7xcFfnhS0/ew==
=dMjb
-----END PGP SIGNATURE-----

--Signature=_Tue__18_Apr_2017_15_03_44_+0200_y+dvKsE=o7L8I6XL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170418150343.24c6e436bf5baecd835b2d0d>