Date: Fri, 17 Apr 2020 21:37:46 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: Hans Petter Selasky <hps@selasky.org>, usb@freebsd.org Subject: =?UTF-8?Q?Re=3a_Cheap_UPS_with_USB_=c2=abflicker=c2=bb_with_FreeBSD?= =?UTF-8?Q?_but_not_with_Windows?= Message-ID: <b63c055b-763d-e8f5-355a-fe7917cc714c@FreeBSD.org> In-Reply-To: <343a0da8-d1ed-dcb5-3854-042d6065771e@selasky.org> References: <a97d989e-fb7e-b365-458c-c12e2c161a62@FreeBSD.org> <4a0271c4-edf8-909f-c8d1-894323d1c8d5@selasky.org> <5b87bfd2-55c1-5281-b964-47dfea8c48cb@FreeBSD.org> <408f99ba-bbf9-2273-4caa-281ab96f4a91@selasky.org> <2a570645-70c4-7ead-1e7b-fd3e5b8c10cb@FreeBSD.org> <343a0da8-d1ed-dcb5-3854-042d6065771e@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --paxF0g5dmYYejqBeIrjMuDwTKAeYn7EUD Content-Type: multipart/mixed; boundary="dA8AF5BLUXSPsRZ5xWEHyblH9BlTtfqzq" --dA8AF5BLUXSPsRZ5xWEHyblH9BlTtfqzq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 17.04.2020 18:38, Hans Petter Selasky wrote: > Maybe the kernel was compiles w/o: >=20 > options USB_DEBUG Yep. I have kernel with this option now, and debug shows that each disco= nnection looks like this (there are one successful explore cycle and one = which triggers disconnection): Apr 17 21:31:48 gateway kernel: usb_needs_explore: Apr 17 21:31:48 gateway kernel: usb_bus_powerd: bus=3D0xfffffe00322b2cd8 Apr 17 21:31:48 gateway kernel: usb_bus_powerd: Recomputing power masks Apr 17 21:31:48 gateway kernel: uhub_explore: udev=3D0xfffff80006c35000 a= ddr=3D1 Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 1, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 2, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 3, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 4, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 5, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 6, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 7, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 8, wPortStatu= s=3D0x0500, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:49 gateway kernel: usb_needs_explore: Apr 17 21:31:49 gateway kernel: usb_bus_powerd: bus=3D0xfffffe0031f7edb0 Apr 17 21:31:49 gateway kernel: usb_bus_powerd: Recomputing power masks Apr 17 21:31:49 gateway kernel: uhub_explore: udev=3D0xfffff80006c29000 a= ddr=3D1 Apr 17 21:31:49 gateway kernel: uhub_read_port_status: port 1, wPortStatu= s=3D0x0100, wPortChange=3D0x0000, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:49 gateway kernel: uhub_read_port_status: port 2, wPortStatu= s=3D0x0100, wPortChange=3D0x0003, err=3DUSB_ERR_NORMAL_COMPLETION Apr 17 21:31:49 gateway kernel: uhub_reattach_port: reattaching port 2 Apr 17 21:31:49 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2 (dis= connected) --=20 // Lev Serebryakov --dA8AF5BLUXSPsRZ5xWEHyblH9BlTtfqzq-- --paxF0g5dmYYejqBeIrjMuDwTKAeYn7EUD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAl6Z93pfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R49kDxAAzccZGTFv18xn1lmug7T6V0zSX2L3GelcMyWujOJgFlzzBWmbfFI4SMBi hCKDk/n3p77/5rxeDBYql48pGcYpqjufYfFT5iaNTovbywfW0AWwzZze8vlrooCc e+vc4oFj5Hh+5AhVctAps3Eh7u6nrde+/DM/Lf2lnTcK94GyAbus5v8NHvUoehhE 0MDhFJVmr5p4o/WRCguU8KVA9ZjZ8nRBcW9SLisZpYr9FJaomtaLoFx2yLLYUos0 3FS7iubJZHZWox9nVPfvzXIJLCw9NoG2V2AQmCGzbMXEyXEkVxcjqhHb+Nv99NYJ tFunbuKDp1rtxTD39KiQxCrTVH0FH7t4mwYqxYRtL78lhyx5PsMy5J/OaqIDQbHY aOFtvw9wIzcKSr+zbzRetaURNf8656Dyg6dP0JiQu2wZFoT6A1EmyzcZCdNVzKk+ 9VIQVdCZjsRp4LmMpxPwPJC6zp5//C+HAxZS7A8AQpRPVZqMwwLiB99PqrZWymID abr1qncCyBlwRGXBOlzu/cq233Qg8hwwDrP1zbNsWI2AypzEVcZWYiEjW3U6I4f5 fwOHgCUcn7FAbxQO0hPx4dk5uLx3OWvfY1l44b9nwy07PPuffeEmF+eP0PZfdKhy Tsfh/5LpOFObwUZ1Fqn6s3qHJY3WurMpr5vpqUWIGXpjw7uD6wE= =4ikS -----END PGP SIGNATURE----- --paxF0g5dmYYejqBeIrjMuDwTKAeYn7EUD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b63c055b-763d-e8f5-355a-fe7917cc714c>