$ arecord -l **** CAPTURE 하드웨어 장치 목록 **** 카드 0: sofhdadsp [sof-hda-dsp], 장치 0: HDA Analog (*) [] 주변장치: 1/1 주변장치 #0: subdevice #0 카드 0: sofhdadsp [sof-hda-dsp], 장치 1: HDA Digital (*) [] 주변장치: 1/1 주변장치 #0: subdevice #0 카드 0: sofhdadsp [sof-hda-dsp], 장치 6: DMIC (*) [] 주변장치: 1/1 주변장치 #0: subdevice #0 카드 0: sofhdadsp [sof-hda-dsp], 장치 7: DMIC16kHz (*) [] 주변장치: 1/1 주변장치 #0: subdevice #0
먼가 깔아야 한다고 해서 시도. 응 실패
$ sudo apt install kinect-audio-setup 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다... 완료 상태 정보를 읽는 중입니다... 완료 다음 새 패키지를 설치할 것입니다: kinect-audio-setup 0개 업그레이드, 1개 새로 설치, 0개 제거 및 13개 업그레이드 안 함. 16.3 k바이트 아카이브를 받아야 합니다. 이 작업 후 59.4 k바이트의 디스크 공간을 더 사용하게 됩니다. 받기:1 http://kr.archive.ubuntu.com/ubuntu jammy/multiverse amd64 kinect-audio-setup amd64 0.5-1build1 [16.3 kB] 내려받기 16.3 k바이트, 소요시간 1초 (31.8 k바이트/초) 패키지를 미리 설정하는 중입니다... Selecting previously unselected package kinect-audio-setup. (데이터베이스 읽는중 ...현재 486157개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack .../kinect-audio-setup_0.5-1build1_amd64.deb ... Unpacking kinect-audio-setup (0.5-1build1) ... kinect-audio-setup (0.5-1build1) 설정하는 중입니다 ...
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/
$ sudo apt install kinect-audio-setup 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다... 완료 상태 정보를 읽는 중입니다... 완료 패키지 kinect-audio-setup는 이미 최신 버전입니다 (0.5-1build1). 0개 업그레이드, 0개 새로 설치, 0개 제거 및 13개 업그레이드 안 함. 1개를 완전히 설치하지 못했거나 지움. 이 작업 후 0 바이트의 디스크 공간을 더 사용하게 됩니다. 계속 하시겠습니까? [Y/n] kinect-audio-setup (0.5-1build1) 설정하는 중입니다 ...
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/
$ ls -al /lib/firmware/kinect/ 합계 216 drwxr-xr-x 2 root root 4096 9월 18 14:59 . drwxr-xr-x 93 root root 77824 9월 18 14:59 .. -rw-r--r-- 1 root root 132096 9월 18 14:59 UACFirmware
udev도 추가되어있는데 반응이 없다.
$ cat /lib/udev/rules.d/*kinect* # Rule to load the Kinect UAC firmware on the "generic" usb device ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02ad", RUN+="/usr/sbin/kinect_upload_fw /lib/firmware/kinect/UACFirmware"
일단은 claude 답으로는 xbox360 용이 아닌 kienct for windows 라서 pid가 다르다고 한다.
02ad가 나와야 xbox 360 kinect 라고 한다. 그런데.. 리눅스에서 하려면 원래 오리지널을 써야하나?
$ lsusb | grep -i 045e Bus 001 Device 036: ID 045e:02bf Microsoft Corp. Kinect for Windows NUI Camera Bus 001 Device 035: ID 045e:02be Microsoft Corp. Kinect for Windows NUI Audio Bus 001 Device 034: ID 045e:02c2 Microsoft Corp. Kinect for Windows NUI Motor
energy는 power에 대응되는것 같고, shadow_soft_size는 radius에 대응되는것 같다.
아 쫌 용어 통일하라고 ㅠㅠ api에 맞추던가 아니면 api를 ui에 맞추던가!
energy The energy this light would emit over its entire area if it wasn’t limited by the spot angle, in units of radiant power (W) (in [-inf, inf], default 10.0)
shadow_soft_size Light size for ray shadow sampling (Raytraced shadows) (in [0, inf], default 0.0)
spot_size Angular diameter of the spotlight beam (in [0.0174533, 3.14159], default 0.785398)
spot_blend The softness of the spotlight edge (in [0, 1], default 0.15)