On Mon, 31 Jul 2006, Alan Stern wrote:
> On Mon, 31 Jul 2006, James Klaas wrote:
>
> > Ah, I didn't realize that. I've read the protocol, but a lot of it
> > went
> > over my head.
> >
> > Well, it's got five switches on it that can be read. It only has
> > one
> > end point with a couple of different options to write to. An LED
> > with a
> > few options and an audio switch to turn an internal speaker on and
> > off.
>
> Can you provide any more information about the endpoint(s)? What
> shows up
> in /proc/bus/usb/devices (or in "lsusb -v")?
>
Here's "lsusb -v":
Bus 001 Device 004: ID 05e3:fd51 Genesys Logic, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0xfd51
bcdDevice 1.00
iManufacturer 0
iProduct 1 ePuppy
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
> > I guess I'm not sure how often it should be polled. I guess it should
> > be polled at the same level as any HID device, but that might be
> > excessive.
>
> Different HID devices have different polling rates.
>
> Alan Stern
>
--
James Klaas
"Secrecy is the beginning of tyranny." -- Lazarus Long (Robert A. Heinlein)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel