Go to advanced search

by pvdmeer
Mon Sep 23, 2019 2:10 pm
Forum: Raspbian
Topic: Random freezes Buster (wifi related?)
Replies: 4
Views: 233

Re: Random freezes Jessie... cfg80211?

There are good reasons to completely disable WIFI, yet Rasbian doesn't allow it. I think the second part of that statement is incorrect. See, among other references: https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README and search for disable-wifi Yes, that will disable the low d...
by pvdmeer
Mon Sep 23, 2019 2:06 pm
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 21
Views: 4295

Re: CM3 and usb gadgets (DWC2)

There's a mention a PULL-UP on the USB_OTGID pin needed to get DWC2 to run. However, in the CMIO schematic this is a PULL-DOWN!!! See for yourself: https://www.raspberrypi.org/documentati ... IO_3p0.pdf
by pvdmeer
Mon Sep 16, 2019 1:59 pm
Forum: Raspbian
Topic: Random freezes Buster (wifi related?)
Replies: 4
Views: 233

Random freezes Buster (wifi related?)

The most recent Raspbian seems to suffer from random freezes. There are good reasons to completely disable WIFI, yet Rasbian doesn't allow it.
by pvdmeer
Wed Sep 04, 2019 7:26 pm
Forum: Compute Module
Topic: Buildroot on CM3
Replies: 0
Views: 131

Buildroot on CM3

For a while now I've been trying to build a proper minimal fast booting image for the CM3. So far, I've succeeded in making it boot on CM3 and it's fully usable over ethernet ... on Pi3b, but not on CM3.. There the only thing I can get to work is one single USB keyboard keyboard. Any Ethernet adapte...
by pvdmeer
Mon Aug 19, 2019 1:19 pm
Forum: Advanced users
Topic: PL011 UART overruns with RT-PREEMPT kernel
Replies: 3
Views: 775

Re: PL011 UART overruns with RT-PREEMPT kernel

Oh you can either use rpi-source tool.. then patch it with the RT-PREEMPT patch, but nowadays there's even a separate RT branch of the Pi Linux kernel: https://github.com/raspberrypi/linux/tree/rpi-4.19.y-rt Follow the Pi kernel building instructions and presto. https://www.raspberrypi.org/documenta...
by pvdmeer
Mon Aug 12, 2019 11:46 am
Forum: Advanced users
Topic: PL011 UART overruns with RT-PREEMPT kernel
Replies: 3
Views: 775

Re: PL011 UART overruns with RT-PREEMPT kernel

Ok, solved my own problem. It seems that the IRQ handler process is not active when the serial port is closed. Open it and you're able to reprioritize it using the "chrt" tool.
by pvdmeer
Wed Aug 07, 2019 1:23 pm
Forum: Advanced users
Topic: PL011 UART overruns with RT-PREEMPT kernel
Replies: 3
Views: 775

PL011 UART overruns with RT-PREEMPT kernel

Hi guys, Recently I built the realtime (RT-PREEMPT) version of the linux kernel and I love it. So far so good. uname -a Linux raspberrypi 4.19.59-rt23-v7+ #1 SMP PREEMPT RT Mon Jul 29 12:52:58 BST 2019 armv7l GNU/Linux I'm letting the Pi3 communicate with a microcontroller over UART and thought it m...
by pvdmeer
Sun Jul 07, 2019 1:44 pm
Forum: Other
Topic: Alpine Linux 3.8.0 ARM32 & ARM64
Replies: 7
Views: 4545

Re: Alpine Linux 3.8.0 ARM32 & ARM64

Oohhh, sounds interesting! Has anybody recorded the boot time of this distro?
by pvdmeer
Tue Jul 02, 2019 7:18 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 895
Views: 98506

Re: Raspberry Pi 4 Thread - general discussion

First off.. Let me say I love Raspberry Pi. It has almost singlehandedly brought back the coolness of home computing with its openness and DIY community. So when I heard the news, of course I ordered the Pi4 faster than an owl can hoot! I got it yesterday and guess what, they reversed the USB and Et...
by pvdmeer
Fri Dec 14, 2018 8:30 am
Forum: Automation, sensing and robotics
Topic: Rotary Encoder Count per Revolution missing some count
Replies: 14
Views: 1196

Re: Rotary Encoder Count per Revolution missing some count

I'm not sure if the (c)python's slowness and the OS's latency in general are the problem here. the code seems logically OK. but to have the most robust handling of encoders you'll need to check for a chain of 2 legal state transitions instead of just 1.
by pvdmeer
Mon Nov 12, 2018 8:20 am
Forum: Troubleshooting
Topic: RPI touchscreen dead column
Replies: 4
Views: 473

Re: RPI touchscreen dead column

Have the same problem. About 10% of the official touchscreens we used have degraded or totally dead touch area. Have you come up with a fix for this?
by pvdmeer
Wed Jul 11, 2018 7:02 pm
Forum: Raspbian
Topic: TLV320AIC3254 interfacing with raspberry pi jessie
Replies: 1
Views: 383

Re: TLV320AIC3254 interfacing with raspberry pi jessie

There is certainly support for the TLV320AIC31xx in the 4.14 RPI kernel. I just enabled this module. You have to go into the ALSA configuration. alsa -> alsa soc -> codecs .. enable them. then build the codecs directory and install the .ko's to /lib/modules/`uname -r`/..... . That's the easy part. T...
by pvdmeer
Mon May 21, 2018 8:57 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB MIDI (and HID devices) on Pi3
Replies: 1
Views: 492

