-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benoit PAPILLAULT a écrit : > Hello, > > I've tried the vendor driver ZD1211LnxDrv_2_22_0_0 and the TotalTxFrm > register IS updated (using a 2.6.18 kernel this time). So it seems the > zd1211rw driver is missing something. > > How I can help debugging this? > > Regards, > Benoit
Hello, I found out what's wrong. Each 32 bits register is read using 2 16 bits read request over the USB bus and since the ZD_RetryCnt is a read-and-clear register, if we read the wrong 16 bits part first, the other part is reset. This explain why I was getting always 0. I'll try to do a patch in the next couple of days for zd_ioread32v_locked. Regards, Benoit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrQN6MACgkQOR6EySwP7oIcxACgxK0nzuvso+F2ditw7zRan/Eb xuEAnj4CUSkoCVci+MZb0gvuX/C3Njkg =l6cG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs