saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.99k stars 1.2k forks source link

Cannot access “/sys/bus/usb/devices” on Android 9.0 #515

Open trifist opened 4 years ago

trifist commented 4 years ago

After upgrading the system from Android 8 to Android 9, I cannot access "/sys/bus/usb/devices" any more.

I tried the following two method, but nether works: 1.Form C(Same as android_usbfs.c): DIR *dev = opendir("/sys/bus/usb/devices");

2.From Java: String[] names = (new File("/sys/bus/usb/devices")).list();

Both the two function above work under Android 8.0, is there anyone who knows how to solved it on Android 9.0? Thanks!

yshteinm commented 3 years ago

Have the same problem now. Anybody found solution?