distribution/packages/hardware/quirks/devices/AYANEO AIR/003-nofpreader
2023-04-01 23:01:06 +00:00

8 lines
298 B
Bash

#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
FPDEVICE=$(lsusb | awk '/2541:0236/ {print sprintf("%1d-", $2) sprintf("%1d",substr($4, 1, length($4)-1))}')
echo "${FPDEVICE}" >/sys/bus/usb/drivers/usb/unbind