Announcement

Collapse
No announcement yet.

The Linux USB Library Has Been Forked

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    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.

    Comment


    • #3
      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.)

      Comment


      • #4
        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.

        Comment


        • #5
          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

          Comment


          • #6
            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.

            Comment


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

              Comment


              • #8
                I wonder why some head devs seem unable to say "okay, I'm not able to deal with all that stuff anymore. Give me a break and somebody take over". Probably creators of a project becoming slow and less involved is one of the main reasons for forks. I mean it's not a shame to say I got too much "RL" troubles or a family and to step back a little and let somebody active take over.
                Anyway. Welcome libusbx.
                Stop TCPA, stupid software patents and corrupt politicians!

                Comment


                • #9
                  Originally posted by Adarion View Post
                  I wonder why some head devs seem unable to say "okay, I'm not able to deal with all that stuff anymore. Give me a break and somebody take over".
                  It's not that hard to understand. People who start projects are often very possessive of it - they're happy for others to contribute, but it's quite a different matter to completely hand it over to someone else. Even if he or she doesn't really spend much time on that project, it's still a big deal to step away and make it someone else's project.

                  Not everyone thinks that way, of course, but many do.

                  Comment


                  • #10
                    proprietary usb hardware license dongles tend to use libusb as their interface. that way they don't need special drivers to access the dongle, just proper system permission.

                    Comment

                    Working...
                    X