Date: Wed, 6 Jan 2010 12:55:56 -0200 From: Renato Botelho <rbgarga@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-current@freebsd.org, Andrew Thompson <thompsa@freebsd.org> Subject: Re: USB stop to identify sun keyboard Message-ID: <747dc8f31001060655l186ca965g88240271a4b27605@mail.gmail.com> In-Reply-To: <201001061358.16919.hselasky@c2i.net> References: <747dc8f31001051046v3fd62732j85b3df10e7db4d8d@mail.gmail.com> <201001061216.12121.hselasky@c2i.net> <747dc8f31001060336j51d6c350x4abda99d18ec3423@mail.gmail.com> <201001061358.16919.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 6, 2010 at 10:58 AM, Hans Petter Selasky <hselasky@c2i.net> wrote: > On Wednesday 06 January 2010 12:36:58 Renato Botelho wrote: >> On Wed, Jan 6, 2010 at 9:16 AM, Hans Petter Selasky <hselasky@c2i.net> > wrote: >> > That is because these devices provide a device string, while your SUN >> > keyboard does not. See: >> > >> > usbconfig -u X -a Y dump_device_desc dump_curr_config_desc >> > >> > Look for fields starting with iXXXX . >> >> There is an iProduct string there: > > Yes. Could you dump the language table aswell: > > usbconfig -u X -a Y do_request 0x80 0x06 0x0300 0 0x100 And here is the data for Hub that this keyboard have: root@botelhor:/home/garga# usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc ugen0.2: <product 0x100e vendor 0x0430> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0430 idProduct = 0x100e bcdDevice = 0x0104 iManufacturer = 0x0000 <no string> iProduct = 0x0000 <no string> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0019 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0001 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 root@botelhor:/home/garga# usbconfig -u 0 -a 2 do_request 0x80 0x06 0x0300 0 0x100 REQUEST = <0x04 0x03 0x09 0x04><> -- Renato Botelho
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?747dc8f31001060655l186ca965g88240271a4b27605>