If you read about how udev works you can run it manually from the
command line once you figure out how to set up all of the environment
variables it needs.  That should let you debug what is happening. As
far as I know firmware loading works on ARM processors, there's just
some piece missing on your set up.

The firmware code might want /proc/bus/usb mounted (you need to turn
on the kernel option to make sure it is built into the USB driver).
mount -t usbfs none /proc/bus/usb  It's not supposed to need this.

The udev rule looks like this:
SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware_helper"
firmware_helper needs to be on the path. DId you build firmware_helper
as an ARM binary?

Add some debug messages to firmware_helper.

This is what you should see:
usb 5-3.5: request_fw_file() fw name zd1211/zd1211b_ub
usb 5-3.5: upload_firmware() firmware device id 0x4810 is equal to the
actual device id
usb 5-3.5: request_fw_file() fw name zd1211/zd1211b_uphr
usb 5-3.5: upload_code() transfer size 4096
usb 5-3.5: upload_code() transfer size 1024
usb 5-3.5: upload_code() firmware confirm return value 0x01

Jon Smirl

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
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to