Writing driver for usb card

asked 2015-03-10 15:45:01 -0500

La Chamelle gravatar image

updated 2015-03-12 16:39:01 -0500


I recently buy a USB 3 card but it is not recognize by the system.

Result of lshw:

        description: USB controller
        product: uPD720201 USB 3.0 Host Controller
        vendor: Renesas Technology Corp.
        physical id: 0
        bus info: pci@0000:03:00.0
        version: 03
        width: 64 bits
        clock: 33MHz
        capabilities: pm msi msix pciexpress xhci bus_master cap_list
        configuration: driver=xhci_hcd latency=0
        resources: irq:17 memory:e8100000-e8101fff
           product: xHCI Host Controller
           vendor: Linux 3.18.8-201.fc21.x86_64 xhci-hcd
           physical id: 0
           bus info: usb@2
           logical name: usb2
           version: 3.18
           capabilities: usb-3.00
           configuration: driver=hub slots=4 speed=5000Mbit/s

I should modify myself the linux source according to the pdf but I'm a bit confused and don't really know from where to start. Is there any utility in fedora to help writing a driver ?

In the first time I would like to make it for myself but why not share it if it works well. Is it possible to include it in default installation of Fedora ?

Thanks you.

edit retag flag offensive close merge delete


Before you start hunting for drivers, you need to know if Linux is aware of the card. To do this, run this command as root: lshw > lshw.txt and then, edit the file. (If you're not editing it as root, you won't be able to save changes, but that's OK.) Search for the string usb- and see if you can find at least one that refers to usb 3. If not, drivers won't help. Post the results as a comment below this, not as an answer, and we'll know what to do next.

sideburns gravatar imagesideburns ( 2015-03-10 19:23:55 -0500 )edit

(or edit your original question summary - preferred)

FranciscoD_ gravatar imageFranciscoD_ ( 2015-03-11 04:55:19 -0500 )edit

Ok I edit my question with the result of the command, my card appear.

La Chamelle gravatar imageLa Chamelle ( 2015-03-12 16:41:24 -0500 )edit

OK, we now know that the card's recognized and that it's known to be usb 3.0. Checking Wikipedia tells me that the 3.0 standard only adds a higher speed mode and that devices designed to use it are completely backward compatible. I don't think that you need special drivers unless you're trying to use the high-speed mode, but I Could Be Wrong. And, if nothing else, we've eliminated the possibility that it's not being properly detected.

sideburns gravatar imagesideburns ( 2015-03-12 16:57:40 -0500 )edit

But when I plug any USB card, they are not detected.

La Chamelle gravatar imageLa Chamelle ( 2015-03-16 15:44:05 -0500 )edit