ChanServ changed the topic of #libreelec to: LibreELEC Support ~ Log https://libera.irclog.whitequark.org/libreelec ~ No discussion or support for piracy addons or IPTV/VPN services
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
mrpelotazo has quit [Ping timeout: 246 seconds]
mrpelotazo has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
riot_dd_ has joined #libreelec
riot_dd has quit [Ping timeout: 260 seconds]
agentcasey has joined #libreelec
mrpelotazo has quit [Ping timeout: 260 seconds]
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
minimal has quit [Quit: Leaving]
GreenRiot has quit [Quit: ZNC 1.8.2 - https://znc.in]
GreenRiot has joined #libreelec
GNUmoon has quit [Ping timeout: 260 seconds]
GNUmoon has joined #libreelec
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #libreelec
syphyr has quit [Quit: Leaving]
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
k-man has quit [Ping timeout: 246 seconds]
k-man has joined #libreelec
twnqx has quit [Ping timeout: 248 seconds]
twnqx has joined #libreelec
travisghansen has quit [Quit: The Lounge - https://thelounge.github.io]
travisghansen has joined #libreelec
schmengie has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<LEBot> [slack] <chewitt> sopparus: here but not-here most of the time (some public holidays in my country this week)
buzzmarshall has quit [Quit: Konversation terminated!]
<LEBot> [slack] <chewitt> I replied in the thread, but see https://wiki.libreelec.tv/how-to/add-firmware
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
gebra has quit [Remote host closed the connection]
GNUmoon has quit [Ping timeout: 260 seconds]
schmengie has quit [Ping timeout: 256 seconds]
e1z0 has quit [Changing host]
e1z0 has joined #libreelec
mrpelotazo has joined #libreelec
GNUmoon has joined #libreelec
ChriChri_ has quit [Ping timeout: 245 seconds]
ChriChri_ has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
gebra has joined #libreelec
k-man has quit [Ping timeout: 246 seconds]
k-man has joined #libreelec
electro575 has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
TomTom has joined #libreelec
<sopparus> yeah, I tried to explain that I have added my own firmware :)
<sopparus> its that bluetooth firmware file that kills everything
<sopparus> tried libreelecs, volumios and the newest one from linux firmware page
<sopparus> only volumios work at all, but problems. Like it only worked after replug
<sopparus> so I guess bug report upstream is the way to go
<sopparus> but in the meanwhile, I cant blacklist that firmware file from being loaded? so i dont have to custom build
<LEBot> [slack] <chewitt> sopparus: You can blacklist drivers (that load firmware) assuming they are =m not built-in with =y
<LEBot> [slack] <chewitt> and you can override the firmware files (as described)
<sopparus> Yes, but no Bluetooth firmware file works at all
<sopparus> And I need the driver for wifi, same driver loads blietooth
<LEBot> [slack] <chewitt> but no method to exclude the default firmware unless you drop it from the kernel-firmware package
<sopparus> Yeah that's what I had to do
<LEBot> [slack] <chewitt> I did find some discussion about this adapter and it’s issues upstream which was saying something about BT .. need to re-find the link tho
<sopparus> I pasted a link in the forum
<sopparus> That's the link that got me to "solve" this
<LEBot> [slack] <chewitt> I spotted this https://github.com/morrownr/USB-WiFi/issues/499 .. which isn’t itself interesting
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<LEBot> [slack] <chewitt> but someone linked https://github.com/morrownr/USB-WiFi/issues/107 in the thread, which sounds like something to read
<LEBot> [slack] <chewitt> “Bug: (2023-12-22) Many Linux distros are detecting Bluetooth capability in mt7921au based adapters but none of the adapters on the market have Bluetooth turned on so it won’t work. Linux should not be detecting Bluetooth capability when it is actually not available.”
<LEBot> [slack] <chewitt> “Status: Open and ongoing”
<LEBot> [slack] <chewitt> I’d guess that detection results in attempts to load firmware which may then result in bad things happening?
<sopparus> Ah yea
<LEBot> [slack] <chewitt> I didn’t read the whole thread though .. so guessing
<sopparus> Nice
<sopparus> So kernel should stop detecting Bluetooth?
<sopparus> Or mt7921 driver rather
<LEBot> [slack] <chewitt> IIRC you reported that removing the BT firmware results in everything (else) working as expected?
<sopparus> Yes
<LEBot> [slack] <chewitt> https://github.com/raspberrypi/linux/issues/5193 <= interesting
<sopparus> Mine works, I have exactly same adapter
<LEBot> [slack] <chewitt> there’s some related issue reports against the pi kernel .. that look unresolved
<sopparus> 600 mbiy with iperf
<sopparus> Haven't used for several weeks though
<LEBot> [slack] <chewitt> have you experimented with rfkill options? .. blocking the device
<LEBot> [slack] <chewitt> [ 21.600516] Bluetooth: hci1: Opcode 0x0c03 failed: -110
<LEBot> [slack] <chewitt> “That is caused by RasPiOS detecting the bt support in the cf-951ax, even though Comfast turned the support off. I can get rid of this by deleting the bt firmware. I’ll do that when I upgrade the firmware for the wifi.”
<LEBot> [slack] <chewitt> message from the issues thread, and log entry from your dmesg
<LEBot> [slack] <chewitt> Q: do you need BT for anything?
<LEBot> [slack] <chewitt> If no, I’m wondering what happens with “systemctl disable bluetooth && systemctl mask bluetooth && reboot” ?
<LEBot> [slack] <chewitt> also, what USB port is the dongle attached to? .. USB 2.0 or USB 3.0?
<LEBot> [slack] <chewitt> here’s the issue reported upstream https://lore.kernel.org/all/ZlsfLwqWRUYV25Lz@mdpsys.co.uk/T/
<LEBot> [slack] <chewitt> but there’s no response that I can see
<LEBot> [slack] <chewitt> it does tell you which version of firmware last worked, which would allow an LE overlay workaround
<LEBot> [slack] <chewitt> from the ‘lore’ article you can download an mbox version of the original message - and then load that into a mail client to send a ‘reply’ to the original message saying ’“me too, was this replied to anywhere, I don’t see one on the mailing list” or such
<LEBot> [slack] <chewitt> echo “blacklist btmk > /storage/.config/modprobe.d/blacklist.conf” might work as a workaround?
agentcasey has quit [Remote host closed the connection]
psydroid has joined #libreelec
agentcasey has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<sopparus> ok i will put everything up once more
<sopparus> to try
<sopparus> i have not tested rfkill
<LEBot> [slack] <chewitt> https://github.com/morrownr/USB-WiFi/issues/499 seems to be mostly tracking another issues with a driver crash
<LEBot> [slack] <chewitt> but it sounds like there’s a firmware issue that MTK needs to address
<sopparus> No I dont need BT for anything
<sopparus> gamsung:~ # systemctl disable bluetooth && systemctl mask bluetooth && reboot
<sopparus> gamsung:~ # cd /storage/.cConnection to 192.168.5.208 closed by remote host.
<sopparus> Created symlink /storage/.config/system.d/bluetooth.service → /dev/null.
<sopparus> Connection to 192.168.5.208 closed.
<sopparus> heh
<sopparus> oh
<sopparus> reboot at the end
<sopparus> stupid me
<sopparus> didnt see that
<sopparus> ok upgrading to nightly build with included firmwares and systemctl bluetooth disabled
<sopparus> lets see..
<sopparus> mt7921u 1-1.4:1.3: Direct firmware load for mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin failed with error -2
<sopparus> doesent nightly build have latest firmware automaticly?
<sopparus> becouse it downloads from that site when you build?
<sopparus> i used build from le page btw
Strykar has quit [Quit: Leaving.]
<sopparus> ehm
<sopparus> upgrade must of failed
<sopparus> i see now its still my build
<sopparus> forget that
Strykar has joined #libreelec
<sopparus> didnt help
<sopparus> still tries to load bluetooth firmware
<sopparus> i have tried all 4 usb ports, makes no difference
<sopparus> trying echo “blacklist btmk > /storage/.config/modprobe.d/blacklist.conf” now
<sopparus> no crash, but no wifi either
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<sopparus> Did you see last before bot died?
GreenRiot has quit [Ping timeout: 248 seconds]
psydroid has quit [Remote host closed the connection]
donofrio_ has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
donofrio_ has quit [Remote host closed the connection]
donofrio_ has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
Fenster has quit [Ping timeout: 260 seconds]
Fenster has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<LEBot> [slack] <chewitt> sopparus: remove all hacks and changes .. then add “max_usb_current=1” to /flash/config.txt and see what happens
<LEBot> [slack] <chewitt> but, ultimately I think this is something funky with the firmware itself and needs mediatek attention
<LEBot> [slack] <chewitt> and/or kernel maintainers (who should be mediatek staff too)
<LEBot> [slack] <chewitt> or you need to downgrade the firmware (via overlay/override) to the 20230526131214 firmware (as per the mailing list report)
<sopparus> ive tried that as well
<sopparus> no firmware works
<sopparus> i could to a pr that only downloads the right firmware instead of *mt79* but i guess you dont want that?
<sopparus> seems pci-e cards with mt7921u has bluetooth, but no usb dongle
<LEBot> [slack] <chewitt> comments in various issues tickets on morrownr/USB-WiFi suggest that’s intentional due to USB 3.0 vs BT interference issues
<LEBot> [slack] <chewitt> I’d not really want the firmware change because so far you’re the only person reporting the issue
<LEBot> [slack] <chewitt> (doesn’t mean to say others aren’t impacted, but I don’t recall any other forum posts)
<LEBot> [slack] <chewitt> and really we’d want the issue to be resolved upstream
<sopparus> yes I understand
<sopparus> ok trying maxcurrent thingy now
<sopparus> linux and usb wifi...
<LEBot> [slack] <chewitt> “no comment” 🙂
<sopparus> linus himself should make a ship a sell producs, so we finally get one that works
<sopparus> its the lack of antenna that makes the rpi wifi very slow right?
<sopparus> nothing wrong with the chip itself?
<sopparus> i cant get more then 40mbit or so
<LEBot> [slack] <chewitt> hard to say without an external antenna to compare against
<sopparus> :)
<sopparus> if they could make antenna an easy upgrade on rpi6
<LEBot> [slack] <chewitt> but I always assumed RPi boards are an intentional compromise between cost and capability
<sopparus> yeah sure
<LEBot> [slack] <chewitt> and we need to remember the intended audience is more hobbyist than industrial
<sopparus> but its so good now (atleast for kodi) that only thing lacking is decent wifi
<sopparus> yeah sure
<LEBot> [slack] <chewitt> although these days their designs are more industrial aware than they used to be
<LEBot> [slack] <chewitt> I’d still like to see an external connector .. I suspect it would solve a bunch of issues
<sopparus> yeah me too
<sopparus> get on it popcornmix
<LEBot> [slack] <chewitt> along with VP9 and AV1 decoding
<sopparus> max usb current didnt help
<LEBot> [slack] <chewitt> I’m quite down with dropping all the other/older codecs .. I think that’s actually a clever move
<LEBot> [slack] <chewitt> max current was a wild stab in the dark
<sopparus> yeah
<LEBot> [slack] <chewitt> https://www.youtube.com/watch?v=MTwWnZG8wUY <= interesting
<sopparus> ok so for now i need to still build my own LE
<LEBot> [slack] <chewitt> You can probably do “touch /storage/.config/firmware/mediatek/bt.fw” or whatever the name is
<LEBot> [slack] <chewitt> It will load and fail (because it’s not firmware)
<LEBot> [slack] <chewitt> not sure if that will cause a harmless crash .. or not
<LEBot> [slack] <chewitt> otherwise I’m out of ideas .. the self-build should be simple enough to maintain for a while
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<sopparus> Yes its only one file
<sopparus> But will try empty file
kdlv has joined #libreelec
<sopparus> no didnt work
<sopparus> it seems to load the le owns bluetooth firmware anyway
<sopparus> hm forget that
<sopparus> sec..
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<sopparus> nope its reakl
<sopparus> real
<oblikoamorale> ..you can always bind mount an empty file over firmware blobs you don't like in /lib/firmware/...
<sopparus> empty file on /storage/.config/mediatek/
<sopparus> and le still loads 5.236874] bluetooth hci1: loading /lib/firmware/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin failed with error -22
<sopparus> hm
<sopparus> oblikoamorale: will it be persistant?
<oblikoamorale> if you make it a systemd unit, yes
<oblikoamorale> oh, fw is loading before that. nevermind
<oblikoamorale> is bluetooth a loadable module? there is a way to blacklist specific modules via kernel boot param via initcall_blacklist
<sopparus> CONFIG_MT7921U=m
<sopparus> That's the only thing I added in the original pr to le
<sopparus> Two years ago
<sopparus> And I need that for wifi
<sopparus> So I guess it.loads the BT too
minimal has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
<LEBot> [slack] <chewitt> the modules that I can see that might be involved are “btmtk” and “btmtkuart”
<LEBot> [slack] <chewitt> both are built with =m
<LEBot> [slack] <chewitt> there’s also CONFIG_BT_HCIBTUSB_MTK but that’s =y
<oblikoamorale> wondering if blocking the related modules will also stop MT7921U module from loading completely
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
rsalvaterra has quit [Quit: No Ping reply in 180 seconds.]
rsalvaterra has joined #libreelec
psydroid has joined #libreelec
rsalvaterra has quit [Ping timeout: 255 seconds]
rsalvaterra has joined #libreelec
<rain0r> Hey there, I'm trying to build libreelec with "PROJECT=Generic ARCH=x86_64 make image" but I'm getting "undefined reference to 'cdio_charset_to_utf8'" even though I got libcdio-dev=2.1.0-4 installed (Debian Bookworm) - what's missing?
donofrio_ has quit [Ping timeout: 260 seconds]
<sopparus> disabled those chewitt
<sopparus> no difference
<sopparus> ops
rsalvaterra has quit [Ping timeout: 252 seconds]
rsalvaterra has joined #libreelec
<sopparus> blacklist.conf goes empty after reboot
<sopparus> for some reason
donofrio_ has joined #libreelec
<oblikoamorale> rain0r: ubuntu 22.04 is used by the team to build current LE's, never had a problem with it personally. unclear if it matters, but libcdio-dev is 2.1.0-3ubuntu0.2 version there
LEBot has quit [Remote host closed the connection]
<rain0r> oblikoamorale: Thanks, I will give it a try. Meanwhile: can I disable cd completely? I dont even have a cd/dvd drive
LEBot has joined #libreelec
<rain0r> Damn, thanks
donofrio_ has quit [Ping timeout: 252 seconds]
GreenRiot has joined #libreelec
syphyr has joined #libreelec
kingdomofheaven has quit [Ping timeout: 246 seconds]
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
shibboleth has joined #libreelec
kingdomofheaven has joined #libreelec
foul_owl has quit [Ping timeout: 252 seconds]
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
foul_owl has joined #libreelec
donofrio_ has joined #libreelec
donofrio_ has quit [Ping timeout: 245 seconds]
agentcasey has quit [Ping timeout: 255 seconds]
shibboleth has quit [Quit: shibboleth]
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
kingdomofheaven has quit [Ping timeout: 276 seconds]
electro575 has quit [Quit: Quitte]
kingdomofheaven has joined #libreelec
syphyr_ has joined #libreelec
syphyr has quit [Ping timeout: 260 seconds]
Fenster has quit [Ping timeout: 248 seconds]
TheSilentLink has quit [Ping timeout: 252 seconds]
TheSilentLink has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec
psydroid has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
colo has quit [Ping timeout: 252 seconds]
syphyr_ has quit [Remote host closed the connection]
syphyr_ has joined #libreelec
colo has joined #libreelec
twnqx has quit [Ping timeout: 252 seconds]
Fenster has joined #libreelec
LEBot has quit [Remote host closed the connection]
LEBot has joined #libreelec