# How to make UVC Server running on VOXL for testing USB Camera

Source: https://forum.modalai.com/topic/3152/how-to-make-uvc-server-running-on-voxl-for-testing-usb-camera
Category: ESCs, Sensors and Accessories (https://forum.modalai.com/category/15/escs-sensors-and-accessories)
Posted: 2024-02-27 17:58:08 UTC by riteshsharma
Replies: 5 · Views: 1723

## riteshsharma · 2024-02-27 17:58:08 UTC

How to make UVC Server running on VOXL for testing USB Camera? Can someone help me in running uvc server running? 

I even tried running using systemctl to start uvc server.

![Capture.PNG](https://forum.modalai.com/assets/uploads/files/1709056459935-capture.png) 

configuration file:
/**
 * This file contains configuration that's specific to voxl-uvc-server.
 * parameter descriptions:
 * 
 * width: Desired image width. (e.g. 640)
 * Default is 640.
 *
 * height: Desired image height. (e.g. 480)
 * Default is 480.
 *
 * height: Desired frame rate in fps (e.g. 15).
 * Default is 30.
 *
 * pipe-name: Desired MPA pipe name in /run/mpa (e.g. webcam).
 * Default is uvc.
 *
 */
{
        "pipe_name":    "uvc",
        "width":        640,
        "height":       512,
        "fps":  30,
}

I am sure my usb camera is connected and I can see the device
voxl:~$  show-video-device-info.sh
/dev/video2: Boson 09cb:4007

## Reply by tom (ModalAI staff) · 2024-02-27 18:49:46 UTC

@rsr4z Check out `voxl-configure-uvc` and it's options

## Reply by riteshsharma · 2024-02-27 20:43:35 UTC (in reply to tom)

@tom I see following message when I run  voxl-configure-uvc

![Capture1.PNG](https://forum.modalai.com/assets/uploads/files/1709066314506-capture1.png) 

Since, I am using Boson, I tried voxl-configure-uvc boson  and rebooted VOXL.

![Capture2.PNG](https://forum.modalai.com/assets/uploads/files/1709066409864-capture2.png) 

Upon running voxl-inspect-services, I am still not seeing voxl-uvc-server running.

## Reply by tom (ModalAI staff) · 2024-02-27 23:23:55 UTC (in reply to riteshsharma)

@rsr4z What does `/etc/modalai/voxl-uvc-server.conf` look like? It is weird that sed is failing I'll try to replicate.

It appears you're using an unreleased SDK, how did you install that SDK?

## Reply by tom (ModalAI staff) · 2024-02-27 23:29:25 UTC (in reply to riteshsharma)

@rsr4z There appears to be an extra comma after `30` in `"fps": 30,` , that will need to be removed. It's possible this is a bug in the config script.

You can run `systemctl status voxl-uvc-server` to see the status of the service if it is showing as "Not running"

## Reply by riteshsharma · 2024-02-28 17:34:19 UTC (in reply to tom)

@tom Yes. I removed "," from the config file and it worked. Thanks
