Go to advanced search

by GeorgeIoak
Sat Jan 27, 2018 3:00 am
Forum: Troubleshooting
Topic: Starting a Service After Network is Online
Replies: 2
Views: 645

Re: Starting a Service After Network is Online

That's not an acceptable solution since the system may not always be connected.
by GeorgeIoak
Fri Jan 26, 2018 8:05 pm
Forum: Troubleshooting
Topic: Starting a Service After Network is Online
Replies: 2
Views: 645

Starting a Service After Network is Online

I'm running the latest Stretch on a Pi3 and I'm having trouble getting a script to run after the system is connected to the internet. Here's my service: # Put this file in /etc/systemd/system # then run sudo systemctl enable updatecheck.service [Unit] Description=SonanuTech Update Checker #Before= A...
by GeorgeIoak
Thu Jan 25, 2018 1:06 am
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

Clear as mud! Just kidding, I remember reading that somewhere along my research but I understand and agree that using serial0 is the way go. I just changed my config.txt to this: #Added 12/16/17 dtoverlay=gpio-poweroff,gpiopin=21,active_low="y" dtoverlay=pi3-miniuart-bt cpu_freq=250 #dtoverlay=pi3-d...
by GeorgeIoak
Sat Jan 20, 2018 7:52 pm
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

Hi Dave, Thanks, that does help! I should have thought of going back to the source of the information rather than just reply on internet searches. I just checked my /lib/systemd/system/hciuart.service file and I only see this: [Unit] Description=Configure Bluetooth Modems connected by UART Condition...
by GeorgeIoak
Fri Jan 19, 2018 1:38 am
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

I found this site which adds the core_freq=250 option:

Code: Select all

dtoverlay=pi3-miniuart-bt
core_freq=250
I wonder if that's what I need to remove the error?
by GeorgeIoak
Fri Jan 19, 2018 12:56 am
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

I just tried dtoverlay=pi3-disable-bt and that does appear to remove the message but of course this completely disables Bluetooth, right? In my case, this time, I don't need BT but I might in the future so are there any tricks to using the hardware UART for something else and still having BT?
by GeorgeIoak
Thu Jan 18, 2018 4:39 pm
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

If I comment out dtoverlay=pi3-miniuart-bt I still see that error but then that also breaks my serial port. I captured the complete kernel message with loglevel=1, here Any ideas what is going on and could be causing this "temporary" error (temporary because the UART does work) bcm2835-aux-uart 3f21...
by GeorgeIoak
Wed Jan 17, 2018 2:54 pm
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

Thanks, I had tried changing the loglevel but perhaps that was before I was at this point. I am using the serial port to communicate with a device so added this overlay dtoverlay=pi3-miniuart-bt Do you think the problem is before this overlay is applied. Once the system boots the UART is working as ...
by GeorgeIoak
Tue Jan 16, 2018 10:44 pm
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Re: Removing Kernel Warning

Just checking in since it's been a while and nobody has had an answer for this. I would love even a clue as to what I can do to further research this.
by GeorgeIoak
Fri Jan 12, 2018 12:44 am
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1284

Removing Kernel Warning

I'm trying to eliminate all boot messages and I've succeeded except for 1 last message: bcm2835-aux-uart 3f215040.serial: could not get clk: -517 I understand that this is only really a warning but I can't seem to stop it from displaying or having it not occur in the first place. What I have is a RP...
by GeorgeIoak
Sun Jan 07, 2018 12:11 am
Forum: Device Tree
Topic: Confirmation of gpio-poweroff Behavior
Replies: 18
Views: 5853

Re: Confirmation of gpio-poweroff Behavior

Hi Phil, Well I've got a custom board designed, built, and attached to the Pi so I need to work with these 2 GPIO pins (20 and 21). It looks like in your first capture without the dt-blob GPIO 21 doesn't go low until about 10 seconds after you toggle GPIO 20 low, is that correct? There are seems to ...
by GeorgeIoak
Wed Jan 03, 2018 8:28 pm
Forum: Device Tree
Topic: Confirmation of gpio-poweroff Behavior
Replies: 18
Views: 5853

Re: Confirmation of gpio-poweroff Behavior

GPIO21 Power Down when using "blob"
GPIO21_inDTS_PowerDwn.PNG
GPIO21 Power Down (DTS)
GPIO21_inDTS_PowerDwn.PNG (6.09 KiB) Viewed 5851 times
So why does GPIO21 not stay low?
by GeorgeIoak
Wed Jan 03, 2018 8:27 pm
Forum: Device Tree
Topic: Confirmation of gpio-poweroff Behavior
Replies: 18
Views: 5853

Confirmation of gpio-poweroff Behavior

