Page 1 of 1

usb to serial connection in Ubuntu Server

Posted: Sat Mar 26, 2016 9:09 pm
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!

Re: usb to serial connection in Ubuntu Server

Posted: Sat Mar 26, 2016 11:12 pm
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*

Re: usb to serial connection in Ubuntu Server

Posted: Sat Mar 26, 2016 11:43 pm
by Mikebyrne000
When I input ls /dev/video i get "Cannot accesss /dev/video no such file or directory

Re: usb to serial connection in Ubuntu Server

Posted: Sun Mar 27, 2016 1:47 am
by bbunge
You forgot the * at the end of video

Re: usb to serial connection in Ubuntu Server

Posted: Sun Mar 27, 2016 9:30 am
by Mikebyrne000
No, its the same

ls: cannot access /dev/video*: No such file or directory

Re: usb to serial connection in Ubuntu Server

Posted: Sun Mar 27, 2016 1:31 pm
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.

Re: usb to serial connection in Ubuntu Server

Posted: Sun Mar 27, 2016 7:45 pm
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?

Re: usb to serial connection in Ubuntu Server

Posted: Sun Mar 27, 2016 7:59 pm
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