Kinect as a Webcam Ubuntu 12.04 [closed] - kinect

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Is there any known way to use the Kinect as a webcam inside a Linux environment, perhaps using openkinect to some capacity?

Casually late to the party, but here's what I had to do with my Kinect v1 (xbox 360).
Video
Dunno why the module doesn't load automatically when the Kinect is plugged in, but doing it manualy gives us the Xbox NUI Camera at /dev/video0 which then shows up anywhere you'd expect (cheese, vlc, browser, etc...):
sudo modprobe gspca_kinect
Note that this isn't persistent so you'll need to type it after restarting the computer, or if you unload the module manually.
Audio
The microphone array won't show up in pulseaudio unless we upload a (specific?) firmware to the Kinect. Someone worked out how to do that and in theory it should be as simple as:
sudo apt install kinect-audio-setup
In practice tho, the md5 check sum of microsoft's firmware has changed so the install fails. To fix it, we need to open the script in an editor and update the md5 sum:
sudo micro /usr/sbin/kinect_fetch_fw
Then replace the SDK_MD5 value at the top of the script, by 945806927702b2c47c32125ab9a80344 (as of time of writing, but that might change again).
Once that's done just run apt again and it should finish the install fine.
sudo apt install kinect-audio-setup
The install will also write a udev file to upload the firmware automatically whenever the Kinect is plugged in.

Related

Insufficient Randomness on Arch Linux [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
Improve this question
I have some experience with Linux systems and finally switched to Arch Linux. The setup went fine and everything seemed to work well until this morning. Since then I encounter two problems that could have the same source, here I will briefly describe theme:
When trying to clone repositories from github (or other sources) using ssl I will get the following message on my arch setup:
fatal: unable to access 'https://github.com/random/repository/to/clone.git': Insufficient randomness
When trying to generate a key pair using ssh-keygen I receive the following error:
PRNG is not seeded
So my guess was, that this has something to do with random generators of the system and researched a lot there.
I did already recreate both
mknod /dev/random c 1 8
and
mknod /dev/urandom c 1 9
using mknod.
I installed the following packages:
rng-tools 6.16.1
jitterentropy 3.4.1
rtl-sdr 10.8.0
I installed Arch Linux last Friday and everything seemed to work fine. The Kernel is 6.1.10, it should be up to date. Due to the problems with the ssl connection I cannot not directly use pacman to install new packages or update the installed versions, but I is possible to download them from a mirror and install them by using pacman -U.
The entropy available seems to be stable at 256, which older pages tell me is way to low, but with the newer kernel versions is fine. I use a laptop from DELL, if the specs are relevant I can provide them. For all I read, there are a lot of old solutions but I found no matching problem and not quite relevant for more modern kernels (like using haveged, could be, but should not be necessary how I understood it).
To use root privileged to create keys or clone a git does not change a thing.
I hope anyone has an idea that will help me and I will provide any further information that could be helpful for solving the problem.

proxmox hardware monitoring (system monitor) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
Is there any way to install hardware monitoring tool like lm-sensors on proxmox VE 4.2 (was installed from ISO: https://www.proxmox.com/en/downloads)? Or maybe there is another way to monitor host's hardware (cpu/mb/hdd temp, fan speed, etc)?
apt-get result:
root#pve:~# apt-get install lm-sensors
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lm-sensors
Look's like proxmox use it's own repo, if so how additional repos can be added?
Thanks!
One more question: What monitoring system (with web-interface) can be used on proxmox? or some web front-end for lm-sensors
no need to add repository if the Debian main one is present in /etc/apt/source.list.
Here is mine :
deb http://ftp.fr.debian.org/debian jessie main contrib
# security updates
deb http://security.debian.org jessie/updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian jessie pve-no-subscription
Just do apt-get update && apt-get install lm-sensors
Try to install Netdata (https://www.netdata.cloud),
a free monitoring tool, easy to install.

Where can I read what ns3 module needs to be built? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I work on Windows 7 & I must use the ns3 network simulator, so I install the Cygwin emulator. I successfully download the ns3 from the official cite and install it, but six modules wasn't been installed. I think it's because when I install Cygwin, I didn't install some packages, and these ns3 modules needs in this packages. So, there was the message:
Modules not built (see ns-3 tutorial for explanation):
brite click fd-net-device
openflow tap-bridge visualizer
I found the ns3 tutorial (pdf file on the off. cite), but I can't find in these document what should I do to successfully built these modules! There is just an installation steps and some examples! I tried to run the test & I the test return me
0 of 0 tests passed (0 passed, 0 skipped, 0 failed, 0 crashed, 0 valgrind errors)
So, I think I will not be able to work with ns3 for now, because no one tests can be passed! Where can I read about what I must to update/install in Cygwin (maybe, install other version of gcc, or install java etc) to build more modules successfully?
Those modules require another additional software besides NS3 since these modules developed by integrating/using another projects.
You can find how to install and using it in their respected NS3 module documentation page or NS3 Wiki
Brite : https://www.nsnam.org/docs/models/html/brite.html
OpenFlow : https://www.nsnam.org/docs/models/html/openflow-switch.html
Click : https://www.nsnam.org/docs/models/html/click.html
visualizer : https://www.nsnam.org/wiki/PyViz
Tap-Bridge : required to build in linux based OS
fd-net-device : required to build in linux based OS
TapBridge and emulation features aspects depend on Linux and those components are not enabled on the Windows via Cygwin. If you want to serious work on NS3 and still need Windows, consider virtualization of a popular Linux platform https://www.nsnam.org/wiki/HOWTO_use_VirtualBox_to_run_simulations_on_Windows_machines and https://www.nsnam.org/wiki/HOWTO_use_VMware_to_set_up_virtual_networks_%28Windows%29
Unless, you need these modules. You can skip it. It is not required to have it.

Error while installing kvm package in ubuntu12.04lts [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
# apt-get install kvm kvm-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kvm-source
While installing kvm in my ubuntu12.04 lts machine. I got this error.What i want to do.
It seems this package just doesn't exist:
apt-cache search kvm-source
#if it returns nothing it means the package doesn't exit
As long as we want to search only Ubuntu official repositories, we can also check on http://packages.ubuntu.com/. Here we see that the package kvm exists, but that kvm-source doesn't.
If you want to retrieve the source for this package, you should try
apt-get source kvm
(see man apt-get for more info on the source command)
Edit to answer comment:
You can check if a package is installed with e.g.:
dpkg --status kvm

Doing the job on Windows 8 [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
So, I've got a new laptop, and sadly, it has Windows 8 pre-installed with no options to downgrade. Which got me thinking, maybe I can stick with Windwows 8? What will I loose?
My question is - do any of software developers use Windows 8 on every-day basis to do the job and are there any problems?
Like, maybe some software isn't supported by Windows 8.1, or some languages support is difficult to add. Everything's ok with Ruby, PHP, any other web-development tools and servers, MYSQL and other databases? What about mobile development (which I will we doing), any problems is this department? While working, did you stuble upon any specific situations that got you thinkg 'Damn, I hate Win8, wish it would be Win7' (except for MetroUI stuff).
The main question, I think, would be apps compatability and stuff like MinGW and other linux environment tools support on Windows.
Any ideas?
I can't say for MinGW or other linux-related environment tools because I don't use them at work, but I can say that everything I've needed has been working flawlessly in Windows 8. I've even recently upgraded to 8.1 and everything has continued working just fine.
I use MyEclipse 8.0, MySQL and Tomcat 6.
Never had compatibility issues and I'm very pleased with the OS.