the t.racks DSP Software can't find HID device

Questions about Wine on Linux
Post Reply
DennisQt
Newbie
Newbie
Posts: 4
Joined: Sun Jun 07, 2020 12:31 pm

the t.racks DSP Software can't find HID device

Post by DennisQt » Sun Jun 07, 2020 2:25 pm

Hi,
I own one of these devices which comes with a small windows application (download link on the product page).
The software runs without problems on wine, except I can't get it to recognise the DSP connected to my laptop. The DSP itself shows up as a HID device (hidraw) when connected via USB.

What I tried:
I already gave myself r/w access to the hidraw file (both chmod and chown) and enabled the winebus service (it's set to autostart in the registry and 'net start winebus' returns that it's already running. The software still doesn't detect the DSP.

My setup:
OS: Pop!_OS 20.04 LTS
Wine: wine-5.0.1 (winehq-stable)
DSP connected via USB (/dev/hidraw0)

Thanks in advance!

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: the t.racks DSP Software can't find HID device

Post by jkfloris » Mon Jun 08, 2020 10:31 am

Does it make any difference if you link com1 to /dev/hidraw0?

From https://wiki.winehq.org/Wine_User%27s_G ... llel_Ports
To override Wine's default device mapping, run wine regedit and create string entries in HKEY_LOCAL_MACHINE\Software\Wine\Ports where the entry name is the Windows device name and the entry value is the path to the Unix device. ... Create an entry with the name COM1 and the value /dev/hidraw0. ... After editing the registry, shut down Wine with wineserver -k and the next time Wine runs a program, your changes will take effect.

DennisQt
Newbie
Newbie
Posts: 4
Joined: Sun Jun 07, 2020 12:31 pm

Re: the t.racks DSP Software can't find HID device

Post by DennisQt » Wed Jun 10, 2020 7:45 am

Unfotunately that didn't help. I also tried to connect to the RS232 port of the DSP with a USB to RS232 converter, changed the port from com1 to com2 and I tried to connect through Ethernet.

The Ethernet connection worked but I can't use it under normal operation because the DSP is mounted inside a rack and I can't access the ports on the back so I have to use USB.

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: the t.racks DSP Software can't find HID device

Post by jkfloris » Sat Jun 13, 2020 3:28 pm

What is the output of lsusb when the DSP is connected via USB?

Code: Select all

lsusb

DennisQt
Newbie
Newbie
Posts: 4
Joined: Sun Jun 07, 2020 12:31 pm

Re: the t.racks DSP Software can't find HID device

Post by DennisQt » Sat Jun 13, 2020 4:12 pm

When using 'lsusb -v', this is the entry for the DSP:

Code: Select all

Bus 001 Device 009: ID 0168:0821 Musicrown Dsp Process
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0168 
  idProduct          0x0821 
  bcdDevice            0.00
  iManufacturer           1 Musicrown
  iProduct                2 Dsp Process
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    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         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      27
         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
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)
Without '-v' it's just the first line. The other detected USB devices are only some internal components of the computer (a few root hubs, card reader, bluetooth, controller for the illuminated keyboard).

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: the t.racks DSP Software can't find HID device

Post by jkfloris » Thu Jun 18, 2020 3:35 pm

Does dmesg show something interesting when you connect the DSP via USB?

DennisQt
Newbie
Newbie
Posts: 4
Joined: Sun Jun 07, 2020 12:31 pm

Re: the t.racks DSP Software can't find HID device

Post by DennisQt » Thu Jun 18, 2020 4:15 pm

dmesg returns this when I connect the DSP:

Code: Select all

[  169.812790] usb 1-8: new full-speed USB device number 5 using xhci_hcd
[  169.962319] usb 1-8: New USB device found, idVendor=0168, idProduct=0821, bcdDevice= 0.00
[  169.962325] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  169.962328] usb 1-8: Product: Dsp Process
[  169.962331] usb 1-8: Manufacturer: Musicrown
[  169.964550] input: Musicrown Dsp Process as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0168:0821.0002/input/input17
[  169.964848] hid-generic 0003:0168:0821.0002: input,hidraw0: USB HID v1.10 Device [Musicrown Dsp Process] on usb-0000:00:14.0-8/input0

Post Reply