[Arm-dev] Centos on RPI: driver/module for using serial USB

F L cjvijf at gmail.com
Mon Apr 23 20:00:25 UTC 2018


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 at 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 at 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 at 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 at centos.org
> > https://lists.centos.org/mailman/listinfo/arm-dev
>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20180423/ac1f9445/attachment.html>


More information about the Arm-dev mailing list