Go to advanced search

by d_older
Sat Sep 14, 2019 9:08 pm
Forum: Troubleshooting
Topic: Failed to start Backend server for 1-wire control
Replies: 3
Views: 82

Re: Failed to start Backend server for 1-wire control

Hi Mick, I did this a couple of nights ago on a ZeroW with Buster and got the same/very similar results (for a DS9490 USB controller). After going through the "systemctl enable / start / stop/ disable" options I couldn't find anything obviously wrong. I also couldn't find any solutions by searching....
by d_older
Sat Jun 29, 2019 8:56 am
Forum: Troubleshooting
Topic: Backspace key on official keyboard not working properly?
Replies: 5
Views: 791

Re: Backspace key on official keyboard not working properly?

Hi Dud, Just tried my UK Pi keyboard (Bus 001 Device 004: ID 04d9:0006 Holtek Semiconductor, Inc. ) on both my Pi4 and Debian i5 machine and a "tap" on the Backspace key works as expected. (Num Lock on or off - just in case it had any effect) The usual cause of "weird" issues is the power supply - I...
by d_older
Sat Jun 22, 2019 11:12 am
Forum: Networking and servers
Topic: Issue with connecting GPS module to raspberry pi 3b+
Replies: 4
Views: 455

Re: Issue with connecting GPS module to raspberry pi 3b+

Hi dipayan,

You should not need an additional USB to serial device, looking at the links there is a USB to serial chip (CP2102) built in to the module. I would just connect it with a micro USB lead and check that a ttyUSBn device is created.

Hope this helps,

Dave
by d_older
Sat Jun 22, 2019 9:00 am
Forum: Networking and servers
Topic: Issue with connecting GPS module to raspberry pi 3b+
Replies: 4
Views: 455

Re: Issue with connecting GPS module to raspberry pi 3b+

HI dipayan, Looking at https://wiki.52pi.com/index.php/USB-Port-GPS_Module_SKU:EZ-0048 and https://www.robotshop.com/uk/us-gps-l80-39-gps-module-raspberry-pi.html They imply that the module as a whole requires a 5V supply and it is NOT clear that it will work from 3.3V on the Vcc pin. Also it is not...
by d_older
Wed May 22, 2019 8:05 pm
Forum: General discussion
Topic: Raspberry Pi 3 to 12V Induction sensor
Replies: 9
Views: 459

Re: Raspberry Pi 3 to 12V Induction sensor

Hi gxmark,

It doesn't look like the ground of the battery powered circuit is connected to the Pi's ground. Without this, the pi's input is just floating / acting as an antenna.

Hope this helps

Dave
by d_older
Sat May 04, 2019 11:41 am
Forum: General discussion
Topic: Is this an official power supply?
Replies: 20
Views: 1128

Re: Is this an official power supply?

Hi echmain, Just for info, when I was in the Cambridge Raspberry Pi shop I noticed they stocked a second type of official power supply in addition to the one shown by HawaiianPi, described as a non-interchange head version. That, obviously, had UK pins and hence had a vertical orientation. Unfortuna...
by d_older
Sun Apr 21, 2019 9:24 am
Forum: Beginners
Topic: Selecting text automatically copies it - how to stop
Replies: 7
Views: 296

Re: Selecting text automatically copies it - how to stop

Hi seanspotatobusiness ,

The Leafpad text editor uses the ctrl-C ctrl-V method including "over"paste - note however middle button paste could bring things selected outside leafpad.

Dave
by d_older
Sat Apr 20, 2019 10:53 pm
Forum: C/C++
Topic: Making sense of ADS-B checksums & bitfields
Replies: 52
Views: 5251

Re: Making sense of ADS-B checksums & bitfields

