[Prism54-devel] usb advances
Jean-Baptiste Note
jean-baptiste.note at wanadoo.fr
Sun Dec 19 09:44:13 UTC 2004
Hi,
Sebastien B <sebastien.b at swissinfo.org> said :
> Hi,
> The results are very encouraging. Using the firmware extracted from
> the
> Windows drivers, I managed to have the packets dumped, but I had to
Thanks ! this means we got the "information frame" decoding right !
encouraging indeed.
> comment the lines resetting the USB device ; calling
> usb_reset_device()
> after the firmware upload never returns and causes a deadlock in the
> module for some odd reason. Why should the USB be resetted ? Is it to
> mimic the Windows driver's behaviour ? It seems unnecessary, at least
> for my device.
Actually Feyd wrote this part of the driver, i only fixed some
endianess problems, some control logic problems related to the
interrupt handling, allowed the resubmission of some packets during
firmware upload. So for the actual meaning of the code, we should
ask him first, but i think that indeed the intent was to mimic the
windows driver.
I'll try without it on my devices, and remove it if unneeded, but i'm
not sure we would not be hiding another problem. The kernel tells you
nothing apart from this problem ? I've understood some things lately
about usb and DMA, so there's bound to be some problems left in the
code.
By the way, does anyone knows if it's possible to do a powerdown /
powerup on an usb device on the command line in linux ? Better than
unplugging / replugging it by hand, which i often have to do...
> The LED on my device even blinked as it does when using the official
> drivers, but just once ; with the official drivers it does regularly
> when you're not connected to a network. Maybe it just indicates that
> the
> card is scanning for networks, so it can be perfectly normal as
> prism54u
> doesn't support scanning for now.
You're right, I'll do scanning soon, it's really simple with the madwifi
stack.
I think the blink comes only when emitting data, so you won't be able to
use your device to lighten your christmas tree (this year).
> By the way, could you add the USB IDs of my device to the "official"
> source ? Vendor 0x083a, product 0x4502.
Done.
Thanks,
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