<set_>
pathlib still works. So, either I am doing something wrong, probably, or this might be a butter sandwich of ideas that I cannot make work just yet.
<set_>
Either way, I will keep testing.
<set_>
And then, when " echo 1 > value " commands are given, this is the output of no permission: -bash: value: Permission denied
<set_>
So, I also have not been able to run the source under your lib. dir. w/out sudo. So, this is probably it.
<set_>
I will retry from scratch.
<zmatt>
don't use sudo
<zmatt>
and yes, you doing something wrong sounds like a reasonable hypothesis
<set_>
Ha.
<set_>
I tried w/out sudo and received permission errors, i.e. even w/ the udev rule.
<zmatt>
unless your system is entirely broken you should never get permission errors when trying to use gpio
<set_>
I know, oh. So, I do not need the udev rule you mentioned that I called 84-gpio.rules?
<zmatt>
like, this is something that works normally out of the box on any image
<set_>
Oh. Right. I saw the udev rules for no-root-gpio.rules.
<zmatt>
it doesn't matter too much what you call my udev rule, but it has nothing to do with permissions
<zmatt>
yes, /etc/udev/rules.d/80-gpio-noroot.rules is responsible for setting permissions
<set_>
I added another .rules to /etc/udev/rules.d/
<set_>
Okay.
<zmatt>
(part of the bb-customizations package)
<set_>
I am going to erase the udev rules that I added in /etc/udev/rules.d/
<zmatt>
ehm
<set_>
What?
<zmatt>
having my udev rules for gpio is still highly recommended too
<set_>
Oh. Okay.
<zmatt>
that just doesn't have anything to do with permissions, it's for creating symlinks
<set_>
Right, so if this has nothing to do w/ permission errors, which is what I am having now, I will rebuild from scratch.
<set_>
Maybe when I used sudo make install.
<zmatt>
uhh, what did you make install?
<set_>
Everything in overlays-utils.
<zmatt>
overlay-utils has nothing to install, its makefile has no install rule
<set_>
It said nothing was needed. So, I politely moved on. I know. I made this error in the beginning.
<zmatt>
"make: *** No rule to make target 'install'. Stop"
<set_>
Right.
<set_>
So, let me rename overlay-utils and clone it again.
<zmatt>
??
<zmatt>
this has nothing to do with overlay-utils
<set_>
permissions has nothing to do w/ overlay-utils either?
<zmatt>
no
<set_>
Hmm.
<set_>
Okay well, this is one for the books. B/c, dmesg is on the way.
<zmatt>
what does ls -l show on whatever path you were getting permission errors on?
<zmatt>
(also, wtf why is that udev rule missing on bullseye?)
<set_>
See. Now, you got the question correct.
<zmatt>
rcn-ee: what happened to 80-noroot-gpio.rules on bullseye?
<set_>
Why is the udev rule not already there on Bullseye?
<zmatt>
(or an equivalent rule to set sysfs gpio permissions)
<set_>
Hmm. It seems this may be a fault of the char driver persons?
<set_>
GPIO this chip that.
<set_>
Dang it.
<zmatt>
set_: please stop "testing" bullseye... you have no capacity to distinguish between issues with bullseye and issues you've caused yourself
<zmatt>
you're just creating more confusion for yourself and more work for me in trying to decode what's going on
<set_>
Okay.
<set_>
I am not going to write a new image tonight for now.
<set_>
I will "update" to Buster later.
<set_>
I just assumed everyone was testing w/ this image and kernel.
<set_>
That is my mistake.
<set_>
There are so many of them right now on the "shelf." It is hard to test one and stay w/ it.
<zmatt>
just use the latest official image
<set_>
Where is that now?
<zmatt>
the same place it's always been?
<set_>
On beagleboard.org/latest-images?
<zmatt>
yes
<set_>
Argh. Last I tried it was updating and upgrading. I will go back.
<set_>
Sheesh.
<zmatt>
??
<set_>
There is a lot of work to be done. One cannot just assume everyone is using the same image and kernel, right?
<zmatt>
most people are yes
<set_>
Oh.
<set_>
Hmm. Okay, my mistake. It just seems like b/c of the forums, things changed a bit. The kernels people use and the images too are all available in plain sight for people like me to just get, grab, and go.
<set_>
I will get an older image to "steal" the show w/ the 80-noroot-gpio.rules file.
<set_>
Then, I can use this lib. Oh hey, @zmatt, can I chat about your lib. on the forums once I get it working correctly due to udev and "my" missing files?
<zmatt>
?
<zmatt>
what do you mean by "chat about" my lib?
<set_>
Serious. Oh, I want to discuss it w/ random people that may seem to like it. Polls of libs. once created are fun. I know this is usually more serious than just plain-Jane fun around here.
<set_>
But...I am not ordinary groupy.
* set_
is like a monster groupy.
<set_>
Ha.
<set_>
Anyway, I joke, I kid, and I tell lies.
<set_>
So, back to the ole, drawing board for me.
<set_>
Argh.
<set_>
Have you ever heard that song?
<set_>
"and we are telling lies." It is some American country song from the '50s I guess. It is awesome!
<set_>
It may be called, "If you like sinnin'."
<set_>
Anyway, sorry to waste your time AGAIN!
<set_>
SUBSYSTEM=="i2c", GROUP="gpio", ACTION=="add", \ <<< Can i use this idea but w/ the SUBSYSTEM=="gpio", for noroot-gpio.rules?
<zmatt>
no
<set_>
Dang it.
<set_>
Okay. I will go and search around to see if I can find it.