--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/eeee7e8d-da12-49a7-8b58-d561ca718b1dn%40googlegroups.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/03c1da81-d09f-4d2f-adb0-e23b66464dfdn%40googlegroups.com.
Am 11.11.2022 um 20:17 schrieb RandyR <randy...@gmail.com>:
I wonder if you are having the same issue that Dirk mentioned. See this post. I don't know if or how he fixed it.
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/dea6c3d0-288f-44c9-bb44-8662d14fab02n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/ED3B120D-C36B-45F9-B000-F84A09FD31F0%40googlemail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/152a2d0a-981b-4175-ba59-03567caf4a4dn%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/dd01f2c8-1e8d-482b-aaa3-3990096bc80en%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/2ec11f55-2525-447e-88f4-903aafccb07cn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/054c8d2d-1592-4c5d-a08b-d3f41d765eebn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/c53e8e8c-56e6-44f3-a2b0-b02384035ff0n%40googlegroups.com.
On Nov 17, 2022, at 3:00 PM, RandyR <randy...@gmail.com> wrote:
/var/run/wpa_supplicant doesn't exist until there is a connection, which you currently don't have.
--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/35f018ca-a44d-4f37-b528-e7156ebabb96n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/F4077B83-9DC0-4A41-9F2D-94FC043FF4F7%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/CAE5Wdut90AMv34bNQ%2B98xDFv5mytRaX-4t-C2kfJdkrEx3%2BnUQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/35404EF3-871A-4C1B-974E-0FACBB5016E9%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/CAE5WdusikHjm%3DeYu_ocH2DMv_k%3D7Gi%2BgTU6zWKSWYtetMb-6Ng%40mail.gmail.com.
Hi Randy,
To get your Revelation II Bluetooth ID do the following:
Power on the Revelation II in normal mode
Press Up arrow once to Options
Press right arrow to turn Options to Yes
Press Up arrow 9 times to Bluetooth Status
Note your BX- number (mine is 000666491DCB)
Press the Clear and Enter Buttons simultaneously to put your REV II to sleep
Press the Up arrow and Enter Buttons simultaneously to enter BT Mode
Power on your RPi/DGT Pi
SSH into your RPi/DGT Pi using it’s IP Address to add some commands
Type bluetoothctl and hit Enter
Type power on and hit Enter
Type agent on and hit Enter
Type default agent and hit Enter
Type scan on and hit Enter
Type pair 00:06:66:xx:xx:xx where xx’s is your BT Id from earlier, in pairs separated by colons
i.e. pair 00:06:66:49:1D:CB
PIN is 1234
Type trust 00:06:66:xx:xx:xx where xx’s is your BT Id from earlier, in pairs separated by colons
Type exit and hit Enter
Type sudo nano /etc/systemd/system/picochess.service
Alter sleep10 to sleep12 on line 6 and save via CTRL-X and Y
Type sudo reboot and hit Enter to Reboot
Your RPi/DGT Pi should automatically connect to your Revelation II from now on
Cheers,
Al.
--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/6355b9b7-31ed-45e2-892d-9460ac10ac3cn%40googlegroups.com.
Type sudo nano /etc/systemd/system/picochess.service
Alter sleep10 to sleep12 on line 6 and save via CTRL-X and Y
Type sudo reboot and hit Enter to Reboot
Your RPi/DGT Pi should automatically connect to your Revelation II from now on
Cheers,
Al.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/efce1f43-387d-41db-b8ab-68ca58dfba8fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/3cf2dc59-7d1f-46fc-853a-456003e81bccn%40googlegroups.com.
On Nov 19, 2022, at 8:47 AM, Randy Reade <randy...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/CAE5WdusL_BUC%2BRTyAGc_5qh7aWSFgQRRHgR%3Dp2y-xF-bhxVtCg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/872E9CD4-DA37-4E74-92F9-6BD56F2FA2F8%40gmail.com.
Hi Paul,Thanks for the feedback. Those errors are normal. The ones about the SAP server are due to the Pi not having a SIM card. The last one is under investigation as far as I know. I'll supress the SAP ones in a future update but you can do it yourself by following these steps (from a terminal):sudo nano /etc/systemd/system/bluetooth.target.wants/bluetooth.serviceAdd --noplugin=sap to the ExecStart line (Line 9):ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sapSave and exit:Ctrl-o, y, Ctrl-xRestart Bluetooth:sudo systemctl daemon-reload
sudo service bluetooth restartOr just reboot.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/e5f32238-4578-4924-9e3b-afc56a8f027dn%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/0e8c6330-1660-41c0-9099-1482991d1ca9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/37a89f13-7dad-44b1-8376-aba9eada334dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/37a89f13-7dad-44b1-8376-aba9eada334dn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/915b286b-6218-4fe7-869c-94f68262c3fcn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/2ead0f06-46fb-417e-8470-22c9add67857n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/ae036270-03eb-40af-9d28-2d91e0f2ff47n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/d53fb6f5-fb4e-4aa8-a01c-1826f811a3f7n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/71fdbbf3-625e-4994-b737-b23eaa2c33e3n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Mg9czzjmBVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/CAE5WdusJCzNfi1Atrp8n6AGCnUp%3Dg_J6BxN3WemzWUR_xiNLBA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/7648C236-7753-4737-A3DC-A18295709262%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/7648C236-7753-4737-A3DC-A18295709262%40gmail.com.
I saw the Bluetooth connection issue yesterday where PicoChess won't connect to the board on boot.
It appears that it's caused by the kernel RFCOMM TTY Layer not getting initialized before PicoChess starts. In this case, PicoChess will scan and pair with the board, but the 'rfcomm connect 123 <mac addr>' command will fail. When rfcomm fails. the device gets removed from the picochess device list and, since the scan is still running, the board never shows up again. To get bluetoothctl to see it again, turn the board OFF for 20 seconds then back ON. While the board is OFF, bluetoothctl will delete (DEL) the device from its memory and when you turn it back ON, it will again be picked up as a new device and PicoChess should connect (assuming the RFCOMM TTY layer is now initialized). It takes 15 seconds or so for bluetoothctl to delete the device.
It's notable that this occurred after the bluetooth.target was reached. My images have the picochess.service only waiting for the multi-user target.
I'll try to figure out some code to make this automatic.
Here are the relevant entries from journalctl:
Nov 25 13:52:18 picochess kernel: Booting Linux on physical CPU 0x0
Nov 25 13:52:23 picochess systemd[1]: Starting Configure Bluetooth Modems connected by UART...
Nov 25 13:52:29 picochess kernel: Bluetooth: Core ver 2.22
Nov 25 13:52:29 picochess kernel: NET: Registered PF_BLUETOOTH protocol family
Nov 25 13:52:29 picochess kernel: Bluetooth: HCI device and connection manager initialized
Nov 25 13:52:29 picochess kernel: Bluetooth: HCI socket layer initialized
Nov 25 13:52:29 picochess kernel: Bluetooth: L2CAP socket layer initialized
Nov 25 13:52:29 picochess kernel: Bluetooth: SCO socket layer initialized
Nov 25 13:52:29 picochess kernel: Bluetooth: HCI UART driver ver 2.3
Nov 25 13:52:29 picochess kernel: Bluetooth: HCI UART protocol H4 registered
Nov 25 13:52:29 picochess kernel: Bluetooth: HCI UART protocol Three-wire (H5) registered
Nov 25 13:52:29 picochess kernel: Bluetooth: HCI UART protocol Broadcom registered
Nov 25 13:52:29 picochess btuart[410]: bcm43xx_init
Nov 25 13:52:29 picochess btuart[410]: Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Nov 25 13:52:29 picochess btuart[410]: Set BDADDR UART: b8:27:eb:96:ce:0d
Nov 25 13:52:29 picochess btuart[410]: Set Controller UART speed to 115200 bit/s
Nov 25 13:52:29 picochess btuart[410]: Device setup complete
Nov 25 13:52:29 picochess systemd[1]: Started Configure Bluetooth Modems connected by UART.
Nov 25 13:52:30 picochess systemd[1]: Created slice system-bthelper.slice.
Nov 25 13:52:30 picochess systemd[1]: Starting Raspberry Pi bluetooth helper...
Nov 25 13:52:30 picochess bthelper[495]: Raspberry Pi BDADDR already set
Nov 25 13:52:30 picochess systemd[1]: Finished Raspberry Pi bluetooth helper.
Nov 25 13:52:30 picochess systemd[1]: Starting Bluetooth service...
Nov 25 13:52:30 picochess bluetoothd[505]: Bluetooth daemon 5.55
Nov 25 13:52:30 picochess systemd[1]: Started Bluetooth service.
Nov 25 13:52:30 picochess systemd[1]: Reached target Bluetooth.
Nov 25 13:52:30 picochess bluetoothd[505]: Starting SDP server
Nov 25 13:52:30 picochess bluetoothd[505]: Excluding (cli) sap
Nov 25 13:52:30 picochess kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Nov 25 13:52:30 picochess kernel: Bluetooth: BNEP filters: protocol multicast
Nov 25 13:52:30 picochess kernel: Bluetooth: BNEP socket layer initialized
Nov 25 13:52:30 picochess bluetoothd[505]: Bluetooth management interface 1.21 initialized
Nov 25 13:52:31 picochess bluetoothd[505]: Failed to set privacy: Rejected (0x0b)
Nov 25 13:52:31 picochess systemd[1]: Reached target Multi-User System.
Nov 25 13:52:31 picochess systemd[1]: Reached target Graphical Interface.
Nov 25 13:52:31 picochess systemd[1]: Started PicoChess stand-alone chess computer for DGT chessboards.
Nov 25 13:52:41 picochess kernel: Bluetooth: RFCOMM TTY layer initialized
Nov 25 13:52:41 picochess kernel: Bluetooth: RFCOMM socket layer initialized
Nov 25 13:52:41 picochess kernel: Bluetooth: RFCOMM ver 1.11
Randy