On 4/24/22 03:31, Peter Jeremy wrote:
(I actually want to emulate a keyboard but I thought I'd start with
something that's documented to work).
Some hints for that:
usbtest
[0] - Select Computer Mode:
1) This computer is Running the Device Side
2) This computer is Running the Host Side
On 4/24/22 03:31, Peter Jeremy wrote:
11:02:59.641528 usbus0.2
DONE-CTRL-EP=,SPD=HIGH,NFR=1,SLEN=8,IVAL=0,ERR=0
frame[0] READ 8 bytes
A3 77 65 86 A3 77 65 86 -- -- -- -- -- -- -- -- |.we..we.|
Hi,
This byte sequence looks like garbage. It should be idential to that
On 4/24/22 03:31, Peter Jeremy wrote:
Apr 24 11:02:59 server kernel: usb_alloc_device: set address 2 failed
(USB_ERR_IOERROR, ignored)
Just one comment here.
Set address is one of first commands executed.
Are you sure the D+ and D- pins are properly connected via the GPIO
configuration?
I
I have a BananaPi M1 running FreeBSD 13.1-stable from about a week ago
and I'm trying to get the OTG port to work. I have both musb and
umodem devices loaded and the probe looks OK:
musbotg0: mem 0x1c13000-0x1c133ff irq 20 on simplebus0
musbotg0: setting phy mode 3
usbus0: Dynamic FIFO sizing de