Menu

#3 *BSD does not detect my organizer

libcdorganizer
open
KShots
Interface (2)
7
2007-02-22
2007-02-22
KShots
No

It has come to my attention that libcdorganizer does not work "out of the box" under *BSD. On my test machine, I discovered that libusb is not returning the USB bus when requested - instead it returns a 0. This effectively causes libcdorganizer to assume there are no devices.

The attached test program demonstrates the problem. Under linux, it will list the vid and pid of all attached devices, regardless of device permissions (as long as the user has read-access). Under *BSD, usb_get_busses() returns 0.

I do plan on supporting FreeBSD, and I suspect that if I resolve the FBSD problem, the other BSDs will follow suit.

Discussion

  • KShots

    KShots - 2007-02-22

    libusb test

     
  • KShots

    KShots - 2007-02-23

    Logged In: YES
    user_id=1360058
    Originator: YES

    More info:

    A user has reported that they could make the device work by re-compiling the FreeBSD kernel without HID support. This is still not an acceptable solution, but it works and is worthy of being noted.

    The following section of a UPS guide describes the process:

    http://www.apcupsd.com/manual/USB_Configuration.html#SECTION000102300000000000000

    The proper way to handle this should be to suppress HID grabbing the device to begin with, allowing a user with the proper permissions to access the device as they please. In linux, this may be done via hotplug, and libusb has the power to force a release of any other claim over the device on linux (including HID).

     

Log in to post a comment.

MongoDB Logo MongoDB