mirror of
https://codeberg.org/wonky/udev-usb-sync.git
synced 2024-09-19 23:30:37 +02:00
53 lines
1.9 KiB
Text
53 lines
1.9 KiB
Text
# The configuration file is part of udev-usb-sync package
|
|
#
|
|
# MIT License
|
|
#
|
|
# Copyright (c) 2023 Frede Hundewadt (@linux-aarhus)
|
|
#
|
|
# Permission is hereby granted, free of charge,to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"),
|
|
# to deal in the Software without restriction, including without limitation
|
|
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
# and/or sell copies of the Software, and to permit persons to whom the
|
|
# Software is furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
# THE SOFTWARE.
|
|
#
|
|
# @linux-aarhus - root.nix.dk
|
|
#
|
|
# configuration : /etc/usb-dev-sync/usb-dev-sync.conf
|
|
# triggered by : /usr/lib/udev/rules.d/99-usb-sync.rules
|
|
#
|
|
# contributors: @megavolt (Manjaro Forum)
|
|
# : @linux-aarhus (Manjaro Forum)
|
|
# inspired by : @kwg (EndeavourOS Forum)
|
|
#
|
|
# The values used can be modified if you need to do so
|
|
# The commented default usually works well
|
|
#use_tweaks=1
|
|
#use_bandwith=1
|
|
|
|
#max_ratio=50
|
|
# strict limit requires kernel >= 6.2
|
|
#strict_limit=1
|
|
|
|
# a sane default bandwidth value
|
|
#max_bytes=16777216
|
|
|
|
# bandwith based limitation requires >= 6.1
|
|
# values as reported by the device ATTRS{speed}
|
|
# These values seem to be good and stable.
|
|
# It buffers 0,01s of the current bandwidth.
|
|
#max_bytes_12=10485
|
|
#max_bytes_480=629145
|
|
#max_bytes_5000=655369
|
|
#max_bytes_10000=13107200
|