I have even compiled it from source :

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# git clone git://
git.ao2.it/kinect-audio-setup.git

Clone in 'kinect-audio-setup' in corso...
remote: Counting objects: 651, done.
remote: Compressing objects: 100% (641/641), done.
remote: Total 651 (delta 401), reused 0 (delta 0)
Ricezione degli oggetti: 100% (651/651), 92.48 KiB | 635.00 KiB/s, fatto.
Risoluzione dei delta: 100% (401/401), fatto.

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup#
make install

make -C kinect_upload_fw install
make[1]: ingresso nella directory
«/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup/kinect_upload_fw»
cc -std=c99 -pedantic -Wall -Wextra -O2 -fno-common -Wall -Wextra
-Wformat=2 -Winit-self -Winline -Wpacked -Wp,-D_FORTIFY_SOURCE=2
-Wpointer-arith
-Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-defini
tion -Wredundant-decls -Wsign-compare -Wstrict-aliasing=2
-Wstrict-prototypes -Wswitch-enum -Wundef -Wunreachable-code
-Wwrite-strings -Wunsafe-lo
op-optimizations -I/usr/include/libusb-1.0   -c -o endian.o endian.c
cc   endian.o  -lusb-1.0 -o endian
rm -f endian.h
./endian > endian.h
cc -std=c99 -pedantic -Wall -Wextra -O2 -fno-common -Wall -Wextra
-Wformat=2 -Winit-self -Winline -Wpacked -Wp,-D_FORTIFY_SOURCE=2
-Wpointer-arith
-Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-defini
tion -Wredundant-decls -Wsign-compare -Wstrict-aliasing=2
-Wstrict-prototypes -Wswitch-enum -Wundef -Wunreachable-code
-Wwrite-strings -Wunsafe-lo
op-optimizations -I/usr/include/libusb-1.0   -c -o kinect_upload_fw.o
kinect_upload_fw.c
In file included from kinect_upload_fw.c:38:
/usr/include/libusb-1.0/libusb.h:937:1: warning: packed attribute is
unnecessary for ‘libusb_control_setup’ [-Wpacked]
 937 | } LIBUSB_PACKED;
     | ^
kinect_upload_fw.c: In function ‘main’:
kinect_upload_fw.c:270:9: warning: ‘libusb_set_debug’ is deprecated: Use
libusb_set_option instead [-Wdeprecated-declarations]
 270 |         libusb_set_debug(NULL, 3);
     |         ^~~~~~~~~~~~~~~~
In file included from kinect_upload_fw.c:38:
/usr/include/libusb-1.0/libusb.h:1362:18: note: declared here
1362 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
     |                  ^~~~~~~~~~~~~~~~
cc   kinect_upload_fw.o  -lusb-1.0 -o kinect_upload_fw
install -d /usr/local/sbin
install -m 755 kinect_upload_fw /usr/local/sbin
make[1]: uscita dalla directory
«/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup/kinect_upload_fw»

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup#
make install_udev_rules FIRMWARE_PATH=/lib/firmware/kinect/UACFirmware
LOADER_PATH=/usr/local/sbin/kinect_upload_fw

install -d /lib/udev/rules.d
install -m 644 contrib/55-kinect_audio.rules.in
/lib/udev/rules.d/55-kinect_audio.rules
./kinect_patch_udev_rules \
 "/lib/firmware/kinect/UACFirmware" \
 "/usr/local/sbin/kinect_upload_fw" \
 "/lib/udev/rules.d/55-kinect_audio.rules"

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup#
./kinect_fetch_fw /lib/firmware/kinect

This script is going to download the UAC Firmware for the Microsoft
Kinect Sensor device from the Microsoft Kinect for Windows SDK:
http://kinectforwindows.org/

The full license of the SDK can be found at:
http://research.microsoft.com/en-us/um/legal/kinectsdk-tou_noncommercial.htm

--2023-04-04 17:04:23--
http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
Risoluzione di download.microsoft.com (download.microsoft.com)...
23.59.69.117, 2a02:26f0:1d00:29b::317f, 2a02:26f0:1d00:2ad::317f
Connessione a download.microsoft.com
(download.microsoft.com)|23.59.69.117|:80...
connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
Posizione:
https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
[segue]
--2023-04-04 17:04:23--
https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
Connessione a download.microsoft.com
(download.microsoft.com)|23.59.69.117|:443...
connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 21823488 (21M) [application/octet-stream]
Salvataggio in: ‘KinectSDK-v1.0-beta2-x86.msi’

