From: P.G. R. <p.g...@ph...> - 2006-11-27 10:20:31
|
Hi people, I have been investigating the new firmware/model issue over the last week or so to the point of understanding how libipoddevice has got around it. Thusly, I have a couple of points for discussion and clarification: a) Being LGPL and libgpod being GPL, they are compatible in that I could take code from the one and copy into the second. Is this ok from a project perspective (feeling kinda guilty that I am piggybacking on their hard work)? b) A scsi lib is required for "grabbing" the xml file, which is rewritten onto the data partition. The would be a necessary dependency for the function to work. c) It appears that hal and dbus are not required as the scsi function can be called directly. However, two things would be required - mountpoint of the ipod and the block device of the ipod's firmware partition. The former is straightforward as it will be provided by the user but the second appears a little more complicated. I used hal/dbus for getting block devices in jnigpod so does anyone know of a method to get the block device path based on a given mountpoint, ie. /mnt/ipod -> /dev/sda2 -> /dev/sda1? Apologies taking longer than I thought it would. Any thoughts welcome. Paul (a.k.a. phantomjinx) -- Laws are partly formed for the sake of good men, in order to instruct them how they may live on friendly terms with one another, and partly for the sake of those who refuse to be instructed, whose spirit cannot be subdued, or softened, or hindered from plunging into evil. [The Laws, Plato] |