Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

hifiberry-digi on pi4 not working.....
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
hifiberry-digi on pi4 not working.....
10th Jan, 2021, 09:04 PM
Post: #5
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: hifiberry-digi on pi4 not working.....
Thanks.

It was a new uSD card with a fresh download install of Xbian for Pi4 dated 01.01.21

I coulnd't get to the wiki page so just did the usual and obviously things have changed.

Here is my boot/config.txt
Terminal

xbian@Cinema4Film ~ $ sudo cat /boot/config.txt
[sudo] password for xbian:
# ******************************************************************************
# * *
# * This file is part of XBian --- Kodi on the Raspberry Pi. *
# * Copyright 2019 XBian Team -- http://www.xbian.org - info@xbian.org *
# * *
# * XBian is free software: you can redistribute it and/or modify it under the *
# * terms of the GNU General Public License as published by the Free Software *
# * Foundation, either version 3 of the License, or (at your option) any later *
# * version. *
# * *
# * XBian is distributed in the hope that it will be useful, but WITHOUT ANY *
# * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS *
# * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more *
# * details. *
# * *
# * You should have received a copy of the GNU General Public License along *
# * with XBian. If not, see <http://www.gnu.org/licenses/> *
# * *
# ******************************************************************************

# see /etc/default/xbian-initramfs
initramfs initramfs.gz followkernel


# ******************************************************************************
# * Memory (System/GPU configuration) *
# ******************************************************************************

# SDRAM size based GPU memory split
gpu_mem_1024=256
gpu_mem_512=144
gpu_mem_256=100

# Extra 16M memory on Pi2/Pi3/Pi3B+
# See also https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=180420
#total_mem=1024

[pi4]
gpu_mem_1024=320

[all]
# ******************************************************************************
# * Various settings see also: http://elinux.org/RPi_config.txt *
# * to obtain keys visit the shop at http://www.raspberrypi.com *
# ******************************************************************************

# Enables turbo mode from boot for the given value in seconds (up to 60) or
# until cpufreq sets a frequency. Default 0
initial_turbo=3

# Force HDMI even if unplugged or powered off
hdmi_force_hotplug=0

# Pretends HDMI hotplug signal is not asserted so it appears a HDMI display
# is not attached. Use composite mode even if HDMI monitor is detected
hdmi_ignore_hotplug=0

# Doesn't sent initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
hdmi_ignore_cec_init=1

# Pretends CEC is not supported at all by TV. No CEC functions will
# be supported.
hdmi_ignore_cec=1

# Make display smaller to stop text spilling off the screen
# see also http://www.raspberrypi.org/phpBB3/viewto...67&t=15700
# overscan_scale=1
disable_overscan=1

# Avoids the rainbow splash screen on boot
disable_splash=1

# When adding this line the USB power manager will change its output current
# limit (for all 4 USB ports combined) from 600mA to double that, 1200mA.
# Obsolete and enabled per default on newer kernels
max_usb_current=1


# ******************************************************************************
# * License keys to enable GPU hardware decoding for various codecs *
# * to obtain keys visit the shop at http://www.raspberrypi.com *
# ******************************************************************************

decode_MPG2=0x00000000
decode_WVC1=0x00000000


# ******************************************************************************
# * Overlays. For more information please read *
# * /boot/README.overlays *
# ******************************************************************************

# This parameter enables onboard sound via module snd_bcm2835.
# Module will be loaded automatically, an entry in
# /etc/modules[.xbian] has no effect and is not longer needed/
# necessary with kernel 4.4 and above.
# Please note, this setting should be commented out or set to off
# if a Hifiberry or any other I2S based sound device is used
#dtparam=audio=on


# ******************************************************************************
# * GPIO LIRC *
# * Please note: *
# * GPIO input pin has to be remapped for working together *
# * with I2S sound cards, like Hifiberry. For example *
# * dtoverlay=lirc-rpi,gpio_in_pin=22,debug for kernels <= 4.14 or *
# * dtoverlay=gpio-ir,gpio_pin=22 for kernels >= 4.14 *
# ******************************************************************************

#dtoverlay=gpio-ir
dtoverlay=lirc-rpi,gpio_out_pin=16,gpio_in_pin=22,debug

# ******************************************************************************
# * Hifiberry and compatible sound cards (I2S interface) *
# * May conflict with LIRC. See note above *
# ******************************************************************************

#dtoverlay=hifiberry-amp
#dtoverlay=hifiberry-dac
#dtoverlay=hifiberry-dacplus
#dtoverlay=hifiberry-digi

dtoverlay=i2s=on

dtoverlay=hifiberry-digi

# ******************************************************************************
# * Raspberry Pi3/Pi3B+ onboard Bluetooth *
# ******************************************************************************

[pi3]
# This parameter enables usage of miniuart (ttyS0) for BT.
# Please note that BT may not work properly if CPUFREQ_GOVERNOR
# is set to something else than performance (see also
# /etc/default/xbian-module-init-tools).
#dtoverlay=pi3-miniuart-bt

# Disables onboard Bluetooth
#dtoverlay=pi3-disable-bt

# ******************************************************************************
# * Raspberry Pi4 *
# ******************************************************************************

[pi4]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
dtoverlay=pi4-disable-bt
dtoverlay=pi4-disable-wifi




So I will try again with another fresh install.

Do I still need to download alsa-base? alsa-utils? Add info to alsa.conf in etc/alsa?

Terminal

xbian@Cinema4Film ~ $ sudo apt install alsa-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alsa-base is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'alsa-base' has no installation candidate
???

Is there anything else I need to do apart from boot/config.txt? (to get the card recognised. I know what to do in Kodi, unless that too has changed but it looks the same to me).
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
hifiberry-digi on pi4 not working..... - Skywatch - 9th Jan, 2021, 07:52 AM
RE: hifiberry-digi on pi4 not working..... - Skywatch - 9th Jan, 2021, 09:55 PM
RE: hifiberry-digi on pi4 not working..... - Nachteule - 10th Jan, 2021, 05:56 AM
RE: hifiberry-digi on pi4 not working..... - Nachteule - 10th Jan, 2021, 06:04 AM
RE: hifiberry-digi on pi4 not working..... - Skywatch - 10th Jan, 2021 09:04 PM
RE: hifiberry-digi on pi4 not working..... - Nachteule - 10th Jan, 2021, 11:01 PM
RE: hifiberry-digi on pi4 not working..... - Skywatch - 11th Jan, 2021, 02:34 AM
RE: hifiberry-digi on pi4 not working..... - Skywatch - 11th Jan, 2021, 07:23 AM
RE: hifiberry-digi on pi4 not working..... - Nachteule - 11th Jan, 2021, 07:28 AM
RE: hifiberry-digi on pi4 not working..... - Skywatch - 11th Jan, 2021, 09:20 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  How can i get my hifiberry dac+ working with xbian? Gunnarhaus 3 11,046 1st Oct, 2014 07:50 AM
Last Post: CurlyMo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 2nd Jun, 2025, 06:53 AM Powered By MyBB, © 2002-2025 MyBB Group.