Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-14 Thread Stefan Wahren
Hi Fabio, > Fabio Estevam hat am 14. April 2015 um 16:15 geschrieben: > > > Hi Stefan, > > On Tue, Apr 14, 2015 at 5:43 AM, Peter Chen wrote: > > >> So setting "dr_mode" to "host" is the one and only solution for this case? > > > From my point, yes. > > I also agree this could be a good solution

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-14 Thread Fabio Estevam
Hi Stefan, On Tue, Apr 14, 2015 at 5:43 AM, Peter Chen wrote: >> So setting "dr_mode" to "host" is the one and only solution for this case? > From my point, yes. I also agree this could be a good solution. Care to submit a patch with this fix? Thanks, Fabio Estevam -- To unsubscribe from th

RE: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-14 Thread Peter Chen
> > > > On Sun, Apr 12, 2015 at 12:06:10PM +0200, Stefan Wahren wrote: > > > [...] > > > > > > I think the problem has something to with USB OTG, because GPIO 65 > > > is on the same pin for USB_OTG_ID. > > > My idea was to set "dr_mode" in olinuxino dts explicit to "host" and > > > it works, but

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-13 Thread Stefan Wahren
Hi Peter, > Peter Chen hat am 13. April 2015 um 09:00 > geschrieben: > > > On Sun, Apr 12, 2015 at 12:06:10PM +0200, Stefan Wahren wrote: > > [...] > > > > I think the problem has something to with USB OTG, because GPIO 65 is on the > > same pin for USB_OTG_ID. > > My idea was to set "dr_mode" in

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-13 Thread Peter Chen
On Sun, Apr 12, 2015 at 12:06:10PM +0200, Stefan Wahren wrote: > Hi, > > toggling the green LED (GPIO 65) on Olinuxino Maxi unexpectedly also toggles > the > USB Host support. > > Here is the console output: > > # Switching the led off (USB drive connected) > echo 255 > /sys/class/leds/green/br

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-12 Thread Marek Vasut
On Monday, April 13, 2015 at 07:59:29 AM, har...@ccbib.org wrote: > On Mon, 13 Apr 2015 01:18:07 +0200, Marek Vasut wrote: > > On Sunday, April 12, 2015 at 12:06:10 PM, Stefan Wahren wrote: > >> Hi, > >> > >> toggling the green LED (GPIO 65) on Olinuxino Maxi unexpectedly also > >> toggles the US

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-12 Thread harald
On Mon, 13 Apr 2015 01:18:07 +0200, Marek Vasut wrote: > On Sunday, April 12, 2015 at 12:06:10 PM, Stefan Wahren wrote: >> Hi, >> >> toggling the green LED (GPIO 65) on Olinuxino Maxi unexpectedly also >> toggles the USB Host support. >> >> Here is the console output: >> >> # Switching the led

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-12 Thread Marek Vasut
On Sunday, April 12, 2015 at 12:06:10 PM, Stefan Wahren wrote: > Hi, > > toggling the green LED (GPIO 65) on Olinuxino Maxi unexpectedly also > toggles the USB Host support. > > Here is the console output: > > # Switching the led off (USB drive connected) > echo 255 > /sys/class/leds/green/brigh