Go to advanced search

by fd_
Thu Dec 10, 2020 3:07 pm
Forum: General discussion
Topic: How to label those tiny micro sd cards?
Replies: 46
Views: 25625

Re: How to label those tiny micro sd cards?

Thought I'd share my idea as well: I've built a simple device from an Arduino Nano, a microSD interface and a small display as a solution to this problem. It loads the label from a text file named label.txt on the boot partition. The Arduino library I use can only read FAT32 partitions, but luckily...
by fd_
Thu Dec 10, 2020 1:21 pm
Forum: General discussion
Topic: How to label those tiny micro sd cards?
Replies: 46
Views: 25625

Re: How to label those tiny micro sd cards?

Thought I'd share my idea as well: I've built a simple device from an Arduino Nano, a microSD interface and a small display as a solution to this problem. It loads the label from a text file named label.txt on the boot partition. The Arduino library I use can only read FAT32 partitions, but luckily ...
by fd_
Sun Oct 04, 2020 7:40 pm
Forum: Beginners
Topic: Unable to get USB to Ethernet adapter to work on pi
Replies: 14
Views: 486

Re: Unable to get USB to Ethernet adapter to work on pi

AFAICT, there isn‘t any trace of an attached Ethernet adapter in any of your listings at all. It would be very helpful to mention what Ethernet adapter you‘re trying to use (maybe pictures of it), and what chipset it uses (can be found e.g. with lsusb on a computer that does recognize the adapter).
by fd_
Tue Jul 21, 2020 8:56 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5595

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

5.4 kernels seem to be affected as well: https://github.com/raspberrypi/linux/issues/3702
Haven’t tried it with a 5.4 kernel myself because my image is highly customized. Will upgrade eventually, though that doesn’t fix this particular problem as proven by the issue report on GitHub.
by fd_
Tue Jul 21, 2020 4:05 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5595

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Any news on this issue? I'm seeing the same problem with an enc28j60 on a Pi 3A+ and already got excited when I found your thread about it. Seeing it apparently was left unresolved had me a little disappointed :roll: :D I'm seeing this trace on Raspbian Buster on a 4.19.97 kernel (the image was the ...
by fd_
Wed Jul 08, 2020 8:51 am
Forum: Beginners
Topic: Pi Zero W dead USB ideas?
Replies: 6
Views: 369

Re: Pi Zero W dead USB ideas?

Are you sure you're using the micro USB port labelled 'USB' on the Pi Zero W and not the one labelled 'PWR'? Only the one labelled 'USB' can be used as an USB OTG port, the other is only for powering the Pi. This might seem obvious, but IIRC, this was the issue in a very similar thread.
by fd_
Wed May 27, 2020 8:32 pm
Forum: Troubleshooting
Topic: Is my Zero faulty? [solved]
Replies: 3
Views: 268

Re: Is my Zero faulty? [solved]

Great to hear you found the culprit!
by fd_
Tue May 26, 2020 9:11 am
Forum: Troubleshooting
Topic: Is my Zero faulty? [solved]
Replies: 3
Views: 268

Re: Is my Zero faulty?

This does sound like a power issue, but it’s a bit curious you’re seeing it on a Pi Zero (W), which usually doesn’t have very high requirements on the power supply. Do you have any peripherals connected to the Pi? Did you try to use a different cable from the power supply to the Pi? Does the kernel ...
by fd_
Sat May 23, 2020 10:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI data loss at 100k baud
Replies: 1
Views: 280

Re: SPI data loss at 100k baud

I finally found the problem, and as I was suspecting, it indeed was a stupid mistake from my part: In the kernel modules, I was registering the interrupt for the rising edge, although it should have been the falling edge. While the Raspberry Pi already started sending out data over SPI, the STM32 st...
by fd_
Tue May 19, 2020 8:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI data loss at 100k baud
Replies: 1
Views: 280

SPI data loss at 100k baud

Hi, I'm trying to write a custom kernel module for communicating with a microcontroller via SPI. Specifically, I'm now using an STM32F103C8T6 microcontroller on a cheap 'Blue Pill' type board. The Raspberry Pi is the SPI master, the STM32 is the slave. In the most basic setup, the STM32 requests an ...
by fd_
Wed Apr 22, 2020 6:51 pm
Forum: General discussion
Topic: ARMv7 emulation on ARMv6: System Control Processor
Replies: 15
Views: 1116

Re: ARMv7 emulation on ARMv6: System Control Processor

Thank you for working on this. It has the potential to increase the life expectancy of Zero hardware as software is tuned to run on the ARMv7. I'm sorry I don't have any insight on the control coprocessor, but wonder, what are such instructions doing in user-space code? Thanks for the encouragement...
by fd_
Wed Apr 22, 2020 11:12 am
Forum: General discussion
Topic: ARMv7 emulation on ARMv6: System Control Processor
Replies: 15
Views: 1116

Re: ARMv7 emulation on ARMv6: System Control Processor

Any CPU upgrade to the Zero would come with an increase in power consumption.....swings and roundabouts! Interesting project, no idea if it's even possible. I agree that even this "software CPU upgrade" would increase power consumption per executed program instruction, ie there'd be a per...
by fd_
Wed Apr 22, 2020 10:27 am
Forum: General discussion
Topic: ARMv7 emulation on ARMv6: System Control Processor
Replies: 15
Views: 1116

Re: ARMv7 emulation on ARMv6: System Control Processor

I don't have the first faintest idea why you think you'd want to do this. Why not simply buy a RPi4B 4GB and you can run ARM6, ARM7 and ARM8 code natively on the processor. I have existing ARMv7 binaries (no source) that I'd like to run on a portable device with as little power as possible. The Pi ...
by fd_
Wed Apr 22, 2020 7:38 am
Forum: General discussion
Topic: ARMv7 emulation on ARMv6: System Control Processor
Replies: 15
Views: 1116

ARMv7 emulation on ARMv6: System Control Processor

Hi all, I'm trying to write a kernel module that allows to run ARMv7 userspace code on an ARMv6 Raspberry Pi Zero. The kernel module registers an undefined instruction hook and parses ARMv7 instructions, manually executing the required register transfers etc. I'm hoping this would have as little ove...
by fd_
Thu Feb 20, 2020 5:28 pm
Forum: Other projects
Topic: New AirPlay Mirroring Server (Open Source)
Replies: 51
Views: 134011

Re: New AirPlay Mirroring Server (Open Source)

Is it possible to mirror the content 90 degrees? I just merged a PR from user Steven Hickson that enables rotating the image. You now just pass the desired degree (a multiple of 90 deg) as argument to the new -r flag, e.g. ./rpiplay -r 90 So I've installed this on a Pi Zero and exactly as per the i...
by fd_
Tue Feb 18, 2020 8:18 pm
Forum: General discussion
Topic: Did RPF change the RAM on Pi Zero?
Replies: 5
Views: 960

Re: Did RPF change the RAM on Pi Zero?

Yes already discussed: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=261725 There are only 3 variants of the Zero $ 5 Zero $10 Zero W $15 Zero WH Thanks! Sorry, seems like I missed that thread. I know of these three Pi Zero variants, meant to write build variants, i.e. different compo...
by fd_
Tue Feb 18, 2020 11:18 am
Forum: General discussion
Topic: Did RPF change the RAM on Pi Zero?
Replies: 5
Views: 960

Did RPF change the RAM on Pi Zero?

The title might sound a little misleading, so I'll clarify right away: The RAM capacity has not changed (and is technically limited by the CPU IIRC). I recently ordered a Pi Zero from Pimoroni and was a little surprised that it looked a little different than all the others I'd seen before: It seems ...
by fd_
Sat Dec 21, 2019 1:32 pm
Forum: Graphics programming
Topic: ffmpeg: A/V decode and render API supporting all Pis?
Replies: 0
Views: 846

ffmpeg: A/V decode and render API supporting all Pis?

Hi, For my open source AirPlay mirroring receiver RPiPlay, I'm looking for a future-proof video and audio decoding and rendering API that Uses the video decoding hardware Supports different audio sinks such as HDMI/Analog/ALSA (DACs and USB audio interfaces) Could easily be adapted to H265 should a ...
by fd_
Sun Nov 17, 2019 3:40 pm
Forum: Other projects
Topic: New AirPlay Mirroring Server (Open Source)
Replies: 51
Views: 134011

Re: New AirPlay Mirroring Server (Open Source)

Questions for usage: 1. How can I start the program with specific arguments -n? I can only double click the application to start?! 2. Can I change the black background to another if there is no connection? 1. You are supposed to start it from the command line. 2. Not possible at the moment, but tra...
by fd_
Fri Oct 25, 2019 8:57 am
Forum: Other projects
Topic: New AirPlay Mirroring Server (Open Source)
Replies: 51
Views: 134011

Re: New AirPlay Mirroring Server (Open Source)

Hi, First of all, thank you for this project, it's working beautifully! I see that it was recently changed such that a black screen appears when there is no connection. Is there a way for nothing to appear instead (so I would see whatever is running behind). In my specific case I'm running magic mi...
by fd_
Tue Oct 22, 2019 9:52 am
Forum: Graphics, sound and multimedia
Topic: AirPlay screen capture using shairpoint-sync
Replies: 1
Views: 1901

Re: AirPlay screen capture using shairpoint-sync

Hi, A few notes about your project: 1) shairport-sync is audio-only, to the best of my knowledge. For AirPlay mirroring, you'll have to use RPiPlay (an open source program I'm developing). 2) RPiPlay uses OpenMAX for decoding and rendering H264, which usually cannot be captured in screen shots. Howe...
by fd_
Wed Oct 16, 2019 4:04 pm
Forum: Off topic discussion
Topic: Adding power control to USB hub
Replies: 0
Views: 2070

