07-03-21, 14:55
Hello,
I was still using the old image from 2019 with Hifiberry PCM5102 and LCD.
Yesterday I tried to get the last image from 2020. I wanted to use a newer LCD with a I2C-Backpack.
LCD with I2C works
Hifiberry does not work with the new image
As I could swap from one SD-Card with the Version 2019 to another with version 2020 - I could say the Hifiberry works fine with the 2019-version. ... so no HW-Problem.
I had tested with the setting AUDIO_DEVICE_ID = 0 and AUDIO_DEVICE_ID = -1 ... both don´t work with the Hifiberry.
Any ideas?
Some configuration-settings changed from 2019 to 2020:
2019: with oldschool HD44780-16x2-LCD
###### General values ######
#
AUDIO_DEVICE_ID = 0 ; default is 2 Examples: 0 for PI-builtin or HiFiBerry, 2 for USB soundcard
USE_SERIALPORT_MIDI = True ; was set to False Set to True to enable MIDI IN via SerialPort (e.g. RaspberryPi's GPIO UART pins)
USE_HD44780_16x2_LCD = True ; Set to True to use a HD44780 based 16x2 LCD
USE_OLED = False ; Set to True to use an OLED display !!! Configure below
USE_I2C_7SEGMENTDISPLAY = False ; Set to True to use a 7-segment display via I2C
USE_ALSA_MIXER = True ; Set to True to use to use the alsa mixer (via pyalsaaudio)
MIXER_CONTROL = PCM,Speaker,Headphone,Digital ; Mixercontrols I experienced, add your soundcard's specific....
...
2020: with I2C-LCD
###### General values ######
#
AUDIO_DEVICE_ID = -1 ; -1=autodetect, specify ID of your device to override
AUDIO_DEVICE_NAME = Detect ; ..or specify (part of) it's name. SB uses the first match of ID or NAME.
MIXER_CONTROL = Detect ; Fill this to override autodetection, specify None to disable alsa volume control
SAMPLERATE = 44100 ; Sets value for wav's and audio device (these have to be the same)
BLOCKSIZE = High ; Blocksize or "Low"/"High". High may cause latency, low may cause distortion; just try.
# Valid numbers for blocksize are shown in the console messages when started manually
USE_48kHz = False ; Sets audio to 48000Hz while keeping wav's on 44100Hz. Try to avoid this...
USE_SERIALPORT_MIDI = True ; Set to True to enable MIDI IN via SerialPort (e.g. RaspberryPi's GPIO UART pins)
USE_HD44780_16x2_LCD = False ; Set to True to use a 16x2 direct connected/wired HD44780 LCD
USE_I2C_LCD = True ; Set to True or 16x2 (=True) or 20x4 to use a 16x2 or 20x4 I2C connected HD44780 LCD
USE_OLED = False ; Set to True to use an OLED display !!! Configure below
USE_I2C_7SEGMENTDISPLAY = False ; Set to True to use a 7-segment display via I2C
USE_BUTTONS = True ; Set to True to use the GPIO buttons
USE_LEDS = False ; Set to True to use LED's connected to RaspberryPi's GPIO pins
USE_HTTP_GUI = True ; should webgui server be started?
...
I was still using the old image from 2019 with Hifiberry PCM5102 and LCD.
Yesterday I tried to get the last image from 2020. I wanted to use a newer LCD with a I2C-Backpack.
LCD with I2C works
Hifiberry does not work with the new image
As I could swap from one SD-Card with the Version 2019 to another with version 2020 - I could say the Hifiberry works fine with the 2019-version. ... so no HW-Problem.
I had tested with the setting AUDIO_DEVICE_ID = 0 and AUDIO_DEVICE_ID = -1 ... both don´t work with the Hifiberry.
Any ideas?
Some configuration-settings changed from 2019 to 2020:
2019: with oldschool HD44780-16x2-LCD
###### General values ######
#
AUDIO_DEVICE_ID = 0 ; default is 2 Examples: 0 for PI-builtin or HiFiBerry, 2 for USB soundcard
USE_SERIALPORT_MIDI = True ; was set to False Set to True to enable MIDI IN via SerialPort (e.g. RaspberryPi's GPIO UART pins)
USE_HD44780_16x2_LCD = True ; Set to True to use a HD44780 based 16x2 LCD
USE_OLED = False ; Set to True to use an OLED display !!! Configure below
USE_I2C_7SEGMENTDISPLAY = False ; Set to True to use a 7-segment display via I2C
USE_ALSA_MIXER = True ; Set to True to use to use the alsa mixer (via pyalsaaudio)
MIXER_CONTROL = PCM,Speaker,Headphone,Digital ; Mixercontrols I experienced, add your soundcard's specific....
...
2020: with I2C-LCD
###### General values ######
#
AUDIO_DEVICE_ID = -1 ; -1=autodetect, specify ID of your device to override
AUDIO_DEVICE_NAME = Detect ; ..or specify (part of) it's name. SB uses the first match of ID or NAME.
MIXER_CONTROL = Detect ; Fill this to override autodetection, specify None to disable alsa volume control
SAMPLERATE = 44100 ; Sets value for wav's and audio device (these have to be the same)
BLOCKSIZE = High ; Blocksize or "Low"/"High". High may cause latency, low may cause distortion; just try.
# Valid numbers for blocksize are shown in the console messages when started manually
USE_48kHz = False ; Sets audio to 48000Hz while keeping wav's on 44100Hz. Try to avoid this...
USE_SERIALPORT_MIDI = True ; Set to True to enable MIDI IN via SerialPort (e.g. RaspberryPi's GPIO UART pins)
USE_HD44780_16x2_LCD = False ; Set to True to use a 16x2 direct connected/wired HD44780 LCD
USE_I2C_LCD = True ; Set to True or 16x2 (=True) or 20x4 to use a 16x2 or 20x4 I2C connected HD44780 LCD
USE_OLED = False ; Set to True to use an OLED display !!! Configure below
USE_I2C_7SEGMENTDISPLAY = False ; Set to True to use a 7-segment display via I2C
USE_BUTTONS = True ; Set to True to use the GPIO buttons
USE_LEDS = False ; Set to True to use LED's connected to RaspberryPi's GPIO pins
USE_HTTP_GUI = True ; should webgui server be started?
...