Re: [PATCH] Bluetooth: Allow reset via sysfs
From: Greg KH
Date: Wed Jan 08 2025 - 07:34:09 EST
On Fri, Jan 03, 2025 at 11:20:20AM +0800, Hsin-chen Chuang wrote:
> Allow sysfs to trigger reset via the cmd_timeout function in hci device.
> This is required to recover devices that are not responsive from
> userspace.
>
> Also remove the cmd timeout count in btusb since we only ever allow one
> command in flight at a time. We should always reset after a single
> command times out.
>
> Signed-off-by: Hsin-chen Chuang <chharry@xxxxxxxxxxxx>
> ---
> This commit has been tested on a Chromebook by running
> `echo 1 > /sys/class/bluetooth/hci0/reset`
You forgot the required Documentation/ABI/ update for your new sysfs
file :(
thanks,
greg k-h