Slashdot Mirror


User Space Driver for USB Storage Devices?

Zarf asks: "With Linux, if you don't like something, fix it yourself. So when I couldn't get my USB pen-drive to work and none of the canned solutions were satifactory... I took it upon myself to fix Linux. I've posted my solution in my Slashdot user's journal. But it seems to me that there must be a better way to promote my solution. Where should I post my fix so it can help the most people?"

8 of 59 comments (clear)

  1. I suggest... by KDan · · Score: 4, Funny

    Posting it on slashdot. I hear lots of people read that site.

    Daniel

    --
    Carpe Diem
  2. The Manufacturer by rmohr02 · · Score: 5, Insightful

    Contact the manufacturer of the pendrive--ask them to place it on their website. If someone had the same problem you had, they would go to the manufacturer. They might even put your code on one of those mini-cds that the put the Windows 98 USB drivers on.

  3. Sir by gazbo · · Score: 5, Funny
    Slashdot is the wrong place not only for the driver, but also for you. You had a need, and used the open source philosophy to scratch your itch, and then released the code; Slashdot is designed for people who don't actually have coding skills, but instead like to talk about how great open source is because if they could code and if they ever actually needed to, then they could modify software.

    Oh, and for people who waste their lives gaming too.

  4. Hotplug by warmcat · · Score: 5, Informative

    Maybe you should contact hotplug, so they can consider to either include it in the docs or the package, since it just seems to be a perl hotplug script.

  5. DO NOT DO THIS by Anonymous Coward · · Score: 4, Interesting

    Please do not do this. It gives the impression that OSS programmers are free labor for hardware companies. Put it on a page on SourceForge or host it on your own site. Make sure, whatever you do, that you do it on your own terms. Do not make everyone else's work worthless by giving it away for free with no reciprocity.

    If you needed it and you want to share it with others, that's awesome. But don't let someone else get away with making a buck off of it without putting an ounce of effort into helping you.

    If you do approach the company, make it clear that you are willing to sell them a license to distribute it.

    1. Re:DO NOT DO THIS by passthecrackpipe · · Score: 4, Insightful

      On the contrary, it may signal to hardware developers that OSS developers are a clever buch that are willing to help out to make *their* hardware work. They may become more lenient in publishing hardware specs under reasonable disclosure terms, and who knows, we could get better drivers.....

      --
      People who think they know everything are a great annoyance to those of us who do.
  6. Ehh... by LinuxGeek8 · · Score: 4, Informative

    Sorry, but I don't get it. What you're doing is adding the device id's to the usb.usermap. If that's all that's needed, you culd just add it to the driver itself, or wherever it is normally put.

    For the script, all it does is load the right modules and mount the device, right?
    Loading the modules is what hotplug does, and mounting automatically with sync can be done with supermount.

    I'm no usbguru, programmer or bashguru, so maybe I'm missing something...
    I'd just contact the people from the usb-storage driver, and the hotplug people, if I had issues with it, and it's not clear to me what your isssue exatly was, and what you really needed to do to fix your issue.

    --
    Well, don't worry about that. We can get you back before you leave. (Dr. Who)
    1. Re:Ehh... by LinuxGeek8 · · Score: 4, Insightful

      Btw, what's up with the title "User Space Driver for USB Storage Devices"?
      You're still loading the kernel drivers to talk to the device, and mount that. If you mean the automount script, that's not really a driver.

      If you really need user space you could look at libusb, all that libusb needs is a driver loaded for the host controller, and for the rest it should be able to talk to the device from userspace. But if it can do usb-storage, I have no clue about that.

      --
      Well, don't worry about that. We can get you back before you leave. (Dr. Who)