Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2016 11:42:11 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Milan Obuch <freebsd-arm@dino.sk>
Cc:        freeBSD-arm@freebsd.org
Subject:   Re: any progress with OrangePi Plus / AllWinner H3 ?
Message-ID:  <20160618114211.f71809bd2f5a368eabca8164@bidouilliste.com>
In-Reply-To: <20160618110041.e5db5c5c8378bb0822783c14@bidouilliste.com>
References:  <0A7A3F1D-2853-4DA4-A8A1-52C38A6ED093@cs.huji.ac.il> <20160617090156.83824237d9b1ae564bb92088@bidouilliste.com> <487C9542-1397-4CB7-837C-CD724656A0F1@cs.huji.ac.il> <20160617114018.0e70ad81@zeta.dino.sk> <0F8AAA97-99E7-4378-B6AB-F81EF45EAAC5@cs.huji.ac.il> <20160617192745.45f8a18db251547d8a01e571@bidouilliste.com> <20160617195658.0dec9f7875228ba372dadbd3@bidouilliste.com> <20160618093545.1c360555@zeta.dino.sk> <20160618094514.a83fc993b93c120fb6e014f4@bidouilliste.com> <20160618100315.12478671@zeta.dino.sk> <20160618102338.eba15ac1d427a7d3687865d8@bidouilliste.com> <20160618110041.e5db5c5c8378bb0822783c14@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help

 There seems to be a problem with HIGH speed device but not every time

 On orangepi I successfully used :
 - An Optical mouse (LOW speed device)
 - An FDTI usb adapter (FULL speed device)
 - An usb 3.0 thumb drive (HIGH speed device)

ugen1.2: <Logitech> at usbus1
ums0: <Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 2> on
usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0
root@allwinner:~ # usbconfig 
ugen0.1: <EHCI root HUB Allwinner> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.1: <OHCI root HUB Generic> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen1.2: <Optical USB Mouse Logitech> at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON (100mA)

ugen1.2: <FTDI> at usbus1
uftdi0: <TTL232R-3V3> on usbus1
root@allwinner:~ # usbconfig
ugen0.1: <EHCI root HUB Allwinner> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.1: <OHCI root HUB Generic> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen1.2: <TTL232R-3V3FTDI> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON (90mA)

ugen0.2: <Corsair> at usbus0
umass0: <Corsair Voyager Mini 3.0, class 0/0, rev 2.10/1.10, addr 2> on
usbus0 umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:0:0: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Corsair Voyager Mini 3.0 PMAP> Removable Direct Access SPC-4 SCSI
device da0: Serial Number 07083C762390FF02
da0: 40.000MB/s transfers
da0: 59082MB (120999936 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
GEOM: da0: the secondary GPT header is not in the last LBA.
GEOM: diskid/DISK-07083C762390FF02: the secondary GPT header is not in
the last LBA.

root@allwinner:~ # usbconfig 
ugen0.1: <EHCI root HUB Allwinner> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.1: <OHCI root HUB Generic> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen0.2: <Voyager Mini 3.0 Corsair> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (300mA)

But as soon as I unplug my usb thumb drive I have a hard time to attach
a HIGH speed device after, I need to wait ~1 min before plugin a new
device so that it works again.

I also have the problem on my laptop (running ALPHA3) so it's not
arm/allwinner related.

On Sat, 18 Jun 2016 11:00:41 +0200
Emmanuel Vadot <manu@bidouilliste.com> wrote:

> On Sat, 18 Jun 2016 10:23:38 +0200
> Emmanuel Vadot <manu@bidouilliste.com> wrote:
> 
> > > Also, USB spams console with
> > > 
> > > gic0: Spurious interrupt detected: last irq: 107 on CPU0
> > > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR,
> > > ignored) usbd_setup_device_desc: getting device descriptor at addr 2
> > > failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=2, set address
> > > failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting
> > > device descriptor at addr 2 failed, USB_ERR_IOERROR
> > > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR,
> > > ignored) usbd_setup_device_desc: getting device descriptor at addr 2
> > > failed, USB_ERR_IOERROR
> > > 
> > > (sorry mailer mangled this, but I do not expect anyone to analyze this
> > > as there *are* working sources available for this... yours)
> > > 
> > > From your tests, which devices are not working yet? Do you have any
> > > plans what to work on next?
> > 
> >  I'll test USB again, it used to work at least.
> 
>  I do see the same stuff, it doesn't happened everytime thought.
>  I'll try to find the problem.
> 
> -- 
> Emmanuel Vadot
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"


-- 
Emmanuel Vadot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160618114211.f71809bd2f5a368eabca8164>