Created
November 26, 2016 14:03
-
-
Save valpackett/44f4f3e791a057bc4f3619a166a03b87 to your computer and use it in GitHub Desktop.
Disable automatic Bluetooth stack loading on FreeBSD (put into /usr/local/etc/devd and restart devd)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do nothing when a ubt device is attached | |
attach 999 { | |
device-name "ubt[0-9]+"; | |
}; | |
detach 999 { | |
device-name "ubt[0-9]+"; | |
}; | |
# Do not even load ubt | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x03f0"; | |
match "product" "0x311d"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x044e"; | |
match "product" "(0x3001|0x3002)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0489"; | |
match "product" "(0xe027|0xe02c|0xe036|0xe03c|0xe03d|0xe042|0xe04e|0xe056|0xe057)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x04bf"; | |
match "product" "0x030a"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x04ca"; | |
match "product" "(0x2003|0x3005|0x3006|0x3008)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x057c"; | |
match "product" "(0x2200|0x3800)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x05ac"; | |
match "product" "(0x8213|0x8215|0x8218|0x821a|0x821b|0x821f|0x8281|0x828f)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0930"; | |
match "product" "(0x0215|0x0219)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0a5c"; | |
match "product" "0x21e1"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0b05"; | |
match "product" "0x17b5"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0b05"; | |
match "product" "0x17cb"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0bdb"; | |
match "product" "0x1002"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0c10"; | |
match "product" "0x0000"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0cf3"; | |
match "product" "(0x3002|0x3004|0x311d)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0cf3"; | |
match "product" "(0xe004|0xe019)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0e8d"; | |
match "product" "0x763f"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x13d3"; | |
match "product" "0x3304"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x13d3"; | |
match "product" "(0x3362|0x3375|0x3393)"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x413c"; | |
match "product" "0x8197"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0489"; | |
match "intclass" "0xff"; | |
match "intsubclass" "0x01"; | |
match "intprotocol" "0x01"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x05ac"; | |
match "intclass" "0xff"; | |
match "intsubclass" "0x01"; | |
match "intprotocol" "0x01"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "vendor" "0x0a5c"; | |
match "intclass" "0xff"; | |
match "intsubclass" "0x01"; | |
match "intprotocol" "0x01"; | |
}; | |
nomatch 999 { | |
match "bus" "uhub[0-9]+"; | |
match "mode" "host"; | |
match "intclass" "0xe0"; | |
match "intsubclass" "0x01"; | |
match "intprotocol" "0x01"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment