Hi,

Dark Knight wrote:
Hi Everyone,

I have some more information regarding this. Its seems the driver is
not able to create bulk end points. I added some debug prints in
f_adb.c and epautoconf.c Here is the output

        pxa27x_udc: version 2008-04-18
        android init
        android_bind
        mass_storage_function_add
        usb_add_function:
                        usb_configuration label=android
        usb_function name= usb_mass_storage
         name[epautoconf.c: ep_matches] ep->Name=ep1out-bulk ,
        [epautoconf.c: ep_matches] ep->Name=ep2in-bulk ,
        [epautoconf.c: ep_matches] ep->Name=ep1out-bulk ,
        android_usb gadget: Number of LUNs=1
        adb_function_add
        usb_add_function:
                        usb_configuration label=android
        usb_function name= adb
         name<7>android_usb gadget: adb_function_bind dev: c39b89a0
        [epautoconf.c: ep_matches] ep->Name=ep1out-bulk ,
        [epautoconf.c: ep_matches] Ep Claimed. Returning
        [epautoconf.c: ep_matches] ep->Name=ep2in-bulk ,
        [epautoconf.c: ep_matches] Ep Claimed. Returning
        [epautoconf.c: ep_matches] ep->Name=ep3in-iso ,
        [epautoconf.c: ep_matches] ep->Name=ep4out-iso ,
        [epautoconf.c: ep_matches] ep->Name=ep5in-int ,
        adb_function_bind: create_bulk_endpoints failure
        adb gadget driver failed to initialize
        usb_add_config failed
        pxa27x-udc pxa27x-udc: bind to driver android_usb --> error -19

It seems, it is not able to search and find the required "free"
endpoint. So how do I take this issue further? Is there any solution
for this?
There is a static matching on the pxa27xx driver usb and you have only two bulk (in/out) so you can use gadget and no the storage. One solution that give the possibilty to have more bulk point is to create manually in the static table. I have tried this but I have some
problem of stability.

Michael Trimarhci
Regards,
Regards
--
Vaisakh P S
(http://www.google.com/profiles/VaisakhRulez)


--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to