Go to advanced search

by vitalic
Fri Sep 13, 2019 6:45 pm
Forum: Graphics, sound and multimedia
Topic: change default HDMI on Pi4 to HDMI1
Replies: 2
Views: 144

Re: change default HDMI on Pi4 to HDMI1

Thx for the info. It works.
by vitalic
Thu Sep 12, 2019 7:17 am
Forum: Graphics, sound and multimedia
Topic: change default HDMI on Pi4 to HDMI1
Replies: 2
Views: 144

change default HDMI on Pi4 to HDMI1

Hallo,

is it possible to change the default HDMI output from HDMI0 to HDMI1 via config.txt?

I designed an adapter for micro HDMI to HDMI. Just made an error while designing and now the output has to go to HDMI1 as default or i have to redesign and reproduce some new PCB...
by vitalic
Fri May 10, 2019 5:39 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

Some update here. I tried again with the 'stealth' mode. Like HiassofT wrote it is not necessary to load the hifiberry-dac overlay. So right now i just load the audiosense-pi overlay. What i found out, I have to start the radio_cli software. It loads the firmware to the ti ic. If I boot the SI468x w...
by vitalic
Wed Apr 24, 2019 4:25 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

already tried to mail him, but he never responded to my question whether hifiberry and dabboard can cowork on I2S. tried again with the merged overlay where hifiberry and dabboard are listed together on one card. the error in DMESG doesn't appear this way but still the same error when doing the reco...
by vitalic
Wed Apr 24, 2019 4:08 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

yeah that's true. getting this error in DMESG. As soon as i enter the command to record i can read this error in dmesg. Don't you think it's a problem with th codec it self? when i take a look at the audiosense-pi dts and driver, there are much more entries. Also with your driver, the device is set ...
by vitalic
Wed Apr 24, 2019 3:33 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

So after several tries i have to say that it does not work. Both cards can exist at the same time like i have shown before. Both are connected to the I2S bus. The problem i face now, is recording from the DABboard. I also tried just activating the DABboard alone and the build in BCM soundcard. HW 1 ...
by vitalic
Wed Apr 24, 2019 10:14 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

Some more progress with the new dts: /dts-v1/; /plugin/; / { compatible = "brcm,bcm2837", "brcm,bcm2836", "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; fragment@0 { target = <&sound>; __overlay__ { compatible = "simple-audio-card"; simple-audio-card,name = "Dual"; status="okay"; capture_link: simp...
by vitalic
Wed Apr 24, 2019 9:40 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

No, didn't know that this has to be done. Did it on my first tries but not with the new files... Thx man, seems to work pi@raspberrypi:~ $ arecord -l **** Liste der Hardware-Geräte (CAPTURE) **** Karte 1: sndrpirpidabpi [snd_rpi_rpi_dabpi], Gerät 0: DABPi Hifi si468x-codec-0 [] Sub-Geräte: 1/1 Sub-G...
by vitalic
Wed Apr 24, 2019 9:29 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

First of all Thx @ PhilE for that support. With the new code i succeded compiling the codec. The problem right now is, to get both modules loaded (snd-soc-468x and snd-soc-rpi-dabpi). I allready wrote both to /etc/modules and copied each in the right directory ((snd-soc-468x.ko is in /lib/modules/4....
by vitalic
Tue Apr 23, 2019 8:21 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

some little progress, but still no compilation: pi@raspberrypi:~/module/codec $ make make[1]: Verzeichnis „/usr/src/linux-headers-4.14.98-v7+“ wird betreten CC [M] /home/pi/module/codec/snd-soc-si468x.o /home/pi/module/codec/snd-soc-si468x.c: In function ‘si468x_probe’: /home/pi/module/codec/snd-soc...
by vitalic
Tue Apr 23, 2019 5:18 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

thx, that fixed the first errors but brought some new: /home/pi/module/codec/snd-soc-si468x.c: In function ‘si468x_probe’: /home/pi/module/codec/snd-soc-si468x.c:88:44: error: passing argument 2 of ‘snd_soc_register_codec’ from incompatible pointer type [-Werror=incompatible-pointer-types] return sn...
by vitalic
Tue Apr 23, 2019 3:24 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

ok, so after rechecking the git sources i found out that i only compiled the driver but not the codec. /* * sound/soc/codecs/si468x.c -- Codec driver for SI468X chips * * Copyright (C) 2012 Innovative Converged Devices(ICD) * Copyright (C) 2013 Andrey Smirnov * Copyright (C) 2014 Bjoern Biesenbach *...
by vitalic
Tue Apr 23, 2019 11:55 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

So I managed to compile the module and it also loads: pi@raspberrypi:~ $ lsmod | grep si468x si468x 16384 0 snd_soc_core 188416 3 vc4,snd_soc_bcm2835_i2s,si468x but dmesg tells me that there must be an error: pi@raspberrypi:~ $ dmesg | grep snd [ 3.528581] snd-rpi-dabpi soc:sound: ASoC: CODEC DAI si...
by vitalic
Mon Apr 22, 2019 7:17 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

Some searches about the Si486x brought me to github https://github.com/teknoid/dabpi/blob/master/0001-Added-support-for-Si468x-Digital-Radio-Receiver-DABP.patch , where a rpi-dabpi overlay is placed. Therefor i need to compile a new kernel module (snd-soc-si468x). Is there an easy way to do so? Neve...
by vitalic
Mon Apr 22, 2019 12:59 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

That's right. There is no TI TLV320AIC3204 ic soldered on the board. Just the Si4869 DAB ic. Don't know why they use the audiosense-pi overlay for this board. I also tried to just use the hifiberry in stealth mode. That was working, but only when i wanted to hear DAB. All other sounds were not playe...
by vitalic
Mon Apr 22, 2019 12:05 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

So still playing around a little bit with merging both overlays. This is the dts i'm testing right now based on a dual.dts with 2 cards addes to simple-audio-card: /dts-v1/; /plugin/; / { compatible = "brcm,bcm2837", "brcm,bcm2836", "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; fragment@0 { target...
by vitalic
Sun Apr 21, 2019 5:16 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

Ah, ok, so i guess you mean that the hifiberry will only listen to the I2S in stealth mode... So i just tried to play a wav file, but can't get no sound out of the speaker connected to the hifiberry. What is the right command to record from and to the same card ? aplay -l pi@raspberrypi:~ $ aplay -l...
by vitalic
Sun Apr 21, 2019 4:07 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

Sounds interesting but how should the hifiberry get registered by the pi when it's not activated in the config.txt?
by vitalic
Sun Apr 21, 2019 9:29 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

Where is the driver located?

I only need the capture function of the dabboard. The si ic is able to do much more like line in mic in and line out but i only need the dab and fm function.

So hifiberry needs to be slave for the pi and the dabboard.
by vitalic
Sat Apr 20, 2019 9:54 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

So I tried a while to get this done but always failed. Now I tried to build one dtb for both. Somehow i get little success but still a big problem: mixed dts // Definitions for HiFiBerry DAC /dts-v1/; /plugin/; / { compatible = "brcm,bcm2837", "brcm,bcm2836", "brcm,bcm2835", "brcm,bcm2708", "brcm,bc...
by vitalic
Thu Apr 18, 2019 10:12 am
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Re: Merge 2 DTS

First of all, you can make it easier to compile the audiosense overlay by replacing the symbols constant macros with their real values. The decompiled version handily tells us what to substitute: // Definitions for audiosense add on soundcard /dts-v1/; /plugin/; / { compatible = "brcm,bcm2837", "br...
by vitalic
Wed Apr 17, 2019 5:27 pm
Forum: Device Tree
Topic: Merge 2 DTS
Replies: 34
Views: 4856

Merge 2 DTS

Hallo, i allready tried to merge 2 DTS to have 1 DTB after compiling to get my both cards connected via GPIO to work via I2S. Hifiberry DAC uses this DTS // Definitions for HiFiBerry DAC /dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; fragment@0 { target = <&sound>; __overlay__ { compatible = "...
by vitalic
Tue Apr 16, 2019 4:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: Device Tree Q&A
Replies: 23
Views: 21739

Re: STICKY: Device Tree Q&A

This may be better moved to its own topic / thread, but it's in reply to those above, so I thought I'd gamble. I took PhilE's comment on getting both an I2S microphone and amplifier working together as a challenge: "Combining the two [overlays] is an exercise for the reader." I was unhappy with the...
by vitalic
Tue Apr 16, 2019 2:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Connecting two Audio codecs in I2S
Replies: 8
Views: 2835

Re: Connecting two Audio codecs in I2S

Hallo,
I'm facing the same problem. Has anybody ever found a way to connect a sink and a source at the same I2S bus?
by vitalic
Mon Apr 15, 2019 5:38 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 2 I2S devices
Replies: 0
Views: 145

2 I2S devices

Hallo, Did anybody ever use 2 devices on the I2S bus? I got a Hifiberry Dac as output and a uGreen DABboard as input. Both are activated via dtoverlay in config.txt. It depends on the position of the overlay which board is active. When audiosense is written in config before hifiberry overlay, the Hi...

Go to advanced search