calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Raspberry pi 3 + m2tech Hiface Evo

Sat Jan 27, 2018 2:42 pm

Hello,
I'm trying to use Raspberry pi3 with my m2tech Hiface Evo under any distributions (Raspbian, Ubuntu, ecc.), but none of them found my USB card.
I tried to find the m2tech drivers but all of them seem obsolete.
Any help, please?
Thanks in advance!

fruitoftheloom
Posts: 20712
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspberry pi 3 + m2tech Hiface Evo

Sat Jan 27, 2018 3:20 pm

calabuig wrote:
Sat Jan 27, 2018 2:42 pm
Hello,
I'm trying to use Raspberry pi3 with my m2tech Hiface Evo under any distributions (Raspbian, Ubuntu, ecc.), but none of them found my USB card.
I tried to find the m2tech drivers but all of them seem obsolete.
Any help, please?
Thanks in advance!

How are you connecting the RPi to the HiFace ? USB ? If so when plugged in what is the output of the command:

Code: Select all

lsusb -v
Retired disgracefully.....

calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Sat Jan 27, 2018 4:27 pm

Yes, I connected the Hiface with USB.
This is what I get with lsusb -v

calabuig@calabuig-desktop:~$ lsusb -v

Bus 001 Device 007: ID 04b3:310c IBM Corp. Wheel Mouse
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04b3 IBM Corp.
idProduct 0x310c Wheel Mouse
bcdDevice 2.00
iManufacturer 0
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 10

Bus 001 Device 006: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x045e Microsoft Corp.
idProduct 0x0745 Nano Transceiver v1.0 for Bluetooth
bcdDevice 6.56
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 84
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 57
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 295
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 319
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 1

Bus 001 Device 005: ID 18a5:0302 Verbatim, Ltd Flash Drive
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x18a5 Verbatim, Ltd
idProduct 0x0302 Flash Drive
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0

Bus 001 Device 004: ID 04b4:930b Cypress Semiconductor Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04b4 Cypress Semiconductor Corp.
idProduct 0x930b
bcdDevice 0.01
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 0
iConfiguration 0
bmAttributes 0x60
(Missing must-be-set bit!)
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0xec00 SMSC9512/9514 Fast Ethernet Adapter
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 4

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x9514 SMC9514 Hub
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.09
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
calabuig@calabuig-desktop:~$

calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Sat Jan 27, 2018 5:44 pm

using dmesg I got this and the m2tech is there...

[ 5.668887] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 5.668900] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5.669756] hub 1-1:1.0: USB hub found
[ 5.669852] hub 1-1:1.0: 5 ports detected
[ 5.988563] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 6.118996] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 6.119014] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 6.122192] smsc95xx v1.0.5
[ 6.194091] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 6.213300] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:c3:17:58
[ 6.217860] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[ 6.308496] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 6.323732] udevd[116]: starting version 2.1.1
[ 6.439185] usb 1-1.2: New USB device found, idVendor=04b4, idProduct=930b
[ 6.439202] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.439210] usb 1-1.2: Product: USB-SPDIF
[ 6.439217] usb 1-1.2: Manufacturer: M2TECH
[ 6.439841] usb 1-1.2: config 0 descriptor??

