And so here is my serial gateway with 3d printed case:
CraigDubya
@CraigDubya
Best posts made by CraigDubya
-
RE: Serial Gateway not connecting - ttyUSB0 in use
-
RE: Serial Gateway not connecting - ttyUSB0 in use
Ah I found it using:
sudo systemctl disable mysgw.service
Now when I reboot the pi the gateway is working and my sensor node is reporting correctly.
Thanks for everyones help, it's been 2 years since I last played with openhab and mysensors, and what I learned back then I had mostly forgotten. Also with the openhab and mysensors updates that have happened in that time it's been a struggle to get back on track
-
RE: Serial Gateway not working after Raspberry Pi upgrade
@mfalkvidd Ahh ok, so it seems that my openhab setup is the problem here. I will continue to try to understand the problem, since the whole purpose of the raspberry pi upgrade was to upgrade openhab to version 2.2.
I'll hop over to their forums and try and understand what has changed since my upgrade.
Thanks!
Latest posts made by CraigDubya
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
It works!
What the hell did I do? I wish I knew!!!
So, I came back after my break. I decided that I really needed to get Arduino IDE up and running so I could use the Serial Monitor. I uninstalled Arduino using - sudo apt-get remove arduino.
Then, I downloaded the Linux Arm 32-bit version of Arduino from there website and installed it from the download file which got me up and running with it.
The IDE allowed me to choose /dev/ttyUSB0 as a port, but when I opened the serial monitor the error message displayed port not found. I did a ls /dev/tty* and indeed the port was missing.
I unplugged the serial gateway, and plugged it back in
Then /dev/tty* showed it in the list, but this time it was in yellow text like all the other ports, instead of blue(?)
I then did - sudo chmod a+rw /dev/ttyUSB0 (thought we did this earlier? - can't remember)
Back to Openhab PaperUI and inbox search for my sensors and it found my sensors!I'm confused how I got here, but at least now I know it works with all the changes I had made
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
@TRS-80 said in Openhab 2.5.5, raspberry pi 4 with usb boot ssd:
So, what we should be asking ourselves is: What has changed in the meantime?
Quite a lot! Now using a PI 4, now using Raspberry Pi OS, now using boot from usb for the OS, now using a powered usb hub....and I'm sure lots more. Not making it easy for myself, I know
I'm going to have to take a break for a while and watch a film or something....too much digging gives me headaches
Thanks @TRS-80 , I'll keep this thread updated with any progress I make
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
Yes, using the .jar file in the addons folder. I understand what you mean about going the MQTT route, I also have read that others have an easier time with it. However, the sensors I want to use will be small and battery powered, using NRF24L01 transceivers for long battery life. I believe the MQTT route needs a wifi module of some sort, which are usually more power hungry.
In any case, I have a bunch of these sensors that I had working fine with the serial gateway on my old raspberry pi 3 setup, so will try to stick with it with hopes of finding a solution -
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
I hadn't checked unfortunately
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
I've now messed about with the serial gateway thing in openhab, removed it and tried to re-add it via paperui. It was saying that /dev/ttyUSB0 was already in use when I tried to add again, so i did a openhab-cli clean-cache command.
It's now showing as uninitialized, and the openhab log shows:16:47:18.178 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.mysensors-2.5.0-SNAPSHOT.jar org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [204] Unresolved requirement: Import-Package: gnu.io; version="[3.14.0,4.0.0)" at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
Not sure what I'm missing
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
The reason I'm using a powered USB hub is that the Sandisk Extreme Pro drive that I am using to boot the OS from uses quite a lot of power I think, so much so that when I plug a wireless keyboard/mouse dongle in (without the powered USB hub) the range is extremely limited.
Having said that, I didn't need the serial gateway to be plugged in to the powered hub as well, so have now plugged that directly into the raspberry pi usb 2.0 port.I did a dmesg command and see a lot of red text:
[22499.978530] usb 1-1.4: Product: USB2.0-Serial [22499.983143] ch341 1-1.4:1.0: ch341-uart converter detected [22499.985841] usb 1-1.4: ch341-uart converter now attached to ttyUSB0 [22504.491964] mmc0: Timeout waiting for hardware cmd interrupt. [22504.491970] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22504.491976] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22504.491980] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22504.491984] mmc0: sdhci: Argument: 0x80000c08 | Trn mode: 0x00000000 [22504.491988] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22504.491991] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22504.491995] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22504.491999] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22504.492003] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22504.492007] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22504.492011] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22504.492014] mmc0: sdhci: Cmd: 0x0000341a | Max curr: 0x00080008 [22504.492018] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22504.492021] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22504.492025] mmc0: sdhci: Host ctl2: 0x00000000 [22504.492028] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22504.492031] mmc0: sdhci: ============================================ [22521.770934] mmc0: Timeout waiting for hardware cmd interrupt. [22521.770939] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22521.770944] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22521.770949] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22521.770952] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22521.770956] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22521.770960] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22521.770964] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22521.770968] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22521.770971] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22521.770975] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22521.770979] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22521.770983] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22521.770986] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22521.770990] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22521.770993] mmc0: sdhci: Host ctl2: 0x00000000 [22521.770997] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22521.771000] mmc0: sdhci: ============================================ [22544.169883] mmc0: Timeout waiting for hardware cmd interrupt. [22544.169888] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22544.169893] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22544.169898] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22544.169901] mmc0: sdhci: Argument: 0x80000c08 | Trn mode: 0x00000000 [22544.169905] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22544.169909] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22544.169913] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22544.169917] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22544.169920] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22544.169924] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22544.169928] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22544.169932] mmc0: sdhci: Cmd: 0x0000341a | Max curr: 0x00080008 [22544.169935] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22544.169939] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22544.169942] mmc0: sdhci: Host ctl2: 0x00000000 [22544.169946] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22544.169949] mmc0: sdhci: ============================================ [22564.009140] mmc0: Timeout waiting for hardware cmd interrupt. [22564.009145] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22564.009150] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22564.009155] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22564.009159] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22564.009163] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22564.009167] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22564.009171] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22564.009174] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22564.009178] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22564.009182] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22564.009186] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22564.009189] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22564.009193] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22564.009197] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22564.009200] mmc0: sdhci: Host ctl2: 0x00000000 [22564.009203] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22564.009207] mmc0: sdhci: ============================================ [22582.568609] mmc0: Timeout waiting for hardware cmd interrupt. [22582.568615] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22582.568620] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22582.568624] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22582.568628] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22582.568632] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22582.568636] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22582.568640] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22582.568643] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22582.568647] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22582.568651] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22582.568655] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22582.568658] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22582.568662] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22582.568666] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22582.568669] mmc0: sdhci: Host ctl2: 0x00000000 [22582.568673] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22582.568676] mmc0: sdhci: ============================================ [22596.648286] mmc0: Timeout waiting for hardware cmd interrupt. [22596.648291] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22596.648297] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22596.648301] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22596.648304] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22596.648308] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22596.648312] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22596.648316] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22596.648320] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22596.648323] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22596.648327] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22596.648331] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22596.648335] mmc0: sdhci: Cmd: 0x0000371a | Max curr: 0x00080008 [22596.648338] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22596.648342] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22596.648345] mmc0: sdhci: Host ctl2: 0x00000000 [22596.648349] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22596.648352] mmc0: sdhci: ============================================ [22622.887853] mmc0: Timeout waiting for hardware cmd interrupt. [22622.887859] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22622.887865] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22622.887869] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22622.887872] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22622.887876] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22622.887880] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22622.887884] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22622.887888] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22622.887891] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22622.887895] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22622.887899] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22622.887902] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22622.887906] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22622.887909] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22622.887913] mmc0: sdhci: Host ctl2: 0x00000000 [22622.887916] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22622.887919] mmc0: sdhci: ============================================ [22633.127736] mmc0: Timeout waiting for hardware cmd interrupt. [22633.127742] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22633.127747] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22633.127751] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22633.127755] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22633.127759] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22633.127762] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22633.127766] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22633.127770] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22633.127773] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22633.127777] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22633.127781] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22633.127785] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22633.127788] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22633.127792] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22633.127795] mmc0: sdhci: Host ctl2: 0x00000000 [22633.127799] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22633.127802] mmc0: sdhci: ============================================ [22643.367637] mmc0: Timeout waiting for hardware cmd interrupt. [22643.367643] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22643.367648] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22643.367652] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22643.367656] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22643.367660] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22643.367664] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22643.367668] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22643.367672] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22643.367675] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22643.367679] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22643.367683] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22643.367686] mmc0: sdhci: Cmd: 0x0000371a | Max curr: 0x00080008 [22643.367690] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22643.367694] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22643.367697] mmc0: sdhci: Host ctl2: 0x00000000 [22643.367701] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22643.367704] mmc0: sdhci: ============================================ [22669.607506] mmc0: Timeout waiting for hardware cmd interrupt. [22669.607512] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22669.607518] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22669.607522] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22669.607526] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22669.607530] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22669.607534] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22669.607537] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22669.607541] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22669.607545] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22669.607549] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22669.607553] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22669.607556] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22669.607560] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22669.607564] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22669.607567] mmc0: sdhci: Host ctl2: 0x00000000 [22669.607570] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22669.607574] mmc0: sdhci: ============================================ [22690.727495] mmc0: Timeout waiting for hardware cmd interrupt. [22690.727501] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22690.727506] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22690.727511] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22690.727515] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22690.727519] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22690.727523] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22690.727527] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22690.727530] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22690.727534] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22690.727538] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22690.727542] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22690.727546] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22690.727550] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22690.727553] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22690.727556] mmc0: sdhci: Host ctl2: 0x00000000 [22690.727560] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22690.727563] mmc0: sdhci: ============================================ [22700.967509] mmc0: Timeout waiting for hardware cmd interrupt. [22700.967514] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22700.967520] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22700.967524] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22700.967528] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22700.967532] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22700.967536] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22700.967540] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22700.967544] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22700.967548] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22700.967551] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22700.967555] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22700.967559] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22700.967563] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22700.967567] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22700.967570] mmc0: sdhci: Host ctl2: 0x00000000 [22700.967574] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22700.967577] mmc0: sdhci: ============================================ [22711.207540] mmc0: Timeout waiting for hardware cmd interrupt. [22711.207545] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22711.207551] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22711.207555] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22711.207559] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22711.207563] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22711.207567] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22711.207570] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22711.207574] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22711.207578] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22711.207581] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22711.207586] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22711.207589] mmc0: sdhci: Cmd: 0x00000502 | Max curr: 0x00080008 [22711.207593] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22711.207597] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22711.207600] mmc0: sdhci: Host ctl2: 0x00000000 [22711.207603] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22711.207607] mmc0: sdhci: ============================================ [22744.487735] mmc0: Timeout waiting for hardware cmd interrupt. [22744.487740] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [22744.487745] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [22744.487749] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [22744.487753] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000 [22744.487757] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x00000001 [22744.487761] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 [22744.487765] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [22744.487769] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [22744.487772] mmc0: sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00ff1003 [22744.487776] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [22744.487780] mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525 [22744.487784] mmc0: sdhci: Cmd: 0x0000371a | Max curr: 0x00080008 [22744.487787] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [22744.487791] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [22744.487794] mmc0: sdhci: Host ctl2: 0x00000000 [22744.487798] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [22744.487801] mmc0: sdhci: ============================================
EDIT: Looking at the red messages, they are for the SD card, and since this is set up as USB boot OS there is no SD card present, so those errors seem to make sense
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
When I unplug the gateway, the MySensors Serial Gateway Thing in PaperUI remains "online", where I would have expected it to show as "offline" - this seems to me that I haven't got the binding working correctly. Especially as when I do a lsusb command in terminal with it connected, I get the following:
Bus 002 Device 004: ID 0781:5588 SanDisk Corp. Bus 002 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub Bus 002 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Bus 001 Device 004: ID 2109:2812 VIA Labs, Inc. VL812 Hub Bus 001 Device 003: ID 2109:2812 VIA Labs, Inc. VL812 Hub Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
As you can see, it is showing as connected and recognized by the system.
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
As far as I'm aware, because they wanted to go 64-bit OS the guys who developed Raspbian wouldn't allow them to keep the name, as it goes against what they set out to achieve with Raspbian. I'm using the 32-bit version of Raspberry Pi OS, which is actually Raspbian, just a different name (I think, although I could be wrong).
Thanks for your help and responses, I think there are some other things to try before I blame the OS though...it's just I always forget what I've tried before... there are ways in which I can see if mysgw is working and things like that... Would really like to see the raw output, but for some reason the Arduino IDE isn't loading up to allow me to use it's terminal monitor, and screen just hangs. I'm not very good in Linux environments as a whole which makes it challenging for me to do what I want to find the answers (if you know what I mean).Cheers
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
@TRS-80 ok, so after typing groups I have the following:
pi@raspberrypi:~ $ groups pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi
-
RE: Openhab 2.5.5, raspberry pi 4 with usb boot ssd
Thanks for your reply. As part of the setup I mentioned I there was a part that added these lines:
sudo usermod -a -G dialout openhab sudo usermod -a -G tty openhab
I think that's what you are describing, I'm quite a novice at this