Re: USB MIDI (and HID devices) on Pi3

Alright, after searching the Raspberry Pi Linux kernel Github... The solution can be found that makes these type of USB MIDI controllers work in USB2 mode:

in /boot/cmdline.txt, add the following:

dwc_otg.fiq_fsm_mask=0x3 dwc_otg.nak_holdoff=0

Seems to fix all, but will do some more testing.
by pvdmeer
Sun May 20, 2018 8:31 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB MIDI (and HID devices) on Pi3
Replies: 1
Views: 492

USB MIDI (and HID devices) on Pi3

Dear all, I'm using the Pi3 in a synthesizer product, and I have to say I really love it.. and overall it was a great choice to include it in the product instead because it provides relatively easy interfacing with display, easy GUI development, and has enough processing power with it's multiple cor...
by pvdmeer
Wed Apr 11, 2018 7:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: PT8211 I2S ASOC driver
Replies: 14
Views: 3678

Re: PT8211 I2S ASOC driver

just check hifiberry_dac.c in the kernel sources and change: .dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS, notice the LEFT_J define in t here.. bcm2835-i2s.c needs an additional case in the switch: switch (dev->fmt & SND_SOC_DAIFMT_FORMAT_MASK) { case SND_SOC_DAIF...
by pvdmeer
Fri Mar 09, 2018 1:48 pm
Forum: Troubleshooting
Topic: USB MIDI, missing MIDI events
Replies: 9
Views: 1403

Re: USB MIDI, missing MIDI events

well, that worked! cheers!
by pvdmeer
Fri Mar 09, 2018 1:46 pm
Forum: Troubleshooting
Topic: USB MIDI, missing MIDI events
Replies: 9
Views: 1403

Re: USB MIDI, missing MIDI events

First things first, I'm also using Arturias (beatstep and keystep). They seem to really hate the Pi's ALSA rawmidi system. There are hanging notes all over the place. Happens especially with high bandwidth controls such as aftertouch. No problems when I use these Arturias with my Mac. Although I hav...
by pvdmeer
Fri Mar 09, 2018 1:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: PT8211 I2S ASOC driver
Replies: 14
Views: 3678

Re: PT8211 I2S ASOC driver

you need to add a case in the switch statement for LEFT_JUSTIFIED mode, from the top of my head. but beware. the PT8211 is not a HIFI DAC, and without a really good LDO regulator it will sounds like S%%^T :D
by pvdmeer
Tue Sep 05, 2017 11:42 am
Forum: Official Foundation Display
Topic: Bogus touch events on newer (FT5426 based) touchscreens
Replies: 1
Views: 1630

Re: Bogus touch events on newer (FT5426 based) touchscreens

characterizing the bug.. and trying to devise some filtering mechanism to weed out the bad events. It seems the bogus events have the following form: [x,y] = [WIDTH - last.y, WIDTH - last.x] where last means the last touch event coordinates. basically, this mirrors coordinates along a diagonal. even...
by pvdmeer
Mon Aug 28, 2017 10:34 am
Forum: Official Foundation Display
Topic: Bogus touch events on newer (FT5426 based) touchscreens
Replies: 1
Views: 1630

Bogus touch events on newer (FT5426 based) touchscreens

Dear all, We started using the touchscreen early 2016 and we have loved it ever since. We continue using the latest version (using FT5426 instead of FT5406). Recently, however, we noticed that there were bogus touch events when repeatedly tapping in the lower side of the screen. Is this a known issu...
by pvdmeer
Thu Jan 19, 2017 12:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 464407

Re: The I2S sound thread.

i have not found a way around the device tree yet. :( i tried to made a device tree overlay and it compiles and installs. it's not that hard it seems. i've been struggling with the same problem as you have. direct in direct out via I2S (no dac or adc involved). while it's quite easy to hack an exist...
by pvdmeer
Tue Jan 17, 2017 9:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 464407

Re: The I2S sound thread.

esuncloud: yes, it's possible. the Cirrus Logic Audio Card can do direct-in-direct-out.
by pvdmeer
Tue Dec 20, 2016 9:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: PT8211 I2S ASOC driver
Replies: 14
Views: 3678

PT8211 I2S ASOC driver

Hi! I recently hacked the Hifiberry-DAC driver so that it would support the PT8211 16 bit stereo DAC. This works flawlessly, and it's damn easy to wire this up to the pi. I'd like to make this a real driver and contribute to rpi-linux repository. Unfortunately, when I change the name from snd-soc-hi...
by pvdmeer
Tue Dec 20, 2016 8:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 464407

Re: The I2S sound thread.

Hi! I recently hacked the Hifiberry-DAC driver so that it would support the PT8211 16 bit stereo DAC. This works flawlessly, and it's damn easy to wire this up to the pi. I'd like to make this a real driver and contribute to rpi-linux repository. Unfortunately, when I change the name from snd-soc-hi...
by pvdmeer
Sat Dec 17, 2016 10:00 am
Forum: Raspbian
Topic: How to disable screen blanking
Replies: 44
Views: 262603

Re: How to disable screen blanking

i work in the console environment and i tried all of the above with varying degrees of success. the best i could get was no screensaver until a keyboard was plugged in.. so changing /etc/kbd/config definitely is not enough. best is to turn off console blanking in the kernel. pull the problem out by ...

Go to advanced search