[ 6.500071] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 6.538590] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[ 6.669242] usb 1-1.3: New USB device found, idVendor=18a5, idProduct=0302
[ 6.669258] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.669266] usb 1-1.3: Product: STORE N GO
[ 6.669274] usb 1-1.3: Manufacturer: Verbatim
[ 6.669283] usb 1-1.3: SerialNumber: 1111271158524143953104
[ 6.670445] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 6.671259] scsi host0: usb-storage 1-1.3:1.0
[ 6.678252] usbcore: registered new interface driver brcmfmac
[ 6.768485] usb 1-1.4: new full-speed USB device number 6 using dwc_otg
[ 6.797602] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[ 6.913004] usb 1-1.4: New USB device found, idVendor=045e, idProduct=0745
[ 6.913018] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.913026] usb 1-1.4: Product: Microsoft® 2.4GHz Transceiver v8.0
[ 6.913033] usb 1-1.4: Manufacturer: Microsoft
[ 6.920239] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:045E:0745.0001/input/input0
[ 6.989497] hid-generic 0003:045E:0745.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® 2.4GHz Transceiver v8.0] on usb-3f980000.usb-1.4/input0
[ 7.003400] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0745.0002/input/input1
[ 7.069152] hid-generic 0003:045E:0745.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® 2.4GHz Transceiver v8.0] on usb-3f980000.usb-1.4/input1
[ 7.106004] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.2/0003:045E:0745.0003/input/input2
[ 7.169219] hid-generic 0003:045E:0745.0003: input,hiddev0,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® 2.4GHz Transceiver v8.0] on usb-3f980000.usb-1.4/input2
[ 7.268476] usb 1-1.5: new low-speed USB device number 7 using dwc_otg
[ 7.402618] usb 1-1.5: New USB device found, idVendor=04b3, idProduct=310c
[ 7.402630] usb 1-1.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 7.402638] usb 1-1.5: Product: USB Optical Mouse
[ 7.407308] input: USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:04B3:310C.0004/input/input3
[ 7.468897] hid-generic 0003:04B3:310C.0004: input,hidraw3: USB HID v1.11 Mouse [USB Optical Mouse] on usb-3f980000.usb-1.5/input0

but with aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1

calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Sun Jan 28, 2018 4:53 pm

...with RuneAudio I had success.
The system detects my Hiface and the snd-usb-hiface.ko is present on kernel 4.7.9 subdirectory.
So I suppose that it should be possible to use Hiface under Raspbian or Ubuntu.
The problem is that Raspbian hasn't the snd-usb-hiface.ko module.
Any clues?

GordonTGopher
Posts: 70
Joined: Sat Dec 01, 2012 11:25 am
Location: Letchworth Garden City

Re: Raspberry pi 3 + m2tech Hiface Evo

Sun Jan 28, 2018 5:23 pm

As Rune is built on Arch linux you could try running that. If it's got to be Raspian then you'll need help from someone more knowledgeable than me :)

Gordon

calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Sun Jan 28, 2018 5:44 pm

I'll try it...but anyone that could help me under Raspbian or Ubuntu?

calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Fri Feb 02, 2018 4:18 pm

Ok!
It's work! Under ArchLinux I can use my m2tech Hiface Evo.
Why could not it be possible under Ubuntu or Raspbian?
Is there anyone who knows it?

calabuig
Posts: 11
Joined: Sat Jan 27, 2018 2:19 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Sat Feb 03, 2018 7:51 pm

The interface works very well under ArchLInux, but in Ubuntu there's no USB-SND-HIFACE.KO module.
So I tried to follow a guide with this instructions:

Code:
sudo apt install build-essential
sudo apt install git
git clone https://github.com/panicking/snd-usb-asyncaudio.git
cd snd-usb-asyncaudio
make
sudo insmod snd-usb-hiface.ko

But when I givre the 'make' command I receive this error:

Code:
make -C /lib/modules/4.9.79-v7+/build SUBDIRS=/home/calabuig/snd-usb-asyncaudio modules
make[1]: *** /lib/modules/4.9.79-v7+/build: No such file or directory. Stop.
Makefile:8: recipe for target 'default' failed
make: *** [default] Error 2

Is there anyone who could help me?
Thanks in advance!

fixc
Posts: 1
Joined: Mon Feb 05, 2018 3:53 pm

Re: Raspberry pi 3 + m2tech Hiface Evo

Mon Feb 05, 2018 4:03 pm

Hello calabuig

I have managed hiface on vanilla raspberry and pretty the same for volumio.
You need to follow the building new kernel procedure (https://www.raspberrypi.org/documentati ... uilding.md). After git clone new kernel, please follow CONFIGURING THE KERNEL (https://www.raspberrypi.org/documentati ... iguring.md) and in the menuconfig choose hiface to compile as a module. Then proceed with kernel building and installing. After reboot you will have snd-usb-hiface.ko under /lib/modules/<new kernel version>/kernel/sound/usb/hiface/. You can then insmod it and check it with aplay -l.

Return to “Troubleshooting”