Go to advanced search

by procount
Mon Dec 09, 2019 5:28 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 887
Views: 300381

Re: STICKY: PINN - An enhanced version of NOOBS.

Can you see arch4 in the list of OSes on the Main Menu, under the Minimal tab?
Can you select the checkbox?
by procount
Mon Dec 09, 2019 3:25 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 887
Views: 300381

Re: STICKY: PINN - An enhanced version of NOOBS.

See https://github.com/procount/pinn/blob/master/README_PINN.md#replace-individual-oses First select the OSes you want to install (Arch4) in the Main Menu. Then Select the OS you want to replace in the Maintenance menu (e.g. ProjectSpace1). Then click Replace and choose the new OS (Arch4) that you w...
by procount
Sun Dec 08, 2019 11:12 pm
Forum: Français
Topic: Utilisation écran Hyperpixel 4 avec raspberry 4B
Replies: 2
Views: 64

Re: Utilisation écran Hyperpixel 4 avec raspberry 4B

Oui, c'est compatible avec le modele 4b.
by procount
Sun Dec 08, 2019 6:40 pm
Forum: C/C++
Topic: Simple example of class and object
Replies: 14
Views: 300

Re: Simple example of class and object

Your definition of Class is quite good, but you have not described an Object well. In your example, a SWITCH is a class - a definition or blueprint of what properties/attributes a switch has and what methods/functions it has, i.e what it can do. In this case it represents ALL types of switches, or a...
by procount
Fri Dec 06, 2019 12:14 pm
Forum: Graphics, sound and multimedia
Topic: How to play 2 videos simultaneously? - Pi 4 ModelB
Replies: 8
Views: 205

Re: How to play 2 videos simultaneously? - Pi 4 ModelB

try

Code: Select all

omxplayer --display=2 Video1.mp4 &; omxplayer --display=7 Video2.mp4
or put them on separate lines:

Code: Select all

omxplayer --display=2 Video1.mp4 &
omxplayer --display=7 Video2.mp4 &
by procount
Thu Dec 05, 2019 11:02 pm
Forum: Python
Topic: when someone connects wifi turn on a gpio
Replies: 7
Views: 178

Re: when someone connects wifi turn on a gpio

It would help if you explained the purpose. For example: When my wife was out with our kids, she often turned her mobile into a hotspot so they could have some internet. But she often forgot to turn it off when she got home. You can imagine what happened when the kids started watching YouTube thinki...
by procount
Thu Dec 05, 2019 6:09 pm
Forum: Troubleshooting
Topic: Newest Noobs version does not boot my Raspberry 3 B
Replies: 2
Views: 54

Re: Newest Noobs version does not boot my Raspberry 3 B

256GB SD cards are formatted as exFAT by default and so are not bootable.
You need to format it as FAT32 first for use with NOOBS. (Not necessary if you are going to use Etcher).
by procount
Wed Dec 04, 2019 2:08 pm
Forum: Device Tree
Topic: My Hyperpixel Kernel driver problems - IRQ & Pi4
Replies: 0
Views: 101

My Hyperpixel Kernel driver problems - IRQ & Pi4

I've reached an impasse in creating my kernel module driver for the Pimoroni Hyperpixel4.0 touchscreen display (DPI18). Please see https://github.com/procount/pimhyp4 for the driver source code, DTS overlay and example config.txt file. the README.md file provides a bit more info. Mostly it works on ...
by procount
Tue Dec 03, 2019 12:41 pm
Forum: Beginners
Topic: Is there an elegant way to move from a 16GB SD card to a 200GB card?
Replies: 10
Views: 255

Re: Is there an elegant way to move from a 16GB SD card to a 200GB card?

No idea about macos, I'm afraid. I'd get a couple of USB SD-card readers (make sure they will support your 200GB card - SDXC I think?) and another small (16/32GB) SD card. Install Raspbian Desktop to your new card and use it's piclone to copy from your original 16GB card to your new 200GB card. It's...
by procount
Tue Dec 03, 2019 11:02 am
Forum: Beginners
Topic: Is there an elegant way to move from a 16GB SD card to a 200GB card?
Replies: 10
Views: 255

Re: Is there an elegant way to move from a 16GB SD card to a 200GB card?

Step 1 is to check your 200GB SD card is not a fake using h2testw or various other SD card testing tools before you go any further. Hopefully it's a good one, but it will save you a lot of grief to confirm this first. Once confirmed, the easiest way to copy your 16GB card is to use the SD Card Copie...
by procount
Mon Dec 02, 2019 6:46 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 887
Views: 300381

Re: STICKY: PINN - An enhanced version of NOOBS.

Maybe https://www.urtech.ca/2017/11/solved-de ... indows-10/ ?

Looking again at your image, you may have to nuke the first and last 34 sectors of the card. :Shrug:
by procount
Mon Dec 02, 2019 6:34 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 887
Views: 300381

Re: STICKY: PINN - An enhanced version of NOOBS.

