|
VictualSquid posted:If your device is accessed through USB you need lsusb instead of lspci. Hmm. lsusb Bus 002 Device 002: ID 8087:8002 Intel Corp. 8 channel internal hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:800a Intel Corp. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 005: ID 8087:0025 Intel Corp. Wireless-AC 9260 Bluetooth Adapter Bus 003 Device 006: ID 0557:2419 ATEN International Co., Ltd Bus 003 Device 004: ID 0557:7000 ATEN International Co., Ltd Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@pve:~# dmesg | grep -i bluetooth [ 4.337453] Bluetooth: Core ver 2.22 [ 4.337550] NET: Registered PF_BLUETOOTH protocol family [ 4.337552] Bluetooth: HCI device and connection manager initialized [ 4.337557] Bluetooth: HCI socket layer initialized [ 4.337560] Bluetooth: L2CAP socket layer initialized [ 4.337565] Bluetooth: SCO socket layer initialized [ 4.344402] Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015 [ 4.345469] Bluetooth: hci0: Device revision is 2 [ 4.345471] Bluetooth: hci0: Secure boot is enabled [ 4.345472] Bluetooth: hci0: OTP lock is enabled [ 4.345473] Bluetooth: hci0: API lock is enabled [ 4.345474] Bluetooth: hci0: Debug lock is disabled [ 4.345475] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 4.345960] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-18-16-1.sfi (-2) [ 4.347451] Bluetooth: hci0: Failed to read MSFT supported features (-56) [ 6916.457880] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6916.457886] Bluetooth: BNEP filters: protocol multicast [ 6916.457891] Bluetooth: BNEP socket layer initialized Seems that perhaps the OS can't find the bluetooth firmware/driver file. Now where to get one and where to put it... Edit: https://packages.debian.org/stable/firmware-iwlwifi * Intel Wireless 9160/9260 (var 16 rev 1) Bluetooth firmware, version 21.30.0.4 (intel/ibt-18-16-1.sfi) code:
??? Apparently proxmox has some firmware package but it doesn't include the intel BT I need... Edit: and apparently the pve-firmware package has nothing inside?? root@pve:~# apt-file list pve-firmware root@pve:~# apt-file list xterm xterm: /etc/X11/app-defaults/KOI8RXTerm xterm: /etc/X11/app-defaults/KOI8RXTerm-color xterm: /etc/X11/app-defaults/UXTerm xterm: /etc/X11/app-defaults/UXTerm-color xterm: /etc/X11/app-defaults/XTerm xterm: /etc/X11/app-defaults/XTerm-color ... Edit2: I manually downloaded the package, extracted the firmware files and copied them to /lib/firmware/intel code:
Edit3: yes. code:
Ihmemies fucked around with this message at 17:20 on Oct 11, 2022 |
# ? Oct 11, 2022 16:50 |
|
|
# ? May 28, 2024 02:53 |
|
Bluetooth on linux is always so much fun to get working. I was shocked when my Fedora install just recognized my bluetooth dongle and paired with my keyboard no issues
|
# ? Oct 11, 2022 17:23 |
|
Dunno if I have just been lucky in what I've tried but BT has been good in both Arch and the Deck's SteamOS variant of Arch. Have used headsets, controllers and external powered speakers with the desktop and headsets with the Deck. No issues at all. In fact, the Deck at least now seems to have the strongest BT stack of the consoles with more codecs being supported thanks to Linux. Steam itself won't disconnect controllers on inactivity or if I bind a button to disconnect, but this seems to be a Steam problem as I can do the disconnect from the BT cli.
|
# ? Oct 11, 2022 17:29 |
|
It seems simple enough. Use an intel wifi/bt product, have the drives ready included in the OS. Or download the intel driver package by yourself. Driver installation seems to be quite elegant in linux, just have the driver file in the driver folder. Yes. I wish it was like that in windows.. But when the OS doesn't come bundled with the driver, and doesn't tell you it's missing... you have to figure all this out by yourself. I don't use linux so I have no idea how to do stuff on linux. Every single step is done blind with a search engine searches.
|
# ? Oct 11, 2022 17:30 |
|
Do you guys have any recommendations for a docker VM operating system/distro? I want to run docker containers inside a VM. Proxmox hypervisor would handle the VM.
|
# ? Oct 11, 2022 17:39 |
|
For me BT on linux was always simpler and more straightforward to use than in windows (for example). It just worked, whenever I needed it. Then again, is not like I tested more than 3 or so bt dongles over the years.
|
# ? Oct 11, 2022 17:40 |
|
Bluetooth on Linux tends to work flawlessly if you have a good Bluetooth controller built in to your motherboard and can be hit-or-miss if you have a cheap counterfeit USB dongle.
|
# ? Oct 11, 2022 17:48 |
|
For me my laptop's onboard BT crashes the BT service when I try to turn it on. And my aliexpress BT dongle works automatically without setup.
|
# ? Oct 11, 2022 17:53 |
|
Ihmemies posted:It seems simple enough. Use an intel wifi/bt product, have the drives ready included in the OS. Or download the intel driver package by yourself. Driver installation seems to be quite elegant in linux, just have the driver file in the driver folder. Yes. I wish it was like that in windows.. Yeah, having to find the driver and get it in is no fun. This is where the distro comes in, really. If your particular distro of choice has it for your device, it's mostly plain sailing as you say.
|
# ? Oct 11, 2022 18:34 |
|
Yes. I understand that proxmox must have the driver so VM's can use the BT adapter. Anyways, next step is docker. So maybe Debian with only standard system utilities is good enough for a docker VM os.
|
# ? Oct 11, 2022 18:39 |
|
When I first got set up and switched over earlier this year, bluetooth was the one hardware-related thing on my PC that was a bit flaky. My USB BT dongle was recognized straight away, and my headphones worked. But a lot of the time when they auto-connected after turning on the headphones, the connection didn't fully complete. I had to disconnect and reconnect on the PC side a few times before the headphones said "bluetooth connected" and they got added as an audio device. Something got improved since then and now they don't need that. Ihmemies posted:It seems simple enough. Use an intel wifi/bt product, have the drives ready included in the OS. Or download the intel driver package by yourself. Driver installation seems to be quite elegant in linux, just have the driver file in the driver folder. Yes. I wish it was like that in windows.. You seem to jumping straight into not just the deep end on the pool, but into the middle of the pacific ocean. Debian is not exactly noob friendly, and has way less stuff automatically set up for you out of the box than a distro targeted at desktop use. And yes, you have to learn all this stuff to be proficient at problem-solving. You have to learn this stuff on any other OS too, you just already did it. And over a long period of slow experience so it didn't seem like a big deal. Like, I went with a noob-friendly distro and I'd actually done occasional poking at linux for a long time previously.
|
# ? Oct 11, 2022 18:42 |
|
Ihmemies posted:Yes. I understand that proxmox must have the driver so VM's can use the BT adapter. Alpine might be worth a shot, but it might be too minimal.
|
# ? Oct 11, 2022 18:47 |
|
Ihmemies posted:Do you guys have any recommendations for a docker VM operating system/distro? I want to run docker containers inside a VM. Proxmox hypervisor would handle the VM. Personally I like Fedora or Debian 11 for this.
|
# ? Oct 11, 2022 22:16 |
|
I always forget that with most of the Intel m.2 wifi/Bluetooth cards the Bluetooth is connected over the USB pins and the wifi gets the entire pcie lane.
|
# ? Oct 11, 2022 22:47 |
|
Well Proxmox is based on debian so I guess it makes sense to run dockers in Debian too. I installed a debian with just the system essentials, no GUI. Well. Problem with Docker is that I don't really understand how it works. Hopefully I don't need to. But one thing I need to understand: how does the config file syntax work.. Like if I want to run homeassistant & unifi controller: docker run -d \ --name homeassistant \ --privileged \ --restart=unless-stopped \ -e TZ=Europe/Helsinki \ -v /home/ihmemies/docker/ha/config \ --network=host \ ghcr.io/home-assistant/home-assistant:stable docker run -d \ --name=unifi-controller \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Europe/Helsinki \ -p 8443:8443 \ -p 3478:3478/udp \ -p 10001:10001/udp \ -p 8080:8080 \ -v /home/ihmemies/docker/unifi/config \ --restart unless-stopped \ lscr.io/linuxserver/unifi-controller:latest What do I really have to put after the "-v"? I guess that won't work. Or at least it doesn't produce any files in the /home/ihmemies directory. Where should I store the files? I guess it wants to write some config data to a file somwhere.
|
# ? Oct 11, 2022 23:18 |
|
For ports (-p) and volumes (-v) the format is [host]:[container] broadly speaking. Since you’re using a premade container that expects certain files and ports and so forth “internally” you don’t need to worry about changing the right side of that equation. The left side is up to you, you can use any location that the user being passed in the puid/pgid section can access so the container can store some files (usually a config or the like). For ports anything that isn’t taken is usable.
|
# ? Oct 11, 2022 23:31 |
|
So umm something like -v /home/ihmemies/docker/ha/config:/config Would be the proper syntax? Where I'm supposed to save files like that in linux?
|
# ? Oct 11, 2022 23:36 |
|
If you’re running the command as yourself the path you listed should be fine. It’s really up to you. Just don’t mount root (/) or bad things could happen.
|
# ? Oct 12, 2022 00:42 |
|
just as a suggestion: might be easier to figure out a docker-compose file than do everything the hard way on the cli like that. maybe its just me but the format is easier to parse
|
# ? Oct 12, 2022 04:26 |
|
RFC2324 posted:just as a suggestion: might be easier to figure out a docker-compose file than do everything the hard way on the cli like that. maybe its just me but the format is easier to parse I agree, 100%.
|
# ? Oct 12, 2022 04:33 |
|
Third-inch that but get a container going first before you start messing about there. Once you have your head wrapped around it things are easy to transfer over.
|
# ? Oct 12, 2022 05:18 |
|
Isn't there a new container program now that everybody is raving about? Podman, I think.
|
# ? Oct 12, 2022 11:29 |
|
I realized that using CLI is a futile effort. I installed portainer community edition. Things look a lot more pleasant now, and I don't manually have to worry about syntax or everything. I just click buttons in a browser and containers appear, yeah.
|
# ? Oct 12, 2022 12:07 |
|
I need to run Qt for school. So I installed a debian with kde plasma. Mouse forward/backward keys don't work and win button doesn't open the start menu. Why linux hates its users year after year? I'm using regular remote desktop from windows with xrdp.
|
# ? Oct 12, 2022 13:22 |
|
Ihmemies posted:I need to run Qt for school. So I installed a debian with kde plasma. Mouse forward/backward keys don't work and win button doesn't open the start menu. Why linux hates its users year after year? You can change the keybindings for everything in the system settings. However, win/meta key is a modifier key in linux, so can't be bound to activate the app launcher (start menu) by itself. Some people would say this is actually a good thing -- all the keyboards that comes with various win-lock functions seem to agree. Back & forward work fine, maybe your xrdp connection is not forwarding them? Also you don't need to use the KDE desktop to run Qt applications, unless you're running like a plasma applet or something. Qt applications work anywhere including on windows.
|
# ? Oct 12, 2022 14:10 |
|
If I press the win key on my Plasma install, it opens the KDE menu. I have no idea where that setting is set, it came like this as default.
|
# ? Oct 12, 2022 14:12 |
|
Having the win key open the application menu in KDE is slightly hacky, it requires you to have alt+F1 bound to open the menu. Plasma "highjacks" the win/meta key to open the application menu when that shortcut is set, while still letting you use it as a modifier key. From Windows to Windows via RDP, the win key opens the start menu on my local machine, not the remote. So I don't think Plasma is at fault here.
|
# ? Oct 12, 2022 14:15 |
|
Klyith posted:You can change the keybindings for everything in the system settings. However, win/meta key is a modifier key in linux, so can't be bound to activate the app launcher (start menu) by itself. Some people would say this is actually a good thing -- all the keyboards that comes with various win-lock functions seem to agree. My kb has a lock but I never use it. Sometimes I accidentally lock it and get annoyed. So I need to install extra software to open the start menu in linux with Windows button, I see. quote:Back & forward work fine, maybe your xrdp connection is not forwarding them? Well how to debug that one. Everything else seems to work fine. quote:Also you don't need to use the KDE desktop to run Qt applications, unless you're running like a plasma applet or something. Qt applications work anywhere including on windows. No but I have to use the qt creator specifically to make c++ apps.
|
# ? Oct 12, 2022 14:17 |
|
KozmoNaut posted:Having the win key open the application menu in KDE is slightly hacky, it requires you to have alt+F1 bound to open the menu. Plasma "highjacks" the win/meta key to open the application menu when that shortcut is set, while still letting you use it as a modifier key. Oooh, that's how it works. Now I remember that changed away from the default (I'm one of those who doesn't want win key to open the menu)... but just now trying to set it to plain win didn't work without knowing the alt+f1 trick. Ihmemies posted:No but I have to use the qt creator specifically to make c++ apps. Qt is a cross platform IDE dog. It works on windows. Your course materials probably have instructions for how to install & get set up.
|
# ? Oct 12, 2022 14:52 |
|
Klyith posted:Oooh, that's how it works. Now I remember that changed away from the default (I'm one of those who doesn't want win key to open the menu)... but just now trying to set it to plain win didn't work without knowing the alt+f1 trick. It doesn't support spaces in folder names in Windows so it's not meant for Windows. Also everyone said Linux is the one trve developing enviroment. I have used Ubuntu in hyperv so far but I wanted to try out kde plasma on my server to see how it works. Also don't they (linux users/distros) have some app store already? Why you must install software from CLI with apt-get like this is still 80's instead of 2022? Edit: seems kde has at least this: https://apps.kde.org/apper/ Ihmemies fucked around with this message at 15:08 on Oct 12, 2022 |
# ? Oct 12, 2022 15:02 |
|
Ihmemies posted:Also don't they (linux users/distros) have some app store already? There are various ones, designed to provide graphical interfaces to one or more of the common package management systems of various distros. The one included with KDE is called Discover.
|
# ? Oct 12, 2022 15:08 |
|
Like the majority of gui applications on Linux, the app stores are just wrappers for a CLI. You could even roll your own, if you'd like! It's part of what makes Linux such a great development environment, imo.
|
# ? Oct 12, 2022 15:15 |
|
Discover has been around for longer than any other app store too, iirc(unsure about the apple eco system timelines), which is why no one will tell you to use it. We remember the old days when it could easily break your system, and don't want to tell someone else to do that Its not bad nowadays, I use it to find package names to install from the cli
|
# ? Oct 12, 2022 16:31 |
|
Ihmemies posted:Mouse forward/backward keys don't work and win button doesn't open the start menu. Why linux hates its users year after year?
|
# ? Oct 12, 2022 16:51 |
|
ExcessBLarg! posted:My keyboard doesn't even have a "win button". I think yours was replaced by a 'lose button'
|
# ? Oct 12, 2022 17:12 |
|
The only thing I use the software centers for is notifications that there are new security or bug fixes. On KDE in the system tray there's a blue dot if there's general updates and red for critical. Honestly I'd probably use the gui apps if they didn't have to refresh their cache every time, for some reason Discover seems to hang and update significantly slower than the cli, it boggles my mind that these still basically are a coin toss on usability and functionality.
|
# ? Oct 12, 2022 17:54 |
|
RFC2324 posted:I think yours was replaced by a 'lose button'
|
# ? Oct 12, 2022 18:11 |
Klyith posted:You can change the keybindings for everything in the system settings. However, win/meta key is a modifier key in linux, so can't be bound to activate the app launcher (start menu) by itself. Some people would say this is actually a good thing -- all the keyboards that comes with various win-lock functions seem to agree. Incidentally, the meta-key is the name of the alt-key, and it's often abbreviated with a capital M like control is abbreviated with a ^. ExcessBLarg! posted:My keyboard doesn't even have a "win button".
|
|
# ? Oct 12, 2022 18:25 |
|
ExcessBLarg! posted:It's just a 101-key keyboard, which I assume is what all the Linux gray neckbeards have, hence the lack of priority for it. I'm rocking a 61 key and loving it. Still got that win key tho
|
# ? Oct 12, 2022 18:26 |
|
|
# ? May 28, 2024 02:53 |
|
BlankSystemDaemon posted:I'm curious, if you happen to know, whether the super key (which is the actual name for it, irrespective of the logo on it) being used a modifier is specified anywhere in a standard, or is it a de-facto standard because we've all come to expect it. Beats me, I was just guessing based on it not letting me assign plain win (or any other modifier) as a shortcut in KDE. Which apparently was a software issue more than anything else. On USB/HID keybaords there's nothing special about modifier keys at the physical / signal level anymore though. BlankSystemDaemon posted:There used to be a company that'd do custom laser etching on keycaps, if they were still around I'd put Beastie on a pair of keys for the super, and leave the rest of my keycaps blank. wasdkeyboards does custom lasered key prints. Kinda expensive for abs keys but they look good and are UV coated so they hold up decently. They have cheaper pre-printed keys with linux logos but no bsd devil.
|
# ? Oct 12, 2022 20:57 |