Coder Social home page Coder Social logo

nrf-udev's Introduction

nrf-udev

udev rules for nRF (Nordic Semiconductor) development kits

You probably are here because you have:

  • A nRF development kit with USB support (e.g. nRF52840)
  • Linux as a development environment

and one of the following problems:

  • LIBUSB_ERROR_ACCESS errors when using any nRF Connect tools
  • Missing permissions to read/write the serial ports at /dev/ttyACM*
  • ModemManager thinks that your development kit is a modem, and sends AT commands when plugging it in

Installation

For Debian-like systems, download the latest .deb file from https://github.com/NordicSemiconductor/nrf-udev/releases. Then, install the package using the following command in a console:

sudo dpkg -i nrf-udev_1.0.1-all.deb

Caveats

These udev rules set all Nordic Semiconductor devices as readable/writable by all users. While this gets rid of the LIBUSB_ERROR_ACCESS errors with no further configuration, this also means that any user or background process can have complete access to these USB devices.

Development

This repo contains the files needed for creating a .deb package for installing the udev rules for nRF devices. To create the package in a Debian-based linux system:

dpkg-deb -b nrf-udev_1.0.1-all

nrf-udev's People

Contributors

bencefr avatar ivansanchez avatar mrodem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nrf-udev's Issues

Clone address is incorrect

Colon symbol instead of slash in cloning address
And https:// is missed there:
[email protected]:NordicSemiconductor/nrf-udev.git

See screenshot:
image

Please, close this issue, if it is not possible to reproduce.

Error while probing usb device at bus.address 1.6: undefined.

Hi! ๐Ÿ‘‹๐Ÿฝ
I was trying to get up and running a Nordic PPK2 from my Ubuntu 20.04 machine. I followed each and every step as being laid out but continuously faced this issue. I tried to download the nrf-udev debian package from this repo and it did even got installed successfully but still I am facing this error :

15:20:27.744	Application data folder: /home/arijit/.config/nrfconnect/pc-nrfconnect-ppk
15:20:29.899	Error while probing usb device at bus.address 1.6: undefined. Please check your udev rules concerning permissions for USB devices, see https://github.com/NordicSemiconductor/nrf-udev

Can someone please help me out ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.