Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2010 12:33:03 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usbhidctl(1) with 8.x
Message-ID:  <alpine.BSF.2.00.1007051220180.7291@wonkity.com>
In-Reply-To: <201007051931.54891.hselasky@c2i.net>
References:  <alpine.BSF.2.00.1007051117360.7024@wonkity.com> <201007051931.54891.hselasky@c2i.net>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1007051220180.7291>