Date: Sun, 2 Oct 2016 17:25:51 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: Mori Hiroki <yamori813@yahoo.co.jp> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Solve: AR7161 USB Message-ID: <CAJ-VmomsDa9B7Y3qndttmQ8hotcRVkchR0F861KgRvAEh=oAEA@mail.gmail.com> In-Reply-To: <262371.61155.qm@web101715.mail.ssk.yahoo.co.jp> References: <379174.95890.qm@web101716.mail.ssk.yahoo.co.jp> <063ff05f-d464-823a-495c-abb800dfdaf5@freebsd.org> <105245.8987.qm@web101701.mail.ssk.yahoo.co.jp> <CAJ-VmokSNP%2BZr5s14TzvkNMukLHRFEK9p2jEpfjB=X5N4u1=Sw@mail.gmail.com> <181104.30133.qm@web101710.mail.ssk.yahoo.co.jp> <CAJ-Vmo=QgER78Wpn6Q4rPa=v8pEF7U-pBWNaZcLm3bdP3vTCrA@mail.gmail.com> <262371.61155.qm@web101715.mail.ssk.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, there are board specific config and hints files for this reason. :) Other boards have specific config/hints files that are to enable USB. This happens way too frequently :( -adrian On 2 October 2016 at 16:41, Mori Hiroki <yamori813@yahoo.co.jp> wrote: > Hi. > > I add this setting to rc script to WZR-HP-AG300H at ZRouter > build system. > > I think sys/mips/conf have only soc base setting. Because of > soc and board setting is very scrambled. It is hard find target > setting. We are never correct all world board setting. > > Regards > > Hiroki Mori > > > ----- Original Message ----- >> From: Adrian Chadd <adrian.chadd@gmail.com> >> To: Mori Hiroki <yamori813@yahoo.co.jp> >> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> >> Date: 2016/9/30, Fri 06:41 >> Subject: Re: Solve: AR7161 USB >> >> Cool. There's some stuff you can put in hints to set on/off gpio >> functions. Can you provide a diff to the right .hints file so it's >> done at boot time? >> >> >> -adrian >> >> On 28 September 2016 at 23:46, Mori Hiroki <yamori813@yahoo.co.jp> wrote: >>> Hi >>> >>> Thanks for your advice. I can use USB on AR7161. >>> >>> # gpioctl 2 1 >>> # usbconfig >>> >>> ugen0.1: <OHCI root HUB Atheros> at usbus0, cfg=0 md=HOST spd=FULL >> (12Mbps) pwr= >>> SAVE (0mA) >>> ugen1.1: <EHCI root HUB Atheros> at usbus1, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr >>> =SAVE (0mA) >>> ugen0.2: <USB IR REMOCON Bit Trade One LTD.> at usbus0, cfg=0 md=HOST >> spd=FULL ( >>> 12Mbps) pwr=ON (100mA) >>> >>> Thanks. >>> >>> Hiroki Mori >>> >>> ----- Original Message ----- >>>> From: Adrian Chadd <adrian.chadd@gmail.com> >>>> To: Mori Hiroki <yamori813@yahoo.co.jp> >>>> Cc: "freebsd-mips@freebsd.org" >> <freebsd-mips@freebsd.org> >>>> Date: 2016/9/29, Thu 13:21 >>>> Subject: Re: AR7161 USB >>>> >>>> it could be something to do with port or phy power. check the default >>>> gpio settings for your board; some don't enable usb phy power. >>>> >>>> >>>> -a >>>> >>>> >>>> On 28 September 2016 at 20:51, Mori Hiroki >> <yamori813@yahoo.co.jp> wrote: >>>>> Hi. >>>>> >>>>> on WZR-HP-G300NH(AR9132) OK >>>>> >>>>> >>>>> >>>>> # usbconfig >>>>> ugen0.1: <EHCI root HUB Atheros> at usbus0, cfg=0 md=HOST >> spd=HIGH >>>> (480Mbps) pwr >>>>> =SAVE (0mA) >>>>> ugen0.2: <USB IR REMOCON Bit Trade One LTD.> at usbus0, >> cfg=0 md=HOST >>>> spd=FULL ( >>>>> 12Mbps) pwr=ON (100mA) >>>>> # >>>>> >>>>> >>>>> on WZR-HP-AG300H(AR7161) NG >>>>> >>>>> # usbconfig >>>>> ugen0.1: <OHCI root HUB Atheros> at usbus0, cfg=0 md=HOST >> spd=FULL >>>> (12Mbps) pwr= >>>>> SAVE (0mA) >>>>> ugen1.1: <EHCI root HUB Atheros> at usbus1, cfg=0 md=HOST >> spd=HIGH >>>> (480Mbps) pwr >>>>> =SAVE (0mA) >>>>> >>>>> I use ZRouter on build. I check hints file. I seem same as >>>>> sys/mips/conf/AP96.hints. >>>>> >>>>> Thanks >>>>> >>>>> Hiroki Mori >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>>> From: Sean Bruno <sbruno@freebsd.org> >>>>>> To: freebsd-mips@freebsd.org >>>>>> Cc: >>>>>> Date: 2016/9/27, Tue 23:10 >>>>>> Subject: Re: AR7161 USB >>>>>> >>>>>> >>>>>> >>>>>> On 09/27/16 04:02, Mori Hiroki wrote: >>>>>>> Hi. >>>>>>> >>>>>>> I try to use AR7161 target(WZR-HP-AG300H) on head today. >>>>>>> But I can't use USB this target. Device is probe on >> boot but >>>> USB device >>>>>>> insert not detect device. >>>>>>> >>>>>>> Any one use this ? >>>>>>> >>>>>>> Regards. >>>>>>> >>>>>>> Hiroki Mori >>>>>> >>>>>> Is umass.ko loaded? (I assume you are using a USB storage >> device). >>>>>> >>>>>> sean >>>>>> >>>>> _______________________________________________ >>>>> freebsd-mips@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>>>> To unsubscribe, send any mail to >>>> "freebsd-mips-unsubscribe@freebsd.org" >>>> >>> _______________________________________________ >>> freebsd-mips@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomsDa9B7Y3qndttmQ8hotcRVkchR0F861KgRvAEh=oAEA>