Re: Re: Unbranded USB DVB device afatech af9005

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



En/na Andrew Leech ha escrit:

Hi Luca, All,
I'm attempting a port of your driver to the AF9015 chip, and slowly making progress. Just for reference, I've never written drivers for computers before, pretty much all my programming experience is in embedded stuff, it's much simpler there.

My biggest stumbling block at the moment is the firmware file. How did you know where to extract the firmware from (af9005.fw & af9005-script.h)? Was it simply through the documentation you were given, or was it through windows snooping?

both: from the documentation I knew the firmware download sequence, I also had the firmware in a firmware.h file. Since it wasn't working I did some snooping and got the firmware downloaded under windows (which is different that the one that came in the documentation). The same can be said of the register initialization sequence. I have some rough python scripts to decode the windows snoop file, but I think they're af9005 specific.


I've sent Afatech an email asking for access to documentation on this newer chip, no reply yet, so just working with what I've got. This chip is at least somewhat different to the 9005, as simply adding the PID/VID of my device into the driver didn't work, I get a "af9005: boot bad config header." An extra err printout tells me that the buff[2] value that gives the "boot bad config header" is 0x0 when it should be 0x11 for your driver.

I'm Bcc'ing my contact at afatech, he's been very helpful so I hope he'll contact you privately.

Bye
--
Luca


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux