Go to advanced search

by dracode
Thu May 16, 2019 11:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Adding an I2C device via sysfs -- how to specify parameters?
Replies: 3
Views: 821

Re: Adding an I2C device via sysfs -- how to specify parameters?

6by9 wrote:
Thu May 16, 2019 9:30 am
You can use "sudo dtoverlay ssd1306 height=32" on a running system to dynamically load the DT overlay with parameter.
Add -R to remove the overlay (only works if loaded dynamically and not via config.txt).
This worked, thanks!
by dracode
Mon May 13, 2019 1:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Adding an I2C device via sysfs -- how to specify parameters?
Replies: 3
Views: 821

Adding an I2C device via sysfs -- how to specify parameters?

Greetings, Using Device Tree, one can specify extra parameters for interfacing with a specific peripheral. For example, adding this line to /boot/config.txt: dtoverlay=ssd1306,height=32 The extra parameter changes the height of the display from the default of 64. One can also add an I2C device after...
by dracode
Sat Dec 15, 2018 6:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI & elechouse v3 nfc reader not working, help needed
Replies: 13
Views: 9096

Re: SPI & elechouse v3 nfc reader not working, help needed

DrDooom wrote:
Mon Jul 02, 2018 4:22 pm
I hope that could help someone. Regards DrDooom.
It helped me! Thanks!
by dracode
Wed Jan 31, 2018 1:14 am
Forum: Advanced users
Topic: STICKY: HOWTO: Create Custom HDMI modes
Replies: 220
Views: 402009

Re: STICKY: HOWTO: Create Custom HDMI modes

I just got a small 4" HDMI display with the intention of using it to quickly troubleshoot headless Pi systems by reading the boot-up messages. This display: https://www.waveshare.com/wiki/4inch_HDMI_LCD The display is 800x480, 60 Hz refresh. Using the recommended config.txt changes works fine. In fa...
by dracode
Thu Jun 15, 2017 9:57 am
Forum: Raspbian
Topic: openvpn not starting the way i think it should
Replies: 2
Views: 1080

Re: openvpn not starting the way i think it should

Wow. I thought I'd used the most recent Jessie when I set up this Pi, but maybe I didn't. I just tried it from a fresh install and you're right, works exactly as expected. Thanks.
by dracode
Wed Jun 14, 2017 11:30 am
Forum: Raspbian
Topic: openvpn not starting the way i think it should
Replies: 2
Views: 1080

openvpn not starting the way i think it should

From looking at the "init" scripts, it looks like if AUTOSTART="all" is enabled, that the system should automatically start openvpn for every *.conf file in /etc/openvpn/ . It does not. I tracked the problem down to this file, which gets sourced indirectly in the init script setup: /lib/lsb/init-fun...

Go to advanced search