You are not logged in.
On my laptop, I am using xfce desktop on my Arch Linux. I want to know that just like audio in Arch there is a command
pc@testpc ~]$ speaker-test -c2
and for testing microphone
[pc@testpc ~]$ arecord --duration=5 --format=dat test-mic.wav
Recording WAVE 'test-mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[pc@testpc ~]$ aplay test-mic.wav
Playing WAVE 'test-mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[pc@testpc ~]$
To check hardware I use the command. (Summary below only of video)
[pc@testpc ~]$ lshw
*-usb:1
description: Video
product: Laptop_Integrated_Webcam_FHD
vendor: Sunplus IT Co
physical id: 5
bus info: usb@1:1.5
version: 1c.09
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
In end, I install obs-studio on my Arch system, and in that, I check that my laptop integrated webcam was working successfully. It was a lengthy process but it confirm for me that Arch supports my hardware (Integrated Webcam).
Kindly guide me is there any command/utility in Arch Linux to test Webcam? just like speakers and microphone.
Last edited by gardenair (2021-09-23 16:12:11)
Offline
Offline
Use any video web app, e.g go here and click on the settings icon.
Online
community/guvcview is a basic interface to a camera with a lot of options to manipulate its operation, which makes my choice for testing such things.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
There is also https://mozilla.github.io/webrtc-landing/gum_test.html
Offline
ffplay /dev/video0
You may have to change the 0 to another number.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks a lot every one I really appreciate it.My query has been solved but just for i guidance I want ask about "guvcview " Well when I install
[pc@testpc ~]$ sudo pacman -S guvcview
then execute it
pc@testpc ~]$ guvcview
GUVCVIEW: version 2.0.6
GUVCVIEW: couldn't open /home/pc/.config/guvcview2/video0 for read: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
[b]Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started[/b]
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[b]Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started[/b]
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
(guvcview:7417): GLib-CRITICAL **: 09:09:22.843: Failed to set scheduler settings: Operation not permitted
[pc@testpc ~]$
Though my web cam works fine but one thing I notice that there are few errors .What are these indicating ?
Last edited by gardenair (2021-09-23 11:57:34)
Offline