Go to advanced search

by DarkElvenAngel
Wed Aug 21, 2019 8:04 pm
Forum: General discussion
Topic: Uses for Raspberry Pi Zero/Zero W?
Replies: 81
Views: 2766

Re: Uses for Raspberry Pi Zero/Zero W?

I have a few Pi 0W boards they are great for portable projects One I have installed in a store running as a live display like a slideshow sort of idea. Then I have a second that I use for development purposes for development of simple software and Buildroot. I have one I use for game emulation. I ha...
by DarkElvenAngel
Wed Aug 21, 2019 2:52 am
Forum: General discussion
Topic: Kodi is broken on raspbian buster
Replies: 30
Views: 5770

Re: Kodi is broken on raspbian buster

To install Kodi on Buster you'll need to uninstall the current version (if you have it installed) and use the pipplware repository for the time being. sudo nano /etc/apt/sources.list deb http://pipplware.pplware.pt/pipplware/dists/buster/main/binary / wget -O - http://pipplware.pplware.pt/pipplware...
by DarkElvenAngel
Wed Aug 21, 2019 2:43 am
Forum: Raspbian
Topic: Silent Raspbian Buster with Splash on piZeroW
Replies: 7
Views: 372

Re: Silent Raspbian Buster with Splash on piZeroW

Thanks for all your ideas. I will give making the file system read-only a go that might help. Unfortunately the network is a required thing, but I did use Raspi-Config to tell it not to wait for connection because I can pick up when it's up in the app. Just curious how you made out with everything,...
by DarkElvenAngel
Mon Aug 19, 2019 8:08 pm
Forum: C/C++
Topic: How to get PARTUUID
Replies: 5
Views: 907

Re: How to get PARTUUID

https://wiki.debian.org/udev does that. Thank you Roken, I'm aware that udev can do that I'm using it to trigger my program ACTION=="add", KERNEL=="sd?", SUBSYSTEM=="block", RUN+="/usr/bin/usb add %k auto" ACTION=="remove", KERNEL=="sd?", SUBSYSTEM=="block", RUN+="/usr/bin/usb remove %k" I wanted t...
by DarkElvenAngel
Sun Aug 18, 2019 8:01 pm
Forum: C/C++
Topic: How to get PARTUUID
Replies: 5
Views: 907

Re: How to get PARTUUID

What's wrong with the built-in blkid command? What does your new version do better? That's a good question, I'm not trying to reinvent that particular wheel. My goal is to be able to read each partitions filesystem type, label, UUID and PARTUUID. And with that information I can then generate the ap...
by DarkElvenAngel
Sun Aug 18, 2019 5:55 pm
Forum: C/C++
Topic: How to get PARTUUID
Replies: 5
Views: 907

How to get PARTUUID

Hello everyone, I'm working on a program to auto-mount USB drives when connected to the system. For the most part I have this working. My plan is to add a file /etc/xfstab it will be formatted exactly like fstab with the exception that it's sole function is for how to mount external USB media. The s...
by DarkElvenAngel
Fri Aug 16, 2019 7:55 pm
Forum: C/C++
Topic: Looking for advice with C++ learning
Replies: 29
Views: 5322

Re: Looking for advice with C++ learning

Okay so I have read a bunch of these materials and now I'm thinking... If I want to I can ignore some of C++ standard libraries and use the C libraries? I'm use to using printf and I honestly think that std::cout looks wrong to me (I want to format my strings) I tried this out and did a hello world ...
by DarkElvenAngel
Thu Aug 15, 2019 5:57 pm
Forum: C/C++
Topic: Looking for advice with C++ learning
Replies: 29
Views: 5322

Re: Looking for advice with C++ learning

These are useful links thanks I found the comic especially humorous as I work over ssh from my phone and write code in nano. (No really)
by DarkElvenAngel
Thu Aug 15, 2019 1:47 am
Forum: C/C++
Topic: Looking for advice with C++ learning
Replies: 29
Views: 5322

Re: Looking for advice with C++ learning

Thanks for the replies, Heater, I have heard those sentiments before in reference to C++. I'd still like to use the classes and some of the more advanced things C++ has to offer without going crazy. Deepo, it makes sense it takes years to learn this language even as heater points out the books avail...
by DarkElvenAngel
Wed Aug 14, 2019 2:59 pm
Forum: C/C++
Topic: Looking for advice with C++ learning
Replies: 29
Views: 5322

Looking for advice with C++ learning

Hello everyone, I want to expand my skills and learn more about C++, I feel that as a C programmer I now have the knowledge to take the step in. I tried many years ago with Visual C++ for Windows and it was overwhelming. I'm looking for resources that can help I watched a introduction video but foun...
by DarkElvenAngel
Wed Aug 14, 2019 2:13 am
Forum: General discussion
Topic: WiringPi to be deprecated?
Replies: 12
Views: 1482

Re: WiringPi to be deprecated?

I'd like to say that people like Gordon are special, and I felt so lucky like I won the lottery when he helped me with an issue I was having. I've read his source code and the comments are telling of his personality, it's a shameful that he was treated this way. So thank you Gordon for WiringPi, tha...
by DarkElvenAngel
Tue Aug 13, 2019 2:15 am
Forum: Raspbian
Topic: Silent Raspbian Buster with Splash on piZeroW
Replies: 7
Views: 372

Re: Silent Raspbian Buster with Splash on piZeroW

Here this post might be helpful https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=215317#p1335189 Just adjust the buffer size to suit your needs. I have built a bare metal image the boot time breakdown is about 1 to 2 seconds for the kernel to load and start the root partition then another 6 t...
by DarkElvenAngel
Mon Aug 12, 2019 4:33 pm
Forum: Raspbian
Topic: Silent Raspbian Buster with Splash on piZeroW
Replies: 7
Views: 372

