Go to advanced search

by HiassofT
Thu Oct 25, 2018 2:12 pm
Forum: Device Tree
Topic: RTS/CTS handshake lines on UARTs
Replies: 1
Views: 4270

RTS/CTS handshake lines on UARTs

I recently needed the RTS/CTS handshake lines of the (mini)uarts in one of my projects so I wrote a bunch of device tree overlays to enable these lines. Nothing special, but might be helpful to others. You can get the dts and dtbo files from here: https://github.com/HiassofT/AtariSIO/tree/master/con...
by HiassofT
Thu Oct 25, 2018 10:15 am
Forum: Advanced users
Topic: SPI clock unreliable over 8MHz
Replies: 3
Views: 1066

Re: SPI clock unreliable over 8MHz

If you see signal distortion I recommend checking your PCB layout, grounding and that you have proper connection to the SPI pins. I just checked the SPI clock signal with the TV hat attached to an RPi3, clock is running at about 30MHz and the clock signal looks perfectly fine sck.png so long, Hias
by HiassofT
Tue Oct 23, 2018 8:53 pm
Forum: Off topic discussion
Topic: Upgrades to future Pi4?
Replies: 15
Views: 2842

Re: Upgrades to future Pi4?

DarkPlatinum wrote:
Tue Oct 23, 2018 6:54 pm
I am just a bit excited as the time is nearing... Hopefully its released in early 2019. Or who knows, it could be released on new year ;)
Usually a good bet for new releases is Pi day - March 14th :-)

so long,

Hias
by HiassofT
Sat Oct 13, 2018 7:51 am
Forum: General discussion
Topic: A2 app performance class SD cards
Replies: 11
Views: 3902

Re: A2 app performance class SD cards

Does anyone know of a relatively easy to install and use benchmark for Raspbian that measures IOPS and random read/write (CLI is fine)? Use iozone3 from http://www.iozone.org/ - it's available in Debian stretch (from non-free) but seems to be missing in Raspbian so you have to compile it yourself (...
by HiassofT
Sat Sep 22, 2018 7:08 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53551

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: 2765

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: 13
Views: 12339

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: 470

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: 41
Views: 12966

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: 41
Views: 12966

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: 41
Views: 12966

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: 7817

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: 5315

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: 5315

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: 5315

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: 5315

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: 5315

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: 871

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: 5315

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: 926

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: 926

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: 5315

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: 5315

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: 5315

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: 926
Views: 465094

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...

Go to advanced search