dc740 has quit [Remote host closed the connection]
dc740 has joined #rust-embedded
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #rust-embedded
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
IlPalazzo-ojiisa has joined #rust-embedded
<re_irc>
<@arnoldanderson:matrix.org> Hello there! Guys, can you help me, please, with the udev rule to give group of users the ownership on the device and all the permissions for all other users?
<re_irc>
I tried to create the udev rule for Micro:bit V1 controller to code for it, but rule doesn't work, I checked it out on two different machines, the same result on both (Gentoo machine and the second is Fedora)
<re_irc>
Logs are empty, no errors at all. Checked logs with the following command: "sudo journalctl -u systemd-udevd --since "5 minutes ago""
<re_irc>
There is some info about what is going on on my machine now:
<re_irc>
[anderson@rpi4]~% ls -l /dev/hidraw*
<re_irc>
Prove that there is no permissions over the device:
<re_irc>
There is no help in linux chats, so I decided to go in Rust chat, sorry for kind of offtop
<re_irc>
<@TimSmall:matrix.org> If you're using a systemd based distro, then you could "systemctl edit systemd-udevd.service" and change "ExecStart=" to add the debug ("-D") flag to udev.
<re_irc>
<@TimSmall:matrix.org> (or rather add it to the commandline args for "systemd-udevd").
<re_irc>
<@TimSmall:matrix.org> 4nd3rs0n: ^
<re_irc>
<@TimSmall:matrix.org> BTW, the rules file shouldn't need to have any special ownership or perms - root ownership is fine.
<re_irc>
<@arnoldanderson:matrix.org> Thank you a lot!
<re_irc>
<@arnoldanderson:matrix.org> Useful information
<re_irc>
<@tiwalun:matrix.org> 4nd3rs0n: Maybe the subsystem is wrong? The rule specifies usb, but it seems to be in the hidraw subsystem.
<re_irc>
<@adamgreig:matrix.org> Have you unplugged and replugged the device after reloading the udev rules?
<re_irc>
<@adamgreig:matrix.org> Also for hid devices I didn't think you needed permissions set, it goes through the kernel hid stuff
<re_irc>
<@adamgreig:matrix.org> Could you run probe-rs with trace logs and upload them somewhere?
dc740 has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
<re_irc>
<@sparky:matrix.possumlodge.me> when flashing an esp32c3, does this app/part size % indicate how full the onboard flash is?
<re_irc>
Finished release [optimized] target(s) in 0.56s
<re_irc>
<@9names:matrix.org> looks like mine is also being handled by openocd and probe.rs blanket rules file, since iProduct contains the string "CMSIS-DAP".