Skip to content

UDEV rule #1

@griz1112

Description

@griz1112

To use a UDEV rule with the imu you need to create a file in /etc/udev/rules.d. I call mine 10-local.rules. Run lsusb and get the 2 4 digit numbers from the entry for the imu. Then add this line to the 10-local.rules file.

SYBSYSTEM=="usb", ACTION=="add", KERNEL=="ttyUSB[0-9]*", ATTRS{0403}=="XXXX", ATTRS{idProduct}=="6015", SYMLINK+="chipImu", GROUP="dialout", MODE="666"

idVendor is the first set of 4 digts you see in the lsusb line for the device and idProduct is the second set of 4 digits in that line. The Group tag gets the permissions right. Just add the user that is going to operate the imu to the dialout group in your etc/group file. Reboot after making the changes. You should see a /dev/chipImu file if it's working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions