[Prism54-devel] XH8196 driver analysis
Jean-Baptiste Note
jean-baptiste.note at wanadoo.fr
Tue Jan 25 19:06:11 UTC 2005
Hi Sebastien,
> Ok, it works now, with offset 20. But I must use the firmware image provided
> in the XH8196 archive, I've tried with first-generation firmwares and the
> WG111 2.5.8.0 firmware ; the "bra" parsing fails.
Okay, thanks; i had never tried at offset 20 on the given firmware. I'll
map this into the driver ; then we'll be able to get users to test
it. Any idea what the "x2" file format is (and what the 16 octets header
means ?) ?
> I'm thinking about writing a program with a command-line interface (quite easy
> to implement with libreadline) which will have commands to request the UMAC
> library to perform a specific task (we will have quite a good control over
> this, using the API...) and then dump what it would have sent to the device
> (and why not send it actually, it's quite easy with libusb, and we will get
> real replies. But the main problem is to work an USB device with a
> second-generation firmware...)
Have a look at the logs, mapping from second generation protocol to
first-generation protocol seems rather easy.
For what is sent and received, have a look at usb_softmac.c, and the
calls to
ic_message_handle
and
ic_message_query
in sm_drv_usb_bh in file sm_drv_usb.c
PS: any docs and/or example code for libusb ?
JB
--
Jean-Baptiste Note
+33 (0)6 83 03 42 38
jean-baptiste.note at wanadoo.fr
More information about the Prism54-devel
mailing list