Go to advanced search

by gadgetoid
Thu Nov 25, 2021 10:26 am
Forum: HATs and other add-ons
Topic: The future of HyperPixel 4 / DPI on Bullseye and beyond
Replies: 6
Views: 243

Re: The future of HyperPixel 4 / DPI on Bullseye and beyond

PhilE wrote:
Thu Nov 25, 2021 9:32 am
There's also something approaching documentation of gpio-fsm: viewtopic.php?p=1821505#p1821505
This is interesting, thank you!
by gadgetoid
Thu Nov 25, 2021 10:26 am
Forum: HATs and other add-ons
Topic: The future of HyperPixel 4 / DPI on Bullseye and beyond
Replies: 6
Views: 243

Re: The future of HyperPixel 4 / DPI on Bullseye and beyond

What exactly is this display, and what functions are you configuring over SPI? Have you checked for an existing driver for it? There is, afaik, no existing driver. The IC is ILI9806E (https://focuslcds.com/content/ILI9806E.pdf). SPI is used to configure and enable the display. This includes everyth...
by gadgetoid
Wed Nov 24, 2021 1:48 pm
Forum: HATs and other add-ons
Topic: The future of HyperPixel 4 / DPI on Bullseye and beyond
Replies: 6
Views: 243

The future of HyperPixel 4 / DPI on Bullseye and beyond

I have been somewhat blind-sided by the trend toward embracing mainline/upstream Linux methods over the time-honoured RPi kludges and hacks. Most notably with HyperPixel 4 which uses the DPI interface alongside i2c for touch and 9-bit SPI on non-standard pins (one of which is shared with the touch i...
by gadgetoid
Thu Nov 11, 2021 3:10 pm
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

The "recommended software" version of Raspberry Pi OS Bullseye... edition includes "nodered" which depends upon python (2.7) and the extremely cursed "python-is-python2". This breaks expectations that "python" means the same thing on all releases of Raspberry ...
by gadgetoid
Wed Nov 10, 2021 7:14 pm
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

Looks like arandr still drops: /usr/share/dispsetup.sh Which is called using "display-setup-script" in: /etc/lightdm/lightdm.conf Which doesn't seem to be executed at all during DE startup. Something to do with the switch to Mutter? Running: /usr/share/dispsetup.sh Manually in an X termina...
by gadgetoid
Wed Nov 10, 2021 7:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 344
Views: 31600

Re: Rpi 4 with DRM and 7inch panel using kms driver

Yeah it looks like I got my threads crossed- this should have been a Bullseye bug report. It’s been a long and unpleasant day.
by gadgetoid
Wed Nov 10, 2021 6:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 344
Views: 31600

Re: Rpi 4 with DRM and 7inch panel using kms driver

Looks like arandr still drops: /usr/share/dispsetup.sh Which is called using "display-setup-script" in: /etc/lightdm/lightdm.conf Which doesn't seem to be executed at all during DE startup. Something to do with the switch to Mutter? Running: /usr/share/dispsetup.sh Manually in an X termina...
by gadgetoid
Wed Nov 10, 2021 11:37 am
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

IIRC, the upstream DT devs do not want things like device timings in the device tree, apparently ""It's not what device tree is for". Which is annoying because it does seem an obvious place for this sort of data. Annoying is quite the understatement. Thanks for clarifying. I'm going ...
by gadgetoid
Wed Nov 10, 2021 9:52 am
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

Anyhow, having an overlay template which has the timings included might be appreciated by some users (as quite some folks here were dealing with overlays to get their panels working). Seconded! I cannot glean anything useful from modinfo, looking at the simple panel source suggests there's no devic...
by gadgetoid
Tue Nov 09, 2021 8:47 pm
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

Edit: forget to mention: your display timing(s) should be added to panel-simple.c i.e. :shock: You're... kidding... right? *looks at file* Oh. Oh dear god. Linux: hey we've invented this cool thing called device tree where you can put all your HW config Also Linux: hard-codes 5k lines of LCD timing...
by gadgetoid
Tue Nov 09, 2021 7:39 pm
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

If not ask the supplier to get one added (I think a pull-request for that display will be accepted by RPT). I *am* the supplier :? Thanks for the pointers- I’d noticed these and had a poke around in the corresponding .dts. These overlays don’t seem to be doing all that much. There are generic DSI o...
by gadgetoid
Tue Nov 09, 2021 6:19 pm
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 495
Views: 28031

Re: Bullseye - Comments and bug reports thread.

Outputting the X desktop over DPI with dtoverlay=vc4-kms-v3d appears to be broken. Tested on a Pi Zero 2 W and a Pi 400 using HyperPixel4 and our previously working device-tree overlays (compiled from source). With vc4-kms-v3d I get a brief flash of desktop splash late in boot, and then a stubborn, ...
by gadgetoid
Mon Oct 15, 2018 11:56 am
Forum: Troubleshooting
Topic: error updating my raspberry pi 3b with latest raspbian
Replies: 2
Views: 696

Re: error updating my raspberry pi 3b with latest raspbian

It looks like you might have a broken/missing `python-minimal` package. Try running `sudo apt install --reinstall python-minimal` and then retrying the update to see if it solves your problem. This could indicate SD card corruption, though, so if you experience further issues a backup/reimage might ...
by gadgetoid
Tue Apr 03, 2018 8:48 am
Forum: Device Tree
Topic: Getting the maxim98089 to work with Raspberry Pi
Replies: 3
Views: 1990

Re: Getting the maxim98089 to work with Raspberry Pi

Thank you! I'll have another sprint on this soon and see where I get. My current solution did not survive removal of power, which means it's not setting up the device properly and the registers were preserved from my previous attempts to set them up manually. I see snippets in your linked examples t...
by gadgetoid
Wed Mar 28, 2018 4:02 pm
Forum: Device Tree
Topic: Getting the maxim98089 to work with Raspberry Pi
Replies: 3
Views: 1990

Re: Getting the maxim98089 to work with Raspberry Pi

Caught my stupid typo in the dts source and corrected: i2c-controller = <&i2c>; to: i2s-controller = <&i2s>; I used "sudo cat /sys/kernel/debug/asoc/codecs" to get the correct name for the max98089 codec (it doesn't seem to have a friendly-name like some of these DACs do) and hacke...
by gadgetoid
Wed Mar 28, 2018 3:15 pm
Forum: Device Tree
Topic: Getting the maxim98089 to work with Raspberry Pi
Replies: 3
Views: 1990

Getting the maxim98089 to work with Raspberry Pi

I'm attempting to get the Maxim max98089 up and running. I'm using the TQFN evaluation kit, and have successfully got it to produce sound using the `hifiberry-dac` dtoverlay, combined with some manual control of the DAC itself over i2c to configure the audio pipeline. I am now attempting to get it t...
by gadgetoid
Wed Jan 17, 2018 11:56 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Apt-get dist-upgrade problem
Replies: 10
Views: 3927

Re: Apt-get dist-upgrade problem

As far as I'm aware, version 1.1.1 should now be available via apt, and this workaround should not be required. Some exceptions may apply for local apt caches that still include 1.1.0. ie: if you're repeating the "apt get upgrade" command but you haven't run "apt get update". Thi...
by gadgetoid
Tue Jan 16, 2018 1:25 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Apt-get dist-upgrade problem
Replies: 10
Views: 3927

Re: Apt-get dist-upgrade problem

Blast! Sorry about this folks. I didn't anticipate this as a side-effect to a library entry-point in the new release. I'm going to have to figure out how to make the entry-point Python-version-specific. For the time being I will remove the entry-point and publish a point release to fix this. Update:...
by gadgetoid
Mon Sep 18, 2017 6:09 pm
Forum: Python
Topic: Preloaded *phat* modules in Python
Replies: 1
Views: 969

Re: Preloaded *phat* modules in Python

Ahoy! Author here. Guilty as charged. I was only recently made aware that the side-effects at module load time actually have knock-on effects that I didn't know about when I originally went with this pattern. Yes the intent was to make it easier for beginners, and since the libraries interact with h...
by gadgetoid
Mon Aug 22, 2016 3:27 pm
Forum: Python
Topic: Read this if you use Python Spidev
Replies: 20
Views: 23132

Re: Read this if you use Python Spidev

I hate to resurrect an old thread, but since it comes up on Google searches for "lsbfirst" and "SPI_LSB_FIRST" I figured I'd best post the answer here. I've been working on a fix for the error leaking from lsbfirst, but the underlying cause is that this operation simply isn't sup...
by gadgetoid
Wed Mar 16, 2016 4:41 pm
Forum: Official Display
Topic: [How To] Two finger touch for right click
Replies: 51
Views: 57789

Re: [How To] Two finger touch for right click

Nice work, JimmyN! :D

Glad the right udev rules cropped up via adastre. I looked blankly at the udev stuff for a long time before deciding I had no chance of figuring it out without an extensive google adventure.
by gadgetoid
Wed Mar 16, 2016 2:44 pm
Forum: Official Display
Topic: v1.1 controller board
Replies: 14
Views: 4225

Re: v1.1 controller board

I'm investigating if it's feasible for us to stock and sell just v1.1 controller boards in low quantities to meet this small demand.

I'll let you know!
by gadgetoid
Wed Mar 16, 2016 2:17 pm
Forum: Troubleshooting
Topic: Epiphany Javascript console.log()
Replies: 15
Views: 7623

Re: Epiphany Javascript console.log()

I hate to resurrect a dinosaur thread, but in this case I think it's warranted. This thread turns up in searches about how to enable the JS debugger, so for the help of future JS tinkerers, I'd like to supply the answer: Open up Terminal, and run Epiphany like so: EPHY_ENABLE_INSPECTOR=true epiphany...
by gadgetoid
Sun Feb 28, 2016 3:45 pm
Forum: Official Display
Topic: [how to] enable long touch as right click
Replies: 74
Views: 94985

Re: [how to] enable long touch as right click

Might be the source from the package, versus the one from GitHub, doesn't support the ability to specify an alternate device on the command line. I suspect you can fix it by opening up main.c, finding "/dev/twofingtouch" and replacing it with "/dev/input/event2" Achievement unloc...
by gadgetoid
Sun Feb 28, 2016 11:23 am
Forum: Official Display
Topic: [how to] enable long touch as right click
Replies: 74
Views: 94985

Re: [how to] enable long touch as right click

Sorry, I totally forgot to link the developers original site, here: http://plippo.de/p/twofing Build instructions are posted, and are relatively straight forward. You don't need to perform the step: "Install the daemon by calling sudo make install" This will install a bunch of evdev rules ...

Go to advanced search