-
-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pikvm with Pi4 powered by PoE Hat does not seem to find the auvidea B101 #6
Comments
Apparently the reason is that PoE Hat takes the I2C address that B101 wants to use. PoE Hat uses I2C to control the fan. I don't know of a simple solution to resolve the address conflict. A quick search didn't yield any results. As a temporary solution, I may suggest you to bend pins responsible for connecting the I2C to the PoE Hat and turn the fan directly to the 5V power pin so that it is always on. |
Im using this POE hat without any issues: https://smile.amazon.de/gp/product/B07JPXR9ZN?psc=1 |
@orbatschow For noobs like me, what pins exactly I should bend? EDIT: apparently I had faulty hardware, works with before mentioned POE hat. |
It's not an I2C address issue, but one of pinmuxing. The PoE HAT fan is controlled via BSC0 on GPIOs 0&1 via the firmware. The TC358743 is controlled by BSC0 on typically GPIOs 44&45 via the kernel. Disable the fan control by blacklisting "rpi-poe-fan". The 5.4 kernel does have support in for using the i2c_mux_pinctrl overlay to expose both those pinmuxings at the same time as i2c-0 and i2c-10. It remembers the last setting though, so repeated accesses to i2c-10 won't attempt to change the pinmuxing. It is possible to set an idle state which may restore things for you. |
@6by9 Glad to see you here :) Thank you for this information. By the way, do you know what will happen with the fan when the module is blacklisted? Will it always be on, or won't it work at all? |
I dropped in as a forum post linked here. It looks quite a neat setup. A quick read of the firmware source reveals config.txt property Pass as to the fan setting without the module. It'll probably be the default you get on first powering up the module. |
Okay, I documented the solution, thank you all :) |
Is this issue still valid in the latest version? I am thinking about buying a Poe with fan. |
I don't know. Perhaps yes. |
Want to share some additional information from my current setup and experience. I have a Pi4 2GB I do not have the mentioned issues. Checked dmesg and no error as stated above. What I did do was edit config.txt to lower the PoE fan RPM VS TEMP
I don't think this has any influence. |
Is it a new revision? |
It's a newer version of the PoE HAT, not sure if it's classified as revision as the changes are quite a lot: Looking at the post date from OP it seems like OP has the PoE HAT as the PoE+ HAT was released around 06-2021. This means, the issue is probably still valid for PoE HAT but not for PoE+ as confirmed by me. |
The PoE HAT drivers have been reworked to support either communicating via the firmware (required for the legacy camera stack), or direct over i2c-0 (for libcamera or other kernel use of i2c-0). The firmware will automatically select the |
So this means that using an official PoE(+) HAT with the changes they did to the drivers makes it not anymore "Not recommended" right? |
so I just tested a pikvm installation (v0-hdmi-rpi3-20211210.img), performed So to reference #6 (comment) if your kernel is newer than 2022-Jan-20 then no worries, otherwise upgrade. |
To echo what VoeGalore stated, I just tried an official RPi PoE hat on a freshly updated v2 PiKVM (Pi 4 B) w/CSI bridge, and both the fan and CSI bridge are working fine. (The PoE hat is 2-3 years old I think, if that matters at all.) |
Hi There,
I can successfully log into pikvm and stream video using the B101 HDMI->CSI adapter on a pi4 when USB-C powered but when I try the same setup (same SD card, B101, input host etc) but with the pi4 powered using a PoE Hat rather than USB-C power, it appears pikvm cannot find the B101 when booting (even though the B101 green power light is enabled indicating the B101 is being powered)...
I've attached the dmesg boot output from when (A) pi4 powered by USB-C and (b) pi4 powered by PoE Hat.
When the pi4 boots with USB-C power, I get the following type of messages in dmesg:
[ 9.190789] tc358743 0-000f: tc358743 found @ 0x1e (bcm2835 I2C adapter)
When the pi4 boots with PoE Hat power, I get the following type of messages in dmesg:
Thanks for taking the time to take a look!
A-dmesg-pi4-with-USBC-power.txt
B-dmesg-pi4-with-PoE-power.txt
The text was updated successfully, but these errors were encountered: