[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs

[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.

Welcome to the Slackware Documentation Project

(Pratique ) Règles udev

chmod ttyUSB and ttyACM

( Utile pour faire tourner des choses comme l'IDE d'Arduino en tant qu'utilisateur normal )

1) Créer le fichier de règles udev

Connecté sous l'identité root:

vi /etc/udev/rules.d/50-usb.rules et ajoutez une de ces lignes
Autoriser l'accès à tout le monde ( par très sécurisé)

KERNEL=="ttyUSB[0-9]*",MODE="0666"
KERNEL=="ttyACM[0-9]*",MODE="0666"

Autoriser l'accès par les membres du groupe 'wheel'

KERNEL=="ttyUSB[0-9]*",GROUP="wheel",MODE="0660"
KERNEL=="ttyACM[0-9]*",GROUP="wheel",MODE="0660"

Sources

QR Code
QR Code fr:howtos:general_admin:udev_rules (generated for current page)