Thanks Robert. I have been able to get things working. I have one doubt. 
Having run this script at bootup, the idea for me is to have a single 
gadget (with single function) to be detected on the Windows host. On 
Windows when I run the script similar to the one you pointed out, I see 2 
entries in the device manager - USB composite device and then a RNDIS 
device. Considering my gadget supports only 1 function i.e RNDIS.. having 
it detected as a composite device is where I question if its ok. Could you 
help guide if its possible to just have RNDIS device entry without the USB 
composite device entry in the device manager by altering the script you 
provided?


Regards,
Fariya

On Wednesday, October 23, 2019 at 7:38:00 AM UTC+5:30, RobertCNelson wrote:
>
> Correct, only one gadget driver can be loaded.. the default g_multi, or 
> this custom composite one.
>
> On Tue, Oct 22, 2019, 8:58 PM Fariya Fatima <[email protected] 
> <javascript:>> wrote:
>
>>
>> Thanks. Does this mean I need to uninstall g_multi?
>> I did find this script but when I do a 
>> echo musb-hdrc.0.auto > UDC (binding to UDC), I get failure device or 
>> resource busy
>> Unsure what the issue is. Could you please help?
>>
>>
>> On Wednesday, October 23, 2019 at 7:05:41 AM UTC+5:30, RobertCNelson 
>> wrote:
>>>
>>> On Tue, Oct 22, 2019 at 8:24 PM Fariya Fatima <[email protected]> wrote: 
>>> > 
>>> > Hi, 
>>> > 
>>> > I am using TI SDK for a variant of beaglebone black. The TI SDK 
>>> requires drivers to be installed on the Windows PC to be able to get 
>>> network over USB access. This is something which is unacceptable to our 
>>> customer. 
>>> > 
>>> > I have noticed that when I try latest available Debian image on 
>>> Beagelbone black, there is no need to install a Win driver to enable 
>>> network over USB connection. I am unsure where the fix is in Debian (kernel 
>>> or rootfs or both)? I intend to incorporate this fix in my TI SDK 
>>> code-base. Can someone help me where the fix for the network over USB issue 
>>> is present so I could incorporate into my code? 
>>>
>>> The TI SDK just uses g_multi, we use libcomposite/usb-configfs to 
>>> create the usb device. BTW.. Microsoft likes to break it on every 
>>> release, so here be dragons.. 
>>>
>>> The magic is here: 
>>>
>>>
>>> https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L482-L593
>>>  
>>>
>>> it's highly configurable, but you can rip parts out you don't need.. 
>>> But order does matter.. 
>>>
>>> Regards, 
>>>
>>> -- 
>>> Robert Nelson 
>>> https://rcn-ee.com/ 
>>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/7e06ebf0-d8dc-4a6a-be15-481b86aaadf0%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beagleboard/7e06ebf0-d8dc-4a6a-be15-481b86aaadf0%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9d8c2bf5-d352-49d2-85eb-1215ff565c32%40googlegroups.com.

Reply via email to