As someone who principled tried CBD for the at the outset heyday, I must say I'm genuinely impressed! I've been hearing upon CBD like https://greenrevolutioncbd.com/product/cbd-melatonin-gummies/ for a while on occasion, but I was a crumb skeptical less how it would touch me. I decided to try a lesser dosage of CBD fuel to reflect on if it would serve with my dyed in the wool ostracize pain and foreboding, and the results were more express than I anticipated.
I'm installing Xbian on a new RPi 4B and don't have analogue audio output device options, while I do have them on my RPi 3B. Below you'll find the requested info; any hints would be greatly appreciated!
Thanks in advance.
Software
XBian version: XBian_2023.12.22_rpi4 (from XBian_Latest_rpi4.img.gz), burned with USB Image Writer
XBMC/Kodi version: Kodi (20.2 (20.2.0) Git:20230630-c14d9b87b6-dirty). Platform: Linux ARM 32-bit
Overclock settings: None
Hardware
Device type and model: Raspberry Pi Model 4B 8Gb
Power supply rating: Raspberry Pi Official USB-C Power Supply
SD card size and make/type: Transcend 32Gb
Network (Ethernet or wireless): Ethernet
Connected devices (TV, USB, network storage, ...): TV (HDMI), speaker (analogue 3.5mm jack)
I have a mini keyboard/touchpad combination. this one. It is quite nice as a remote substitute.
Of course the is no config for this via dpkg-reconfigure keyboard-configuration
So my question is, how do I approach this best. I guess I get the keycodes with the programm "xev". But how do proceed from there?
Is there a way to generate a new config for that, which then will be select-able in the dpkg-reconfigure keyboard-configuration or is the old xmodmap still around to make it work on user basis?
Hardware
Device type and model: raspberyPi 4B, 1,5GHz 4GB
Power supply rating: 5V, 3A (USB-c)
SD card size and make/type: 32Gb, class10, HC
Network (Ethernet or wireless): Ethernet
Connected devices (TV, USB, network storage, ...): Beamer HD (hdmi), nfs-share
Log files
Link to logfile(s): let me know which one from /var/log will help wit the problem
Problem description:
All I want is getting the sound output from the headphone jack instead of the hdmi.
But all howtos are about getting it work with hdmi, which it does our of the box. Therefore I couldn't find any entry which would bind it to the head-jack (bmc2835). At least I couldn't find the corresponding entry for the /boot/config.txt
What I do have:
-the sound module bcm2835 is present in lsmod
-the kodi audio setting has only hdmi outputs select-able.
-the hdmi sound works (beamer has a lousy mini-mono speaker)
-using the hdmi output form the beamer works (so the silly hardware solution would be to have the hdmi cable upt to the beamer at the ceilling and than an extra audio cable back down to the raspi)
Sorry if I was just again to search with the right keywords.
Software
XBian version: 20231207
XBMC/Kodi version: whatever come with the above
Overclock settings: none
How to reproduce:
Install the above image on the above mentioned hardware and try to get a headphone plugged into the raspi head jack work.[/term]
EDIT: Or do I need to install alsa utils first to get it working at all?
When i install Xbian, and enable SSH (to accept logins from other LAN computers), is the Xbian protected from unrestricted SSH brute-force or what are SSH failed login restrictions in place?
Starting Authentication failure monitor: fail2ban2023-11-15 12:47:11,251 fail2ban [8360]: ERROR Failed during configuration: Have not found any log file for sshd jail
failed!
invoke-rc.d: initscript fail2ban, action "start" failed.
dpkg: error processing package fail2ban (--configure):
installed fail2ban package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
fail2ban
E: Sub-process /usr/bin/dpkg returned an error code (1)
it looks like it will be a perfect match for kodi v21+ which might be getting into beta shortly if you've been following along on the github or blog (https://kodi.tv/blog/)
seeing as xbian is already basically at debian bookworm as far as I understand things, we shouldn't have to wait too long for a version of xbian built for a RasPi 5, right? let's say possibly early in the new year?
I am running a RPI3+ and I am trying to enable the 64 bit kernel. When I click to enable, I get an error that says cannot save this setting. What do I need to do to install the 64 bit kernel?
I need to recover one folder from the time around 1 week ago or older. Can i do it within Xbian BTRFS or on other computer i have xbian_backup_home_01-01-23.img.gz which i can extract, but do not know if/how to properly mount it while my other computer Linux Debian PC has no BTRFS.
Mounted extracted .img using Disks GUI tool in Debian (seeing loop0 in lsblk output). No available operation to see content.
Quote:sudo losetup /dev/loop1 /dev/shm/xbian_backup_home_01-01-23.img
losetup: /dev/shm/xbian_backup_home_01-01-23.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.
sudo mount /dev/loop{0,1} /mnt/xn
mount: /mnt/xn: wrong fs type, bad option, bad superblock on /dev/loop1, missing codepage or helper program, or other error.
I've tried installing the different kodi visualizations but I get an error. I'm running a Rpi3+ with the lastest xbian running Nexus (20.2)
Code:
sudo apt install kodi-visualization-waveform
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xbian-package-shairplay : Conflicts: libshairplay0
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
RasPi4 xbian kodi 20.2 aarm64 -
I've tried a number of streams now since upgrading, and while I get audio and subtitles and can toggle the OSD, I get no video.
As soon as I stop the stream in umbrella, I get the menu I was at last and can navigate around successfully. (I havent tried Seren, my other go-to addon, but I will after I send this)
How do I troubleshoot this? Do I need to look at inputstream helper settings? check/update widevine?
Help?
I am running Xbian on a Rpi 3+ and Kodi will freeze and I see in dmesg that I get an out of memory error. I don't get a kernel panic. Kodi restarts but the previous screen stays on the TV so I can see it happens at random times.
I've got an old Cubox-i2w and I'm trying to make it work with a fresh install. Writing to the micro SD card was super easy with the installer (thanks for that), but when I start up my Cubox it spends a long time trying to start Kodi and then kicks me to a login prompt. (4 GB micro SD, wireless network, connected to TV via HDMI)
There are several posts in the forum already with similar problems, so I have tried: checking /var/log/upstart/xbmc-preload.log - I can't read the file. "sudo nano xbmc-preload.log" gives me an input/output error, I don't know what's going on with this.
I tried deleting the /home/xbian/.kodi directory but this doesn't exist for me, I assume because I haven't been able to get Kodi to run yet. I do not have another similar device that I can import this directory from.
I tried checking for bad blocks on the micro SD card, but haven't found a good way to do that in btrfs. I can't rule out this possibility, it's an old card. So I got another newer card (32 GB) and tried it on that, same result. I have greater confidence in this second card, but it's technically possible that they could both have bad blocks.
I don't have any more things to try, but I'll do whatever. If anyone has any ideas about the log file, I don't know why I can't read it.
Posted by: postcd - 19th May, 2023 06:29 AM
- Replies (5)
Hello,
one Kodi plugin downloads repeatedly a file worth tens of MB data and to save SDHC card writing cycles, I have found using "df -Th", that only tmpfs (RAM based filesystem per my understanding) is /dev and /run
# df -Th|grep tmpfs
I may utilize /dev/bigfile.name if i "chown xbian /dev", but since it may not be good practice, but /run seems to have already writing permissions for all users "Access: (1777/drwxrwxrwt)". Beside that I was able to do:
Code:
mkdir -p /mnt/tmpfs
echo "tmpfs /mnt/tmpfs tmpfs size=100M,mode=0755,uid=xbian 0 0" >> /etc/fstab
mount -a
(allowing me to utilize /mnt/tmpfs/ directory as a RAM disk storage)
Yet someone suggested me to use zram with lz4 compression (claiming to be better compression than Xbian default lzo-rle) to save the space. Though i have doubts about this approach since zram is slower than regular tmpfs and if tmps/memory pressure is high, it will then move to zram swap per my understanding). But anyway if i want to do it, i tried these steps (failed):
# zramctl --output-all
Code:
NAME DISKSIZE DATA COMPR ALGORITHM STREAMS ZERO-PAGES TOTAL MEM-LIMIT MEM-USED MIGRATED MOUNTPOINT
/dev/zram0 128M 4K 73B lzo-rle 4 0 4K 0B 4K 0B [SWAP]
# mount -t ext4 /dev/zram0 /mnt/zram
Code:
mount: /mnt/zram: /dev/zram0 already mounted or mount point busy.
I have successfully setup password-less SSH access from my Debian user PC to Xbian root account PC (using ssh-keygen and ssh-copy-id), but when i want to do the same for FileZilla manager (in order to connect Xbian server), it wants path to PEM or PPK file, yet some tutorials says it can accept OpenSSH priv. key file and convert it. So i am trying to find the location of such file on Xbian (since i have SSH password less access already it should be somewhere?). Where it is please?
root@xbian ~ # grep -v "#" /etc/ssh/sshd_config|grep .
Include /etc/ssh/sshd_config.d/*.conf
PermitRootLogin prohibit-password
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UPDATE: !!!!!!!
I have found that i need to enter private key of local computer, not one of a remote Xbian server. So i entered /home/myusername/.ssh/id_rsa (had it there already because ran ssh-keygen in the past)
I had Tor already installed, it is used by one app (but tor process is not running per "ps") already had first 4 torrc config. file lines (shown above).
Quote:root@xbian ~ # /etc/init.d/tor restart
Stopping tor daemon...done (not running - there is no /run/tor/tor.pid).
Starting tor daemon...Mar 24 21:46:33.844 [warn] Socket creation failed: Address family not supported by protocol
Mar 24 21:46:33.845 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Mar 24 21:46:33.845 [err] Reading config failed--see warnings above.
failed.
I expect that RUN_DAEMON="yes" make sure Tor starts at boot. But how do i restart it without reboot and make it working without above error, please?
I am trying to use onboard BT and Wifi on my RPi3+. I am not sure if this is even possible but I believe I had it working in arch. I have a dongle (0a12:0001) but there was a bug with it at one point.
Anyhow, I have tried three different headphones with onboard BT. One works but when it stops getting any sound from Kodi for 30 seconds it disconnects. The other two I don't get any sound and I have to reboot. I don't see why one headphone would work different then the others.
I used bluetoothctl to pair, connect, trust each headphone. Pulseaudio is running when I connect the headphones. The headphones will connect automatically when turned on.
I added this but I'm not sure if it is needed.
/etc/pulse/default.pa
### Automatically switch to newly-connected devices
load-module module-switch-on-connect
I'm having an issue where CEC stops working so then I have to go to the Settings page and disable and then enable and then it will start working again until the next time. Running a Rpi 3+ with the latest xbian running Nexus. I'm not seeing anything in the kodi nor syslog but I'm not sure which log would contain the info so I greped all the logs (/var/log) for cec and nothing came back. Don't tell me it's my system again lol.
I have a Rpi 3+ and I am using the onboard WiFi and BT. My PI is in a plastic case. My Windows laptop gets around 275MBps on wifi whereas the Rpi 3+ get's about 70MBps. Is this what I can expect for Wifi speeds. The PI is in the same room as the router and I am connected through 5G. No walls in between. I have line of site to the router. Would disabling BT help as I have a BT dongle. In the past, the BT adapter had issues with the PI and kernel based on the lsusb number but that was awhile back.
Hello!
I'm experiencing several severe problems with xbian.
Hardware: Rasberry4 with 4 gigs of RAM, PVR backend tvheadend hosted on a Debian Bullseye machine.
Namely:
Blank screen/no video output:
Every now and then (mostly when the system is currently unused and the TV is off, couldn't figure it out more closely) video output gets lost, the TV just states "No signal". At this time a login via SSH and a reboot command is possible without a problem (and it's fast as always). Kodi is still running according to htop. When the reboot is done video output is restored.
Severe network problem:
Very seldom (but too often to be dismissed as a glitch) the NIC goes berserk (meant literally)! It constantly and at a very high rate emits packets. The rate is so high that the Raspi cannot be reached via SSH. In fact it is chocking the whole network it is connected to, even the router is not able to answer DHCP-requests, clients will not get an IP-address! There's nothing else to do a hard reboot (AKA power cycle the raspi) to return to an operable state! So far I can only judge by the flickering LEDs on the switch that the Raspi is flooding the network, I wasn't able to wireshark the packets, I was glad that a reboot reactivated my network!
Kodi experiencing delays:
Kodi is having a lag every now and then, most often when freshly started, IMHO not suitable for a Raspi4 having a large amount of RAM. Partly the lag is several seconds long, up to minutes(!!). During that time I'm able to SSH it and htop shows neither a high CPU load nor a high RAM usage.
Disappearing EPG:
It happened now the second time that after a power failure the content of the EPG is all empty! When this happens watching a TV-station for some time or purging the EPG-database (using the GUI entry) on the Raspi this doesn't change a thing (while Kodi claims for the menu entry that it will reload the EPG from the PVR-server). The first time - if I remember correctly - the EPG filled over a long time (many days), station by station. Strangely I can log in to tvheadend via the web interface and I can see all the EPG data present on the server! I can also use it to program recordings on the server and it's working. I don't believe it's the PVR-Server, it's really rock solid! It's on a Linux machine running Debian Bullseye and it never crashed or did anything bad.
So, WTF? How to find the reason behind those effects? Someone any idea?