usb to serial connection in Ubuntu Server

Forum for questions and support relating to the 1.29.x releases only.
Locked
Mikebyrne000
Posts: 8
Joined: Sat Mar 26, 2016 8:50 pm

usb to serial connection in Ubuntu Server

Post by Mikebyrne000 »

Hi,

I have my cctv cam on a serial to usb which is connected to my Ubuntu server.

I have it configured on /dev/ttyUSB0 but I cannont get a picture in Zoneminder

Source /dev/ttyUSB0 (1) stays Green for a while but still can't get a video

Has anyone got it to work this way??

Any help would be great!
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: usb to serial connection in Ubuntu Server

Post by bbunge »

Usually when using a local connection not having set a user is the cause for no video.

Create a new user: adduser www-data video

This entry is in all the Ubuntu WIKI instructions.

You also have to get the camera resolution spot on to get it to work! This has been mentioned time and again. If you do not know what your camera does try 640x480 or 320x240.

Actually check to see if your camera is on /dev/video0

ls /dev/video*
Mikebyrne000
Posts: 8
Joined: Sat Mar 26, 2016 8:50 pm

Re: usb to serial connection in Ubuntu Server

Post by Mikebyrne000 »

When I input ls /dev/video i get "Cannot accesss /dev/video no such file or directory
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: usb to serial connection in Ubuntu Server

Post by bbunge »

You forgot the * at the end of video
Mikebyrne000
Posts: 8
Joined: Sat Mar 26, 2016 8:50 pm

Re: usb to serial connection in Ubuntu Server

Post by Mikebyrne000 »

No, its the same

ls: cannot access /dev/video*: No such file or directory
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: usb to serial connection in Ubuntu Server

Post by knight-of-ni »

I have never heard of a cctv camera that streams video over a serial port.
More information is needed including make and model.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
mikb
Posts: 678
Joined: Mon Mar 25, 2013 12:34 pm

Re: usb to serial connection in Ubuntu Server

Post by mikb »

knnniggett wrote:I have never heard of a cctv camera that streams video over a serial port.
More information is needed including make and model.
I second that question! :) I've no idea how you'd realistically stuff video data down an RS232 link, given the low bitrates. Surely some misunderstanding?
Mikebyrne000
Posts: 8
Joined: Sat Mar 26, 2016 8:50 pm

Re: usb to serial connection in Ubuntu Server

Post by Mikebyrne000 »

The network card (pci) I bought doesn't fit the motherboard in my Ubuntu server. I was just experimenting via the seial to usb but had no joy

I was just wondering on the off chance if it was possible. Guess not

Thanks for the advice anyway guys
Locked