Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6501

how to write a usb storage device driver

$
0
0

I used the usb driver template usb skeleton.c in the kernel and changed VENDOR_ID and PRODUCT_ID to be able to detect my usb storage device. Then compile this module and install it. Unfortunately, although the probe function works correctly, there is no my device when I execute fdisk -l

Before installing the module, I have uninstalled the two modules usb_storage and usa, and renamed usb_storage.ko to ensure that it will not install itself

I want to know how to make the usb storage device be able to display and access normally


Viewing all articles
Browse latest Browse all 6501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>