Go to advanced search

by incognitum
Mon Nov 19, 2018 12:54 pm
Forum: General discussion
Topic: Where's the pigpio tutorial?
Replies: 6
Views: 3795

Re: Where's the pigpio tutorial?

You do not state which programming language you plan to use it with.
If Python, you can also start by using it indirectly through the more beginner friendly gpiozero abstraction.

https://gpiozero.readthedocs.io/en/stab ... _gpio.html
by incognitum
Sun Nov 18, 2018 3:05 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1500

Re: Update broke boot

After the update, I rebooted, and bam, it can't find rootfs.
Does it actually says it cannot find it with an error message?
As with rootwait it is supposed to just continue waiting.

Double check there aren't duplicate PARTUUIDs on any of your drives.
by incognitum
Sun Nov 18, 2018 2:27 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1500

Re: Update broke boot

- The kernel itself only understands PARTUUID (UUID requires a helper initramfs).
- You do have rootwait in cmdline.txt? Otherwise it errors out if the device is not available instantly on boot.
by incognitum
Sun Nov 18, 2018 12:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO state-change notification (pigpio?)
Replies: 2
Views: 1568

Re: GPIO state-change notification (pigpio?)

Can anybody tell me how to read out GPIO state-changes asynchronously (preferably in a shell script)? I'm trying to detect short button-pushes from inside a relatively slow loop, and I'd rather avoid creating a separate process for GPIO readout if I can. It seems like pigpio can do this via notific...
by incognitum
Fri Nov 16, 2018 11:23 am
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 3 Model A+ details
Replies: 23
Views: 5513

Re: Raspberry Pi 3 Model A+ details

gordon77 wrote:
Thu Nov 15, 2018 7:59 pm
Does this mean you could use a wireless keyboard and mouse without using the usb port for the dongle?
Technically, you could if it is Bluetooth.
The cheaper wireless keyboards tend to use their own protocol instead though (and generally speaking are a big fat security risk)
by incognitum
Tue Nov 13, 2018 1:53 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Pi Zero GPIO Expander not detected by usbbootgui running in VirtualBox on iMac
Replies: 6
Views: 2694

Re: Pi Zero GPIO Expander not detected by usbbootgui running in VirtualBox on iMac

- Once VirtualBox was running Raspbian I had to go to Devices | USB and select ‘Raspberry Pi Zero – GPIO expansion board’ That normally should be selected automatically if you created a USB filter for vendor ID f055 Selecting "Raspberry Pi Zero - GPIO expansion board" from the menu will indeed also...
by incognitum
Mon Nov 12, 2018 2:26 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Pi Zero GPIO Expander not detected by usbbootgui running in VirtualBox on iMac
Replies: 6
Views: 2694

Re: Pi Zero GPIO Expander not detected by usbbootgui running in VirtualBox on iMac

There do is an alternative, but it costs you a SD card. - Go to: https://github.com/raspberrypi/usbbootgui - Press the green "clone or download" button -> "download ZIP" - Open the zip, go to the subfolder gpioexpander/output and copy what is inside that, to an empty FAT formatted SD card. - Put tha...
by incognitum
Mon Nov 12, 2018 12:44 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Pi Zero GPIO Expander not detected by usbbootgui running in VirtualBox on iMac
Replies: 6
Views: 2694

Re: Pi Zero GPIO Expander not detected by usbbootgui running in VirtualBox on iMac

Is unlikely to work under Mac OS X. The Pi Zero bootcode has a bug causing Mac OS X to fail to enumerate the device. If the system cannot see the device, it will also be unable to pass it through to a virtual machine. If you also have a Windows or Linux computer that do should work, provided you con...
by incognitum
Fri Nov 09, 2018 9:58 pm
Forum: General discussion
Topic: Set IP in boot sector?
Replies: 13
Views: 1270

Re: Set IP in boot sector?

Does it need to be IPv4?
IPv6 link local addresses based on MAC address can also work for some use-cases...
by incognitum
Thu Nov 08, 2018 8:48 pm
Forum: Networking and servers
Topic: network boot
Replies: 9
Views: 920

Re: network boot

Nov 8 17:31:25 raspberrypi dnsmasq-dhcp[1050]: 653460281 tags: eth0 Try if it works better if you add to /etc/dnsmasq.conf dhcp-mac=set:client_is_a_pi,B8:27:EB:*:*:* dhcp-reply-delay=tag:client_is_a_pi,2 (Those lines should normally already be there by default if using Raspbian as OS, but think you...
by incognitum
Wed Nov 07, 2018 9:30 pm
Forum: Raspbian
Topic: Berryboot Main Menu Missing, Boots Directly to OS
Replies: 2
Views: 485

Re: Berryboot Main Menu Missing, Boots Directly to OS

May need to mount /boot before it is accessible. mount /dev/mmcblk0p1 /boot - Check if bootmenutimeout=10 is in /boot/cmdline.txt (although even if you accidently set it 0 the menu should at least appear for a second, instead of not at all). I believe it may have been around the time I added write-t...
by incognitum
Wed Nov 07, 2018 5:07 pm
Forum: Nederlands
Topic: Domein en Pi koppeling
Replies: 5
Views: 3742

Re: Domein en Pi koppeling

Daarnaast zeg je dus om ergens dus een lokale webserver te draaien om zo de eventuele subdomeinen onder te brengen? Hoe zit dit precies in zijn werk? Heb bijvoorbeeld een Synology NAS thuis draaien. Is hier iets mee te doen? Of wordt dat te ingewikkeld? Je kan de webserver software op je Raspberry ...
by incognitum
Tue Nov 06, 2018 3:35 pm
Forum: Nederlands
Topic: Domein en Pi koppeling
Replies: 5
Views: 3742

Re: Domein en Pi koppeling

Dus op de PI heb ik bijvoorbeeld unifi draaien en wil dat hij dus IP:8080 het domein laat zien met unifi.domein.nl? en niet veranderd in het publieke IP adres:8080 Een subdomein rechtstreeks aan een IP-adres koppelen is mogelijk door bij je hosting provider een DNS record aan te maken. unifi.domein...
by incognitum
Tue Nov 06, 2018 3:17 pm
Forum: Networking and servers
Topic: network boot
Replies: 9
Views: 920

Re: network boot

SoC isn't the problem as TS mentions having a Pi 3 in his Portugese thread. but I can not get the message: raspberrypi dnsmasq-tftp [1903]: file /tftpboot/bootcode.bin not found" with the command: "tail -F /var/log/daemon.log" in this part of the tutorial! What do you have in the log instead? E.g. i...
by incognitum
Tue Nov 06, 2018 2:36 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: PISERVER - On Windows 10 Hyper-V VM - Insufficient disk space
Replies: 5
Views: 5138

Re: PISERVER - On Windows 10 Hyper-V VM - Insufficient disk space

I have been able to complete the installation but the Pi server is not booting. Do you mean that you installed "Raspberry Pi desktop for PC" on a computer, and that computer is not booting? That does not sound piserver specific. You may want to start a new thread for that. Or is the computer playin...
by incognitum
Tue Oct 30, 2018 4:11 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: PiServer SSH for client
Replies: 7
Views: 3238

Re: PiServer SSH for client

In addition to enabling the systemd service (in chroot: systemctl enable ssh), make sure there are SSH host keys (in chroot: ssh-keygen -A )

Go to advanced search