SC16IS7XX - Kernel driver

Hi to al, I'm new to the OpenWrt forum.
In these days I'm traying to use a Raspberry Pi Zero 2 W for a personal project using OpenWrt as my OS.

The project start as a personal project to read some data from a ModBUS/RTU device port and read a serial device on another port, and send all datas to an MQTT broker.

The raspberry Pi Zero 2 W have a very limited number of serial port:

  • One serial port is used by default for the UART console
  • One serial port can be enabled for BLE module
    For my project I need 2 more serial port and searching online for supported bridge to serial I've found the SC16IS750 that also add some extra GPIO.
    The SC16IS750 is already supported by the official Raspberry Pi image and also by the Linux kernel.
    When i connect it following the instruction on how to enable the i2C 1 on the Raspberry using the i2cget I can find the devece without problem

Now comes my problem, if I would like to use these driver with OpenWrt I need to manually enable them in the kernel_menuconfig, and that change my kernel versione making it not compatible with the online kernel package compiled from openWRT community, and this is a big issue because I need to self-host all the pakages I need, for example OpenVPN.

How can I resove this problem, so how can I mantain my kernel version fully compaible with OpenWrt Kernel withot aving errors form opkg and the web interface?

It's possible to add by default these 2 drivers as kernel modules (kmod-*) to make them installable via opkg or web interface?

Thank you for all the support

Which 2 drivers you are refering to?

search forum for vermagic.

if you always need them, add them to the kernel ?
=y instead of =m in .config ?

1 Like

Thankyou, I'll search it

I main, can be added by default in the OpenWrt official built made by the OpenWrt community like the others kernel modules (kmod-*)?

You can submit a change to have them added, like for https://github.com/openwrt/openwrt/pull/18452.

1 Like

Thank you for the usefull information

HI @brada4 I'm referring to the drivers for the SC16IS7XX, I2C and SPI versions

THey have like names - config option or kmod file names...

The drivers are called sc16is7xx.
They can be enabled inside the kernel_menuconfig

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.