Results 1 to 10 of 14

Thread: The Linux USB Library Has Been Forked

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    14,621

    Default The Linux USB Library Has Been Forked

    Phoronix: The Linux USB Library Has Been Forked

    Libusb has been forked as libusbx and it appears this library for user-space USB data transfers on Linux and other operating systems is gaining traction...

    http://www.phoronix.com/vr.php?view=MTEwNTY

  2. #2
    Join Date
    Dec 2010
    Location
    MA, USA
    Posts
    1,266

    Default

    libusb doesn't support hotplugging? That's like... the point of USB - a fast, hotswappable interface. Unless I'm misunderstanding it, I've been able to plug and unplug my USB devices just fine under linux.

  3. #3
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    5,411

    Default

    "The open-source USB library has even been ported to Windows"

    ?????????????????????? holy S...?

  4. #4
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,788

    Default

    Quote Originally Posted by schmidtbag View Post
    libusb doesn't support hotplugging? That's like... the point of USB - a fast, hotswappable interface. Unless I'm misunderstanding it, I've been able to plug and unplug my USB devices just fine under linux.
    That's handled by the kernel USB driver and udev. I am not sure why libusb is actually needed. It seems to be used by CUPS and SANE (for printers and scanners.)

  5. #5
    Join Date
    Dec 2010
    Location
    MA, USA
    Posts
    1,266

    Default

    Quote Originally Posted by RealNC View Post
    That's handled by the kernel USB driver and udev. I am not sure why libusb is actually needed. It seems to be used by CUPS and SANE (for printers and scanners.)
    That would make sense because this pritner-scanner combo I have will occasionally cause kernel panics if I unplug it.

  6. #6
    Join Date
    Oct 2010
    Posts
    257

    Default

    For Arch Linux users, I created this morning a package in AUR (if you want to try libusbx): https://aur.archlinux.org/packages.php?ID=59473. At the moment, no problems so far...

    Cheers

  7. #7
    Join Date
    Sep 2007
    Location
    Connecticut,USA
    Posts
    956

    Default

    Quote Originally Posted by schmidtbag View Post
    That would make sense because this pritner-scanner combo I have will occasionally cause kernel panics if I unplug it.
    maybe then sane/xsane and friends should make use of either the kernel USB driver/udev stack or even libusbx to avoid such instability.

  8. #8
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,061

    Default

    Surely userspace can't cause a kernel panic like that, without a kernel bug.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •