Re: [beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
On Sunday, 24 September 2017 21:19:02 UTC+3, qie...@gmail.com wrote: > > Okay, this answers my question in another thread. So now how do I > disable one or the other? > > On Thursday, August 31, 2017 at 4:11:49 PM UTC+2, RobertCNelson wrote: >> >> On Thu, Aug 31, 2017 at 9:07 AM, Tarmo Kuusewrote: >> > >> > Hi! >> > >> > I've been reading the am335x_evm.sh & friends for a while and don't get >> it. >> > Why are there two separate Ethernet over USB interfaces - eth0 and eth1 >> - >> > doing the same exact thing? They both show up when I connect a BB to my >> > Debian PC. >> > >> > Having no experience with gadget and libcomposite, I'd guess that RNDIS >> and >> > CDC ECM are both required simultaneously to somehow support >> > Windows/Mac/Linux users out of the box? >> >> So this is Windows and Apple's fault.. >> >> Windows = CDC ECM = needs signed driver.. >> Apple = RNDIS = needs signed driver... >> >> Windows will use the RNDIS with a built-in driver, thus user doesn't >> have to install anything... >> Apple will use the CDC ECM with a built-in driver, thus user doesn't >> have to install anything... >> >> So in linux, we end with two interfaces, because Windows and Apple >> don't have a unified built-in driver... >> >> Regards, >> >> -- >> Robert Nelson >> https://rcn-ee.com/ >> > I'd go for hacking out either the rndis or ecm config from usb-gadget setup in am335x_evm.sh (see Robert's last post with highlighted lines). -- Kind regards, Tarmo Kuuse -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/42bfb1f7-f8c5-495e-86dd-a8c0839d33cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
Okay, this answers my question in another thread. So now how do I disable one or the other? On Thursday, August 31, 2017 at 4:11:49 PM UTC+2, RobertCNelson wrote: > > On Thu, Aug 31, 2017 at 9:07 AM, Tarmo Kuuse> wrote: > > > > Hi! > > > > I've been reading the am335x_evm.sh & friends for a while and don't get > it. > > Why are there two separate Ethernet over USB interfaces - eth0 and eth1 > - > > doing the same exact thing? They both show up when I connect a BB to my > > Debian PC. > > > > Having no experience with gadget and libcomposite, I'd guess that RNDIS > and > > CDC ECM are both required simultaneously to somehow support > > Windows/Mac/Linux users out of the box? > > So this is Windows and Apple's fault.. > > Windows = CDC ECM = needs signed driver.. > Apple = RNDIS = needs signed driver... > > Windows will use the RNDIS with a built-in driver, thus user doesn't > have to install anything... > Apple will use the CDC ECM with a built-in driver, thus user doesn't > have to install anything... > > So in linux, we end with two interfaces, because Windows and Apple > don't have a unified built-in driver... > > 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/9731a6f1-1535-4e4c-b46e-a1100b6c45ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
On Thursday, August 31, 2017 at 5:20:06 PM UTC+3, RobertCNelson wrote: > > On Thu, Aug 31, 2017 at 9:15 AM, Tarmo Kuuse> wrote: > > On Thursday, August 31, 2017 at 5:11:49 PM UTC+3, RobertCNelson wrote: > >> > >> On Thu, Aug 31, 2017 at 9:07 AM, Tarmo Kuuse > wrote: > >> > I've been reading the am335x_evm.sh & friends for a while and don't > get > >> > it. > >> > Why are there two separate Ethernet over USB interfaces - eth0 and > eth1 > >> > - > >> > doing the same exact thing? They both show up when I connect a BB to > my > >> > Debian PC. > >> > > >> > Having no experience with gadget and libcomposite, I'd guess that > RNDIS > >> > and > >> > CDC ECM are both required simultaneously to somehow support > >> > Windows/Mac/Linux users out of the box? > >> > >> So this is Windows and Apple's fault.. > >> > >> Windows = CDC ECM = needs signed driver.. > >> Apple = RNDIS = needs signed driver... > >> > >> Windows will use the RNDIS with a built-in driver, thus user doesn't > >> have to install anything... > >> Apple will use the CDC ECM with a built-in driver, thus user doesn't > >> have to install anything... > >> > >> So in linux, we end with two interfaces, because Windows and Apple > >> don't have a unified built-in driver... > > > > > > Fair enough, thanks for the explanation. > > > > Since the comments in "autoconfigure_usb1.sh" say it's handling CDC/ECM, > I > > assume that the other one (usb0) does RNDIS. > > it's only because we enable rndis first thus it becomes usb0: > > > https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L503-L531 > > > Regards, > > > -- > Robert Nelson > https://rcn-ee.com/ > Oky ... /long blank stare/ ... I think I mostly get it now. The sysfs hierarchy groups them both under "functions/*.usb0" which is an excellent red herring :) -- Tarmo -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b1a20d7e-071c-4da3-8d8c-652e1d3a6138%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
On Thu, Aug 31, 2017 at 9:15 AM, Tarmo Kuusewrote: > On Thursday, August 31, 2017 at 5:11:49 PM UTC+3, RobertCNelson wrote: >> >> On Thu, Aug 31, 2017 at 9:07 AM, Tarmo Kuuse wrote: >> > I've been reading the am335x_evm.sh & friends for a while and don't get >> > it. >> > Why are there two separate Ethernet over USB interfaces - eth0 and eth1 >> > - >> > doing the same exact thing? They both show up when I connect a BB to my >> > Debian PC. >> > >> > Having no experience with gadget and libcomposite, I'd guess that RNDIS >> > and >> > CDC ECM are both required simultaneously to somehow support >> > Windows/Mac/Linux users out of the box? >> >> So this is Windows and Apple's fault.. >> >> Windows = CDC ECM = needs signed driver.. >> Apple = RNDIS = needs signed driver... >> >> Windows will use the RNDIS with a built-in driver, thus user doesn't >> have to install anything... >> Apple will use the CDC ECM with a built-in driver, thus user doesn't >> have to install anything... >> >> So in linux, we end with two interfaces, because Windows and Apple >> don't have a unified built-in driver... > > > Fair enough, thanks for the explanation. > > Since the comments in "autoconfigure_usb1.sh" say it's handling CDC/ECM, I > assume that the other one (usb0) does RNDIS. it's only because we enable rndis first thus it becomes usb0: https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L503-L531 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYj_xCU7CXv%2Bzw%2Birz4ur%2BBAfsF%2BhzBe-Hx3iN6PLG68iA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
On Thursday, August 31, 2017 at 5:11:49 PM UTC+3, RobertCNelson wrote: > > On Thu, Aug 31, 2017 at 9:07 AM, Tarmo Kuuse> wrote: > > I've been reading the am335x_evm.sh & friends for a while and don't get > it. > > Why are there two separate Ethernet over USB interfaces - eth0 and eth1 > - > > doing the same exact thing? They both show up when I connect a BB to my > > Debian PC. > > > > Having no experience with gadget and libcomposite, I'd guess that RNDIS > and > > CDC ECM are both required simultaneously to somehow support > > Windows/Mac/Linux users out of the box? > > So this is Windows and Apple's fault.. > > Windows = CDC ECM = needs signed driver.. > Apple = RNDIS = needs signed driver... > > Windows will use the RNDIS with a built-in driver, thus user doesn't > have to install anything... > Apple will use the CDC ECM with a built-in driver, thus user doesn't > have to install anything... > > So in linux, we end with two interfaces, because Windows and Apple > don't have a unified built-in driver... > Fair enough, thanks for the explanation. Since the comments in "autoconfigure_usb1.sh" say it's handling CDC/ECM, I assume that the other one (usb0) does RNDIS. -- Kind regards, Tarmo -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c3cffce3-543c-492a-8ee2-e5f43cde9610%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
On Thu, Aug 31, 2017 at 9:07 AM, Tarmo Kuusewrote: > > Hi! > > I've been reading the am335x_evm.sh & friends for a while and don't get it. > Why are there two separate Ethernet over USB interfaces - eth0 and eth1 - > doing the same exact thing? They both show up when I connect a BB to my > Debian PC. > > Having no experience with gadget and libcomposite, I'd guess that RNDIS and > CDC ECM are both required simultaneously to somehow support > Windows/Mac/Linux users out of the box? So this is Windows and Apple's fault.. Windows = CDC ECM = needs signed driver.. Apple = RNDIS = needs signed driver... Windows will use the RNDIS with a built-in driver, thus user doesn't have to install anything... Apple will use the CDC ECM with a built-in driver, thus user doesn't have to install anything... So in linux, we end with two interfaces, because Windows and Apple don't have a unified built-in driver... 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgG%3D22uAPUrk6wJvZuypCE-WomM%3D7sEWJASJTCacFB18w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Why two Ethernet over USB interfaces, usb0 and usb1?
Hi! I've been reading the am335x_evm.sh & friends for a while and don't get it. Why are there two separate Ethernet over USB interfaces - eth0 and eth1 - doing the same exact thing? They both show up when I connect a BB to my Debian PC. Having no experience with gadget and libcomposite, I'd guess that RNDIS and CDC ECM are both required simultaneously to somehow support Windows/Mac/Linux users out of the box? -- Kind regards, Tarmo -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/04d3efec-5c28-4b70-9714-372dc43a737c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.