Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respeaker mic array v2.0 DOA #45

Open
maulikmadhavi opened this issue Oct 1, 2018 · 2 comments
Open

Respeaker mic array v2.0 DOA #45

maulikmadhavi opened this issue Oct 1, 2018 · 2 comments

Comments

@maulikmadhavi
Copy link

I am using respeaker microphone array v2.0 for DOA application in ubuntu. I was following the reference from http://wiki.seeedstudio.com/ReSpeaker_Mic_Array_v2.0/

  1. during Update Firmware, while running dfu.py I got ValueError.

sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version

Traceback (most recent call last):
File "dfu.py", line 229, in
main()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "dfu.py", line 218, in main
dev = XMOS_DFU()
File "dfu.py", line 198, in init
super(XMOS_DFU, self).init()
File "dfu.py", line 73, in init
raise ValueError('No DFU device found')
ValueError: No DFU device found

  1. Furthermore, while running doa.py, I got nothing. Also running separately following on python, dev variable is empty.

from tuning import Tuning
import usb.core
import usb.util
import time

dev = usb.core.find(idVendor=0x2886, idProduct=0x0018)

Please help me, thanks in advance.

@xiongyihui
Copy link
Contributor

Do your computer recognize the usb sound card? You can use lsusb to check.

The usb mic array may already contains 6 channels firmware. You can use audacity to check how many channels does the sound card has.

@maulikmadhavi
Copy link
Author

By running lsusb, I got:

Bus 002 Device 002: ID 8087:8002 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 007: ID 0424:5744 Standard Microsystems Corp. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 046d:0a44 Logitech, Inc. Headset H390
Bus 003 Device 016: ID 0424:2744 Standard Microsystems Corp. 
Bus 003 Device 003: ID 413c:301a Dell Computer Corp. 
Bus 003 Device 002: ID 413c:2113 Dell Computer Corp. 
Bus 003 Device 017: ID 2886:0018  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The screenshot is attached for your reference,
respeaker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants