On Sat, Mar 26, 2011 at 2:01 AM, Werner Almesberger
<[email protected]> wrote:
> Richard Sharpe wrote:
>> that the only fields that are important are RequestType, Request and
>> Length? That is, that you don't particularly care about Value and
>> Index and that I can set them to zero?
>
> Both wIndex and wValue are used. wIndex is the register number or
> the buffer address, wValue the value to write (in ATUSB_REG_WRITE).
> My EP0 protocol is described in ben-wpan/atusb/fw/include/atusb/ep0.h

Current progress:

[root@localhost atusb]# ls /sys/bus/usb/devices/5-1\:1.0/
                   bInterfaceClass     bNumEndpoints  subsystem
atusb_build        bInterfaceNumber    driver         supports_autosuspend
atusb_id           bInterfaceProtocol  modalias       uevent
bAlternateSetting  bInterfaceSubClass  power
[root@localhost atusb]# cat /sys/bus/usb/devices/5-1\:1.0/atusb_build
#2 Fri Mar  4 07:46:17 ART 2011
[root@localhost atusb]# cat /sys/bus/usb/devices/5-1\:1.0/atusb_id
Major: 0, Minor: 1, HW Type: 2

Now to add sysfs entries for various registers when I can figure out
what they mean ...

-- 
Regards,
Richard Sharpe

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to