Re: i2c-tools & serial port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good advice. I tried but adding the uart option didn't work. I suspect we have two problems overlaid. It coudl be a problem with the python version in addition?

$ sudo i2cset -y 1 0x60 0x08 0xbb && sleep 1 && sudo python PCF4_serial0_9600_FU1.0.py -v -f PiCoolFAN_V1_4.hex
  File "PCF4_serial0_9600_FU1.0.py", line 120
    print 'WARNING: I2C support is missing. Please install smbus support for python to enable additional functionality! (sudo apt-get install python-smbus)'
          ^
SyntaxError: invalid syntax

On Sun, Jul 26, 2020 at 5:29 PM Steven A. Falco <stevenfalco@xxxxxxxxx> wrote:
You can enable the serial port by adding this line:

enable_uart=1

in the file /boot/efi/config.txt and rebooting the Pi.  If that doesn't work for you, you might consider temporarily loading a copy of Raspbian on an SD card just to do the fan setup, since that is what the hardware manufacturer expects you to be using.

After configuring the fan, then put your Fedora SD card back in.  The manual you linked to says that the settings are stored in EEPROM, so they should be remembered when you switch back to Fedora.

        Steve


On 7/26/20 7:40 AM, ng0177@xxxxxxxxx wrote:
> Sorry, I forgot - here is what we are talking about:
>
> https://pimodules.com/picoolfan4
>
> https://pimodules.com/download/picoolfan4-user-manual
> see also attached.
>
> Yes, Raspian, although not mentioned explicitly in the manual.
>
> On Sun, Jul 26, 2020 at 12:12 PM Peter Robinson <pbrobinson@xxxxxxxxx <mailto:pbrobinson@xxxxxxxxx>> wrote:
>
>      > I need to update the firmware of a fan for the RPi4 and given the below instructions in Raspbian. I also installed
>      >
>      > sudo dnf -y install i2c-tools
>      > sudo dnf -y install python3-i2c-tools
>      >
>      > but the firmware update fails. I guess, it is because of the serial port not being enabled. Any advice?
>
>     Can you actually link to the hardware and the instructions you're
>     attempting to follow/convert, it saves people actually trying to
>     guess/interpret what that may be.
>
>      > Thanks, Thomas
>      >
>      > In order to use bootloader, user need to have activated and free Serial Port on Raspberry Pi®. The below
>      > procedure is showing how to make sure that Serial Port is free and available for Bootloader process.
>      > sudo raspi-config
>      > Select -> Interfacing Options
>      > 1. IC Kernel ON
>      > 2. Serial option to enable UART
>      > Then it will ask for login shell to be accessible over Serial, select No shown as follows.
>      > At the end, it will ask for enabling Hardware Serial port, select Yes,
>      > Then, reboot the Raspberry Pi®!!
>
>     I take it they're the details for Raspbian?
>
>
> _______________________________________________
> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux