respeaker / mic_array_dfu

ReSpeaker Microphone Array DFU tool for firmware upgrade
19 stars 22 forks source link

Could not find/open device #8

Open Hoeze opened 5 years ago

Hoeze commented 5 years ago
# /tmp> git clone https://github.com/respeaker/mic_array_dfu.git
# /tmp> cd mic_array_dfu
# /tmp/mic_array_dfu> make
# /tmp/mic_array_dfu> sudo ./dfu --download respeaker_mic_array_8ch_raw.bin
VID = 0x8087, PID = 0x8002, BCDDevice: 0x5
VID = 0x1d6b, PID = 0x2, BCDDevice: 0x418
VID = 0x1d6b, PID = 0x3, BCDDevice: 0x418
VID = 0x2886, PID = 0x7, BCDDevice: 0x31
XMOS DFU application started - Interface 3 claimed
Detaching device from application mode.
Waiting for device to restart and enter DFU mode...
VID = 0x2886, PID = 0x7, BCDDevice: 0x31
Could not find/open device

I tried this on two computers; one with Arch linux, the other one with Ubutun 18.04. How do I update the firmware of my device?

xiongyihui commented 5 years ago

Which device do you use? If you use ReSpeaker USB Mic Array V2 (4 Mic), use https://github.com/respeaker/usb_4_mic_array instead

Hoeze commented 5 years ago

@xiongyihui I am using the 7-mic variant

xiongyihui commented 5 years ago

Does the computer recognize the usb device? We can use lsusb to check

Hoeze commented 5 years ago

@xiongyihui Yes, it gets recognized:

Bus 005 Device 024: ID 2886:0007

However, it does not have any name. Nevertheless, I can use it with PulseAudio until I start the DFU tool.

ThomasGmeinder commented 4 years ago

The error "Could not find/open device" goes away when you run ./xmosdfu with sudo. See also https://github.com/respeaker/mic_array_dfu/issues/3.