Hi, I have problem with making the Device Tree enable I2C to work on CentOS . Can you look into that? Thanks Trieu Pham
On 29/03/18 04:46, Trieu Pham wrote:
Hi, I have problem with making the Device Tree enable I2C to work on CentOS . Can you look into that? Thanks Trieu Pham
Can you give more details ? running kernel, etc ? And I guess you already applied the instructions from the wiki for this ? https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32#head-008f0a629676...
Hello,
I am using Centos (both Centos 6 and 7) on a Raspberry PI. I am trying to connect an AD-converter board to it with USB. (Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC)
So I'd probably need some kernel module/driver. (I have the src for the driver, ftdi_sio. I installed the kernel-headers, but the version of it seems different from the kernel?
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.18.14-v7+/build/include -I/usr/src/linux-3.18.14-v7+/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c ftdi_sio.c:253:24: fatal error: linux/init.h: No such file or directory #include <linux/init.h>
[xxxx@rpi2-1 ftdi_sio]# find / -name "init.h" /usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/include/linux/init.h /usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/include/config/omap2/dss/init.h /usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/include/config/debug/memory/init.h /usr/include/mysql/private/init.h
Is there a driver, or kernel module, available that I can just use? If not, how to compile the src of that driver?
thanks,
Ron
Hi Ron,
As far as I know is this module present in the latest kernels. please update yours from this repo: http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-rpi2/
Jacco
PS I'm a bit surprised that you run CentOS6 on a raspberry. I was not aware that there was a armv7 rebuild of CentOS6.
On 04/23/2018 05:38 AM, cjvijf@gmail.com wrote:
Hello,
I am using Centos (both Centos 6 and 7) on a Raspberry PI. I am trying to connect an AD-converter board to it with USB. (Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC)
So I'd probably need some kernel module/driver. (I have the src for the driver, ftdi_sio. I installed the kernel-headers, but the version of it seems different from the kernel?
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.18.14-v7+/build/include -I/usr/src/linux-3.18.14-v7+/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c ftdi_sio.c:253:24: fatal error: linux/init.h: No such file or directory #include <linux/init.h>
[xxxx@rpi2-1 ftdi_sio]# find / -name "init.h" /usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/include/linux/init.h
/usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/include/config/omap2/dss/init.h
/usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/include/config/debug/memory/init.h
/usr/include/mysql/private/init.h
Is there a driver, or kernel module, available that I can just use? If not, how to compile the src of that driver?
thanks,
Ron _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Jacco
I actually found the module, just a bit ago. This is an older RPI, it just happens to have a bunch of sensors hooked up to it and replacing one ADC.. I have several RPI3 boards, running centos 7 (can't wait til the 64 bit version comes out)
On the RPI3 I don't seem to be able to detect/use the Bluetooth...
But I found the kernel module and it loads.
thanks,
Ron
On Mon, Apr 23, 2018 at 1:40 PM, Jacco Ligthart jacco@redsleeve.org wrote:
Hi Ron,
As far as I know is this module present in the latest kernels. please update yours from this repo: http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-rpi2/
Jacco
PS I'm a bit surprised that you run CentOS6 on a raspberry. I was not aware that there was a armv7 rebuild of CentOS6.
On 04/23/2018 05:38 AM, cjvijf@gmail.com wrote:
Hello,
I am using Centos (both Centos 6 and 7) on a Raspberry PI. I am trying to connect an AD-converter board to it with USB. (Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC)
So I'd probably need some kernel module/driver. (I have the src for the driver, ftdi_sio. I installed the kernel-headers, but the version of it seems different from the kernel?
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.18.14-v7+/build/include -I/usr/src/linux-3.18.14-v7+/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c ftdi_sio.c:253:24: fatal error: linux/init.h: No such file or directory #include <linux/init.h>
[xxxx@rpi2-1 ftdi_sio]# find / -name "init.h" /usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/
include/linux/init.h
/usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/
include/config/omap2/dss/init.h
/usr/src/kernels/4.2.0-0.rc2.git0.1.centos.el7.armv7hl/
include/config/debug/memory/init.h
/usr/include/mysql/private/init.h
Is there a driver, or kernel module, available that I can just use? If not, how to compile the src of that driver?
thanks,
Ron _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev