Android things UsbDevices

被刻印的时光 ゝ 提交于 2019-12-06 14:08:08

问题


I am developing with Android Things on rpi3. I have a problem working with usb devices(pendrive) in my Raspi3 on Android things platform 1.0 Versión, i have been able to detect Usb(pendrive) Files, and copy files to them from my sd Card. I use 'com.github.mjdev:libaums:0.5.5' library, and I cannot work with all kind of usb devices.I have 3 pendrives which are FAT32, and i can only use one, the others report me an error message, as soon as i plug them into mi rpi3, i get this messages:

  • "Unsupported fs on partition"
  • "E/2: error setting up device"

So i cannot work with them, because the error appears on setup_device() functions of this library.

Any idea?

Best regards Álvaro


回答1:


unfortunately, I do not think I will be able to help you out on that one.

You should make sure it is FAT32 and an MBR (GPT is not supported, atm).

If that is the case then please debug and see why the Fat32FileSystem cannot be initialized properly.



来源:https://stackoverflow.com/questions/50737903/android-things-usbdevices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!