From: <[email protected]>
Reply-To: <[email protected]>
Date: Saturday, December 21, 2013 at 11:31 AM
To: <[email protected]>
Subject: [beagleboard] How to add a udev rule to beaglebone ??
> Hi,
>
> I am using beaglebone black running on stock Angstrom linux. I would like to
> add the following udev rule.
>
> SUBSYSTEM=="usb", ATTR{idVendor}=="24e0", MODE="0666"
First, you should never give RW permissions to everyone, so I would suggest
MODE=³0660² and then add a USB group and add yourself to that group.
Something like this:
sudo groupadd f usb
sudo gpasswd a <yourUserID> usb
Now the rule becomes:
SUBSYSTEM=="usb", ATTR{idVendor}=="24e0", MODE=³0660² GROUP==³usb"
>
>
> The above rule should give read/write privileges to USB devices.
>
> I have added the rule to the rules.d folder in etc folder and lib folder, but
> I am not sure which one is to be used. Also how the rules are not getting
> applied.
The rule is place in the /etc/init.d/rules.d folder. Use a name like
"99-usb.rules² so that it is the last rule to execute.
After you plugin your USB, run the following command:
dmesg
This will show you info about the usb device. You can also use the following
command:
lshw
or
lsusb
This will show you info about your USB device that you will need in your
rule.
Regards,
John
>
> Could anyone explain why this is happening.
>
> thanks
> a
>
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.