Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Installing on Surface Book "FileNotFoundError: [Errno 2] No such file or directory: '/dev/v4l/by-path'" #137

Closed
nriaziat opened this issue Jan 29, 2019 · 5 comments
Labels
camera issue Problems with the IR camera distro: debian wontfix This will not be worked on

Comments

@nriaziat
Copy link

I am getting this string of errors when attempting to install howdy on Ubuntu 16.04

Starting IR camera check...

Traceback (most recent call last):
  File "/var/lib/dpkg/tmp.ci/preinst", line 54, in <module>
    devices = os.listdir("/dev/v4l/by-path")
FileNotFoundError: [Errno 2] No such file or directory: '/dev/v4l/by-path'
dpkg: error processing archive /var/cache/apt/archives/howdy_2.5.0_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/howdy_2.5.0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

@boltgolt boltgolt added camera issue Problems with the IR camera distro: debian labels Jan 29, 2019
@boltgolt
Copy link
Owner

Looks like you don't have any v4l2 devices, could you check if you have any video devices active by running ls /dev/video*? Cloud you also check that v4l2 is installed (dpkg -l v4l-utils)?

@nriaziat
Copy link
Author

thanks for the comment! running the ls command said that there was no directory, and v4l2 is not installed as well. For reference, I am running on a Surface Book with custom kernel.

@boltgolt
Copy link
Owner

So in short, video4linux is the default camera driver on basically all linux distributions. I've never seen it missing on a system before. Could your custom kernel have been compiled without video support?

@nriaziat
Copy link
Author

Had to check the kernel, but the JakeDay Surface kernel seems not to have camera support at this time. That must be the problem.

@boltgolt
Copy link
Owner

You could try installing v4l-utils but that probably wouldn't fix anything. I don't think i can do much here, it's an kernel issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
camera issue Problems with the IR camera distro: debian wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants