On Tue, Jun 12, 2012 at 9:07 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > As already mentioned before, there are a few warnings > under NetBSD but as per Pete we are going to wait for > some BSD people to chime in to help resolve the warnings. > I think that is fair.
There are no compiler warnings under OpenBSD. And since I can get libusbdotnet working under OpenBSD I tested with the RC1 as well and it still works fine. I have no idea about why the error message comes out but xusb and libusbdotnet both work with the benchmark device. bash-4.2$ ./xusb 04d8:fa2e Using libusbx v1.0.12.10528 Opening device... libusbx: error [obsd_get_device_list] could not open /dev/ugen0.00 speed: 12 Mbit/s (USB 1.0 FullSpeed) Reading device descriptor: length: 18 device class: 0 S/N: 3 VID:PID: 04D8:FA2E bcdDevice: 0001 iMan:iProd:iSer: 1:2:3 nb confs: 1 Reading configuration descriptors: nb interfaces: 1 interface[0]: id = 0 interface[0].altsetting[0]: num endpoints = 2 Class.SubClass.Protocol: 00.00.00 endpoint[0].address: 01 max packet size: 0020 polling interval: 00 endpoint[1].address: 81 max packet size: 0020 polling interval: 00 interface[0].altsetting[1]: num endpoints = 2 Class.SubClass.Protocol: 00.00.00 endpoint[0].address: 01 max packet size: 0040 polling interval: 00 endpoint[1].address: 81 max packet size: 0040 polling interval: 00 Claiming interface 0... Reading string descriptors: String (0x01): "Travis Robinson" String (0x02): "Benchmark Device" String (0x03): "LUSBW1" Releasing interface 0... Closing device... bash-4.2$ LIBUSB_DEBUG=4 bash-4.2$ ./xusb 04d8:fa2e Using libusbx v1.0.12.10528 [timestamp] [threadID] facility level [function call] <message> -------------------------------------------------------------------------------- [ 0.000036] [000f98cf] libusbx: debug [libusb_init] created default context [ 0.000531] [000f98cf] libusbx: debug [libusb_init] libusbx v1.0.12.10528 [ 0.003558] [000f98cf] libusbx: debug [usbi_add_pollfd] add fd 3 events 1 Opening device... [ 0.003683] [000f98cf] libusbx: debug [libusb_get_device_list] [ 0.003755] [000f98cf] libusbx: debug [obsd_get_device_list] [ 0.031797] [000f98cf] libusbx: debug [_cache_active_config_descriptor] fd 5 [ 0.039887] [000f98cf] libusbx: debug [_cache_active_config_descriptor] active bLength 9 [ 0.039909] [000f98cf] libusbx: debug [_cache_active_config_descriptor] index -1, len 55 [ 0.039929] [000f98cf] libusbx: debug [obsd_get_device_descriptor] [ 0.040296] [000f98cf] libusbx: debug [libusb_get_device_descriptor] [ 0.040310] [000f98cf] libusbx: debug [obsd_get_device_descriptor] [ 0.040326] [000f98cf] libusbx: debug [libusb_open] open 1.2 [ 0.040346] [000f98cf] libusbx: debug [obsd_open] open /dev/ugen0.00: fd 5 [ 0.040374] [000f98cf] libusbx: debug [usbi_add_pollfd] add fd 6 events 1 [ 0.040430] [000f98cf] libusbx: debug [libusb_get_device_list] [ 0.040443] [000f98cf] libusbx: debug [obsd_get_device_list] [ 0.040460] [000f98cf] libusbx: error [obsd_get_device_list] could not open /dev/ugen0.00 speed: 12 Mbit/s (USB 1.0 FullSpeed) Reading device descriptor: [ 0.040773] [000f98cf] libusbx: debug [libusb_get_device_descriptor] [ 0.040786] [000f98cf] libusbx: debug [obsd_get_device_descriptor] length: 18 device class: 0 S/N: 3 VID:PID: 04D8:FA2E bcdDevice: 0001 iMan:iProd:iSer: 1:2:3 nb confs: 1 ... -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel