Comments (9)
To get more your system information, type
uname -a
and cat /etc/debian_version
and cat /usr/src/linux-headers-$(uname -r)/.config | grep UINPUT
in your terminal and send me the results.
Also, check whether /dev/uinput
or /dev/input/uinput
is existing.
from chosuntruck.
debian:~/Downloads$ uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
debian:~/Downloads$ cat /etc/debian_version
8.7
debian:~/Downloads$ cat /usr/src/linux-headers-$(uname -r)/.config | grep UINPUT
CONFIG_INPUT_UINPUT=m
debian:~/Downloads$ ls /dev/uinput
/dev/uinput
debian:~/Downloads$ ls /dev/input/uinput
ls: cannot access /dev/input/uinput: No such file or directory
from chosuntruck.
You have to enable uinput. Because I don't have debian system, i am not sure of this.
Change the option CONFIG_INPUT_UINPUT=m
to CONFIG_INPUT_UINPUT=y
in the .config file.
from chosuntruck.
modify that to "y" and reboot, still failed,
or need recompile the kernel with the headers?
debian:~/ChosunTruck-master/linux$ cat /usr/src/linux-headers-$(uname -r)/.config | grep UINPUT
#CONFIG_INPUT_UINPUT=m
CONFIG_INPUT_UINPUT=y
debian:~/ChosunTruck-master/linux$ ./ChosunTruck -D
error: open: No such file or directory
from chosuntruck.
I'm sorry. Revert your .config file.
Uinput is built as a module in your debian. So, you need to insert the uinput module.
modprobe uinput
lsmod|grep input
ls -l /dev/uinput
I found this solution from https://bbs.archlinux.org/viewtopic.php?id=203169
from chosuntruck.
@bethesirius thanks, that's works.
// use sudo can create it now
debian:~/ChosunTruck-master/linux$ sudo ./ChosunTruck
OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /usr/opencv-3.2.0/modules/core/src/matrix.cpp, line 522
terminate called after throwing an instance of 'cv::Exception'
what(): /usr/opencv-3.2.0/modules/core/src/matrix.cpp:522: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function Mat
from chosuntruck.
Okay, I will change the ambiguous error message :)
And, your new OpenCV Error is difference from the uinput issue. I recommend that you close this and open new issue.
from chosuntruck.
Hi, actually I had the same issue and ended up the same as the @gotope 's last posting, which is the OpenCV Error. Has this issue been opened or resolved somewhere? Thanks.
from chosuntruck.
@mrasyid No, it didn't. Please open a new issue with your enviornment like OS version, if you still have that trouble. Thanks.
from chosuntruck.
Related Issues (20)
- [master] Freezing after input is used in Windows HOT 2
- [master] Need help testing mouse input HOT 9
- Assertion error occurs ONLY at the first run after build HOT 3
- RuntimeError: Bad magic number in .pyc file HOT 53
- [master] Assertion failure when running in Debug mode HOT 9
- Should improve lane detection algorithm especially at the curvy lanes HOT 6
- Cannot build solution different LNKXXXX errors everytime HOT 7
- Windows-based ChosunTruck Steering Problem HOT 8
- Error open No such file run the ./ChosunTruck [OpenCV error message] HOT 1
- video HOT 1
- zlibd1.dll missing HOT 13
- error appeared: "This project references NuGet packages(s) that are missing......" HOT 9
- Update OpenCV nuget packages HOT 1
- Reducing extraneous lines in ChosunTruck [windows] HOT 1
- Switching to adaptiveThreshold HOT 1
- Linux Make Issue HOT 6
- Linux build error with opencv2 HOT 1
- Still working ? Can i run it on Visual Studio 2019 ?
- Permission to work on this project of yours can pass a readme where to start!! HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chosuntruck.