zdar, na lonskem freezu sem mel docela zasek na kinectovem sandboxu v podani brmlabu a ted se mi tu sesel jeden kinect z xboxu 360, tak si zlehka otukavam projekty kolem
http://idav.ucdavis.edu/~okreylos/ResDev/SARndbox/
sem ted ale trosku v pasti, protoze koukam na subprojekt Kinect Hacking (Kinect-2.7) a detekuje mi jen jednu kameru
./KinectUtil list
Kinect 0: USB address 001:022, device serial number 0000000000000000
RawKinectViewer pak pyskuje, ze tak by to teda neslo
./RawKinectViewer 001:022
Caught exception Kinect::Camera::Camera: Less than 1 Kinect camera devices detected
fakt je, ze podle udev rules z toho projektu tak nejak ocekavaji ze kinect ma Product Id 02ad, 02ae, 02b0. Ten muj kousek ale ma podle dmesg 02c2, 02ad, 02ae
dmesg vypada takto:
Sep 11 17:38:10 leela kernel: [ 1062.941807] usb 1-1.5: new high-speed USB device number 13 using ehci-pci
Sep 11 17:38:10 leela kernel: [ 1063.027024] usb 1-1.5: New USB device found, idVendor=045e, idProduct=02c2
Sep 11 17:38:10 leela kernel: [ 1063.027030] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 11 17:38:10 leela kernel: [ 1063.027494] hub 1-1.5:1.0: USB hub found
Sep 11 17:38:10 leela kernel: [ 1063.027598] hub 1-1.5:1.0: 2 ports detected
Sep 11 17:38:11 leela kernel: [ 1063.300623] usb 1-1.5.2: new high-speed USB device number 14 using ehci-pci
Sep 11 17:38:12 leela kernel: [ 1064.229119] usb 1-1.5.1: new high-speed USB device number 15 using ehci-pci
Sep 11 17:38:12 leela kernel: [ 1064.316531] usb 1-1.5.1: New USB device found, idVendor=045e, idProduct=02ad
Sep 11 17:38:12 leela kernel: [ 1064.316537] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 11 17:38:12 leela kernel: [ 1064.316540] usb 1-1.5.1: Product: Xbox Kinect Audio, © 2011 Microsoft Corporation. All rights reserved.
Sep 11 17:38:12 leela kernel: [ 1064.316543] usb 1-1.5.1: Manufacturer: Microsoft
Sep 11 17:38:12 leela kernel: [ 1064.316545] usb 1-1.5.1: SerialNumber: A70777X07888242A
Sep 11 17:38:12 leela mtp-probe: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1"
Sep 11 17:38:12 leela mtp-probe: bus: 1, device: 15 was not an MTP device
Sep 11 17:38:13 leela kernel: [ 1066.015148] usb 1-1.5.2: new high-speed USB device number 16 using ehci-pci
Sep 11 17:38:14 leela kernel: [ 1066.782897] usb 1-1.5.2: new high-speed USB device number 17 using ehci-pci
Sep 11 17:38:14 leela kernel: [ 1066.870930] usb 1-1.5.2: New USB device found, idVendor=045e, idProduct=02ae
Sep 11 17:38:14 leela kernel: [ 1066.870936] usb 1-1.5.2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
Sep 11 17:38:14 leela kernel: [ 1066.870939] usb 1-1.5.2: Product: Xbox NUI Camera
Sep 11 17:38:14 leela kernel: [ 1066.870941] usb 1-1.5.2: Manufacturer: Microsoft
Sep 11 17:38:14 leela kernel: [ 1066.870944] usb 1-1.5.2: SerialNumber: 0000000000000000
Sep 11 17:38:14 leela kernel: [ 1066.871417] gspca_main: kinect-2.14.0 probing 045e:02ae
Sep 11 17:38:14 leela mtp-probe: checking bus 1, device 17: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Sep 11 17:38:14 leela mtp-probe: bus: 1, device: 17 was not an MTP device
Sep 11 17:38:14 leela colord: Device added: sysfs-Microsoft-Xbox_NUI_Camera
tak ted nevim, jestli mam blbyho kinecta, nebo je neco jineho spatne. v dmesg je videt, ze se ohlasi usb device numera 13 (hub) a pak 14, 15 a 16, 17 s tim, ze ale mtp-probe 15 a 17 nevyhodnoti jako MTP devices. V mezicase jdu studovat lowlevel usb srandy, ale kdyby vas neco napadlo, tak budu sakra rad :-)