• CCTV capture card for new PC & Zoneminder

    From Davey@21:1/5 to All on Fri Sep 13 13:38:39 2024
    After the recent problems with the ancient Ubuntu and Zoneminder
    installation, I thought about upgrading the PC, the old Dell is now 24
    years old.
    I have a new separate Swann system, but I cannot find how to extract
    video from it, it likes Windows, not Linux.

    So I am looking at a new (or refurbished) desktop PC, hoping to use my
    existing CCTV cameras, all with BNC connectors, and to be able to add
    one more, making 4 in total. It also monitors one WiFi camera on the
    network. Tje PC is also my daily laptop backup device.
    My old video card is a PCI, which is now ancient history, so will be no
    good for a new PC. Satcure, where I got my first video card from, went
    bust some time ago.

    Looking around, I see modern versions, but at huge prices, £250 up to
    £600!! Yikes. Am I looking for the wrong item here? I don't believe the
    old card cost anything like that much.

    A sample of what I find: https://www.amazon.co.uk/gp/product/B0D9NQZ2VH/ref=ewc_pr_img_1?smid=AKG67ZUVCCXRK&psc=1
    But I don't have SDI, and I don't want to replace my cameras or my
    cabling. I am just looking for a PCI-e, BNC connectors, CCTV video input
    card,

    There is:
    https://tinyurl.com/3smbmmhj
    also known as:

    https://www.amazon.co.uk/Potadak-Captura-Adapter-Computer-Camera-Black/dp/B0CCDCLL5G/ref=sr_1_140?crid=ZQ64KGYGR0UF&dib=eyJ2IjoiMSJ9.z-FIUNnsxAdgHlwX1RlfFRn8U0hm9D5LhTXHaELlQN8lsa7tU6cLwpZo1bjed5npm5LPhrdsoubaowZjmN3hPhos0n0Ly_t-JN4C1VIND-DuA8BJVTI3nh_AR-
    vGbt2iOKyERzGmK5VBKquSqV1-N3EZ4nkY8Pz5PQtxttI1m2HqOQ-utUt18BBG8ICr_L7dqEBKreLTHnThSCZT0k1l4d8kjknq8IkmCHeS0WjnfSI.EI8jbBtNOBcmbrhK97vIlojvxMOYz-tXJQWmixSWSrg&dib_tag=se&keywords=PCI-E+video+camera+capture+cards&qid=1726225777&sprefix=pci-e+video+camera+
    capture+cards%2Caps%2C104&sr=8-140

    which doesn't say SDI, in fact it doesn't say much of anything, but
    therefore MIGHT work with my existing cameras. But there is no
    spec.! And I have no idea who Potadek is/are, they seem to sell
    everything you could think of. Jack of all trades, and master of none,
    comes to mind.
    I'm sort of lost here, any help welcome.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Fri Sep 13 20:19:28 2024
    Davey <davey@example.invalid> wrote:
    I'm sort of lost here, any help welcome.

    Have a look at USB adapters. SD video is not that high bit rate, especially
    if the adapter is compressing. No idea of the marketplace, although I have a
    $7 composite video USB capture that's probably awful. BNC is just composite video I think - do they power from there or external power?

    If you have a lot of USB devices consider extra USB PCIe cards, but 4 behind
    a USB 3 hub is probably ok.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Fri Sep 13 22:43:01 2024
    On 13 Sep 2024 20:19:28 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I'm sort of lost here, any help welcome.

    Have a look at USB adapters. SD video is not that high bit rate,
    especially if the adapter is compressing. No idea of the marketplace, although I have a $7 composite video USB capture that's probably
    awful. BNC is just composite video I think - do they power from there
    or external power?

    If you have a lot of USB devices consider extra USB PCIe cards, but 4
    behind a USB 3 hub is probably ok.

    Theo

    Hmm. Since this will be a new installation, there will be little other
    demand on any resources.

    I am looking for something that will accept the BNC plugs coming from
    the cameras.

    I have not heard of USB devices that can do this, I will look.

    And the cameras are all powered from a separate 12v PSU, which splits
    to feed all the cameras. The standard camera cable has: Power, Video
    signal, Audio signal (if available).

    Thanks for the thoughts, I will report progress, if any.
    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Sat Sep 14 09:06:25 2024
    On Fri, 13 Sep 2024 22:43:01 +0100
    Davey <davey@example.invalid> wrote:

    On 13 Sep 2024 20:19:28 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I'm sort of lost here, any help welcome.

    Have a look at USB adapters. SD video is not that high bit rate,
    especially if the adapter is compressing. No idea of the
    marketplace, although I have a $7 composite video USB capture
    that's probably awful. BNC is just composite video I think - do
    they power from there or external power?

    If you have a lot of USB devices consider extra USB PCIe cards, but
    4 behind a USB 3 hub is probably ok.

    Theo

    Hmm. Since this will be a new installation, there will be little other
    demand on any resources.

    I am looking for something that will accept the BNC plugs coming from
    the cameras.

    I have not heard of USB devices that can do this, I will look.

    And the cameras are all powered from a separate 12v PSU, which splits
    to feed all the cameras. The standard camera cable has: Power, Video
    signal, Audio signal (if available).

    Thanks for the thoughts, I will report progress, if any.

    I cannot find any suitable BNC-input USB video cards. Plenty of HDMI
    and others, such as network, but not BNC. If you know of any, please
    send me a link.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Sat Sep 14 09:28:30 2024
    Davey <davey@example.invalid> wrote:

    I cannot find any suitable BNC-input USB video cards. Plenty of HDMI
    and others, such as network, but not BNC. If you know of any, please
    send me a link.

    If it's composite video, you just need a BNC to phono (RCA) adapter: https://www.amazon.co.uk/10-BNC-Female-RCA-Adapter/dp/B013GKEYCU/

    Then plug into a 'USB video capture' box with 'RCA' inputs. Definitely
    not a recommendation, but this kind of thing: https://www.amazon.co.uk/HENGBIRD-Grabber-Capture-Converter-Digitize/dp/B0CMGZTZH1/

    Software wise it would pay to search for one with Linux support - the one I have (branded 'EasyCAP') works with Linux but it's old and I'm not clear on
    the current market. Linux TV has info, under analog devices: https://www.linuxtv.org/wiki/index.php/Hardware_device_information

    It often pays to look for reviews or text which says what chip is inside, as the cheap brand names change like the wind. Be prepared to return if
    you can't make it work under Linux.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Sat Sep 14 13:33:27 2024
    On 14 Sep 2024 09:28:30 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:

    I cannot find any suitable BNC-input USB video cards. Plenty of HDMI
    and others, such as network, but not BNC. If you know of any, please
    send me a link.

    If it's composite video, you just need a BNC to phono (RCA) adapter: https://www.amazon.co.uk/10-BNC-Female-RCA-Adapter/dp/B013GKEYCU/

    Then plug into a 'USB video capture' box with 'RCA' inputs.
    Definitely not a recommendation, but this kind of thing: https://www.amazon.co.uk/HENGBIRD-Grabber-Capture-Converter-Digitize/dp/B0CMGZTZH1/

    Software wise it would pay to search for one with Linux support - the
    one I have (branded 'EasyCAP') works with Linux but it's old and I'm
    not clear on the current market. Linux TV has info, under analog
    devices:
    https://www.linuxtv.org/wiki/index.php/Hardware_device_information

    It often pays to look for reviews or text which says what chip is
    inside, as the cheap brand names change like the wind. Be prepared to
    return if you can't make it work under Linux.

    Theo

    OK, I saw several USB devices with phono inputs. But I would need one
    device per channel. Messy, when I am replacing one internal card!

    I have an old Easy Cap, or EZCap, used for transferring video from NTSC
    tapes to PC, played on an appropriate VHS Player. When I got it, it
    was only Windows compatible, I tried to get it to work with Linux,
    including asking here for help, but in the end just kept Windows on an
    old Laptop for when I needed to do a tape transfer. It sounds from your statement that this changed later, if you had it working with Linux.

    A quick glance at that last link does not show me an easy answer, but I
    can study it in greater depth later.
    I am getting resigned to the idea that one of the £200 cards, with some generic Chinese name, may be the best answer, but do they come with
    proper instructions? Question to Seller.
    More later. Thanks for the thoughts.

    --
    Davey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Sun Sep 15 08:45:54 2024
    On 14 Sep 2024 09:28:30 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:

    I cannot find any suitable BNC-input USB video cards. Plenty of HDMI
    and others, such as network, but not BNC. If you know of any, please
    send me a link.

    If it's composite video, you just need a BNC to phono (RCA) adapter: https://www.amazon.co.uk/10-BNC-Female-RCA-Adapter/dp/B013GKEYCU/

    Then plug into a 'USB video capture' box with 'RCA' inputs.
    Definitely not a recommendation, but this kind of thing: https://www.amazon.co.uk/HENGBIRD-Grabber-Capture-Converter-Digitize/dp/B0CMGZTZH1/

    Software wise it would pay to search for one with Linux support - the
    one I have (branded 'EasyCAP') works with Linux but it's old and I'm
    not clear on the current market. Linux TV has info, under analog
    devices:
    https://www.linuxtv.org/wiki/index.php/Hardware_device_information

    It often pays to look for reviews or text which says what chip is
    inside, as the cheap brand names change like the wind. Be prepared to
    return if you can't make it work under Linux.

    Theo

    Another thought:
    Since the current PCI card works fine, I am going to see if I can find
    a refurbished PC, which I would not normally look at, to see if I can
    find a refurbished PCI slot-equipped machine.
    No cost of a £200-plus PCIe card, a cheaper PC than a new one.
    Thoughts?

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Sun Sep 15 10:25:11 2024
    On Sun, 15 Sep 2024 08:45:54 +0100
    Davey <davey@example.invalid> wrote:

    On 14 Sep 2024 09:28:30 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:

    I cannot find any suitable BNC-input USB video cards. Plenty of
    HDMI and others, such as network, but not BNC. If you know of
    any, please send me a link.

    If it's composite video, you just need a BNC to phono (RCA) adapter: https://www.amazon.co.uk/10-BNC-Female-RCA-Adapter/dp/B013GKEYCU/

    Then plug into a 'USB video capture' box with 'RCA' inputs.
    Definitely not a recommendation, but this kind of thing: https://www.amazon.co.uk/HENGBIRD-Grabber-Capture-Converter-Digitize/dp/B0CMGZTZH1/

    Software wise it would pay to search for one with Linux support -
    the one I have (branded 'EasyCAP') works with Linux but it's old
    and I'm not clear on the current market. Linux TV has info, under
    analog devices: https://www.linuxtv.org/wiki/index.php/Hardware_device_information

    It often pays to look for reviews or text which says what chip is
    inside, as the cheap brand names change like the wind. Be prepared
    to return if you can't make it work under Linux.

    Theo

    Another thought:
    Since the current PCI card works fine, I am going to see if I can find
    a refurbished PC, which I would not normally look at, to see if I can
    find a refurbished PCI slot-equipped machine.
    No cost of a £200-plus PCIe card, a cheaper PC than a new one.
    Thoughts?


    Or possibly a PCI to PCIe adaptor card. There are plenty on offer, all
    looking the same. Cost: ~£25.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Sun Sep 15 11:55:11 2024
    Davey wrote:

    I am going to see if I can find a refurbished PC, which I would not
    normally look at, to see if I can find a refurbished PCI slot-
    equipped machine.

    Or a PCIe to PCI riser?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Sun Sep 15 13:37:09 2024
    On Sun, 15 Sep 2024 11:55:11 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    I am going to see if I can find a refurbished PC, which I would not normally look at, to see if I can find a refurbished PCI slot-
    equipped machine.

    Or a PCIe to PCI riser?


    Called a " a PCI to PCIe adaptor card" by me at 10:25? The same thing,
    just different names. Although I agree that putting 'PCIe" before
    "PCI" is a more logical construction. Whatever we call it, it looks like
    the way to go, in my situation.
    I don't like refurbished PCs, anyway.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Sun Sep 15 15:00:18 2024
    On 15 Sep 2024 14:47:18 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    Called a " a PCI to PCIe adaptor card" by me at 10:25? The same
    thing, just different names. Although I agree that putting 'PCIe"
    before "PCI" is a more logical construction. Whatever we call it,
    it looks like the way to go, in my situation.
    I don't like refurbished PCs, anyway.

    You may have a problem with mounting - the adapter card adds maybe
    1-1.5" to the height of your card. Depends on how tall your PCI card
    is. You'll probably need to take the backplate off, but it may be
    short enough to fit in a full height PCIe slot.

    If this is problematic you can get PCIe 'riser' cables. Random
    example: https://www.amazon.co.uk/GLOTRENDS-Riser-Function-Features-Degree-Black/dp/B0CHRZQNRK/
    (various lengths and x1 / x4 / x8 / x16 available, many different
    designs)

    and then mount the card elsewhere in the case.

    If you're buying a new PC anyway there are a few mobos with native
    PCI slots: https://uk.pcpartpicker.com/products/motherboard/#d=1,6&sort=price&page=1

    Most of them are for old CPUs, but those with AM4, AM5, LGA1200 or
    LGA1700 CPU sockets are fairly modern: https://uk.pcpartpicker.com/products/motherboard/#d=1,6&sort=price&s=33,41,39,40

    Theo

    Thanks. I will probably get the PC first, and then I can look inside and
    see what space there is, and therefore what I need to get to a PCI slot. Luckily, my existing system is still working, so it is not urgent.
    I will continue to report progress.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Sun Sep 15 14:47:18 2024
    Davey <davey@example.invalid> wrote:
    Called a " a PCI to PCIe adaptor card" by me at 10:25? The same thing,
    just different names. Although I agree that putting 'PCIe" before
    "PCI" is a more logical construction. Whatever we call it, it looks like
    the way to go, in my situation.
    I don't like refurbished PCs, anyway.

    You may have a problem with mounting - the adapter card adds maybe 1-1.5" to the height of your card. Depends on how tall your PCI card is. You'll probably need to take the backplate off, but it may be short enough to fit
    in a full height PCIe slot.

    If this is problematic you can get PCIe 'riser' cables. Random example: https://www.amazon.co.uk/GLOTRENDS-Riser-Function-Features-Degree-Black/dp/B0CHRZQNRK/
    (various lengths and x1 / x4 / x8 / x16 available, many different designs)

    and then mount the card elsewhere in the case.

    If you're buying a new PC anyway there are a few mobos with native PCI slots: https://uk.pcpartpicker.com/products/motherboard/#d=1,6&sort=price&page=1

    Most of them are for old CPUs, but those with AM4, AM5, LGA1200 or LGA1700
    CPU sockets are fairly modern: https://uk.pcpartpicker.com/products/motherboard/#d=1,6&sort=price&s=33,41,39,40

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Theo on Mon Sep 16 09:36:23 2024
    Theo wrote:

    You may have a problem with mounting - the adapter card adds maybe 1-1.5" to the height of your card. Depends on how tall your PCI card is.

    You could get a 90° adapter, or many seem to use USB3 cable so could
    allow a double sided stickypad solution (n.b. the connection isn't
    actually USB3, just a bastardised use of the cable/connectors).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Mon Sep 16 09:20:25 2024
    On Sun, 15 Sep 2024 15:00:18 +0100
    Davey <davey@example.invalid> wrote:

    On 15 Sep 2024 14:47:18 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    Called a " a PCI to PCIe adaptor card" by me at 10:25? The same
    thing, just different names. Although I agree that putting 'PCIe"
    before "PCI" is a more logical construction. Whatever we call it,
    it looks like the way to go, in my situation.
    I don't like refurbished PCs, anyway.

    You may have a problem with mounting - the adapter card adds maybe
    1-1.5" to the height of your card. Depends on how tall your PCI
    card is. You'll probably need to take the backplate off, but it
    may be short enough to fit in a full height PCIe slot.

    If this is problematic you can get PCIe 'riser' cables. Random
    example: https://www.amazon.co.uk/GLOTRENDS-Riser-Function-Features-Degree-Black/dp/B0CHRZQNRK/
    (various lengths and x1 / x4 / x8 / x16 available, many different
    designs)

    and then mount the card elsewhere in the case.

    If you're buying a new PC anyway there are a few mobos with native
    PCI slots: https://uk.pcpartpicker.com/products/motherboard/#d=1,6&sort=price&page=1

    Most of them are for old CPUs, but those with AM4, AM5, LGA1200 or
    LGA1700 CPU sockets are fairly modern: https://uk.pcpartpicker.com/products/motherboard/#d=1,6&sort=price&s=33,41,39,40

    Theo

    Thanks. I will probably get the PC first, and then I can look inside
    and see what space there is, and therefore what I need to get to a
    PCI slot. Luckily, my existing system is still working, so it is not
    urgent. I will continue to report progress.


    The new PC is ordered, from PC Specialists, who provided my laptop. A
    shame they don't do Linux, but nobody is perfect. I will install that
    myself.
    First, I will get it sorted without any hint of Zoneminder, it's other
    job will be to take over as my daily backup device. I will also take
    a look inside to see what room there is for PCI adaptors.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Wed Oct 9 12:31:05 2024
    On 13 Sep 2024 20:19:28 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I'm sort of lost here, any help welcome.

    Have a look at USB adapters. SD video is not that high bit rate,
    especially if the adapter is compressing. No idea of the marketplace, although I have a $7 composite video USB capture that's probably
    awful. BNC is just composite video I think - do they power from there
    or external power?

    If you have a lot of USB devices consider extra USB PCIe cards, but 4
    behind a USB 3 hub is probably ok.

    Theo

    Well, we have progressed, sort of.
    I have a used Euresys Protocol 2 PCIE video input card.
    I removed the troublesome adapter card, and gradually, the PC returned
    to its correct start-up and running behaviour. No warnings, fan runs
    almost inaudibly, etc. There could have never been a problem.
    Now I have the problem of getting the new card to work. Euresys provide
    a mass of drivers and things, so I tried everything I could without any
    of them. Whatever configuration I tried in Zoneminder, it was never
    happy, refusing to recognise any of the 4 inputs.
    I then decided to provide valid camera signal, in case that was the
    problem. I took the currently operating PSU from the running system, and
    hooked that up to a camera that is new, apart from being used for
    testing.
    Nada.
    Ok, let's try the Euresys drivers. The one for the card is Multicam,
    which I downloaded, followed the instructions for installation, and it
    kept on failing for lack of something or other. Every attempt prompted
    an Uninstall to clean the system. It wanted Memento, and it actually
    said 'install Memento', but with no clue as to where to find it. I
    eventually did, buried deep in the website, and downloaded the
    documentation and installer for that. I tried to install it,
    but it fails:
    "Building memento
    make[1]: Entering directory '/usr/src/linux-headers-6.8.0-45-generic'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:
    CC
    [M] /opt/euresys/memento-linux-x86_64-24.07.0.8/drivers/linux/os_crash.o /bin/sh:
    1: gcc-12: not found make[3]: ***
    [scripts/Makefile.build:243: /opt/euresys/memento-linux-x86_64-24.07.0.8/drivers/linux/os_crash.o]
    Error 127 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/usr/src/linux-headers-6.8.0-45-generic/Makefile:1925: /opt/euresys/memento-linux-x86_64-24.07.0.8/drivers/linux]
    Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]:
    Leaving directory '/usr/src/linux-headers-6.8.0-45-generic' make: *** [Makefile:74: default] Error 2 make: Leaving directory '/opt/euresys/memento-linux-x86_64-24.07.0.8/drivers/linux' Please run uninstall.sh to clean the system.

    I don't mind admitting that I am WAY out of my comfort zone here. At
    least the old card 'Just Worked' in the Dell PC.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Thu Oct 10 10:41:13 2024
    Davey <davey@example.invalid> wrote:
    Ok, let's try the Euresys drivers. The one for the card is Multicam,
    which I downloaded, followed the instructions for installation, and it
    kept on failing for lack of something or other. Every attempt prompted
    an Uninstall to clean the system. It wanted Memento, and it actually
    said 'install Memento', but with no clue as to where to find it. I
    eventually did, buried deep in the website, and downloaded the
    documentation and installer for that. I tried to install it,
    but it fails:

    The first rule is never ever use vendor drivers, they are the route to much pain and suffering.

    Supposedly the chip supports the 'bttv' driver: https://www.linuxtv.org/wiki/index.php/Bttv

    which in theory should work out of the box.

    See:
    https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/index.html
    specifically the bttv section.

    You might need to install a package containing the 'bttv.ko' kernel module - you may need a linux-modules-extra-... package. eg to install for your
    current kernel version:

    $ sudo apt install linux-modules-extra-$(uname -r)

    (you may need to repeat the command when your kernel version gets updated,
    not sure if there's a way to keep them in sync)

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Thu Oct 10 13:33:58 2024
    On 10 Oct 2024 10:41:13 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    Ok, let's try the Euresys drivers. The one for the card is Multicam,
    which I downloaded, followed the instructions for installation, and
    it kept on failing for lack of something or other. Every attempt
    prompted an Uninstall to clean the system. It wanted Memento, and
    it actually said 'install Memento', but with no clue as to where to
    find it. I eventually did, buried deep in the website, and
    downloaded the documentation and installer for that. I tried to
    install it, but it fails:

    The first rule is never ever use vendor drivers, they are the route
    to much pain and suffering.

    Supposedly the chip supports the 'bttv' driver: https://www.linuxtv.org/wiki/index.php/Bttv

    which in theory should work out of the box.

    See:
    https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/index.html specifically the bttv section.

    You might need to install a package containing the 'bttv.ko' kernel
    module - you may need a linux-modules-extra-... package. eg to
    install for your current kernel version:

    $ sudo apt install linux-modules-extra-$(uname -r)

    (you may need to repeat the command when your kernel version gets
    updated, not sure if there's a way to keep them in sync)

    Theo

    Many thanks. I tried the instructions that came with the original bttv
    driver card, but got nowhere. But that was for an early version of
    Ubuntu, so I was not surprised.
    I will try your suggestions, thanks.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Thu Oct 10 14:21:22 2024
    Davey <davey@example.invalid> wrote:
    Many thanks. I tried the instructions that came with the original bttv
    driver card, but got nowhere. But that was for an early version of
    Ubuntu, so I was not surprised.
    I will try your suggestions, thanks.

    Anyway, it appears Memento is completely the wrong thing for your
    application:

    "Memento is an advanced event message logging system that greatly facilitates the debugging of machine vision applications using Euresys frame grabbers.

    Memento is a set of software tools allowing:
    * Kernel drivers and user space applications – Memento Contributors – to inject trace messages – Memento Messages – into a common memory area – the Memento Ring Buffer.
    * Memento Contributors to time-stamp Memento messages using a common time scale – Memento Time Scale.
    * To view selected sets of recent- or past- Memento Messages using the Memento Viewer function
    * To dump Memento data from the Memento Ring Buffer to disk using the Memento Dump function

    The Memento software package has two main components:
    * A kernel-mode driver: Memento Driver.
    * A user-mode application: Memento Application." https://documentation.euresys.com/Products/Memento/Memento_9_4/Content/01%20Getting%20Started/Abstract.htm


    I don't think you're debugging a machine vision application, so what you
    were trying to install seems like a complete red herring.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Thu Oct 10 14:53:29 2024
    On 10 Oct 2024 14:21:22 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    Many thanks. I tried the instructions that came with the original
    bttv driver card, but got nowhere. But that was for an early
    version of Ubuntu, so I was not surprised.
    I will try your suggestions, thanks.

    Anyway, it appears Memento is completely the wrong thing for your application:

    "Memento is an advanced event message logging system that greatly
    facilitates the debugging of machine vision applications using
    Euresys frame grabbers.

    Memento is a set of software tools allowing:
    * Kernel drivers and user space applications –
    Memento Contributors – to inject trace messages – Memento Messages – into a common memory area – the Memento Ring Buffer.
    * Memento Contributors to time-stamp Memento messages
    using a common time scale – Memento Time Scale.
    * To view selected sets of recent- or past- Memento
    Messages using the Memento Viewer function
    * To dump Memento data from the Memento Ring Buffer
    to disk using the Memento Dump function

    The Memento software package has two main components:
    * A kernel-mode driver: Memento Driver.
    * A user-mode application: Memento Application." https://documentation.euresys.com/Products/Memento/Memento_9_4/Content/01%20Getting%20Started/Abstract.htm


    I don't think you're debugging a machine vision application, so what
    you were trying to install seems like a complete red herring.

    I certainly won't argue with that! Compared with how the original PC and
    PCI card worked, this whole thing seemed far more complex than
    necessary. Simplicity is what is required..

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Fri Oct 11 18:12:07 2024
    On 10 Oct 2024 10:41:13 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    Ok, let's try the Euresys drivers. The one for the card is Multicam,
    which I downloaded, followed the instructions for installation, and
    it kept on failing for lack of something or other. Every attempt
    prompted an Uninstall to clean the system. It wanted Memento, and
    it actually said 'install Memento', but with no clue as to where to
    find it. I eventually did, buried deep in the website, and
    downloaded the documentation and installer for that. I tried to
    install it, but it fails:

    The first rule is never ever use vendor drivers, they are the route
    to much pain and suffering.

    Supposedly the chip supports the 'bttv' driver: https://www.linuxtv.org/wiki/index.php/Bttv

    which in theory should work out of the box.

    See:
    https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/index.html specifically the bttv section.

    You might need to install a package containing the 'bttv.ko' kernel
    module - you may need a linux-modules-extra-... package. eg to
    install for your current kernel version:

    $ sudo apt install linux-modules-extra-$(uname -r)

    (you may need to repeat the command when your kernel version gets
    updated, not sure if there's a way to keep them in sync)

    Theo

    Ok. I sent some time on this today. As far as I can see, all the
    required modules etc are loaded. I can find nothing to be missing, but I
    am not familiar with this.
    It looks as though all the components are there, the PC recognises the
    card, but I can't get Zoneminder to open a channel. I'm leaving it
    alone overnight.

    In order to test the card, I have dug out an unused camera, by Defender Security. It worked when I bought it and tested it, but I can't now get
    it to function correctly when attached to the empty input on the old
    PC. It may be that I tested it on the independent Swann CCTV system. It
    has a resolution of 976 x 496, but if I set it to that, I get a sliced
    and angled image. If I try some other setups, all the other inputs go
    crazy, so my attempt to use a known good camera on the new PC fails. I
    will have to temporarily remove one of the working cameras from its
    place, use it for testing, and then replace it.
    If I can get the PC and the card to talk turkey, that is.

    And just to confuse me, Euresys replied to my earlier message about
    Memento and Multicam, saying that Memento is not needed, and is old,
    and suggesting I try Multicam alone. In direct contravention of their
    own instruction manual!
    it looks like a busy weekend at the workbench.

    --
    Davey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Sat Oct 12 17:13:58 2024
    On Fri, 11 Oct 2024 18:12:07 +0100
    Davey <davey@example.invalid> wrote:

    On 10 Oct 2024 10:41:13 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    Ok, let's try the Euresys drivers. The one for the card is
    Multicam, which I downloaded, followed the instructions for
    installation, and it kept on failing for lack of something or
    other. Every attempt prompted an Uninstall to clean the system.
    It wanted Memento, and it actually said 'install Memento', but
    with no clue as to where to find it. I eventually did, buried
    deep in the website, and downloaded the documentation and
    installer for that. I tried to install it, but it fails:

    The first rule is never ever use vendor drivers, they are the route
    to much pain and suffering.

    Supposedly the chip supports the 'bttv' driver: https://www.linuxtv.org/wiki/index.php/Bttv

    which in theory should work out of the box.

    See:
    https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/index.html specifically the bttv section.

    You might need to install a package containing the 'bttv.ko' kernel
    module - you may need a linux-modules-extra-... package. eg to
    install for your current kernel version:

    $ sudo apt install linux-modules-extra-$(uname -r)

    (you may need to repeat the command when your kernel version gets
    updated, not sure if there's a way to keep them in sync)

    Theo

    Ok. I sent some time on this today. As far as I can see, all the
    required modules etc are loaded. I can find nothing to be missing,
    but I am not familiar with this.
    It looks as though all the components are there, the PC recognises the
    card, but I can't get Zoneminder to open a channel. I'm leaving it
    alone overnight.

    In order to test the card, I have dug out an unused camera, by
    Defender Security. It worked when I bought it and tested it, but I
    can't now get it to function correctly when attached to the empty
    input on the old PC. It may be that I tested it on the independent
    Swann CCTV system. It has a resolution of 976 x 496, but if I set it
    to that, I get a sliced and angled image. If I try some other setups,
    all the other inputs go crazy, so my attempt to use a known good
    camera on the new PC fails. I will have to temporarily remove one of
    the working cameras from its place, use it for testing, and then
    replace it. If I can get the PC and the card to talk turkey, that is.

    And just to confuse me, Euresys replied to my earlier message about
    Memento and Multicam, saying that Memento is not needed, and is old,
    and suggesting I try Multicam alone. In direct contravention of their
    own instruction manual!
    it looks like a busy weekend at the workbench.


    Update. This morning, I went over everything that I could. All seems
    correct, but still no dice. I used one of the existing, working
    cameras, and ran a new cable from it to the new PC. I used a
    single-camera PSU, which I tried successfully yesterday.
    I was confused by one thing: the card is identified as something
    different from the Picolo, so I added the instruction 'card=97' to the configuration file, to tell it what to address. No change.
    Zoneminder itself is working, it shows the signal from the Wifi camera
    in the garage, which it gets from the router. It's seeing the PCIE
    card, but downloading a signal from it, that is the part
    that's not working.

    Maybe I'll try Multicam again tomorrow!

    Any suggestions welcome.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Sat Oct 12 17:27:48 2024
    Davey wrote:

    Any suggestions welcome.

    Does "lspci" show the brooktree card(s)?
    does "ls /dev/video*" show the devices?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Sun Oct 13 10:13:52 2024
    On Sat, 12 Oct 2024 17:27:48 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    Any suggestions welcome.

    Does "lspci" show the brooktree card(s)?

    Partial response:
    03:00.0 PCI bridge: Texas Instruments XIO2001 PCI Express-to-PCI Bridge
    04:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video
    Capture (rev 11) 04:00.1 Multimedia controller: Brooktree Corporation
    Bt878 Audio Capture (rev 11) 05:00.0 Non-Volatile memory controller:
    Silicon Motion, Inc. SM2263EN/SM2263XT SSD Controller (rev 03)


    does "ls /dev/video*" show the devices?

    ~$ ls /dev/video*

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

    Now, I know I saw video0 somewhere before, I specically looked for it. I
    can't remember if it was in /dev. Then, I followed the instructions in HOW-TO-etc, and it was there before I rebooted. Now it's not. I need to
    do some more route retracing.

    Thanks for the tip. Let's hope...
    --

    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Sun Oct 13 11:18:48 2024
    Davey wrote:

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

    Now, I know I saw video0 somewhere before, I specically looked for it. I can't remember if it was in /dev. Then, I followed the instructions in HOW-TO-etc, and it was there before I rebooted. Now it's not. I need to
    do some more route retracing.

    The entries under /dev would only appear if a driver had loaded,
    normally PnP would handle it, but maybe some furtling with modprobe or
    insmod required?

    Probably look first for clues with "dmesg | grep -i -e bt878 -e brook"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Sun Oct 13 12:15:20 2024
    On Sun, 13 Oct 2024 11:18:48 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

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

    Now, I know I saw video0 somewhere before, I specically looked for
    it. I can't remember if it was in /dev. Then, I followed the
    instructions in HOW-TO-etc, and it was there before I rebooted. Now
    it's not. I need to do some more route retracing.

    The entries under /dev would only appear if a driver had loaded,
    normally PnP would handle it, but maybe some furtling with modprobe
    or insmod required?

    Probably look first for clues with "dmesg | grep -i -e bt878 -e brook"


    Thanks, I'll give that a go.

    "The answer is there somewhere, the hard part is finding it".

    (Davey, approx. year 2000 +1/-10)

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Sun Oct 13 15:23:45 2024
    On Sun, 13 Oct 2024 11:18:48 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

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

    Now, I know I saw video0 somewhere before, I specically looked for
    it. I can't remember if it was in /dev. Then, I followed the
    instructions in HOW-TO-etc, and it was there before I rebooted. Now
    it's not. I need to do some more route retracing.

    The entries under /dev would only appear if a driver had loaded,
    normally PnP would handle it, but maybe some furtling with modprobe
    or insmod required?

    Probably look first for clues with "dmesg | grep -i -e bt878 -e brook"


    "dmesg | grep -i -e bt878 -e brook"

    produced no results. Hmm.

    I ran "$ sudo dmesg | less" again, it had previously produced lines
    showing that bttv was loaded. This time it did not.

    I then ran "$ sudo modprobe -v bttv", and then the dmesg showed the bttv entries again. So modprobe is needed, at least at the moment.

    Then, again, the dmesg | grep instruction shows:

    ~$ sudo dmesg | grep -i -e bt878 -e brook
    [16854.002864] bttv: 0: Bt878 (rev 17) at 0000:04:00.0, irq: 19, latency: 32, mmio: 0x83401000

    So things are heading in the right direction, even if for now manual configuration is needed.

    Then $lsmod

    "Module Size Used by
    bttv 176128 0
    tveeprom 24576 1 bttv
    tea575x 20480 1 bttv
    videobuf2_dma_sg 20480 1 bttv
    videobuf2_memops 16384 1 videobuf2_dma_sg
    videobuf2_v4l2 36864 1 bttv
    videobuf2_common 81920 4 bttv,videobuf2_v4l2,videobuf2_dma_sg,videobuf2_memops
    rc_core 73728 1 bttv
    i2c_algo_bit 16384 1 bttv
    videodev 356352 3 tea575x,bttv,videobuf2_v4l2
    mc 81920 3 videodev,videobuf2_v4l2,videobuf2_common"

    which shows an entry for v4l2.

    Then:
    $ ls /dev/video*
    /dev/video0

    So far, so good, it looks. But Zoneminder still does not see anything.

    Still puzzled, with at least a list of what to do on boot to load
    things.

    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Mon Oct 14 12:11:17 2024
    On Sun, 13 Oct 2024 15:23:45 +0100
    Davey <davey@example.invalid> wrote:

    On Sun, 13 Oct 2024 11:18:48 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

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

    Now, I know I saw video0 somewhere before, I specically looked for
    it. I can't remember if it was in /dev. Then, I followed the
    instructions in HOW-TO-etc, and it was there before I rebooted.
    Now it's not. I need to do some more route retracing.

    The entries under /dev would only appear if a driver had loaded,
    normally PnP would handle it, but maybe some furtling with modprobe
    or insmod required?

    Probably look first for clues with "dmesg | grep -i -e bt878 -e
    brook"

    "dmesg | grep -i -e bt878 -e brook"

    produced no results. Hmm.

    I ran "$ sudo dmesg | less" again, it had previously produced lines
    showing that bttv was loaded. This time it did not.

    I then ran "$ sudo modprobe -v bttv", and then the dmesg showed the
    bttv entries again. So modprobe is needed, at least at the moment.

    Then, again, the dmesg | grep instruction shows:

    ~$ sudo dmesg | grep -i -e bt878 -e brook
    [16854.002864] bttv: 0: Bt878 (rev 17) at 0000:04:00.0, irq: 19,
    latency: 32, mmio: 0x83401000

    So things are heading in the right direction, even if for now manual configuration is needed.

    Then $lsmod

    "Module Size Used by
    bttv 176128 0
    tveeprom 24576 1 bttv
    tea575x 20480 1 bttv
    videobuf2_dma_sg 20480 1 bttv
    videobuf2_memops 16384 1 videobuf2_dma_sg
    videobuf2_v4l2 36864 1 bttv
    videobuf2_common 81920 4 bttv,videobuf2_v4l2,videobuf2_dma_sg,videobuf2_memops rc_core
    73728 1 bttv i2c_algo_bit 16384 1 bttv
    videodev 356352 3 tea575x,bttv,videobuf2_v4l2
    mc 81920 3
    videodev,videobuf2_v4l2,videobuf2_common"

    which shows an entry for v4l2.

    Then:
    $ ls /dev/video*
    /dev/video0

    So far, so good, it looks. But Zoneminder still does not see anything.

    Still puzzled, with at least a list of what to do on boot to load
    things.


    Ok, new day.
    As previously determined, I ran dmesg | grep -i -e bt878 -e brook
    to see if the card was recognised. It wasn't so I ran ./MAKEDEV and
    modprobe -v bttv.
    I re-ran dmesg | grep -i -e bt878 -e brook
    to see if the card was recognised. It was:
    "[ 224.609203] bttv: 0: Bt878 (rev 17) at 0000:04:00.0, irq: 19,
    latency: 32, mmio: 0x83401000"
    "Module Size Used by
    bttv 176128 0
    tveeprom 24576 1 bttv
    tea575x 20480 1 bttv
    videobuf2_dma_sg 20480 1 bttv
    videobuf2_memops 16384 1 videobuf2_dma_sg
    videobuf2_v4l2 36864 1 bttv
    videodev 356352 3 tea575x,bttv,videobuf2_v4l2
    videobuf2_common 81920 4 bttv,videobuf2_v4l2,videobuf2_dma_sg,videobuf2_memops mc
    81920 3 videodev,videobuf2_v4l2,videobuf2_common rc_core
    73728 1 bttv i2c_algo_bit 16384 1 bttv
    nvidia_uvm 1429504 0
    nvidia_drm 77824 6
    nvidia_modeset 1212416 9 nvidia_drm
    intel_rapl_msr 20480 0
    intel_rapl_common 40960 1 intel_rapl_msr
    nvidia 35643392 364 nvidia_uvm,nvidia_modeset intel_uncore_frequency 16384 0
    intel_uncore_frequency_common 16384 1 intel_uncore_frequency intel_tcc_cooling 12288 0
    x86_pkg_temp_thermal 20480 0
    intel_powerclamp 24576 0
    snd_sof_pci_intel_tgl 12288 0
    snd_sof_intel_hda_common 217088 1 snd_sof_pci_intel_tgl
    soundwire_intel 73728 1 snd_sof_intel_hda_common snd_sof_intel_hda_mlink 45056 2
    soundwire_intel,snd_sof_intel_hda_common soundwire_cadence 40960
    1 soundwire_intel snd_sof_intel_hda 24576 1
    snd_sof_intel_hda_common snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_sof_xtensa_dsp
    12288 1 snd_sof_intel_hda_common snd_sof 380928 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda snd_sof_utils
    16384 1 snd_sof snd_soc_hdac_hda 24576 1
    snd_sof_intel_hda_common snd_hda_ext_core 32768 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
    snd_soc_acpi_intel_match 98304 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_soc_acpi
    16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common soundwire_generic_allocation 12288 1 soundwire_intel soundwire_bus
    110592 3
    soundwire_intel,soundwire_generic_allocation,soundwire_cadence snd_hda_codec_realtek 200704 1 snd_soc_core 438272 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
    coretemp 24576 0 snd_hda_codec_generic 122880 1 snd_hda_codec_realtek snd_compress 28672 1 snd_soc_core snd_hda_codec_hdmi 94208 1 ac97_bus 12288 1
    snd_soc_core snd_pcm_dmaengine 16384 1 snd_soc_core kvm_intel
    487424 0 snd_hda_intel 61440 4
    snd_intel_dspcfg 36864 3
    snd_hda_intel,snd_sof,snd_sof_intel_hda_common kvm
    1409024 1 kvm_intel snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg snd_hda_codec 204800
    6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
    binfmt_misc 24576 1 snd_hda_core 139264 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
    snd_hwdep 20480 1 snd_hda_codec nls_iso8859_1
    12288 1 irqbypass 12288 1 kvm snd_pcm
    192512 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
    crct10dif_pclmul 12288 1 polyval_clmulni 12288 0
    polyval_generic 12288 1 polyval_clmulni snd_seq_midi
    24576 0 ghash_clmulni_intel 16384 0
    snd_seq_midi_event 16384 1 snd_seq_midi
    sha256_ssse3 32768 0
    sha1_ssse3 32768 0
    snd_rawmidi 57344 1 snd_seq_midi
    aesni_intel 356352 0
    crypto_simd 16384 1 aesni_intel
    snd_seq 114688 2 snd_seq_midi,snd_seq_midi_event
    cryptd 24576 2 crypto_simd,ghash_clmulni_intel
    snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
    cmdlinepart 12288 0
    rapl 20480 0
    snd_timer 49152 2 snd_seq,snd_pcm
    spi_nor 163840 0
    intel_cstate 24576 0
    snd 143360 22 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
    eeepc_wmi 12288 0 mei_me 53248 0
    wmi_bmof 12288 0
    ee1004 16384 0
    soundcore 16384 1 snd
    mtd 98304 3 spi_nor,cmdlinepart
    intel_pmc_core 118784 0
    mei 167936 1 mei_me
    intel_vsec 20480 1 intel_pmc_core
    pmt_telemetry 16384 1 intel_pmc_core
    joydev 32768 0
    input_leds 12288 0
    pmt_class 12288 1 pmt_telemetry
    acpi_pad 184320 0
    acpi_tad 20480 0
    mac_hid 12288 0
    sch_fq_codel 24576 2
    msr 12288 0
    parport_pc 53248 0
    ppdev 24576 0
    lp 28672 0
    parport 73728 3 parport_pc,lp,ppdev
    efi_pstore 12288 0
    ip_tables 32768 0
    x_tables 65536 1 ip_tables
    autofs4 57344 2
    hid_generic 12288 0
    usbhid 77824 0
    hid 180224 2 usbhid,hid_generic
    mfd_aaeon 12288 0
    asus_wmi 86016 2 eeepc_wmi,mfd_aaeon
    ledtrig_audio 12288 1 asus_wmi
    nvme 61440 2
    sparse_keymap 12288 1 asus_wmi
    intel_lpss_pci 24576 0
    spi_intel_pci 12288 0
    i2c_i801 36864 0
    nvme_core 208896 3 nvme
    platform_profile 12288 1 asus_wmi
    ahci 49152 0
    intel_lpss 12288 1 intel_lpss_pci
    xhci_pci 24576 0
    e1000e 356352 0
    video 73728 2 asus_wmi,nvidia_modeset
    crc32_pclmul 12288 0
    spi_intel 32768 1 spi_intel_pci
    i2c_smbus 16384 1 i2c_i801
    nvme_auth 28672 1 nvme_core
    libahci 53248 1 ahci
    idma64 20480 0
    vmd 24576 0
    xhci_pci_renesas 20480 1 xhci_pci
    wmi 28672 4 video,asus_wmi,wmi_bmof,mfd_aaeon pinctrl_alderlake 32768 0

    whereas previously, I had seen that v4l2 is mentioned, it is only as
    part of 'videobuf

    Another thing that puzzles me:
    I can locate bttv.ko, the module to load the driver, but I can't read
    it, I get some strange script as though I need a different language.

    Any help welcome.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Mon Oct 14 12:13:44 2024
    On Mon, 14 Oct 2024 12:11:17 +0100
    Davey <davey@example.invalid> wrote:

    it is only as
    part of 'videobuf2'

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Mon Oct 14 12:51:48 2024
    Davey wrote:

    Another thing that puzzles me:
    I can locate bttv.ko, the module to load the driver, but I can't read
    it, I get some strange script as though I need a different language.

    Curious why you think it ought to be readable? It's compiled code.

    It's ages since I dabbled with ZM, so nothing I can say about persuading
    it to use cameras.

    can you get ffmpeg, gstreamer or vlc to capture from the camera?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Mon Oct 14 14:30:50 2024
    On Mon, 14 Oct 2024 12:51:48 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    Another thing that puzzles me:
    I can locate bttv.ko, the module to load the driver, but I can't
    read it, I get some strange script as though I need a different
    language.

    Curious why you think it ought to be readable? It's compiled code.

    Ok, I haven't met any before, I thought that Linux was all
    text-based. Live and learn.

    It's ages since I dabbled with ZM, so nothing I can say about
    persuading it to use cameras.

    can you get ffmpeg, gstreamer or vlc to capture from the camera?

    I can try. Not my normal area of expertise, but anything is worth
    trying.

    More later, thanks for thoughts.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Mon Oct 14 14:43:22 2024
    Davey <davey@example.invalid> wrote:
    I can try. Not my normal area of expertise, but anything is worth
    trying.

    More later, thanks for thoughts.

    It's worth looking at logs from Zoneminder, vlc or anywhere else that's relevant. It's possible they're complaining about something that is
    stopping the card from being accepted.

    In the olden days the logfiles lived in /var/log (some still do), but
    nowadays you need to interact with 'journalctl', eg 'journalctl -x -e'

    If you find a log line that's relevant, google the message and see what
    comes up.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Mon Oct 14 16:19:22 2024
    On 14 Oct 2024 14:43:22 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I can try. Not my normal area of expertise, but anything is worth
    trying.

    More later, thanks for thoughts.

    It's worth looking at logs from Zoneminder, vlc or anywhere else
    that's relevant. It's possible they're complaining about something
    that is stopping the card from being accepted.

    In the olden days the logfiles lived in /var/log (some still do), but nowadays you need to interact with 'journalctl', eg 'journalctl -x -e'

    If you find a log line that's relevant, google the message and see
    what comes up.

    Theo

    Thanks. I tried to configure vlc to look at the camera, I had never
    done that before, and I could not find the right configuration for the
    boxes. It kept on telling me to look at the logs, but didn't say where
    to find them. It was certainly not obvious from the vlc menu.
    And I have never done anything with ffmpeg, and I remember once using
    gstreamer many years ago. I have been otherwise busy this afternoon,
    maybe back at it later. I must automate the required actions that I
    know about to make bootup easier.

    I'll look for some logs, and see if I can find anything of use.
    This getting boring!

    Thanks for the ideas.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Mon Oct 14 16:59:45 2024
    Davey wrote:

    I must automate the required actions that I
    know about to make bootup easier.

    You ought to be able to force the equivalent of the insmod/modprobe
    you're doing, by putting entries into /etc/modprobe.conf

    Or at worst, adding the module name to the kernel command line in your
    grub.cfg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Mon Oct 14 20:02:34 2024
    On Mon, 14 Oct 2024 16:59:45 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    I must automate the required actions that I
    know about to make bootup easier.

    You ought to be able to force the equivalent of the insmod/modprobe
    you're doing, by putting entries into /etc/modprobe.conf

    Or at worst, adding the module name to the kernel command line in
    your grub.cfg

    Thanks, I'll look at those tomorrow.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Tue Oct 15 10:09:37 2024
    On Tue, 15 Oct 2024 10:04:22 +0100
    Davey <davey@example.invalid> wrote:

    On Mon, 14 Oct 2024 16:59:45 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    I must automate the required actions that I
    know about to make bootup easier.

    You ought to be able to force the equivalent of the insmod/modprobe
    you're doing, by putting entries into /etc/modprobe.conf

    Or at worst, adding the module name to the kernel command line in
    your grub.cfg

    As an aside, I was wondering whether to load Ubuntu 24.04 onto the new
    PC, alongside the 22.04 that I am currently using, and see if
    installing that, with the videocard already in place, might be worth a
    try.
    I installed 22.04 because 24.04 seemed to be lacking some programmes
    that I use, whereas 22.04 is familiar with them. If 22.04 works, then
    that would be fine, as the PC's main purpose is to run Zoneminder.

    "If 24.04 works......"

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Tue Oct 15 10:04:22 2024
    On Mon, 14 Oct 2024 16:59:45 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    I must automate the required actions that I
    know about to make bootup easier.

    You ought to be able to force the equivalent of the insmod/modprobe
    you're doing, by putting entries into /etc/modprobe.conf

    Or at worst, adding the module name to the kernel command line in
    your grub.cfg

    As an aside, I was wondering whether to load Ubuntu 24.04 onto the new
    PC, alongside the 22.04 that I am currently using, and see if
    installing that, with the videocard already in place, might be worth a
    try.
    I installed 22.04 because 24.04 seemed to be lacking some programmes
    that I use, whereas 22.04 is familiar with them. If 22.04 works, then
    that would be fine, as the PC's main purpose is to run Zoneminder.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Tue Oct 15 14:50:34 2024
    On 14 Oct 2024 14:43:22 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I can try. Not my normal area of expertise, but anything is worth
    trying.

    More later, thanks for thoughts.

    It's worth looking at logs from Zoneminder, vlc or anywhere else
    that's relevant. It's possible they're complaining about something
    that is stopping the card from being accepted.

    In the olden days the logfiles lived in /var/log (some still do), but nowadays you need to interact with 'journalctl', eg 'journalctl -x -e'

    If you find a log line that's relevant, google the message and see
    what comes up.

    Theo

    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0: Permission denied]"
    which gives a reason for failure. The log is as follows:
    FAT [zmc_dvideo0] [Failed to open video device /dev/video0: Permission
    denied] Oct 15 14:22:43 david-desktop-2 zmc_dvideo0[7153]: FAT
    [zmc_dvideo0] [Failed to open video device /dev/video0: Permission
    denied] Oct 15 14:22:43 david-desktop-2 zmdc[1072]: ERR ['zmc -d
    /dev/video0' exited abnormally, exit status 255]
    Oct 15 14:22:47 david-desktop-2 zmwatch[1271]: ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist in zmMemAttach. zmc might not be
    running
    Oct 15 14:22:47 david-desktop-2 zmwatch[1271]: ERR [Memory map
    file '/dev/shm/zm.mmap.2' does not exist in zmMemAttach. zmc might not
    be running

    Repeated ad nauseam. I'll look and see if I can find how to give
    permission to open /dev/video0. [I think I might have just found that.]
    I never had these problems with the old PC and Zoneminder.

    Maybe it might be worth removing and reinstalling Zoneminder after
    getting the ./MAKEDEV and modprobe -v bttv processes completed. I seem
    to be just spinning my wheels here.

    If anybody can give me the correct setup for vlc to view the input
    card, that would be much appreciated.

    Also, I tried adding Ubuntu 24.04 to the PC, and, unlike when I
    installed 22.04, it didn't go through the process of synchronising the
    display, and I have a larger the monitor view, and no apparent way to
    get it right. so I'm still on 22.04.

    More later, if I haven't thrown the whole PC out the window!
    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Tue Oct 15 15:33:43 2024
    Davey wrote:

    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0: Permission denied]"

    Can you use sudo or su to run whatever you're running?

    Maybe chmod/chown the /dev/video0 device

    run vlc, with su or sudo
    from within the gui choose Media / Open Capture Device
    and for video device use /dev/video0
    leave audio device as 'none'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Tue Oct 15 17:58:12 2024
    On 15 Oct 2024 17:28:56 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0:
    Permission denied]"
    which gives a reason for failure.

    On Ubuntu 24.04 I get:

    $ ls -l /dev
    ...
    crw-rw----+ 1 root video 81, 0 Oct 9 09:13 video0
    crw-rw----+ 1 root video 81, 1 Oct 9 09:13 video1
    crw-rw----+ 1 root video 81, 2 Oct 9 09:13 video2
    crw-rw----+ 1 root video 81, 3 Oct 9 09:13 video3

    so only those in the 'video' group get access to the video device.

    Have you checked that your user is in the 'video' group?

    Maybe it might be worth removing and reinstalling Zoneminder after
    getting the ./MAKEDEV and modprobe -v bttv processes completed. I
    seem to be just spinning my wheels here.

    ./MAKEDEV is a very old way of doing things. These days the tool is
    'udev' and you have udev rules which say how the devices are made as
    things are hotplugged. I have pre-existing rules in various files:

    $ grep -r video /lib/udev/rules.d/
    /lib/udev/rules.d/95-cd-devices.rules:# video cameras /lib/udev/rules.d/95-cd-devices.rules:SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1",
    ENV{COLORD_KIND}="camera" /lib/udev/rules.d/60-persistent-v4l.rules:SUBSYSTEM!="video4linux",
    GOTO="persistent_v4l_end" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*",
    ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*",
    ENV{ID_PATH}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*",
    ENV{ID_PATH_WITH_USB_REVISION}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH_WITH_USB_REVISION}-video-index$attr{index}" /lib/udev/rules.d/70-uaccess.rules:SUBSYSTEM=="video4linux",
    TAG+="uaccess" /lib/udev/rules.d/70-uaccess.rules:# DRI video
    devices /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="video4linux", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="graphics", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="drm", KERNEL!="renderD*",
    GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="dvb", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="media", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="cec", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1",
    GROUP="video" /lib/udev/rules.d/70-camera.rules:SUBSYSTEM=="video4linux", ENV{ID_BUS}="usb",
    \ /lib/udev/rules.d/80-debian-compat.rules:KERNEL=="lirc[0-9]*", GROUP="video"

    You shouldn't edit those rules, but put new rules in /etc/udev/rules.d

    However I don't think you need new rules, just putting your user in
    the 'video' group and then logging out and back in again should fix
    it.

    Theo

    Thanks. The group entry was what I found, and is what I was going to
    try tomorrow morning.
    The MAKEDEV is because that's how the HOW-TO document says to do it. I
    try to follow the rules in an unknown (to me) world!
    I'll take a look, for sure.

    I was thinking of removing Zoneminder, and re-installing it while
    following the ZM document, and see what happens. But it works with the
    Wifi camera, but that does not use any video input card.

    The 24.04 OS screen size is a real pain, too, it makes that installation unusable. Out it comes, if I can't find how to resize the screen.
    All NVIDIA offered me was a choice of 100% (active) or 200%. No thanks!

    I'll let it rest overnight, back at it in the morning.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Tue Oct 15 17:28:56 2024
    Davey <davey@example.invalid> wrote:
    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0: Permission denied]"
    which gives a reason for failure.

    On Ubuntu 24.04 I get:

    $ ls -l /dev
    ...
    crw-rw----+ 1 root video 81, 0 Oct 9 09:13 video0
    crw-rw----+ 1 root video 81, 1 Oct 9 09:13 video1
    crw-rw----+ 1 root video 81, 2 Oct 9 09:13 video2
    crw-rw----+ 1 root video 81, 3 Oct 9 09:13 video3

    so only those in the 'video' group get access to the video device.

    Have you checked that your user is in the 'video' group?

    Maybe it might be worth removing and reinstalling Zoneminder after
    getting the ./MAKEDEV and modprobe -v bttv processes completed. I seem
    to be just spinning my wheels here.

    ./MAKEDEV is a very old way of doing things. These days the tool is 'udev'
    and you have udev rules which say how the devices are made as things are hotplugged. I have pre-existing rules in various files:

    $ grep -r video /lib/udev/rules.d/
    /lib/udev/rules.d/95-cd-devices.rules:# video cameras /lib/udev/rules.d/95-cd-devices.rules:SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1", ENV{COLORD_KIND}="camera"
    /lib/udev/rules.d/60-persistent-v4l.rules:SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end"
    /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"
    /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*", ENV{ID_PATH}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}"
    /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*", ENV{ID_PATH_WITH_USB_REVISION}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH_WITH_USB_REVISION}-video-index$attr{index}"
    /lib/udev/rules.d/70-uaccess.rules:SUBSYSTEM=="video4linux", TAG+="uaccess" /lib/udev/rules.d/70-uaccess.rules:# DRI video devices /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="video4linux", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="graphics", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="drm", KERNEL!="renderD*", GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="dvb", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="media", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="cec", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1", GROUP="video"
    /lib/udev/rules.d/70-camera.rules:SUBSYSTEM=="video4linux", ENV{ID_BUS}="usb", \
    /lib/udev/rules.d/80-debian-compat.rules:KERNEL=="lirc[0-9]*", GROUP="video"

    You shouldn't edit those rules, but put new rules in /etc/udev/rules.d

    However I don't think you need new rules, just putting your user in the
    'video' group and then logging out and back in again should fix it.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Wed Oct 16 12:12:34 2024
    On 15 Oct 2024 17:28:56 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0:
    Permission denied]"
    which gives a reason for failure.

    On Ubuntu 24.04 I get:

    $ ls -l /dev
    ...
    crw-rw----+ 1 root video 81, 0 Oct 9 09:13 video0
    crw-rw----+ 1 root video 81, 1 Oct 9 09:13 video1
    crw-rw----+ 1 root video 81, 2 Oct 9 09:13 video2
    crw-rw----+ 1 root video 81, 3 Oct 9 09:13 video3

    so only those in the 'video' group get access to the video device.

    Have you checked that your user is in the 'video' group?

    Maybe it might be worth removing and reinstalling Zoneminder after
    getting the ./MAKEDEV and modprobe -v bttv processes completed. I
    seem to be just spinning my wheels here.

    ./MAKEDEV is a very old way of doing things. These days the tool is
    'udev' and you have udev rules which say how the devices are made as
    things are hotplugged. I have pre-existing rules in various files:

    $ grep -r video /lib/udev/rules.d/
    /lib/udev/rules.d/95-cd-devices.rules:# video cameras /lib/udev/rules.d/95-cd-devices.rules:SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1",
    ENV{COLORD_KIND}="camera" /lib/udev/rules.d/60-persistent-v4l.rules:SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*", ENV{ID_PATH}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*", ENV{ID_PATH_WITH_USB_REVISION}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH_WITH_USB_REVISION}-video-index$attr{index}"
    /lib/udev/rules.d/70-uaccess.rules:SUBSYSTEM=="video4linux",
    TAG+="uaccess" /lib/udev/rules.d/70-uaccess.rules:# DRI video devices /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="video4linux", GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="graphics",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="drm",
    KERNEL!="renderD*", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="dvb",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="media",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="cec",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="firewire",
    TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1", GROUP="video" /lib/udev/rules.d/70-camera.rules:SUBSYSTEM=="video4linux", ENV{ID_BUS}="usb", \ /lib/udev/rules.d/80-debian-compat.rules:KERNEL=="lirc[0-9]*",
    GROUP="video"

    You shouldn't edit those rules, but put new rules in /etc/udev/rules.d

    However I don't think you need new rules, just putting your user in
    the 'video' group and then logging out and back in again should fix
    it.

    Theo

    OK. Since I have very little idea what the man page* is talking about, I
    agree with your last statement. I just can't seem to make it work!

    * Ref:
    https://manpages.ubuntu.com/manpages/jammy/man7/CREATE_RULE.7.html#notes

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Wed Oct 16 11:26:48 2024
    On Tue, 15 Oct 2024 15:33:43 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0:
    Permission denied]"

    Can you use sudo or su to run whatever you're running?

    Maybe chmod/chown the /dev/video0 device

    run vlc, with su or sudo
    from within the gui choose Media / Open Capture Device
    and for video device use /dev/video0
    leave audio device as 'none'



    1. Ran the ./MAKEDEV and modprobe instructions to create /dev/video0.
    2. Ran vlc as described above. "Your input can't be opened:
    VLC is unable to open the MRL 'v4l2:///dev/video0'. Check the log for
    details."
    3. "Oct 16 10:21:53 david-desktop-2 zmc_dvideo0[7288]: FAT [zmc_dvideo0] [Failed to open video device /dev/video0: Permission denied]
    Oct 16
    10:21:53 david-desktop-2 zmdc[1101]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]"
    4. $ ls -l: "crw-rw----+ 1 root video 81, 0 Oct 16 10:09
    video0".
    5. $ sudo grep -e video /etc/group video:x:44:david. That is my
    username. I am stumped.
    6. Ran vlc again. Result as before: Your input can't be opened:
    VLC is unable to open the MRL 'v4l2:///dev/video0'. Check the log for
    details" Why does it say: "///dev/video0"? It does same even if I use dev/video0 instead of /dev/video0.
    7. OK. Message in log is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0: Permission denied]"
    In Zoneminder, I found a log sheet! It displays:
    "10/16/24, 10:38:11 AM GMT+1 zmdc 1101 ERR
    'zmc -d /dev/video0' exited abnormally, exit status 255
    zmdc.pl -
    10/16/24, 10:38:11 AM GMT+1 zmc_dvideo0 9362 FAT
    Failed to open video device /dev/video0: Permission denied
    zm_local_camera.cpp 719"
    This is in reverse chronological order, ie 2nd line occurs before `1st
    line.
    8. So there is still a problem with permission for /dev/video0, but I
    don't know what to change!
    9. Going through Zoneminder's menus, there are LOTS more things to
    configure than on the older version. I need a Zoneminder specialist to
    talk me through it, I think. But if I can't get perimssion to open
    /dev/video0, I don't think there is any point in worrying aabout that,
    yet.

    Time for a break. I feel I am heading in the right direction, but with
    no clear path to success.
    I thank everyone for their help to this point.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Wed Oct 16 15:09:46 2024
    On 15 Oct 2024 17:28:56 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I just tried again, and then looked for the log. And the first thing
    that comes up is:
    "FAT [zmc_dvideo0] [Failed to open video device /dev/video0:
    Permission denied]"
    which gives a reason for failure.

    On Ubuntu 24.04 I get:

    $ ls -l /dev
    ...
    crw-rw----+ 1 root video 81, 0 Oct 9 09:13 video0
    crw-rw----+ 1 root video 81, 1 Oct 9 09:13 video1
    crw-rw----+ 1 root video 81, 2 Oct 9 09:13 video2
    crw-rw----+ 1 root video 81, 3 Oct 9 09:13 video3

    so only those in the 'video' group get access to the video device.

    Have you checked that your user is in the 'video' group?

    Maybe it might be worth removing and reinstalling Zoneminder after
    getting the ./MAKEDEV and modprobe -v bttv processes completed. I
    seem to be just spinning my wheels here.

    ./MAKEDEV is a very old way of doing things. These days the tool is
    'udev' and you have udev rules which say how the devices are made as
    things are hotplugged. I have pre-existing rules in various files:

    $ grep -r video /lib/udev/rules.d/
    /lib/udev/rules.d/95-cd-devices.rules:# video cameras /lib/udev/rules.d/95-cd-devices.rules:SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1",
    ENV{COLORD_KIND}="camera" /lib/udev/rules.d/60-persistent-v4l.rules:SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*", ENV{ID_PATH}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*|vbi*", ENV{ID_PATH_WITH_USB_REVISION}=="?*", SYMLINK+="v4l/by-path/$env{ID_PATH_WITH_USB_REVISION}-video-index$attr{index}"
    /lib/udev/rules.d/70-uaccess.rules:SUBSYSTEM=="video4linux",
    TAG+="uaccess" /lib/udev/rules.d/70-uaccess.rules:# DRI video devices /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="video4linux", GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="graphics",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="drm",
    KERNEL!="renderD*", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="dvb",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="media",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="cec",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="firewire",
    TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1", GROUP="video" /lib/udev/rules.d/70-camera.rules:SUBSYSTEM=="video4linux", ENV{ID_BUS}="usb", \ /lib/udev/rules.d/80-debian-compat.rules:KERNEL=="lirc[0-9]*",
    GROUP="video"

    You shouldn't edit those rules, but put new rules in /etc/udev/rules.d

    However I don't think you need new rules, just putting your user in
    the 'video' group and then logging out and back in again should fix
    it.

    Theo

    OK. I get this:
    $ grep -r video /lib/udev/rules.d/ /lib/udev/rules.d/70-uaccess.rules:SUBSYSTEM=="video4linux",
    TAG+="uaccess" /lib/udev/rules.d/70-uaccess.rules:# DRI video devices /lib/udev/rules.d/80-debian-compat.rules:KERNEL=="lirc[0-9]*",
    GROUP="video" /lib/udev/rules.d/95-cd-devices.rules:# video cameras /lib/udev/rules.d/95-cd-devices.rules:SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1",
    ENV{COLORD_KIND}="camera" /lib/udev/rules.d/60-persistent-v4l.rules:SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end" /lib/udev/rules.d/60-persistent-v4l.rules:KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}" /lib/udev/rules.d/60-persistent-v4l.rules:ENV{ID_PATH}=="?*", KERNEL=="video*|vbi*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="video4linux",
    GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="graphics",
    GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="drm", KERNEL!="renderD*", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="dvb", GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="media",
    GROUP="video" /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="cec", GROUP="video"
    /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="firewire",
    TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1", GROUP="video"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Wed Oct 16 15:56:30 2024
    Davey wrote:

    "crw-rw----+ 1 root video 81, 0 Oct 16 10:09 /dev/video0"

    Why is the day's date the 0 of the month?

    the 81, 0 are the major and minor device numbers, the date is the 16
    following the month name :-)

    But vlc still fails on Permission refused! What am I doing wrong?

    I know it's not really the done thing, but will Ubuntu actually let you
    log on as root to test it does work that way? Not suggesting it's an
    actual fix.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to All on Wed Oct 16 15:22:27 2024
    Please ignore previous post, it was a partial repeat.
    However, this video0 permissions problem won't go away.

    followed the procedure for confirming david as a member of the group,
    grep -e video /etc/group : "video:x:44:david"

    and reaffirmed /dev/video0's permissions:
    $ ls -l /dev/video0
    "crw-rw----+ 1 root video 81, 0 Oct 16 10:09 /dev/video0"

    (I then logged out. Why is the day's date the 0 of the month?
    But vlc still fails on Permission refused! What am I doing wrong?

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Wed Oct 16 17:29:18 2024
    On Wed, 16 Oct 2024 15:56:30 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    "crw-rw----+ 1 root video 81, 0 Oct 16 10:09 /dev/video0"

    Why is the day's date the 0 of the month?

    the 81, 0 are the major and minor device numbers, the date is the 16 following the month name :-)

    But vlc still fails on Permission refused! What am I doing wrong?

    I know it's not really the done thing, but will Ubuntu actually let
    you log on as root to test it does work that way? Not suggesting
    it's an actual fix.

    I tried that yesterday, but it replied that vlc would not work with
    root.
    Good idea, though!

    My other problem (well, one of them) is that the Ubuntu 24.04 that I
    installed alongside my 22.04 did not make any attempt to match the
    output to the monitor itself, and I can't find any way to make it do
    that. The image is about 150% of the size available. The output is an
    NVIDIA card. I don't speak NVIDIA as a language, but it only offered
    zoom choices of 100% or 200%. I want about 70%.
    Either that, or I could un-install the 24.04, but research shows that to
    be a difficult process, fraught with problems.

    I feel tempted to just blow it all away, keep my notes, and start from
    zero. Maybe with 24.04 and no 22.04. Just keep to the latest (and most complicated).
    I would also look for an earlier version of Zoneminder, the simpler one
    I have on the old Dell 'just works'. It is on Ubuntu 8.04 ! t never
    complained about lack of permissions for video0.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Thu Oct 17 09:00:10 2024
    On Wed, 16 Oct 2024 17:29:18 +0100
    Davey <davey@example.invalid> wrote:

    On Wed, 16 Oct 2024 15:56:30 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    "crw-rw----+ 1 root video 81, 0 Oct 16 10:09 /dev/video0"

    Why is the day's date the 0 of the month?

    the 81, 0 are the major and minor device numbers, the date is the
    16 following the month name :-)

    But vlc still fails on Permission refused! What am I doing
    wrong?

    I know it's not really the done thing, but will Ubuntu actually let
    you log on as root to test it does work that way? Not suggesting
    it's an actual fix.

    I tried that yesterday, but it replied that vlc would not work with
    root.
    Good idea, though!

    To elaborate on this: I can run vlc without any problem. I can watch a different camera on my Swann system via rtsp. It is this /dev/video(0) permission problem that is stopping it working with the Zoneminder
    cameras.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Thu Oct 17 10:42:37 2024
    Davey wrote:

    To elaborate on this: I can run vlc without any problem. I can watch a different camera on my Swann system via rtsp. It is this /dev/video(0) permission problem that is stopping it working with the Zoneminder
    cameras.

    can you show the output of "id" when logged in as davey

    and again after running "su -"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Thu Oct 17 10:54:21 2024
    On Thu, 17 Oct 2024 09:00:10 +0100
    Davey <davey@example.invalid> wrote:

    On Wed, 16 Oct 2024 17:29:18 +0100
    Davey <davey@example.invalid> wrote:

    On Wed, 16 Oct 2024 15:56:30 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    "crw-rw----+ 1 root video 81, 0 Oct 16 10:09 /dev/video0"

    Why is the day's date the 0 of the month?

    the 81, 0 are the major and minor device numbers, the date is the
    16 following the month name :-)

    But vlc still fails on Permission refused! What am I doing
    wrong?

    I know it's not really the done thing, but will Ubuntu actually
    let you log on as root to test it does work that way? Not
    suggesting it's an actual fix.

    I tried that yesterday, but it replied that vlc would not work with
    root.
    Good idea, though!

    To elaborate on this: I can run vlc without any problem. I can watch a different camera on my Swann system via rtsp. It is this /dev/video(0) permission problem that is stopping it working with the Zoneminder
    cameras.


    I think I'm ready to give up!
    I followed a procedure I found in the Zoneminder Forums, to add
    www-data to the video group permissions. The first encouraging result
    was that I don't now get the "ERR! permission refused" fault, which
    made me think that vlc might work. No chance, still the same error.
    I then opened up the Zoneminder running log, and it is producing a
    stream of faults, mostly the same ones repeating. I don't know what
    they mean. for example, one fault describes "inappropriate ioctl",
    which means nothing to me. The Manual: https://zoneminder.readthedocs.io/en/stable/index.html
    has a Search facility, which finds nothing using either "inappropriate
    ioctl" or just "ioctl". There are other faults displayed, similarly unexplained.
    I am lost. As I mentioned previously, I might just reload one of the
    Ubuntu versions from scratch, and install the earliest version of
    Zoneminder that I can find online.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Davey on Thu Oct 17 12:08:40 2024
    Davey wrote:

    "su -" wants a Password. Where do I find that? It won't accept mine, obviously.
    it's root's

    alternatively you could use "sudo su -" and your own password

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Thu Oct 17 11:58:43 2024
    On Thu, 17 Oct 2024 10:42:37 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    To elaborate on this: I can run vlc without any problem. I can
    watch a different camera on my Swann system via rtsp. It is this /dev/video(0) permission problem that is stopping it working with
    the Zoneminder cameras.

    can you show the output of "id" when logged in as davey

    and again after running "su -"


    $ id
    uid=1000(david) gid=1000(david) groups=1000(david),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),122(lpadmin),135(lxd),136(sambashare)

    I see 44(video) in there.

    "su -" wants a Password. Where do I find that? It won't accept mine,
    obviously.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Elvidge@21:1/5 to Andy Burns on Thu Oct 17 12:48:31 2024
    On 17/10/2024 at 12:08, Andy Burns wrote:
    Davey wrote:

    "su -" wants a Password. Where do I find that? It won't accept mine,
    obviously.
    it's root's

    alternatively you could use "sudo su -" and your own password


    Or sudo -i

    As this is a private computer, is there any harm in adding your user to
    a group (or individual) with NOPASSWD: set?

    $ sudo cat /etc/sudoers.d/010_pi-nopasswd
    chris ALL=(ALL) NOPASSWD: ALL

    from one of my Pis

    --
    Chris Elvidge, England
    THEY ARE LAUGHING AT ME, NOT WITH ME

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Thu Oct 17 12:25:44 2024
    On Thu, 17 Oct 2024 12:08:40 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Davey wrote:

    "su -" wants a Password. Where do I find that? It won't accept mine, obviously.
    it's root's

    alternatively you could use "sudo su -" and your own password

    david@david-desktop-2:~$ sudo su
    [sudo] password for david:
    root@david-desktop-2:~# id
    uid=0(root) gid=0(root) groups=0(root)

    BTW, I have managed to get some response from Zoneminder, it seems to
    want to Monitor 2 of the three inputs. Any two, but not all three. But
    they still show "Not connected".
    The garage view via Wifi is still working.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Fri Oct 18 17:45:27 2024
    On 13 Sep 2024 20:19:28 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I'm sort of lost here, any help welcome.

    Have a look at USB adapters. SD video is not that high bit rate,
    especially if the adapter is compressing. No idea of the marketplace, although I have a $7 composite video USB capture that's probably
    awful. BNC is just composite video I think - do they power from there
    or external power?

    If you have a lot of USB devices consider extra USB PCIe cards, but 4
    behind a USB 3 hub is probably ok.

    Theo

    Today, there was a hint of sanity. I played around with the Zoneminder Monitors' Sources configuration, disabling the card inputs with no
    camera, and other variations of the Source inputs. Briefly, I saw a live
    image of the outside of the house, but when I tried to reproduce it on a different input, it would not, and I could not get it back on the
    previously working one. But, I have at last seen the Source reference
    for some tabs on the Console screen go green instead of red, albeit
    it with a blue screen, and I have seen the ZM Log produce only "Capturing......." messages instead of a stream of pink-coloured
    alarms, the wording of which means nothing to me. I will next
    concentrate on trying to get the working image back, and hoping to
    proceed from there.

    Wish me luck!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Thu Oct 24 11:12:01 2024
    On Fri, 13 Sep 2024 13:38:39 +0100
    Davey <davey@example.invalid> wrote:

    After the recent problems with the ancient Ubuntu and Zoneminder installation, I thought about upgrading the PC, the old Dell is now 24
    years old.
    I have a new separate Swann system, but I cannot find how to extract
    video from it, it likes Windows, not Linux.

    So I am looking at a new (or refurbished) desktop PC, hoping to use my existing CCTV cameras, all with BNC connectors, and to be able to add
    one more, making 4 in total. It also monitors one WiFi camera on the
    network. Tje PC is also my daily laptop backup device.
    My old video card is a PCI, which is now ancient history, so will be
    no good for a new PC. Satcure, where I got my first video card from,
    went bust some time ago.

    Looking around, I see modern versions, but at huge prices, £250 up to £600!! Yikes. Am I looking for the wrong item here? I don't believe
    the old card cost anything like that much.

    A sample of what I find: https://www.amazon.co.uk/gp/product/B0D9NQZ2VH/ref=ewc_pr_img_1?smid=AKG67ZUVCCXRK&psc=1
    But I don't have SDI, and I don't want to replace my cameras or my
    cabling. I am just looking for a PCI-e, BNC connectors, CCTV video
    input card,

    There is:
    https://tinyurl.com/3smbmmhj
    also known as:

    https://www.amazon.co.uk/Potadak-Captura-Adapter-Computer-Camera-Black/dp/B0CCDCLL5G/ref=sr_1_140?crid=ZQ64KGYGR0UF&dib=eyJ2IjoiMSJ9.z-FIUNnsxAdgHlwX1RlfFRn8U0hm9D5LhTXHaELlQN8lsa7tU6cLwpZo1bjed5npm5LPhrdsoubaowZjmN3hPhos0n0Ly_t-JN4C1VIND-DuA8BJVTI3nh_
    AR-vGbt2iOKyERzGmK5VBKquSqV1-N3EZ4nkY8Pz5PQtxttI1m2HqOQ-utUt18BBG8ICr_L7dqEBKreLTHnThSCZT0k1l4d8kjknq8IkmCHeS0WjnfSI.EI8jbBtNOBcmbrhK97vIlojvxMOYz-tXJQWmixSWSrg&dib_tag=se&keywords=PCI-E+video+camera+capture+cards&qid=1726225777&sprefix=pci-e+video+
    camera+capture+cards%2Caps%2C104&sr=8-140

    which doesn't say SDI, in fact it doesn't say much of anything, but
    therefore MIGHT work with my existing cameras. But there is no
    spec.! And I have no idea who Potadek is/are, they seem to sell
    everything you could think of. Jack of all trades, and master of none,
    comes to mind.
    I'm sort of lost here, any help welcome.

    Well, I have been playing around, and talking to the card manufacturer,
    who still wants me to do things like recompiling their Multicam
    programme!
    To condense the results, I am now using a new camera, with a
    higher resolution than the ones that work perfectly well on the old
    card in the old PC.
    Using channel 0 of the new card, with the other channels set to None
    for Function, I have the input for the card set as:
    Mode: PAL; Capture Palette: RGB32; Target colorspace: 32 bit colour;
    Capture Resolution: 768 x 576.
    The camera says that its resolution is 976 x 496. Using these figures
    in the setup results in nothing.
    With the 768 x 576 setup, the Source tag on the Console screen goes
    green, and I get an image. But the image is continuously scrolling, and
    is fractured. Vague hunts of the real view are tantalisingly hunted at.
    Any other Resolution setup I try fails again. I am sure the answer is
    out here, but how do I find it?
    Again, any help very welcome.
    But at least I have made progress!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Thu Oct 24 12:18:59 2024
    Davey <davey@example.invalid> wrote:
    Using channel 0 of the new card, with the other channels set to None
    for Function, I have the input for the card set as:
    Mode: PAL; Capture Palette: RGB32; Target colorspace: 32 bit colour;
    Capture Resolution: 768 x 576.
    The camera says that its resolution is 976 x 496. Using these figures
    in the setup results in nothing.
    With the 768 x 576 setup, the Source tag on the Console screen goes
    green, and I get an image. But the image is continuously scrolling, and
    is fractured. Vague hunts of the real view are tantalisingly hunted at.
    Any other Resolution setup I try fails again. I am sure the answer is
    out here, but how do I find it?
    Again, any help very welcome.
    But at least I have made progress!


    I know nothing about video capture, so I'm out here. But it sounds like PAL 768x576 is the right thing (the camera is PAL if it's TV standard as I think most analogue security cameras are). Do you need to turn on interlacing?
    PAL is 50Hz interlaced, ie 576i.

    You could ask in one of the TV groups as it sounds like a TV-type problem.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Theo on Thu Oct 24 12:33:27 2024
    Theo wrote:

    it sounds like PAL
    768x576 is the right thing (the camera is PAL if it's TV standard

    Yes, the camera may mention "resolution of 976x496" but that's only in
    terms of its ability to resolve that many TVL from a chart like this, it doesn't mean it spits out 976x496 pixels, or should be captured at that resolution, 768x576 is correct.

    <https://en.wikipedia.org/wiki/EIA_1956_resolution_chart#/media/File:EIA_Resolution_Chart_1956.svg>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Andy Burns on Thu Oct 24 14:08:27 2024
    On Thu, 24 Oct 2024 12:33:27 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Theo wrote:

    it sounds like PAL
    768x576 is the right thing (the camera is PAL if it's TV standard

    Yes, the camera may mention "resolution of 976x496" but that's only
    in terms of its ability to resolve that many TVL from a chart like
    this, it doesn't mean it spits out 976x496 pixels, or should be
    captured at that resolution, 768x576 is correct.

    <https://en.wikipedia.org/wiki/EIA_1956_resolution_chart#/media/File:EIA_Resolution_Chart_1956.svg>

    The Deinterlacing box was already set at Linear, by default.
    Options offered are: Disabled, Four field motion adaptive-Soft, Four
    field motion adaptive-Medium, Four field motion adaptive-Hard,
    Discard, Blend, Blend (25%), V4L2: Capture top field only, V4L2: Capture
    bottom field only, V4L2: Capture Alternate fields (Bob), V4L2 progressive, V4L2 Interlaced.

    I had hoped that one of the V4L2 options would be correct, but none of
    any of the options offered seem to work. The behaviour of the image
    might change slightly, but it still does not work.
    Hmm.
    Considering where I was at a couple of weeks ago, this is
    still progress, but I still can't get over that final hurdle.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Theo on Thu Oct 24 17:58:08 2024
    On 24 Oct 2024 17:39:52 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    On Thu, 24 Oct 2024 12:33:27 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Theo wrote:

    it sounds like PAL
    768x576 is the right thing (the camera is PAL if it's TV
    standard

    Yes, the camera may mention "resolution of 976x496" but that's
    only in terms of its ability to resolve that many TVL from a
    chart like this, it doesn't mean it spits out 976x496 pixels, or
    should be captured at that resolution, 768x576 is correct.

    <https://en.wikipedia.org/wiki/EIA_1956_resolution_chart#/media/File:EIA_Resolution_Chart_1956.svg>


    The Deinterlacing box was already set at Linear, by default.
    Options offered are: Disabled, Four field motion adaptive-Soft, Four
    field motion adaptive-Medium, Four field motion adaptive-Hard,
    Discard, Blend, Blend (25%), V4L2: Capture top field only, V4L2:
    Capture bottom field only, V4L2: Capture Alternate fields (Bob),
    V4L2 progressive, V4L2 Interlaced.

    I had hoped that one of the V4L2 options would be correct, but none
    of any of the options offered seem to work. The behaviour of the
    image might change slightly, but it still does not work.
    Hmm.
    Considering where I was at a couple of weeks ago, this is
    still progress, but I still can't get over that final hurdle.

    It isn't NTSC is it? Probably not if it's a UK setup, but eg I was
    looking at reversing cameras for cars and they mostly seem to be NTSC composite video. Suppose it makes sense as they don't need special
    versions for Europe and they are never displayed on a TV, only on the dashboard LCD.

    If the camera has only ever been used by a capture card and never a TV/monitor, it could be NTSC.

    Theo

    I did try NTSC earlier, but it failed. This camera is new and unused, UK sourced. But I'll try NTSC again tomorrow. No harm done if it fails
    again.

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Davey on Thu Oct 24 17:39:52 2024
    Davey <davey@example.invalid> wrote:
    On Thu, 24 Oct 2024 12:33:27 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Theo wrote:

    it sounds like PAL
    768x576 is the right thing (the camera is PAL if it's TV standard

    Yes, the camera may mention "resolution of 976x496" but that's only
    in terms of its ability to resolve that many TVL from a chart like
    this, it doesn't mean it spits out 976x496 pixels, or should be
    captured at that resolution, 768x576 is correct.

    <https://en.wikipedia.org/wiki/EIA_1956_resolution_chart#/media/File:EIA_Resolution_Chart_1956.svg>

    The Deinterlacing box was already set at Linear, by default.
    Options offered are: Disabled, Four field motion adaptive-Soft, Four
    field motion adaptive-Medium, Four field motion adaptive-Hard,
    Discard, Blend, Blend (25%), V4L2: Capture top field only, V4L2: Capture bottom field only, V4L2: Capture Alternate fields (Bob), V4L2 progressive, V4L2 Interlaced.

    I had hoped that one of the V4L2 options would be correct, but none of
    any of the options offered seem to work. The behaviour of the image
    might change slightly, but it still does not work.
    Hmm.
    Considering where I was at a couple of weeks ago, this is
    still progress, but I still can't get over that final hurdle.

    It isn't NTSC is it? Probably not if it's a UK setup, but eg I was looking
    at reversing cameras for cars and they mostly seem to be NTSC composite
    video. Suppose it makes sense as they don't need special versions for
    Europe and they are never displayed on a TV, only on the dashboard LCD.

    If the camera has only ever been used by a capture card and never a
    TV/monitor, it could be NTSC.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Wed Nov 27 15:11:52 2024
    On Fri, 13 Sep 2024 13:38:39 +0100
    Davey <davey@example.invalid> wrote:

    After the recent problems with the ancient Ubuntu and Zoneminder installation, I thought about upgrading the PC, the old Dell is now 24
    years old.
    I have a new separate Swann system, but I cannot find how to extract
    video from it, it likes Windows, not Linux.

    After a few weeks of doing nit very much with this, I blew away all the
    various OS versions that I had installed, and started from scratch.
    So I now have a Clean install of Ubuntu 22.04, Zoneminder is again
    installed and operating. It grabs the image from the CCTV camera in the
    garage, as it passes through the router. I have not managed to get
    anything yet directly from a camera connected to the Picolo card, usig
    Linux commands, so I am returning to the Proprietary Euresys software
    provided by the manufacturer of the Picolo card, Muliticam. I have
    followed the labyrinthine instructions for installing and setting the
    card and software up, and I freely admit that I am way out if depth, it
    is aimed at people who do coding and programming for their living.
    I have again come up against a compiling issue, and I know zero about
    this.
    When I initiate the Install procedure, it stops on a compiler
    difference condition. I pate the relavant text:

    Building glfm1
    make[1]: Entering directory '/usr/src/linux-headers-6.8.0-49-generic'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:
    CC [M] /opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux/os_basic_dma.o /bin/sh:
    1: gcc-12: not found make[3]: ***
    [scripts/Makefile.build:243: /opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux/os_basic_dma.o]
    Error 127 make[2]: ***
    [/usr/src/linux-headers-6.8.0-49-generic/Makefile:1925: /opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux]
    Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]:
    Leaving directory '/usr/src/linux-headers-6.8.0-49-generic' make: *** [Makefile:74: default] Error 2 make: Leaving directory '/opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux'

    gcc is installed on the PC.

    None of this is familiar to me, so I am asking for help in working out
    what instruction(s) I need to issue to do whatever it wants to satisfy
    this compiler issue. And is it indeed that simple, or is there
    something else that is going to make this unworkable? After this is
    working, I still need to get communication between the card and the PC.

    Any help greatly welcomed! Euresys helped a little bit, then gave up
    after admitting that they had found and were fixing a bug in the
    software. They don't need little people like me, they work with big
    industrial contractors who know how to code!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel James@21:1/5 to Davey on Thu Nov 28 13:53:53 2024
    On 27/11/2024 15:11, Davey wrote:
    When I initiate the Install procedure, it stops on a compiler
    difference condition. I pate the relavant text:

    I haven't built a linux driver for some years, now ... but I recall the toolchain being quite fussy (with good reason) about the actual versions
    of the individual tools. I have on occasion found that building my own
    kernel was the easiest way to get everything consistent (or it may just
    be that I didn't understand the process well enough).

    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:

    That looks truncated ... it should tell you what version you are using
    but that information is missing.

    You can find out the actual version of gcc that you have installed by typing

    gcc --version

    With a distro as old as Ubuntu 22.04 you may find that successive
    updates have landed with a newer kernel (compiled using a newer compiler
    than you have) or a newer compiler (than was used to compile the
    kernel). Short of switching to a fresh distro with no updates (which
    *should* be consistent) or building your own kernel and drivers with the compiler you have I don't know a way to ensure consistency.

    1: gcc-12: not found make[3]: ***

    That seems to be saying that the make tool isn't installed. The easiest
    way to get the full toolchain installed is to install the metapackage
    called "build-essential".

    --
    Cheers,
    Daniel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Daniel James on Thu Nov 28 14:23:58 2024
    On Thu, 28 Nov 2024 13:53:53 +0000
    Daniel James <daniel@me.invalid> wrote:

    On 27/11/2024 15:11, Davey wrote:
    When I initiate the Install procedure, it stops on a compiler
    difference condition. I pate the relavant text:

    I haven't built a linux driver for some years, now ... but I recall
    the toolchain being quite fussy (with good reason) about the actual
    versions of the individual tools. I have on occasion found that
    building my own kernel was the easiest way to get everything
    consistent (or it may just be that I didn't understand the process
    well enough).

    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:

    That looks truncated ... it should tell you what version you are
    using but that information is missing.

    You can find out the actual version of gcc that you have installed by
    typing

    gcc --version

    With a distro as old as Ubuntu 22.04 you may find that successive
    updates have landed with a newer kernel (compiled using a newer
    compiler than you have) or a newer compiler (than was used to compile
    the kernel). Short of switching to a fresh distro with no updates
    (which *should* be consistent) or building your own kernel and
    drivers with the compiler you have I don't know a way to ensure
    consistency.

    1: gcc-12: not found make[3]: ***

    That seems to be saying that the make tool isn't installed. The
    easiest way to get the full toolchain installed is to install the
    metapackage called "build-essential".


    Thanks for the response. The deeper I get into this, the
    more complicated it becomes. When I installed Zoneminder into the
    original ver. 8.04 machine, it was simple: Follow a script, edit a
    conf. file for the card, re-boot and start operating. This just goes
    from nothing to another nothing. and the old Pentium 111 PC using ver.
    8.04 is still working with Zoneminder!
    My present options seem to be:
    Abandon using the new PC with its own Zoneminder setup (includes
    removing the video input card. Maybe I can re-sell it!); continue to use
    the old PC, on which I can still view screens and operate the setup
    from other PCs; try again to get the Swann system to talk to Ubuntu, but
    as far as I can see that is not a common concept.

    But I have wasted enough time on this new PC and Zoneminder to say:
    "Enough is enough".
    Thanks for confirming that what I am trying to do is pointless!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel James@21:1/5 to Davey on Thu Nov 28 23:08:40 2024
    On 28/11/2024 14:23, Davey wrote:
    Thanks for confirming that what I am trying to do is pointless!

    I didn't say 'pointless' ... and there may be easier ways through the
    process than I know ... but it does require that everything use
    compatible versions of all the tools, and the easiest way to ensure compatibility is to be consistent.

    I take it you have seen this:

    https://zoneminder.readthedocs.io/en/latest/installationguide/ubuntu.html

    It seems someone has provided a prebuilt binary in a PPA, which you can
    chose to trust and just install.

    --
    Cheers,
    Daniel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Fri Feb 14 16:58:48 2025
    On Fri, 13 Sep 2024 13:38:39 +0100
    Davey <davey@example.invalid> wrote:

    After the recent problems with the ancient Ubuntu and Zoneminder installation, I thought about upgrading the PC, the old Dell is now 24
    years old.
    I have a new separate Swann system, but I cannot find how to extract
    video from it, it likes Windows, not Linux.

    Simple, really. I gave up, and still use the old Dell and its early
    Zoneminder. But I have now managed to access the Swann system's live and recorded data, so I have what I need by a different method.
    Oh well.
    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)