View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
Posted: Wed Nov 19, 2008 3:12 pm Post subject: luvcview won't run |
|
|
I'm trying to run luvcview on my Dell Inspiron 1720. I have omnivision and v4l support compiled into the kernel, and xf86-video-v4l and libv4l emerged. I get this:
Code: |
audiodef@localhost ~ $ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so luvcview
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
ERROR opening V4L interface
: No such file or directory
|
I'm thinking I need to tell luvcview to use the v4l video driver, but how (and am I right)? _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Nov 20, 2008 8:32 am Post subject: |
|
|
emerge media-video/linux-uvc ? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Nov 20, 2008 6:14 pm Post subject: |
|
|
su
rmmod uvcvideo
modprobe uvcvideo
tail -n 20 /var/log/messages
maybe some relevant output? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
Posted: Thu Nov 20, 2008 9:18 pm Post subject: |
|
|
Code: |
Nov 20 16:20:03 localhost su[24161]: Successful su for root by audiodef
Nov 20 16:20:03 localhost su[24161]: + pts/2 audiodef:root
Nov 20 16:20:03 localhost su[24161]: pam_unix(su:session): session opened for user root by audiodef(uid=1001)
Nov 20 16:20:13 localhost usbcore: deregistering interface driver uvcvideo
Nov 20 16:20:13 localhost PM: Removing info for No Bus:video0
Nov 20 16:20:13 localhost PM: Removing info for No Bus:event8
Nov 20 16:20:13 localhost PM: Removing info for No Bus:input8
Nov 20 16:20:13 localhost NetworkManager: <debug> [1227216013.729501] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_5a9_2640_noserial_if0_video4linux').
Nov 20 16:20:13 localhost NetworkManager: <debug> [1227216013.736910] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_5a9_2640_noserial_if0_logicaldev_input').
Nov 20 16:20:28 localhost uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:2640)
Nov 20 16:20:28 localhost uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
Nov 20 16:20:28 localhost PM: Adding info for No Bus:video0
Nov 20 16:20:28 localhost PM: Adding info for No Bus:input9
Nov 20 16:20:28 localhost input: Laptop Integrated Webcam as /class/input/input9
Nov 20 16:20:28 localhost PM: Adding info for No Bus:event8
Nov 20 16:20:28 localhost usbcore: registered new interface driver uvcvideo
Nov 20 16:20:28 localhost USB Video Class driver (v0.1.0)
Nov 20 16:20:28 localhost NetworkManager: <debug> [1227216028.922812] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_5a9_2640_noserial_if0_video4linux').
Nov 20 16:20:28 localhost NetworkManager: <debug> [1227216028.960045] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_5a9_2640_noserial_if0_logicaldev_input').
|
It seems to be recognized by the system, but not by user software. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Thu Nov 20, 2008 10:39 pm Post subject: |
|
|
what version of linux-uvc and luvcview do you have?
Code: | ts ts # luvcview
[b]luvcview 0.2.4[/b]
SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Stream settings:
Frame format: MJPG
Frame size: 640x480
Frame rate: 30 fps
Quit signal received.
Cleanup done. Exiting ... |
later edit: i realise now that i am using luvcview and linux-uvc from svn. maybe you should give it a shot? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Fri Nov 21, 2008 7:24 am Post subject: |
|
|
try adding yourself to these groups first usb, plugdev. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3426 Location: Canada
|
Posted: Sun Nov 23, 2008 2:25 am Post subject: |
|
|
audiodef wrote: | Just tried that - still getting permission denied as a normal user.
I think once this is solved, I'll be able to use the webcam in skype, kopete, and other programs. Those programs are currently showing "no video device", even though luvcview finds it as root. |
add yourself to 'video' group |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
|