Go to advanced search

by HiassofT
Sat Sep 22, 2018 7:08 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 106
Views: 37576

Re: I2S Success (at last) !

Are you maybe using a DSO 138 or a similar toy to check the signals? If yes the result is expected, bclk will be about 3MHz and the DSO 138 has a maximum bandwidth of 200kHz.

so long,

Hias
by HiassofT
Mon Sep 17, 2018 6:03 pm
Forum: Troubleshooting
Topic: kernel 4.14.69-v7+ gives: kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16
Replies: 3
Views: 150

Re: kernel 4.14.69-v7+ gives: kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16

run rpi-update, this is fixed in https://github.com/raspberrypi/firmware/commit/92e1937067e63285fac9b6d7863a6b5aac0c195e and in current 4.14.70 version https://github.com/raspberrypi/firmware/commit/1bd0e85c3ce7f6946f5cd4e18e7b45d50767412f See also https://github.com/raspberrypi/linux/issues/2680 so...
by HiassofT
Tue Aug 07, 2018 5:50 am
Forum: Media centres
Topic: Pi Zero W media centre
Replies: 8
Views: 423

Re: Pi Zero W media centre

Have a look at LibreELEC https://libreelec.tv/ I regularly test this on a RPi (1) model B and kodi works fine. Keep in mind though that streaming high bitrate files over Wifi can be problematic. Media on a local USB drive or using the wired ethernet connection on a RPi 1/2/3 is more stable. so long,...
by HiassofT
Thu Aug 02, 2018 5:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing with an IR output
Replies: 1
Views: 87

Re: Interfacing with an IR output

Do you have the IR transmitter or is there just a jack for connecting one? If you have an IR transmitter it's rather easy: connect a TSOPxxx IR receiver to the RPi's GPIO pins, enable the gpio-ir overlay and then test the various protocols with ir-keytable (eg ir-keytable -p nec -t). I wrote a guide...
by HiassofT
Wed Jul 18, 2018 7:04 pm
Forum: Device Tree
Topic: Possibility for multiple instances of LIRC?
Replies: 40
Views: 4639

Re: Possibility for multiple instances of LIRC?

Glad you got it working! It could well be that the remote uses a non standard protocol - there's a lot of really odd remotes and proprietary protocols out there. In this case raw data recording/transmission is needed, and with ir-ctl you'll need to use separate files per button for that. so long, Hias
by HiassofT
Tue Jul 17, 2018 5:47 am
Forum: Device Tree
Topic: Possibility for multiple instances of LIRC?
Replies: 40
Views: 4639

Re: Possibility for multiple instances of LIRC?

ir-keytable in Debian/Raspbian trips on transmit-only IR devices. This is fixed in newer versions, you could compile v4l-utils 1.14.2 (or master) and use ir-keytable from there. This also includes the "all" protocol option but it won't help you much as IIRC ir-keytable -t only outputs the scancode b...
by HiassofT
Sun Jul 15, 2018 8:39 pm
Forum: Device Tree
Topic: Possibility for multiple instances of LIRC?
Replies: 40
Views: 4639

Re: Possibility for multiple instances of LIRC?

To use multiple devices with independent configs you'll have to run multiple lirc instances (each with it's own lirc-options.conf and lircd.conf file). Unless you have a very specific need to use lirc I'd suggest to use ir-ctl. You don't need to run a bunch of background processses but can just spec...
by HiassofT
Sun Jun 10, 2018 9:34 pm
Forum: Media centres
Topic: LibreELEC chrome launcher Qs
Replies: 3
Views: 6279

Re: LibreELEC chrome launcher Qs

LibreELEC is designed to work as an appliance. Copy it to an SD card and use Kodi without having to know there's an OS underneath it. You can install a lot of different programs via addons (from within kodi), if the one you want isn't there you can install the docker addon and get bascially anything...
by HiassofT
Thu Jun 07, 2018 1:19 pm
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

FYI: Netflix addon 0.13.8 was just released, it looks like it fixes the issues in the latest Milhouse builds.

so long,

Hias
by HiassofT
Thu Jun 07, 2018 10:19 am
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

LibreELEC doesn't have a text-mode console, if you want/need to change something you have to do it via ssh - see the wiki for info https://wiki.libreelec.tv/accessing_libreelec But you can safely ignore the manual libwidevine installation instructions, this is no longer needed. Actually, following t...
by HiassofT
Wed Jun 06, 2018 10:49 pm
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

0603 is the version of the Milhouse LibreELEC testbuilds which are available from here: https://forum.kodi.tv/forumdisplay.php?fid=166 Are you using these testbuilds or did you install Kodi 18 from elsewhere? If you are using this testbuilds all you need to do is install the Netflix repository and t...
by HiassofT
Wed Jun 06, 2018 9:01 am
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

Just downgrade your installation to the 0603 build (copy the 0603 tar to the update share and reboot), this should be enough to get Netflix working again.

Not sure about the Amazon addon, I only have Netflix.

so long,

Hias
by HiassofT
Tue Jun 05, 2018 9:22 pm
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

We just noticed that Netflix stopped working in the latest Milhouse build (0604) and are currently trying to find out why. Please use build 0603 for now until we fixed that.

