Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    I2C controller on PC engines APU2C4

    Hardware
    3
    6
    824
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      magloman last edited by

      How to make the controller work?

      It should work on FreeBSD(I think)

      If a run dmesg it doest not show up.
      Can I fix this somehow?

      1 Reply Last reply Reply Quote 0
      • ?
        Guest last edited by

        @magloman:

        How to make the controller work?

        It should work on FreeBSD(I think)

        If a run dmesg it doest not show up.
        Can I fix this somehow?

        Works fine here. What are you trying to do? By default it does nothing until you write software to actually do stuff with it.

        1 Reply Last reply Reply Quote 0
        • M
          magloman last edited by

          I am gonna connect a lcd to it and the lcdproq supports i2c.

          What should i look for in dmesg?

          Can you show me how it is suppose to look?

          Maybe I installed nano version or something, gonna reinstall pfsense and see.

          I get back after that

          1 Reply Last reply Reply Quote 0
          • M
            magloman last edited by

            I reinstalled pfsense 2.4.2 now just in case.

            have APU2C4 and latest compiled bios I can find which is 4.0.12 (the 4.6 version is not stable on my card).

            If i take a Shell and enter: "dmesg | grep iic" I get Nothing. Shouldnt my i2c bus show up there?

            1 Reply Last reply Reply Quote 0
            • M
              magloman last edited by

              How does ur dmesg screen look like?

              What i have research it should show up there.

              I just installed latest freebsd 11.1(?)  just to see if it shows up but it Doesnt.
              There are commands available in freebsd to test the bus and so on.

              I hope somebody knowing what they are talking about see this thread and shine some light on it.

              1 Reply Last reply Reply Quote 0
              • stephenw10
                stephenw10 Netgate Administrator last edited by

                It seems like you might need to load a driver if you want to use the existing tools, rather than talking to the device directly.

                [2.3.5-RELEASE][admin@apu.stevew.lan]/dev: kldstat
                Id Refs Address    Size     Name
                 1   15 0xc0400000 1e6efd4  kernel
                 2    1 0xca501000 3000     amdsmb.ko
                 3    2 0xc9805000 2000     smbus.ko
                 4    1 0xc9e92000 3000     iic.ko
                 5    3 0xc9f7e000 4000     iicbus.ko
                 6    1 0xca637000 3000     iicsmb.ko
                 7    1 0xca63b000 4000     iicbb.ko
                [2.3.5-RELEASE][admin@apu.stevew.lan]/dev: i2c -s -v
                dev: /dev/iic0, addr: 0x140e7580, r/w: r, offset: 0x00, width: 8, count: 1
                Error opening I2C controller (/dev/iic0) for scanning: No such file or directory
                
                

                Steve

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Products

                • Platform Overview
                • TNSR
                • pfSense Plus
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy