I2C controller on PC engines APU2C4



  • 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?



  • @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.



  • 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



  • 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?



  • 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.


  • Netgate Administrator

    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


Log in to reply