Hi dJJackson,

On my various RPi devices, I find it's often easier to install the version provided by Raspbian via sudo apt-get install libdevice-usb-perl (just tested this and it works cleanly). That doesn't always get you the latest version of the module, but in my experience it's usually it's "good enough". Also, note that it's often not recommended to modify the system Perl, so if you're using cpan to install modules, I'd strongly recommend you do so in a custom built Perl.

However, what kind of a USB device is it? I find most USB devices fall into a category for which there are already Linux drivers available, such as mass storage, HID, etc. I've been doing a lot of work recently with USB-to-serial adapters, or devices that present themselves as such. Very often if you've got a "custom" USB device that supposedly needs a "custom" driver, then what has actually happened is that the vendor took some off-the-shelf USB chip and simply changed the default device ID so that the Linux drivers no longer automatically recognize it as a standard device. So it's just a matter of teaching the kernel driver the new device ID and suddenly the standard Linux drivers work perfectly :-)

Hope this helps,
-- Hauke D


In reply to Re: Help installing USB by haukex
in thread Help installing USB by dJJackson

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.