New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix support for linkit Smart 7688 on openWRT 18.06 #983
Comments
The syslog way of debugging is exactly what you've pasted as a Anyway, looks like that new OS version disables At the moment I have no time to analyze this in more detail, sorry, so @sergev, do you have any idea how else it could be initialized if @novski - if that's an option (you'll need to rebuild the kernel), you could probably simply flip the respective kernel option, but I admit that's not the best way to go about that, rather a quick-and-dirty one to make it work until a longer-term solution is found |
As this device should in the end be used as a IoT board i don't think it's a good idea to make it work in a developer agnostic kernel root debug access mode. |
https://bugs.openwrt.org/index.php?do=details&task_id=1496&status%5B0%5D=&pagenum=4
|
Thanks for the path. I tried that now and got a different error:
Looks like the Is somebody familiar with such a errorcode or message? |
oh just noticed that pin2 is not mapped Still i'm a bit cautious. Wondering: |
Glad it works for you. As for the "security hole", well, one anyway has to be root to use that due to typical filesystem permissions on that character device. Not a huge justification, but still :) Essentially that's just not the best security practice as it provides too much access to userspace where normally a kernel driver with more limited API must exist - so it violates the principle of least privilege. You can try flipping the |
for anyone comming across this you also have to add |
I got the same problem when I try to operate gpio with python,here is the log Wed Feb 16 11:47:11 2022 local1.notice libmraa[2510]: libmraa version v2.2.0 initialised by user 'root' with EUID 0 I guess the reason is "platform doesn't support chardev" In contrast to openwrt 15.04,the log is |
I noticed that libmraa is broken on linkit smart 7688 on openWRT 18.06. (+)
I get an error in
logread
:libmraa initialised for platform 'Unknown platform' of type 98
.The syslog way of debuging does not work as openWRT 18.06 does not support it.
Im not sure at what point this package stoped working. It could be a mraa v2 or a openWRT/LEDE merge issue.
Who can help me debug that?
I have seen that @sergev has once made a PR for previous versions. Please let me know if you are able to fix it.
regards, novski
This is the full output after trying to start the python test:
and this is the full
logread
:The text was updated successfully, but these errors were encountered: