I have this USB Spectrometer that I’d like to get working on Red Pitaya, a single board computer-based. When plugging it in no device appears in /dev/hidraw* and dmesg says: device has no listeners, quitting. I have seen somewhere that CONFIG_USB_HIDDEV needs to be enabled in the Kernel. Any idea how to verify/change that?
I did apt-get update/upgrade and apt-get install libhidapi-hidraw0, which was not installed
Any pointers are greatly appreciated
Thanks!!
System specs:
root@rp-f046c0:~# uname -a
Linux rp-f046c0 4.9.0-xilinx #1 SMP PREEMPT Wed Nov 4 06:50:41 UTC 2020 armv7l armv7l armv7l GNU/Linux
root@rp-f046c0:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
dmesg:
( 2.691135) usb 1-1.1.1: new full-speed USB device number 4 using ci_hdrc
( 2.855898) hid-generic 0003:E220:0100.0001: device has no listeners, quitting
lsusb -v -s 4
Bus 001 Device 004: ID e220:0100
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0xe220
idProduct 0x0100
bcdDevice 2.00
iManufacturer 1 ASEQ Instruments
iProduct 2 Spectrometer
iSerial 3 ASQ_SPC1900583
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
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 34
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 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Status: 0xff01
Self Powered
udevadm info /dev/bus/usb/001/004
P: /devices/soc0/amba/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1.1/1-1.1.1
N: bus/usb/001/004
E: BUSNUM=001
E: DEVNAME=/dev/bus/usb/001/004
E: DEVNUM=004
E: DEVPATH=/devices/soc0/amba/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1.1/1-1.1.1
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=Spectrometer
E: ID_MODEL_ENC=Spectrometer
E: ID_MODEL_ID=0100
E: ID_REVISION=0200
E: ID_SERIAL=ASEQ_Instruments_Spectrometer_ASQ_SPC1900583
E: ID_SERIAL_SHORT=ASQ_SPC1900583
E: ID_USB_INTERFACES=:030000:
E: ID_VENDOR=ASEQ_Instruments
E: ID_VENDOR_ENC=ASEQx20Instruments
E: ID_VENDOR_ID=e220
E: MAJOR=189
E: MINOR=3
E: PRODUCT=e220/100/200
E: SUBSYSTEM=usb
E: TYPE=0/0/0
E: USEC_INITIALIZED=3916807