Hi ab1jx, I always use a desktop to view the output remotely - so it is doing all the javascript processing. I might get chance to set up a 3B in place of the zero with everything else the same and see how that affects the stats (although this is probably not the best weekend for trying to compare a...
by d_older
Wed Apr 17, 2019 7:14 am
Forum: C/C++
Topic: Making sense of ADS-B checksums & bitfields
Replies: 52
Views: 5251

Re: Making sense of ADS-B checksums & bitfields

Hi ab1jx, Oops :oops: I've just had a look back at my installation notes and I'm NOT using the internal webserver but am using lighttpd on the pi. The dump1090 version I used was git clone https://github.com/tedsluis/dump1090.git as the source and built a deb package from that. the lighttpd modules ...
by d_older
Tue Apr 16, 2019 10:44 pm
Forum: C/C++
Topic: Making sense of ADS-B checksums & bitfields
Replies: 52
Views: 5251

Re: Making sense of ADS-B checksums & bitfields

Hi ab1jx,

If you ever do find a way of getting a system to cache the map tiles at the viewing end I would be most interested - a truly portable/isolated visual ADSB receiving station :-)

Dave
by d_older
Tue Apr 16, 2019 9:37 pm
Forum: C/C++
Topic: Making sense of ADS-B checksums & bitfields
Replies: 52
Views: 5251

Re: Making sense of ADS-B checksums & bitfields

Hi ab1jx , I guess running Apache will up the load when active - I must say that I just connect to dump1090_mutability's internal server (after setting openstreetmap as the map tile source- still get google artifacts though!) at ip/dump1090/gmap.html and let my desktop do the heavy lifting. I've not...
by d_older
Fri Apr 12, 2019 4:46 pm
Forum: C/C++
Topic: Making sense of ADS-B checksums & bitfields
Replies: 52
Views: 5251

Re: Making sense of ADS-B checksums & bitfields

HI abi1jx I wouldn't worry too much about the loading on a Pi-zero - this is mine currently:- top - 16:31:24 up 156 days, 21:18, 1 user, load average: 0.50, 0.54, 0.48 Tasks: 65 total, 1 running, 40 sleeping, 0 stopped, 0 zombie %Cpu(s): 27.7 us, 7.4 sy, 0.0 ni, 63.9 id, 0.0 wa, 0.0 hi, 1.0 si, 0.0 ...
by d_older
Sat Mar 09, 2019 9:09 pm
Forum: General discussion
Topic: Need to script ftp transfers from RPi to public webserver
Replies: 14
Views: 490

Re: Need to script ftp transfers from RPi to public webserver

Hi Bosse_B re. ~$ lftp -e "pwd; bye" sftp:/xxxxxxx.com@ftpcluster.xxx.xx lftp: sftp: Name or service not known Does your username really end with .com? You do need to use the word "put" and a filename and you do need two slashes after "sftp:" e.g. e.g. lftp -e "put filename.ext; bye" sftp://username...
by d_older
Sat Mar 09, 2019 8:08 pm
Forum: General discussion
Topic: Need to script ftp transfers from RPi to public webserver
Replies: 14
Views: 490

Re: Need to script ftp transfers from RPi to public webserver

Hi Bosse_B, If you can't use authorized_keys and you're happy to have your sftp username (but not password) in the history buffer you could use lftp and .netrc create a .netrc ( note the dot) in the user's home directory file with the following contents:- machine ftp.foo.bar login username password ...
by d_older
Sat Feb 09, 2019 3:01 pm
Forum: Beginners
Topic: USB-HDD - NAS-attempt - Device or resource busy
Replies: 11
Views: 736

Re: USB-HDD - NAS-attempt - Device or resource busy

Hi Nebelhom,

The issue with the mounted / not mounted disks is that you tried to u(n)mount /dev/sda not /dev/sda1.
so here I see them

Code: Select all

:~ $ sudo umount /dev/sda
umount: /dev/sda: not mounted
Hope this helps,
Dave
by d_older
Fri Dec 28, 2018 10:38 pm
Forum: Other projects
Topic: Read and write access to USB hard drive (NTFS)
Replies: 4
Views: 396

Re: Read and write access to USB hard drive (NTFS)

Hi FairlyLogical,

It's probably the "ro" - read-only- switch in the fstab entry

UUID=4E46A56346A54C80 /disks/Multimedia ntfs-3g defaults,auto,ro,nofail 0 1

Hope this helps,
Dave
by d_older
Sun Sep 30, 2018 10:45 pm
Forum: Graphics, sound and multimedia
Topic: Change cover of mp3 files
Replies: 6
Views: 1503

