# ODROID C2 USB/SD driver and lib issues?

**URL:** https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189
**Category:** Troubleshooting
**Created:** [22 May 2022 21:12 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189 "2022-05-22T21:12:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ltorsini](https://dietpi.com/forum/user_avatar/dietpi.com/ltorsini/32/1883_2.png) [@ltorsini](https://dietpi.com/forum/u/ltorsini)
#### Post date: [22 May 2022 21:12 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/1 "2022-05-22T21:12:21Z")

</div>

All, I’m running latest version (8.4.2) after dietpi-update and have a couple issues. I don’t have access to USB or SD storage via LXQt and I am missing library files for Java: Can’t load library: /usr/lib/jvm/java-17-openjdk-arm64/lib/libawt\_xawt.so

I’ve tried to manually update javca but no luck, it still skips that library. I was hoping to add the library off a USB but none of my storage ports are working. Any pointers would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [22 May 2022 21:38 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/2 "2022-05-22T21:38:09Z")

</div>

did you tried to add a 2nd USB device to your C2? Might be similar to this case

> [@\[Workaround\] HiBy R5 not recognized as USB DAC on Odroid C2](https://dietpi.com/forum/t/workaround-hiby-r5-not-recognized-as-usb-dac-on-odroid-c2/12205/3):
>
> Looked around and finally found that there appears to be a bug with the C2 in recognizing USB devices. A workaround that seems to work - weird but it works with mine too - is to add a second USB device and reboot the device. I added an USB drive and both are now recognized, initialized and working after a reboot. (When removing one of the devices it again doesn’t stick after a reboot.)

---

<div class="post-metadata">

### Author: ![ltorsini](https://dietpi.com/forum/user_avatar/dietpi.com/ltorsini/32/1883_2.png) [@ltorsini](https://dietpi.com/forum/u/ltorsini)
#### Post date: [23 May 2022 00:02 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/3 "2022-05-23T00:02:41Z")

</div>

I did, unfortunately it is not helping.

---

<div class="post-metadata">

### Author: ![ltorsini](https://dietpi.com/forum/user_avatar/dietpi.com/ltorsini/32/1883_2.png) [@ltorsini](https://dietpi.com/forum/u/ltorsini)
#### Post date: [23 May 2022 00:24 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/4 "2022-05-23T00:24:50Z")

</div>

Ok, figured out the USB issue, needed to install an exFAT driver in order to mount them. The Java issue is still a mystery, the install script in Dietpi seems to install the headless version regardless and this is not a headless setup.

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [23 May 2022 05:07 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/5 "2022-05-23T05:07:35Z")

</div>

Which exFAT driver did your install? Was a reboot recommended after the DietPi update and did you follow it in case? With recent kernel, exFAT is a kernel driver, so after kernel upgrades, a reboot is required to have it loaded.

`dietpi-drive_manager` should install required drivers automatically and also inform you of a reboot is required after kernel upgrade, so that the kernel module can be detected/loaded correctly.

---

<div class="post-metadata">

### Author: ![ltorsini](https://dietpi.com/forum/user_avatar/dietpi.com/ltorsini/32/1883_2.png) [@ltorsini](https://dietpi.com/forum/u/ltorsini)
#### Post date: [23 May 2022 19:37 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/6 "2022-05-23T19:37:26Z")

</div>

I’m not sure which driver it was specifically, I didn’t take notes. For some reason, drive manager wouldn’t recognize the drives without the driver installed so I guess it didn’t see them to install. After several more tries, it seems that java has been installed with the correct libraries as well. IDK why but this has been a real pain to work with, it’s taken 4 hours of fiddling to get everything working.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [23 May 2022 20:21 UTC](https://dietpi.com/forum/t/odroid-c2-usb-sd-driver-and-lib-issues/13189/7 "2022-05-23T20:21:14Z")

</div>

At least the drive needs to be visibly by the system itself. Something like `lsblk` or `blkid` should show it. Otherwise no chance for `dietpi-drive_manager` to detect it. Unfortunately we don’t know what the status was before and what solved it 🙄
