- Install Bluetooth Command Line Tools
- you can use the command line tools to display all device ids by simply running
btdiscovery - Create a Connect batch script:
| # Configuration for Vodafone Portugal IPTV service. | |
| # Tested with VBOX Pro 4k. | |
| # Also tested with a older Cisco Mediaroom, needs some more stuff, check the end of the file. | |
| # Feel free to leave comments with suggestions and/or improvements! | |
| # Credit to the original users that provided the pfsense config found at https://forum.zwame.pt/threads/iptv-net-vodafone-com-pfsense.1049250 | |
| # 2023-08-01 20:57:50 by RouterOS 7.10.1 | |
| # model = RB5009UPr+S+ | |
| # example interfaces using a sfp module |
| #!/bin/sh | |
| # Example of job definition (as add job using crontab -e): | |
| # .---------------- minute (0 - 59) | |
| # | .------------- hour (0 - 23) | |
| # | | .---------- day of month (1 - 31) | |
| # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... | |
| # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | |
| # | | | | | | |
| # * * * * * user-name command to be executed | |
| # 30 02 15,28 * * /root/opkg_updater.sh |
| //----------------------------------------------------------------------- | |
| // | |
| // Load the script | |
| // script_execute swapmodels | |
| // | |
| // Swap every player and bot models to 'MODEL'. Case insensitive | |
| // ( all lowercase, all uppercase, or correct name ) | |
| // script s( MODEL ) | |
| // | |
| // Example: |
| #!/usr/bin/python | |
| import minimalmodbus | |
| import paho.mqtt.client as mqtt | |
| import paho.mqtt.publish as pub | |
| # RS485 serial settings | |
| DEVICE="/dev/ttyUSB0" | |
| SLAVE=2 | |
| DEBUG=False | |
| FUNCODE=4 |
Ok so for anyone with "GIGABYTE GA-970A-DS3" I have done alot of testing and research. The best config I found to get USB3 working is this:
Edit Grub config:
sudo nano /etc/default/grub
Edit the line that looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
| # -*- coding: utf-8 -*- | |
| """ | |
| Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic | |
| Made available under GNU GENERAL PUBLIC LICENSE | |
| # Modified Python I2C library for Raspberry Pi | |
| # as found on http://www.recantha.co.uk/blog/?p=4849 | |
| # Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library | |
| # added bits and pieces from various sources | |
| # By DenisFromHR (Denis Pleic) |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Cambridge Silicon Radio\Harmony\Default] | |
| "OSD"=dword:00000000 |
| apt-get update | |
| apt-get upgrade | |
| apt-get install x11vnc xinit xvfb libxcursor1 ca-certificates bzip2 curl libglib2.0-0 nano | |
| adduser bot | |
| x | |
| x | |
| x | |
| x | |
| x | |
| Y |