Re: Silent Raspbian Buster with Splash on piZeroW

There a few ways to get a splash screen early and since you've done most of it already hiding all the boot messages. Option one is the earliest bootsplash you can get however it's easier to break when the system updates, that is to use an initramfs and place you splash code in there. Option two is t...
by DarkElvenAngel
Sun Aug 11, 2019 9:08 pm
Forum: C/C++
Topic: How to get filesystem type
Replies: 2
Views: 1987

Re: How to get filesystem type

There is no filesystem detection library or function because the mount command is reading /proc/filesystems and tries them all if you don't specify a filesystem. I'd suggest just using the mount command but if you want to do this without running that then use libmount. It isn't very friendly to use...
by DarkElvenAngel
Sun Aug 11, 2019 2:25 am
Forum: C/C++
Topic: How to get filesystem type
Replies: 2
Views: 1987

How to get filesystem type

Hello, I'm writing an auto mounter for USB drives and I need to determine the filesystem type as a C string so I can use the mount function. For completeness this is the function I plan to use. mount(2) #include <sys/mount.h> int mount(const char *source, const char *target, const char *filesystemty...
by DarkElvenAngel
Fri Aug 09, 2019 8:52 pm
Forum: Raspbian
Topic: Silent Raspbian Buster with Splash on piZeroW
Replies: 7
Views: 372

Re: Silent Raspbian Buster with Splash on piZeroW

I think I can help you with this but I need to ask some questions first. 1) do you want the same image on screen for the entire boot? And is this always on the same size screen and resolution? 2) This on is easy do you need to login to use your application or can it run as a service? 3) What languag...
by DarkElvenAngel
Fri Aug 09, 2019 4:38 am
Forum: Gaming
Topic: Retro System
Replies: 6
Views: 1482

Re: Retro System

CNCharger wrote:
Fri Aug 09, 2019 4:23 am
will arduino nano every work?
The Arduino micro would be a better choice
by DarkElvenAngel
Fri Aug 09, 2019 4:32 am
Forum: Gaming
Topic: Retro System
Replies: 6
Views: 1482

Re: Retro System

To do your controller look for an Arduino with a 32U4 microcontroller they have native usb and are easy to use as a HID.
by DarkElvenAngel
Thu Aug 01, 2019 3:54 am
Forum: Media centres
Topic: Remote Media Player
Replies: 1
Views: 1079

Re: Remote Media Player

I've never tried either of these but this seems to be what you are looking for https://www.binaryemotions.com/digital-signage/raspberry-digital-signage/ https://www.binaryemotions.com/digital-signage/raspberry-slideshow/ I've designed software for digital signage depending on your needs sometimes yo...
by DarkElvenAngel
Thu Aug 01, 2019 3:22 am
Forum: Media centres
Topic: Turn Raspberry Pi on/off with TV
Replies: 3
Views: 1486

Re: Turn Raspberry Pi on/off with TV

If the USB ports on the TV have power cut when the TV is turned of you may be able to cable the power from the USB via a level sifter to a Pi GPIO and when that changes you issue the power down command. That could work but if you want to turn the pi back on again you need to have some logic. There ...
by DarkElvenAngel
Wed Jul 24, 2019 8:02 pm
Forum: Bare metal, Assembly language
Topic: BuildRoot and device overlays
Replies: 0
Views: 677

BuildRoot and device overlays

Hello, I have a question I'm hoping someone knows the answer to. I've built buildroot for the RPI 0W and it works fine but when I copied the dtd and elf files from Raspbian my USB stopped working. I needed them to use a different memory split I'm just wondering if anyone else knows what's going on a...
by DarkElvenAngel
Wed Jul 17, 2019 5:26 pm
Forum: C/C++
Topic: How to code for a RTC
Replies: 0
Views: 351

How to code for a RTC

Hello Everyone, I'm looking to writing a system daemon that among other tasks will look after the system time and RTC. I'm working in a limited Buildroot environment and I'm just looking for examples of how to use rtc.h I want to be able to set system and RTC time as well as synchronize time between...
by DarkElvenAngel
Sat Jul 06, 2019 5:37 pm
Forum: Troubleshooting
Topic: Raylib and Buildroot segmentation fault
Replies: 2
Views: 96

Re: Raylib and Buildroot segmentation fault [solved]

I must say this one was a mystery it showed up and then it was gone.

I recompiled the source code and then it works no problem, so I'm making it solved.
by DarkElvenAngel
Thu Jul 04, 2019 8:11 pm
Forum: Troubleshooting
Topic: Raylib and Buildroot segmentation fault
Replies: 2
Views: 96

Re: Raylib and Buildroot segmentation fault

Silly mistake not enough GPU RAM setting gpu_mem=64 in config.txt Sorted that out but this still happens # /media/raylib\ 2.5/examples/core/core_basic_window INFO: Initializing raylib 2.5 INFO: UPSCALING: Required screen size: 800 x 450 -> Display size: 1920 x 1080 INFO: Display device initialized s...
by DarkElvenAngel
Thu Jul 04, 2019 2:46 pm
Forum: Networking and servers
Topic: Remote access from WLAN-Device (laptop) to Mobile-Internet-Device (Raspberry Pi)
Replies: 7
Views: 338

Re: Remote access from WLAN-Device (laptop) to Mobile-Internet-Device (Raspberry Pi)

Have you looked into piVPN and/or Dynamic DNS?

I have this set up on a Pi connected to the internet and from any where I have tried, mobile networks, public Wi-Fi I can access that pi and all nodes on its LAN as if I was connected directly.

Go to advanced search