Comments (6)
You should be able to just attach a device (per /dev
path) to the container. I use a Zigbee USB stick with zigbee2mqtt in a container, and it works without issues.
Plug in the USB adapter, check the ID by using talosctl ls /dev/serial/by-id
and use a hostPath volume to mount that path.
from extensions.
I don't think so. Bluetooth needs Kernelmodules. And i need Dbus to run.
from extensions.
Any ideas?
Its def not niche, i have a bunch of iBeacons Id like to capture data from
I have a container with priviledged, all caps, host network and mounted dbus, it still shows no BLE
Its not a serial device so it wont show up in /dev/serial
192.168.4.119: kern: info: [2024-01-18T19:18:48.293803009Z]: usb 1-6.1.4: new full-speed USB device number 8 using xhci_hcd
SUBSYSTEM=usb
DEVICE=+usb:1-6.1.4
Im assuming it goes to /dev but im unable to find out where
In a privileged pod (only dbus mounted)
/ # lsusb | grep 0a12:0001
Bus 001 Device 008: ID 0a12:0001
and
β k get node/server -oyaml | grep e0_0a12_0001
feature.node.kubernetes.io/usb-e0_0a12
from extensions.
I'm believe for using bluetooth with talos you will have to build your own kernel (see https://www.talos.dev/v1.6/advanced/customizing-the-kernel/) with relevant kernel config parameters enabled (see e.g. https://github.com/torvalds/linux/blob/master/net/bluetooth/Kconfig).
I've also found some articles about running the BlueZ daemon inside a pod (e.g. https://medium.com/omi-uulm/how-to-run-containerized-bluetooth-applications-with-bluez-dced9ab767f6).
from extensions.
If/when talos gains the ability to load kernel modules signed with keys other then those generated (and thrown away) building the kernel it would also be possible to build a kernel with bluetooth as modules and package those in a talos system extension I think.
from extensions.
There is also an issue on pkgs already.
from extensions.
Related Issues (20)
- How to install extension documentation missing actual instruction on how to install HOT 4
- Unable to build with CGO enabled on ARM64 HOT 3
- Publish the wasmedge extension with a tagged version HOT 1
- ZeroTier Extension HOT 1
- Update nvidia runtime HOT 1
- xe-guest-utlities not reporting IP HOT 2
- Feature request: iSCSI automount and iSCSI initiator name
- Tailscale extension may change the IPv4 address that the node advertises HOT 1
- qemu-guest-agent not running shortly after startup. HOT 2
- DRBD >= 9.2.7 HOT 8
- [iscsi-tools] Using with Openstack Cinder not working
- [iscsi-tools] Broken on talos 1.6.6? HOT 1
- What extensions are included by default in https://factory.talos.dev/? HOT 1
- ZFS pool import does not work with machine.disks HOT 1
- how to use zfs tools HOT 7
- Extensions docs need some help HOT 5
- QEMU guest agent shutdown command leads to restart instead of shutdown (in maintenance mode) HOT 2
- Kata-containers - failed to create containerd task: failed to create shim task HOT 3
- Extension for the `binder_linux` module
- extensions: lint the manfiest, verify name, etc.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extensions.