Odroid N2 & OpenVFD

I pushed a fix, hopefully tonight’s build will completely fix the issue. Let me know.

Updated to 20190717 nightbuild, The issue has been fixed,Thank you!

2 Likes

Where do I find this vfd.conf file for the N2? I found only the name but not the file itself:

odroid-n2-ssd1306-12832-i2c-vfd.conf

Thanks

Thanks!
I do have two questions:

  1. Does the OpenVFD or the Odroid N2 OLED service plugin show the remaining time fow livetv (EPG)?
  2. Why the brightness doesn’t change if changed in the OpenVFD settings?
  1. OpenVFD doesn’t support it, because Kodi doesn’t provide this information.
  2. Not sure, it should work.

Isn’t point 1 covered by these info labels in particular the 3rd one?

PVR.EpgEventDuration[(format)] Returns the duration of the currently played title on TV. See ListItem.Duration for optinional formatting options
PVR.EpgEventElapsedTime[(format)] Returns the time position of the currently played title on TV. See ListItem.Duration for optinional formatting options
PVR.EpgEventRemainingTime[(format)] Returns the remaining time for currently playing epg event. See ListItem.Duration for optinional formatting options
PVR.EpgEventFinishTime[(format)] Returns the time the currently playing epg event will end. See ListItem.Duration for optinional formatting options

Yes, but what happens when the EPG is not available?
Also this is for skins, I’m not sure it’s available for addons. I’m pretty sure I tried it and couldn’t find a way to get the EPG.

I’m not really sure, I don’t use the live TV or the EPG functions of Kodi as I have no tuner. But as far as I know any skin info label can be accessed in python using xbmc.getInfoLabel() so I’m not sure why the PVR / EPG info labels wouldn’t also be accessible.

20190811 nightbuild makes OLED not working ,
dmesg

[ 10.810531@2] OpenVFD: Version: V1.3.0
[ 10.810538@2] OpenVFD: vfd_gpio_clk: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810540@2] OpenVFD: vfd_gpio_dat: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810542@2] OpenVFD: vfd_gpio_stb: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810544@2] OpenVFD: vfd_gpio0: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810546@2] OpenVFD: vfd_gpio1: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810547@2] OpenVFD: vfd_gpio2: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810549@2] OpenVFD: vfd_gpio3: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.810551@2] OpenVFD: vfd_gpio_protocol: #0 = 0x01; #1 = 0x02;
[ 10.810553@2] OpenVFD: vfd_chars: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04;
[ 10.810556@2] OpenVFD: vfd_dot_bits: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06;
[ 10.810558@2] OpenVFD: vfd_display_type: #0 = 0x1F; #1 = 0x3C; #2 = 0x00; #3 = 0xFD;
[ 10.810561@2] OpenVFD: Detected gpio chips: periphs-banks, aobus-banks.
[ 10.810562@2] OpenVFD: Skipping vfd_gpio_clk evaluation (0xFF)
[ 10.810563@2] OpenVFD: Skipping vfd_gpio_dat evaluation (0xFF)
[ 10.810564@2] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
[ 10.810564@2] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
[ 10.810565@2] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
[ 10.810566@2] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
[ 10.810567@2] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)
[ 10.810769@5] OpenVFD: Select SSD1306 controller
[ 10.810774@5] OpenVFD: HW I2C interface failed to intialize. Could not get I2C-2 adapter
[ 10.810776@5] OpenVFD: Failed to initialize the controller, reverting to Dummy controller

I2C-2 hardware was disabled in DTBs.
We switched to I2C-3 in hardware. I’m not sure whether we’ll change this for the N2 yet, but for now you can try this config file.
odroid-n2-ssd1306-12832-i2c-vfd.conf (2.0 KB)

still not working
dmesg
[ 10.879653@3] OpenVFD: Version: V1.3.0
[ 10.879659@3] OpenVFD: vfd_gpio_clk: #0 = 0x00; #1 = 0x53; #2 = 0x00;
[ 10.879661@3] OpenVFD: vfd_gpio_dat: #0 = 0x00; #1 = 0x52; #2 = 0x00;
[ 10.879663@3] OpenVFD: vfd_gpio_stb: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.879665@3] OpenVFD: vfd_gpio0: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.879667@3] OpenVFD: vfd_gpio1: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.879670@3] OpenVFD: vfd_gpio2: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.879671@3] OpenVFD: vfd_gpio3: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[ 10.879673@3] OpenVFD: vfd_gpio_protocol: #0 = 0x00; #1 = 0x00;
[ 10.879675@3] OpenVFD: vfd_chars: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04;
[ 10.879678@3] OpenVFD: vfd_dot_bits: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06;
[ 10.879680@3] OpenVFD: vfd_display_type: #0 = 0x1F; #1 = 0x3C; #2 = 0x08; #3 = 0xFD;
[ 10.879683@3] OpenVFD: Detected gpio chips: periphs-banks, aobus-banks.
[ 10.879686@3] OpenVFD: “periphs-banks” chip found. base = 410, pin count = 86, pin = 83, offset = 493
[ 10.879687@3] OpenVFD: “periphs-banks” chip found. base = 410, pin count = 86, pin = 82, offset = 492
[ 10.879688@3] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
[ 10.879689@3] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
[ 10.879690@3] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
[ 10.879691@3] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
[ 10.879691@3] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)
[ 10.880781@0] OpenVFD: Select SSD1306 controller
[ 10.880857@0] OpenVFD: SW I2C interface failed to intialize. Could not establish communication with I2C slave
[ 10.880859@0] OpenVFD: Failed to initialize the controller, reverting to Dummy controller

It would be awesome if the display would show the information from the EPG (if available). I use liveTV in 98% of the time. In case it doesn’t work, I added only a clock to my N2, which at least for me, is not really something useful.

odroid-n2-ssd1306-12832-i2c-vfd.conf (2.0 KB)

Yes, The OLED is working again, thanks

I updated 20190811 nightbuild after dont work openvfd with ssd1309. But odroid n2 oled addon work with ssd1309

Just read back a few reply.

I use k1 pro. N2 oled addon works perfectly with coreelec but openvfd add no work

I can’t know what the problem is without any logs. This is also offtopic.

Why has it been disabled?