usbhidctl(1) with 8.x

Warren Block wblock at wonkity.com
Mon Jul 5 18:33:08 UTC 2010


On Mon, 5 Jul 2010, Hans Petter Selasky wrote:

> On Monday 05 July 2010 19:27:59 Warren Block wrote:
>> Is usbhidctl(1) functional under 8.x?  With a USB joystick and 8-stable:
>>
>>    Unknown USB device: vendor 0x046d product 0xc207 bus uhub8
>>    uhid0: <vendor 0x046d product 0xc207, class 0/0, rev 1.00/1.04, addr 3>
>>  on usbus3
>>
>>    % ls -l /dev/uhid*
>>    crw-r--r--  1 root  operator    0, 122 Jul  5 11:25 /dev/uhid0
>>    % usbhidctl -f /dev/uhid0 -a
>>    usbhidctl: USB_SET_IMMED: Device not configured
>
> Yes, it should work, but I have not tested it recently.
>
> To enable more debugging:
>
> sysctl hw.usb.uhid.debug=15

It shows a little more:

   ugen3.3: <vendor 0x046d> at usbus3
   uhid_probe:
   uhid_probe:
   uhid_probe:
   uhid_attach: sc=0xc6c8aa80
   uhid0: <vendor 0x046d product 0xc207, class 0/0, rev 1.00/1.04, addr 3> on usbus3

Another USB joystick shows sc=0xc6c89700 and also "Device not 
configured".


More information about the freebsd-usb mailing list