Bi-monthly release with minor bug fixes and improvements
max_usb_current=1
/boot/config.txt
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
## Step-1: Update to latest kernel and get kernel headers
$ sudo rpi-update
## Step-2: Install kernel headers to enable building kernel modules
## (http://www.ploxiln.net/rpi_kernel_modules.html)
$ export FIRMWARE_REV=`cat /boot/.firmware_revision`
$ export KERNEL_REV=`curl -L https://github.com/Hexxeh/rpi-firmware/raw/${FIRMWARE_REV}/git_hash`
$ curl -L https://github.com/Hexxeh/rpi-firmware/raw/${FIRMWARE_REV}/Module7.symvers >Module7.symvers
$ curl -L https://github.com/raspberrypi/linux/archive/${KERNEL_REV}.tar.gz >rpi-linux.tar.gz
$ sudo -s
[sudo] password ...:
$ cd /usr/src
$ mkdir rpi-linux
$ cd rpi-linux
$ tar --strip-components 1 -xf ${HOME}/rpi-linux.tar.gz
$ ls
arch CREDITS drivers include Kbuild lib mm REPORTING-BUGS security usr
block crypto firmware init Kconfig MAINTAINERS net samples sound virt
COPYING Documentation fs ipc kernel Makefile README scripts tools
$ modprobe configs
$ gunzip -c /proc/config.gz >.config
$ cp $HOME/Module7.symvers Module.symvers
$ make modules_prepare
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
... a minute or two ...
HOSTCC scripts/recordmcount
HOSTCC scripts/sortextable
$ ln -sv /usr/src/rpi-linux /lib/modules/$(uname -r)/build
?‘/lib/modules/4.1.18-v7+/build?’ -> ?‘/usr/src/rpi-linux?’
## Step-3: Prevent Ubuntu Mate from loading the cdc-acm driver at boot
$ sudo nano /etc/modprobe.d/blaclist.conf
add the following lines to the bottom of the file:
# The CDC-ACM driver prevents the ex_usb_serial_common driver from loading
blacklist cdc-acm
## Step-4: Force Ubuntu Mate to load the EXAR driver at boot
$ sudo nano /etc/modules
add the following the a new line in the file
xr_usb_serial_common
copy the module to a suiteable folder in the "`uname -r`/kernel/drivers"
$ cd /lib/modules/`uname -r`/kernel/drivers/usb/serial/
$ sudo cp /usr/src/xr_usb_serial_common/xr_usb_serial_common.ko .
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
$ ln -sv /usr/src/rpi-linux /lib/modules/$(uname -r)/build
?‘/lib/modules/4.1.18-v7+/build?’ -> ?‘/usr/src/rpi-linux?’
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
/usr/src/xr_usb_serial_common
Please Log in or Create an account to join the conversation.