KinectSDK-v1.0-beta2-x86.msi
        
100%[====================================================================>]
 20.81M  8.51MB/s    in 2.4s

2023-04-04 17:04:25 (8.51 MB/s) - ‘KinectSDK-v1.0-beta2-x86.msi’ salvato
[21823488/21823488]

Extracting the UAC firmware... done.

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup#
udevadm control --reload-rules

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio/kinect-audio-setup#
cat /proc/asound/cards

0 [PCH            ]: HDA-Intel - HDA Intel PCH
                     HDA Intel PCH at 0x89330000 irq 159
1 [Device         ]: USB-Audio - USB Audio Device
                     C-Media Electronics Inc. USB Audio Device at
usb-0000:00:14.0-3.1.2, full speed
4 [Device_1       ]: USB-Audio - USB Audio Device
                     C-Media Electronics Inc. USB Audio Device at
usb-0000:00:14.0-3.1.3, full speed

:(

On Tue, Apr 4, 2023 at 4:54 PM Mario Marietto <marietto2...@gmail.com>
wrote:

> I have installed the package on Ubuntu 22.04. Same situation that I have
> on Debian 11. It is not recognized as sound device :
>
> root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# lsb_release -a
>
> LSB Version:    core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
> Distributor ID: Ubuntu
> Description:    Ubuntu 22.04.2 LTS
> Release:        22.04
> Codename:       jammy
>
> root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# cat
> /proc/asound/cards
>
> 0 [PCH            ]: HDA-Intel - HDA Intel PCH
>                      HDA Intel PCH at 0x89330000 irq 159
> 1 [Device         ]: USB-Audio - USB Audio Device
>                      C-Media Electronics Inc. USB Audio Device at
> usb-0000:00:14.0-3.1.2, full speed
> 4 [Device_1       ]: USB-Audio - USB Audio Device
>                      C-Media Electronics Inc. USB Audio Device at
> usb-0000:00:14.0-3.1.3, full speed
>
> On Tue, Apr 4, 2023 at 4:43 PM Mario Marietto <marietto2...@gmail.com>
> wrote:
>
>> I've fixed the issue and I have installed the deb package :
>>
>> root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# dpkg -i
>> hark-kinect_1.2.0.4440_amd64.deb
>>
>> (Lettura del database... 347122 file e directory attualmente installati.)
>> Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
>> Estrazione di hark-kinect (1.2.0.4440) su (1.2.0.4440)...
>> Configurazione di hark-kinect (1.2.0.4440)...
>>
>> This script is going to download the UAC Firmware for the Microsoft
>> Kinect Sensor device from the Microsoft Kinect for Windows SDK:
>> http://kinectforwindows.org/
>>
>> The full license of the SDK can be found at:
>> http://www.kinectforwindows.org/download/EULA.htm
>>
>> --2023-04-04 16:22:19--
>> http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>> Risoluzione di download.microsoft.com (download.microsoft.com)...
>> 23.59.69.117, 2a02:26f0:8d00:686::317f, 2a02:26f0:8d00:691::317f
>> Connessione a download.microsoft.com 
>> (download.microsoft.com)|23.59.69.117|:80...
>> connesso.
>> Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
>> Posizione:
>> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>> [segue]
>> --2023-04-04 16:22:19--
>> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>> Connessione a download.microsoft.com 
>> (download.microsoft.com)|23.59.69.117|:443...
>> connesso.
>> Richiesta HTTP inviata, in attesa di risposta... 200 OK
>> Lunghezza: 21823488 (21M) [application/octet-stream]
>> Salvataggio in: «KinectSDK-v1.0-beta2-x86.msi»
>>
>> KinectSDK-v1.0-beta2-x86 100%[==================================>]
>>  20,81M  8,58MB/s    in 2,4s
>>
>> 2023-04-04 16:22:21 (8,58 MB/s) - «KinectSDK-v1.0-beta2-x86.msi» salvato
>> [21823488/21823488]
>>
>> 945806927702b2c47c32125ab9a80344
>> 945806927702b2c47c32125ab9a80344
>> Extracting the UAC firmware...
>> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
>> p7zip Version 16.02 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,64 bits,16
>> CPUs Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (906ED),ASM,AES-NI)
>>
>> Scanning the drive for archives:
>> 1 file, 21823488 bytes (21 MiB)
>>
>> Extracting archive: KinectSDK-v1.0-beta2-x86.msi
>> --
>> Path = KinectSDK-v1.0-beta2-x86.msi
>> Type = Compound
>> Physical Size = 21823488
>> Extension = msi
>> Cluster Size = 4096
>> Sector Size = 64
>> ----
>> Path = media1.cab
>> Size = 20488022
>> Packed Size = 20488192
>> --
>> Path = media1.cab
>> Type = Cab
>> Physical Size = 20488022
>> Method = MSZip
>> Blocks = 10
>> Volumes = 1
>> Volume Index = 0
>> ID = 0
>>
>> Everything is Ok
>>
>> Files: 4
>> Size:       434176
>> Compressed: 21823488
>>  done.
>> Elaborazione dei trigger per man-db (2.9.4-2)...
>>
>> I don't see errors,but I still don't see the kinect between the sounds
>> cards :
>>
>> root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# cat /proc/asound/cards
>>
>>  0 [Device_1       ]: USB-Audio - USB Audio Device
>>                       C-Media Electronics Inc. USB Audio Device at
>> usb-0000:00:14.0-3.1.3, full speed
>>  1 [Device         ]: USB-Audio - USB Audio Device
>>                       C-Media Electronics Inc. USB Audio Device at
>> usb-0000:00:14.0-3.1.2, full speed
>>  2 [PCH            ]: HDA-Intel - HDA Intel PCH
>>                       HDA Intel PCH at 0x89330000 irq 160
>>  3 [NVidia         ]: HDA-Intel - HDA NVidia
>>                       HDA NVidia at 0x87080000 irq 17
>>  4 [NVidia_1       ]: HDA-Intel - HDA NVidia
>>                       HDA NVidia at 0x83080000 irq 18
>>
>> What should I do now ?
>>
>> On Tue, Apr 4, 2023 at 2:13 PM Mario Marietto <marietto2...@gmail.com>
>> wrote:
>>
>>> Seems like they moved them, I found the devs here:
>>>
>>> http://archive.hark.jp/harkoldrepos/dists/precise/non-free/binary-amd64/
>>>
>>> but It does not work :
>>>
>>> marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo dpkg -i
>>> hark-kinect_1.2.0.4440_amd64.deb
>>>
>>> Selezionato il pacchetto hark-kinect non precedentemente selezionato.
>>> (Lettura del database... 347111 file e directory attualmente installati.)
>>> Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
>>> Estrazione di hark-kinect (1.2.0.4440)...
>>> Configurazione di hark-kinect (1.2.0.4440)...
>>>
>>> This script is going to download the UAC Firmware for the Microsoft
>>> Kinect Sensor device from the Microsoft Kinect for Windows SDK:
>>> http://kinectforwindows.org/
>>>
>>> The full license of the SDK can be found at:
>>> http://www.kinectforwindows.org/download/EULA.htm
>>>
>>> --2023-04-04 14:10:22--
>>> http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>>> Risoluzione di download.microsoft.com (download.microsoft.com)...
>>> 92.122.248.205, 2a02:26f0:8d00:691::317f, 2a02:26f0:8d00:686::317f
>>> Connessione a download.microsoft.com 
>>> (download.microsoft.com)|92.122.248.205|:80...
>>> connesso.
>>> Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
>>> Posizione:
>>> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>>> [segue]
>>> --2023-04-04 14:10:22--
>>> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>>> Connessione a download.microsoft.com 
>>> (download.microsoft.com)|92.122.248.205|:443...
>>> connesso.
>>> Richiesta HTTP inviata, in attesa di risposta... 200 OK
>>> Lunghezza: 21823488 (21M) [application/octet-stream]
>>> Salvataggio in: «KinectSDK-v1.0-beta2-x86.msi»
>>>
>>> KinectSDK-v1.0-beta2-x86 100%[==================================>]
>>>  20,81M  8,57MB/s    in 2,4s
>>>
>>> 2023-04-04 14:10:25 (8,57 MB/s) - «KinectSDK-v1.0-beta2-x86.msi» salvato
>>> [21823488/21823488]
>>>
>>> kinect_fetch_fw: Invalid hash for file 'KinectSDK-v1.0-beta2-x86.msi'.
>>>
>>> ==================================================================
>>>   Error : Non Download File
>>>   Please Remove & Re-install hark-kinect
>>>   Remove  Command : sudo apt-get remove hark-kinect
>>>   Insatll Command : sudo apt-get hark-kinect
>>> ==================================================================
>>>
>>> dpkg: errore nell'elaborare il pacchetto hark-kinect (--install):
>>>  il sottoprocesso installato pacchetto hark-kinect script
>>> post-installation ha restituito lo stato di errore 1
>>> Elaborazione dei trigger per man-db (2.9.4-2)...
>>> Si sono verificati degli errori nell'elaborazione:
>>>  hark-kinect
>>>
>>> On Tue, Apr 4, 2023 at 1:33 PM Mario Marietto <marietto2...@gmail.com>
>>> wrote:
>>>
>>>> Hello to everyone,
>>>>
>>>> I would like to enable the audio on my old kinect 1 so that I can talk
>>>> without having the microphone attached to my mouth. I see that in the past
>>>> this could be done installing the package called "hark-kinect",as explained
>>>> here :
>>>>
>>>>
>>>> https://gist.github.com/awesomebytes/924493bcdb358f5e71fdff93c2896730
>>>>
>>>>
>>>> https://github.com/uts-magic-lab/hark_sound_localization/blob/master/pr2_kinect_audio.md
>>>>
>>>>
>>>> I'm using Debian 11 at the moment. The problem is that it seems that it
>>>> does not exist anymore. The repo is the following :
>>>>
>>>>
>>>> deb [arch=amd64 signed-by=/usr/share/keyrings/hark-archive-keyring.asc] 
>>>> http://archive.hark.jp/harkrepos precise non-free
>>>> deb-src [arch=amd64 
>>>> signed-by=/usr/share/keyrings/hark-archive-keyring.asc] 
>>>> http://archive.hark.jp/harkrepos precise non-free
>>>>
>>>>
>>>> but it does not exists :
>>>>
>>>>
>>>> marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo apt update
>>>>
>>>> Found:1 http://security.debian.org/debian-security bullseye-security 
>>>> InRelease
>>>> Found:2 http://deb.debian.org/debian bullseye InRelease
>>>> Getting of:3 http://deb.debian.org/debian bullseye-updates InRelease [44,1 
>>>> kB]
>>>> Found:4 https://linux.teamviewer.com/deb stable InRelease
>>>> Found:5 https://dl.google.com /linux/chrome/deb stable InRelease
>>>> Found:6 https://packages.microsoft.com/repos/edge stable InRelease
>>>> Found:7 https://packages.microsoft.com/debian/11/prod bullseye InRelease
>>>> Ignored:8 http://archive.hark.jp/harkrepos precise InRelease
>>>> Getting of:9 http://archive.hark.jp/harkrepos precise Release [8.157 B]
>>>> Getting of:10 http://archive.hark.jp/harkrepos precise Release.gpg [473 B]
>>>> Getting of:11 http://archive.hark.jp/harkrepos precise/non-free Sources 
>>>> [9.117 B]
>>>> Getting of:12 http://archive.hark.jp/harkrepos precise/non-free amd64 
>>>> Packages [7.427 B]
>>>> Downloaded 69,2 kB in 3s (26,0 kB/s)
>>>> All the packages are updated.
>>>>
>>>>
>>>> marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo apt-get install 
>>>> hark-kinect
>>>> E: can't find package hark-kinect
>>>>
>>>>
>>>> Just in case I can't use this hack,do you know about any alternative
>>>> method ? thanks.
>>>>
>>>> --
>>>> Mario.
>>>>
>>>
>>>
>>> --
>>> Mario.
>>>
>>
>>
>> --
>> Mario.
>>
>
>
> --
> Mario.
>


-- 
Mario.

Reply via email to