|
From: Roger Q. <rog...@no...> - 2011-01-17 07:35:52
|
Hi, On 01/15/2011 12:31 PM, ext Linus Walleij wrote: > Has any of you Nokia guys had a chance to test out the new detection code in > libmtp 1.0.4? > > I personally believe this udev-based scheme ought to be the right way forward, > it always invokes mtp-probe, and in the Nokia case it should detect the string > "MTP" on the interface, flag this as MTP and bail out. I can confirm that Meego based USB devices will also have MTP string on the interface. > > On devices not announcing MTP in the interface string it will resort to probing > for the "OS descriptor". > > Basically it's the exact same probing routine that is used inside libmtp that is > invokes for every new device that is class 06 (PTP), vendor specific (0xff) or > interface-defined (0x00). > > Have you tried this code and does it work for you? > But i still need to confirm if it works. I'll give a quick check and let you know. -- regards, -roger |