Skip to content

Linux kernel module for the Adesto/Dialog U60 USB to Lon interface, patched to work with newer kernels

Notifications You must be signed in to change notification settings

martonmiklos/dialog_u60_linux_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?

U50

Linux kernel module for the Adesto/Dialog U60 USB to Lon interface, patched to work with Linux kernel 5.4.0, 5.15.0 and 6.2.0

Source:

https://www.dialog-semiconductor.com/sites/default/files/u60_driver_source_2018-12-14.zip

In the meantime I have found a repository containing updated code from the sources above: https://github.com/izot/lon-driver

However he code in that particular repo does not compile with newer kernels.

Changes between the original source and the izot repo were merged to this codebase.

lonifd

daemon process to manage the LON network interface via the serial link

Compilation, usage

Install the kernel sources

make -C /lib/modules/`uname -r`/build KDIR=/lib/modules/`uname -r`/build SUBDIRS=$PWD M=$PWD modules
insmod u50.ko
lonifd
ls /dev/lon*
ifconfig -a # shall list the lon interface

See the README file from an old Echelon package in this repo

License

Unknown, I do not give a shit about it.

Copyright 2017 Echelon Corp present in several files...

Use of this code is subject to the terms of the Echelon Example Software License Agreement which is available at www.echelon.com/license/examplesoftware/.

The izot/lon-driver got relicensed to the GPL v2.0 and MIT. During the merging of the changes I also changed the licenses.

About

Linux kernel module for the Adesto/Dialog U60 USB to Lon interface, patched to work with newer kernels

Topics

Resources

Stars

Watchers

Forks