Adding power control to USB hub

Hi all, I'm trying to add a software-controlled power switch to a USB hub I have. The hub uses the Terminus Tech FE1.1s USB hub chip which, according to the datasheet (linked below) has "Ganged Power Control" (which I found means that all ports share a single power switch). As far as I am ...
by fd_
Sun Oct 13, 2019 10:53 am
Forum: Networking and servers
Topic: Ethernet Adapter RPi Zero Problems
Replies: 2
Views: 1203

Re: Ethernet Adapter RPi Zero Problems

Did you find a solution to the problem? I think I'm seeing the same issue with the Realtek 8152B, a hub (either FE2.2s (Terminus Tech FE1.1s clone) or HS8836 based) and the Zero. It must be somehow linked to the Realtek 8152B and probably some wiring issue in the hub or the ethernet adapter. To answ...
by fd_
Wed Oct 02, 2019 12:58 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 16
Views: 3928

Re: Forum editor centers text

Andyroo wrote:
Wed Oct 02, 2019 12:55 pm
Still not seen this though I have jumped to Mojave on one but of Apple kit.

Wonder if it’s an extension clashing?
Only extension I have installed is https://apps.apple.com/app/pipifier-pip ... 4471?mt=12
by fd_
Wed Oct 02, 2019 12:32 pm
Forum: Off topic discussion
Topic: Forum editor centers text
Replies: 16
Views: 3928

Re: Forum editor centers text

The recent Safari 13.0.1 (14608.2.11.1.11) update fixed it now, so it must have somehow been related to the browser :D

Go to advanced search