Re: Change cover of mp3 files

Hi WillBoxOwO,

I've used EasyTag on desktop Debian and it appears to run OK on a Pi3 (run remotely - X forwarding)

sudo apt install easytag libcanberra-gtk3-module

(the libcanberra-gtk3-module to remove nusiance warnings if started from command line/remotely)

Hope this helps,
Dave
by d_older
Wed Aug 29, 2018 7:14 pm
Forum: Beginners
Topic: cli sd card utility to check the media
Replies: 6
Views: 388

Re: cli sd card utility to check the media

Hi PhatFil, Just a note on the use of the run header - it does not perform a "safe" restart - just a restart ( via a processor reset) - the chances of SD card corruption are the same as pulling the power. the command fsck.ext4 checks ( and can attempt a repair on) an ext4 (main/root) file system and...
by d_older
Thu Jul 12, 2018 9:33 pm
Forum: Automation, sensing and robotics
Topic: Help with Code: If button not pressed after certain time send alert.
Replies: 9
Views: 792

Re: Help with Code: If button not pressed after certain time send alert.

Hi Flawl3ssSWE, If you are going to call this from cron at the desired time and simply want the button state at that time this modification should do it:- #!/usr/bin/env python2.7 import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(23, GPIO.IN, pull_up_down=GPIO.PUD_UP) try: print ...
by d_older
Sun Jul 08, 2018 9:27 am
Forum: Beginners
Topic: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)
Replies: 20
Views: 1308

Re: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)

PS. The modified card won't boot until is is overwritten ( with different UUID selected) or /etc/fstab on /dev/sda2 is modified with the new PARTUUID numbers - the tool does this automatically during the copy.

Dave
by d_older
Sun Jul 08, 2018 9:22 am
Forum: Beginners
Topic: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)
Replies: 20
Views: 1308

Re: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)

Hi dsyleixa123, Yes - the UUID checkbox only works when creating a new copy. (If always used the card should always work from then on) You can change the PTUUID ( and hence the PARTUUIDs of the partitions) of the target card on the Pi. ( I had to do this when finding out what was causing your issue)...
by d_older
Sun Jul 08, 2018 8:46 am
Forum: Beginners
Topic: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)
Replies: 20
Views: 1308

Re: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)

Hi dsyleixa123 , Starting from the state where you can select the target card - you've stated that reformatting the target SD card with windows SDFormater does this. Check the card state on the pi with sudo blkid There should be one partition on the target card, /dev/sda1 with a random PARTUUID endi...
by d_older
Sat Jul 07, 2018 9:50 pm
Forum: Beginners
Topic: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)
Replies: 20
Views: 1308

Re: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)

Hi dsyleixa123, I believe you have to select the "New Partition UUIDs" option if you ever want to use the target card on a system running from the source of the copy. From your post sudo blkid /dev/mmcblk0p1: LABEL="boot" UUID="6228-7918" TYPE="vfat" PARTUUID="20cf3252-01" /dev/mmcblk0p2: LABEL="roo...
by d_older
Sat Jul 07, 2018 8:26 pm
Forum: Beginners
Topic: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)
Replies: 20
Views: 1308

Re: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)

Hi dsyleixa123, Yes this is from Menu - Accessories - SD Card Copier, on the desktop ( on the pi itself rather than a remote X session it looks like this 2018-07-07-211444_468x206_scrot.png ) what does sudo blkid return now - when you cannot select it as a target? After that format the copy card in ...
by d_older
Sat Jul 07, 2018 7:17 pm
Forum: Beginners
Topic: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)
Replies: 20
Views: 1308

Re: bootable Stretch SD not detected in USB-SD reader (running Stretch OS)

Hi dsyleixa123, I have this selection:- Screenshot from 2018-07-07 20-12-32.png When I select that box and perform the copy - afterwards I get sudu blkid /dev/mmcblk0p1: LABEL="boot" UUID="13C6-2676" TYPE="vfat" PARTUUID="967bb1f3-01" /dev/mmcblk0p2: UUID="037616fd-28fe-4652-8248-2042ea30b929" TYPE=...

Go to advanced search