usb QR reader

Daniel Braniss
Sun, 05 Jan 2020 17:03:55 -0000

> On 5 Jan 2020, at 17:08, Hans Petter Selasky <hps at selasky.org>
wrote:
>
> On 2020-01-05 15:32, Daniel Braniss wrote:
>> status 0x6a1a3
<OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
>> 16:25:17.790304 usbus5.2
SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
>> frame[0] WRITE 8 bytes
>> 0000  21 22 03 00 00 00 00 00  -- -- -- -- -- -- -- --  |!"......
|
>> flags 0x10 <PROXY_BUFFER|0>
>> status 0x4a1a3
<OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|0>
>> 16:25:17.790346 usbus5.2
DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
>> flags 0 <0>
>> status 0x8a1a5
<OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|DOING_CALLBACK|0>
>> 16:25:18.797312 usbus5.2
DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
>> flags 0x10 <PROXY_BUFFER|0>
>
> Hi,
>
> There are some USB requests your USB device doesn't respond to.
ERR=TIMEOUT
>
> You might find the corresponding driver and enable .debug=16 under :
>
> sysctl hw.usb | grep debug
>
> To get more information what exactly goes wrong.
>
> ?HPS

did that:
	sysctl hw.usb.debug=16
but can?t see any changes, /var/log/messages seems the same as before,
BTW, the device works fine when I connect it to a mac, so it must be something
in the umodem0

cheers,
	danny