|
From: Ted B. <tbu...@ca...> - 2007-02-26 20:41:25
|
Just wanted to clarify that fixing this file descriptor closing thingy only affects reading WMPInfo.xml. Not reading the device certificate which still fails for both clix firmwares. At least for me. Is that what you meant Rob? -Ted Ted Bullock wrote: > Yes, that does solve the problem. > > Does removing this out break anything else? > > ptp.c should not be closing that file descriptor; Especially since there > is no documentation saying that is what it does and it didn't open it in > the first place. > > I am going to comment that line out with a note mentioning the above. > > > Rob Reardon wrote: >> I think I might have found something.... >> >> ptp.c line 318 is closing the fd before it returns it to detect.c. Removing >> this returns my certificate! >> >> On 4:08:44 am 02/26/07 Ted Bullock <tbu...@ca...> wrote: >>> So I have been unable to read the WMPInfo.xml file using mtp-detect on >>> either of my iriver clix devices (firmware 1.11 or 2.01). >>> >>> I have added some error echo stuff to that portion of the program to >>> help diagnose the problem. However, I wonder if there are any devices >>> out there that this is working on? >>> >>> Personally I believe my errors are associated with the other read >>> errors on the iriver clix devices, but just to make sure, can anyone >>> actually read the WMPInfo.xml file with mtp-detect? >>> >>> Please use the CVS source to test if possible. >>> >>> -Ted > > > -- Theodore Bullock, tbu...@ca..., http://www.createyourhometheater.com Software Engineering Student, University of Calgary GPG Fingerprint = 3B8E 8B0E D296 AACB 7BE2 24F2 1006 B7BE C8AC 5109 |