so long,

Hias
by HiassofT
Mon Jun 04, 2018 3:41 pm
Forum: General discussion
Topic: microphone volume needs boosted 30db+ please help
Replies: 6
Views: 409

Re: microphone volume needs boosted 30db+ please help

Concealedfox70 wrote:
Fri May 18, 2018 9:23 pm
how do i install and use softvol. i cant find a download or package name that works with apt-get
No need to download anything, the softvol plugin is part of the core alsa library (libasound2).

so long,

Hias
by HiassofT
Sun Jun 03, 2018 8:59 pm
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

Berryboot is not supported with LibreELEC - it swaps out the kernel and firmware to different versions and causes lots of issues - but you can use NOOBS or probably PINN (never tested the latter myself, though) if you want to create a multi-boot SD card. Kodi 18 / LibreELEC will include (almost) all...
by HiassofT
Sun May 27, 2018 10:38 pm
Forum: Raspbian
Topic: Sending keystrokes to console process?
Replies: 5
Views: 395

Re: Sending keystrokes to console process?

You also need to add ioctl(fd, UI_SET_KEYBIT, KEY_P); at the beginning (after the KEY_SPACE UI_SET_KEYBIT ioctl). The UI_SET_KEYBIT ioctls set which keys are supported by your "virtual keyboard" and you have to call it for every key you are going to send out.

so long,

Hias
by HiassofT
Sun May 27, 2018 4:06 pm
Forum: Raspbian
Topic: Sending keystrokes to console process?
Replies: 5
Views: 395

Re: Sending keystrokes to console process?

If you are running a text-mode application you could start it in "screen". screen sessions can be shared and you can then ssh in and attach to that screen session (see screen manpage for details). Another possibility is to use /dev/uinput to inject input events - this can be mouse, keyboard, whateve...
by HiassofT
Thu May 24, 2018 1:01 pm
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

inputstream.adaptive source is avalable from here: https://github.com/peak3d/inputstream.adaptive if you can't get a prebuilt addon. Kodi 18 also supports game addons, most of the libretro cores are available. The thing that's currently missing in Kodi is library integration to have a nice user inte...
by HiassofT
Thu May 24, 2018 11:59 am
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

I'm not familiar with Retropie but keep in mind that in general you'll also need the inputstream.adaptive addon (plus it's dependencies) - which is already included in the LibreELEC testbuilds I linked to but may be missing on other Kodi 18 builds/installations.

so long,

Hias
by HiassofT
Wed May 23, 2018 9:59 pm
Forum: Media centres
Topic: Multi-OS Media Centre
Replies: 23
Views: 2393

Re: Multi-OS Media Centre

Kodi 18 (Leia) supports Netflix natively. You only need to install the Netflix addon, it has a dependency on the inputstreamhelper addon (available from the Kodi addon repo) which can automatically download the widevine libs needed to decode the streams. You can download LibreELEC testbuilds with Ko...
by HiassofT
Sun May 20, 2018 12:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 838
Views: 342621

Re: STICKY: The I2S sound thread.

I'm right now applying a DSP to the Raspberry via I2S. I'm using a modified simple card overlay as posted a few pages before. The DSP runs in I2S master mode and provides the clocks for the raspberry. Therefore I configured the codec to be the master. That's the code I'm using, all needed modules g...
by HiassofT
Mon May 14, 2018 1:31 pm
Forum: General discussion
Topic: microphone volume needs boosted 30db+ please help
Replies: 6
Views: 409

Re: microphone volume needs boosted 30db+ please help

You can use the alsa softvol plugin. See here for details viewtopic.php?t=204133#p1267389 - make sure to replace the card name in slave.pcm and control.card with the name of soundcard you use.

so long,

Hias
by HiassofT
Thu May 10, 2018 1:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI delay between bytes is different for small and large transfers (spidev)
Replies: 5
Views: 512

Re: SPI delay between bytes is different for small and large transfers (spidev)

Did you find a fix for this under spidev? I have the same issue, but see the delay with long buffers when calling writebytes or xfer/xfer2. There is no delay with buffers less than 0x10000 bytes in length, but I see a 1.5 bit time delay between bytes when buffers are 0x10000 byte in length or more....
by HiassofT
Tue May 08, 2018 11:56 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 838
Views: 342621

Re: STICKY: The I2S sound thread.

Hmmm you seem to have an asoundrc in place that downmixes to mono. Also "-f cdr" is odd, usually you'd use "-f cd" which is S16_LE (-f cdr is S16_BE) - but I'm not sure if this has an effect when used with wav files (never tried that). I'd start by using speaker-test and outputting directly to the h...
by HiassofT
Mon May 07, 2018 1:10 pm
Forum: Device Tree
Topic: I2S clocks, GPCLK0
Replies: 62
Views: 10737

Re: I2S clocks, GPCLK0

As there's no support in the RPi hardware you have to manage channel sync in software, by starting / stopping all relevant clocks just at the right moment. This can probably be fragile, especially if you pause a stream which will cause bcm2835 hardware to stop transferring data in the middle of a fr...

Go to advanced search