I've been running some experiments and wanted to confirm the behavior I'm seeing. I'm running the latest Stretch and firmware has been updated. In /boot/config.txt I have: dtoverlay=gpio-poweroff,gpiopin=21,active_low="y" dtoverlay=gpio-shutdown,gpio_pin=20 This seems to work properly but the delay ...
by GeorgeIoak
Thu Nov 30, 2017 10:57 pm
Forum: Device Tree
Topic: Polarity in dt-blob.bin
Replies: 5
Views: 1207

Re: Polarity in dt-blob.bin

Thanks, that link helps. It doesn't appear that the guide for the BCM2837 has been released, has it? I ask because the reference blob ( https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts#L1157 ) shows GPIOs 128-135 and if I'm going to design for the compute module I believe I woul...
by GeorgeIoak
Thu Nov 30, 2017 5:18 pm
Forum: Device Tree
Topic: Polarity in dt-blob.bin
Replies: 5
Views: 1207

Re: Polarity in dt-blob.bin

Hi and thanks for your response. Sorry if this post should have been in another category but I thought it was best suited here. I have created a custom board that is basically a Hat for the Pi3. This is for the first prototypes and later I plan on migrating this to the compute module. It sounds like...
by GeorgeIoak
Thu Nov 30, 2017 12:44 am
Forum: Device Tree
Topic: Polarity in dt-blob.bin
Replies: 5
Views: 1207

Polarity in dt-blob.bin

I'm working on creating a dt-blob and reading through https://www.raspberrypi.org/documentation/configuration/pin-configuration.md and other references. I understand active high and active low when you're interfacing with functions on microcontrollers but I'm wondering how it's used it's used on the...
by GeorgeIoak
Mon May 15, 2017 9:49 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

I'm plugging away with this but so far my experiments haven't uncovered the golden key. Looking into syslog I see some curious lines: May 15 14:10:53 powerBxPi ntpd[767]: 2600:3c00::f03c:91ff:fe91:5dd8 interface 2601:204:c500:3d:1bbf:20d2:95f2:2b69 -> 2601:204:c500:3d:8d79:56d0:dd1f:a8b4 May 15 14:1...
by GeorgeIoak
Sat May 13, 2017 10:33 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

that didn't work but I did a fresh reboot on the Pi and saw this: $ ps aux | grep bt- root 957 0.3 0.8 11904 8300 ? Ss 15:28 0:00 python2 /usr/local/bin/bt-pan.py server pan0 pi 1475 0.0 0.2 4280 2004 pts/0 S+ 15:30 0:00 grep --color=auto bt- The iPad didn't see the Pi so I issued $ sudo service blu...
by GeorgeIoak
Sat May 13, 2017 5:01 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

So I rebooted and then created the services again as well as verify that they were running [/ $ systemctl list-unit-files | grep enabled cups.path enabled [email protected].service enabled avahi-daemon.service enabled blueagent5.service enabled bluetooth.service enabled bt-pan.service enabled cron.service ...
by GeorgeIoak
Sat May 13, 2017 4:25 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

I did a soft reset on the iPad (held the power button and home key until it rebooted) I rebooted the Pi and confirmed that bnep was running. At this point my Samsung Galaxy phone could see the Pi but the iPad did not I also confirmed that the bridging was active: $ ifconfig eth0 Link encap:Ethernet...
by GeorgeIoak
Fri May 12, 2017 7:27 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

What my end goal is to have this automated so all someone has to do is walk up, scan for BT devices and connect to the Pi. It seems I can get this to work if I issue commands on the Pi but I have to know what device I want to trust and connect to. Maybe I could add a button to the Pi that then scans...
by GeorgeIoak
Thu May 11, 2017 7:07 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

OK, well I keep digging into this and perhaps someone else will come along. I do have the Pi set as constantly discoverable but it's perhaps the trusting part that's holding me up. It's been a long time since I've messed with bluetoothctl and I too are far from an expert but I'll plug along and see ...
by GeorgeIoak
Thu May 11, 2017 3:32 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

It seems as though I have a few issues happening so hopefully you can shed some insight. The Bluetooth connection between the RPi and the device requires the RPi to confirm the connection. I can see the message pop up on the desktop on the RPi and I have clicked on it but I'm looking for a way to ha...
by GeorgeIoak
Thu May 11, 2017 12:54 am
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

Seems like I'm having trouble getting this going. It was working before and then I went on the iPad and told it to forget the RPi Bluetooth. After that the iPad wouldn't list the RPi under Bluetooth and I had to go to the desktop on the RPi and manually connect to the iPad. After I did that I was ab...
by GeorgeIoak
Wed May 10, 2017 7:58 pm
Forum: Troubleshooting
Topic: Pi 3 and Bluetooth PAN
Replies: 15
Views: 7653

Re: Pi 3 and Bluetooth PAN

Hi and thanks. I had found some examples of starting it with systemd service but it didn't work for me so I'm sure I did something wrong. Can you direct me to a good reference on how to create the service for these?

Go to advanced search