It is aggressive enough for MBR cards. I don't think GPT cards were envisioned at the start of NOOBS. If I am correct in how to handle it, there is no need to nuke the whole card as it will just increase the wear. Just wipe the last 34 or so sectors at the end of the card. You can dd from PINN's rec...
by procount
Mon Dec 02, 2019 6:01 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 887
Views: 300381

Re: STICKY: PINN - An enhanced version of NOOBS.

Hmm. That's strange. Not seen that before.
If it was a PINN installed OS, then it would have been nice to know which one does this and ensure PINN can undo it in future.

For now I can only suggest wiping out the 2nd GPT header as above. Let us know how you get on.
by procount
Mon Dec 02, 2019 3:21 pm
Forum: Troubleshooting
Topic: No X11 (black screen) when using LCD display.
Replies: 15
Views: 301

Re: No X display (black screen) after boot.

Have you expanded the file system?
Lack of free disk space causes the desktop to fail in odd ways.
by procount
Mon Dec 02, 2019 10:40 am
Forum: Advanced users
Topic: RPI and Buildroot - QT APP on startup and Starting Network
Replies: 3
Views: 122

Re: RPI and Buildroot - QT APP on startup and Starting Network

Have you looked at the source code for NOOBS ? That's a QT4.8 application running on buildroot. Works on HDMI on LinuxFB Uses busybox, but only 1 init script. Wifi and ethernet are enabled from the QT app. It sounds very similar to your requirements, so it should be a good reference for you. 2-3 sec...
by procount
Mon Dec 02, 2019 10:13 am
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 887
Views: 300381

Re: STICKY: PINN - An enhanced version of NOOBS.

I have been exploring the PINN offerings by using PINN, and then wiping the card to start over, and install some other things Just a note to say that in NOOBS or PINN, it is not necessary to wipe the card to start over again if you want to install a new set of OSes with NOOBS/PINN. You just have to...
by procount
Mon Dec 02, 2019 1:13 am
Forum: General discussion
Topic: SD Card Capacity
Replies: 4
Views: 207

Re: SD Card Capacity

But this is one of the major use cases of NOOBS! Just boot up NOOBS, press the shift key repeatedly to get into the menu, and then reinstall Raspbian, like you did when you first got it. No need to delete all files. No need to re-partition or reformat the card. Simple. Of course, if you've already d...
by procount
Fri Nov 29, 2019 11:25 am
Forum: Raspbian
Topic: Raspbian kernel headers for 4.19.75+
Replies: 3
Views: 376

Re: Raspbian kernel headers for 4.19.75+

Chuck, I'm trying to do a similar thing using 4.19.75+, but my first approach was to follow the local building directions of https://www.raspberrypi.org/documentation/linux/kernel/building.md . Although the new kernel built, my USB keyboard and mouse were frozen when it got to the desktop, although ...
by procount
Thu Nov 28, 2019 12:51 pm
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

Cheers, That might work.
Many thanks for all your help
by procount
Thu Nov 28, 2019 12:26 pm
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

@PhilE - whilst I have your attention... Now that I've separated the drivers, is it possible to co-ordinate them? What I would like to do is have the LCD init driver initially disabled/dormant or whatever. Then, when the touchscreen driver's probe function detects the appropriate hardware and instal...
by procount
Thu Nov 28, 2019 12:05 pm
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

Yay! - it now works as a platform driver without reference to i2c.
by procount
Thu Nov 28, 2019 11:18 am
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

Oh ok. I had misunderstood the use of MODULE_DEVICE_TABLE. I thought it was registering it with the appropriate bus, but that's done elsewhere. My mindset is corrected ;) I think I'll continue to convert it to a platform device for now, and then look at the spi driver as a second step. It's all abou...
by procount
Thu Nov 28, 2019 10:54 am
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

Thanks. They look useful. The rtc-ds3232.c nicely shows the differences between the i2c, spi and platform interfaces, so it should be a great help. It has entries for: MODULE_DEVICE_TABLE(i2c, ds3232_id); MODULE_DEVICE_TABLE(of, ds3232_of_match); but I also expected one for MODULE_DEVICE_TABLE(spi, ...
by procount
Thu Nov 28, 2019 10:19 am
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

1. It's already written and works 2. I was looking at spi-gpio (?) and the kernel notes mentioned something about performance not being that good (but it's probably ok for this application anyway) 3. I don't yet have any idea how to write a driver (or DTS file) that layers on top of the spi-bitbang ...
by procount
Thu Nov 28, 2019 9:59 am
Forum: Device Tree
Topic: Separating a Device tree
Replies: 16
Views: 380

Re: Separating a Device tree

Originally this driver was multifunction and I put it in the input/touchscreen folder, because that was it's main purpose. But this part is now just going to initialise the Pimoroni Hyperpixel LCD controller (and then exit). So where should this driver fit into the linux driver folder hierarchy? vid...

Go to advanced search