Closed damionx7 closed 4 years ago
Thank you for contributing to make this project better😎 Keep up and follow to solve this issue.
Can you cat /proc/bus/pci/devices
? Analogously:
cat /proc/bus/pci/*
cat /proc/bus/*
When you find something that is like Is a directory
, what is in there? What is it? Please share this information.
This issue https://github.com/termux/proot/issues/97 @damionx7 appears to deal with an identical situation. You do not have access to the PCI bus on Android. Can you share what you are experiencing with your /proc/bus access?
i am getting access denied.
Try cat /proc/bus/*
; Notice there are no cd
s in the example.
Thank you for sharing @damionx7. This issue https://github.com/sdrausty/TermuxArch/issues/103 helped in getting htop
up and running on Android 8. We could not have got htop
going if it were not for help from https://github.com/termux/proot/issues/32. Possibly we can make similar progress with this issue...
it fixes the issue, after create a fake bind to pci/devices
it fixes the issue
Great news! Can you share the snippet of code please? This can probably be incorperated into function _PR00TSTRING_
and automated for many users.
i created an empty file fbindprocpcidevices
in ~/arch/var/binds/
and added the command to /usr/bin/startarch
-b /data/data/com.termux/files/home/arch/var/binds/fbindprocpcidevices:/proc/bus/pci/devices
.
after reading your comment, creating a .prs file would have been better.
I have looked at our work here, and I put in a little more effort. @damionx7 does this commit https://github.com/SDRausty/TermuxArch/commit/ad78d9e59f1da0b035b5ccff8c87dbb39d32a233 automate the issue we are working on? Please backup your work before refreshing as the same file names are used.
Command setupTermuxArch re
:
[re [customdir]] Refresh the Arch Linux in Termux PRoot scripts created by TermuxArch. Useful for refreshing the root user's home directory and user home directories and the TermuxArch generated scripts to their newest version.
yes indeed
Thank you 🍀
cat: /proc/bus/pci/devices: Permission denied
Hey there guys, thanks for this amazing script. i have been getting this error
cant open /proc/bus/pci/devices
when i try to runanki
. help me.