Geovision GV-800(S) under Linux 

One of my friends asked me to get working a Geovision GV-800(S) DVR card with zoneminder.
According to the google results several people succeed with this subject. For e.g.:
http://siripong-computer-tips.blogspot. ... linux.html

I have installed a n Ubuntu 12.04 server, and the necessary packages. This distribution shuiips with a relatively new kernel (3.5.0) which means that the necessary bttv modules were included fine. The device had shown up fine: I had 4 v4l2 devices with 4 channels per each (Composite0-4). I have added these channels as sources to the Zoneminder but I have not been able to get image from them. After several trials I have installed XFCE and XAWTV. I have not been able to get image with that tool too, and at the channel changes I got I/O errors and the software claimed about invalid framebuffer address on startup.

As final trying I have installed a Windows XP to the box, and installed the Geovision software. The device had shown up in the device manager fine, but there were a yellow exclamation points next to the devices with Device cannot started message. I have seen that card working in different computer.

As a last trial we have decided to try to upgrade the BIOS, and that solved the problem.
[ hozzászólás ] ( 22 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 337 )
Hekkeljünk trafikszoftvert! - QTrafik 

Ha 2013-ban olyan szoftvert akarnak eladni neked ami nem megy 64 biten mondj nemet!
Ha meghallod a DBF szót egy szoftverrel kapcsolatban fuss.

Ezeket a jótanácsokat sajnos kénytelen voltam a magam bőrén kitapasztalni.

Adott tehát a feladat: készítsünk egy raktárkészletkezelő rendszert ami:
- Átverhető az NDN ZRt minősítési tesztjén (potom 55K HUF + fáért)
- Fut 64 biten
- Grafikus felülettel rendelkezik
- Mentes minden felesleges funkciótól, azaz R=1 userekenek könnyű használni

Az NDN speckókról röviden:
- Adott egy webservice amit a T-Systems üzemeltet.
- ASP.NET alapú, legalábbis ez érzik rajta.
- PKCS#12 local cert. alapú azonosítás van+ azért minden hívásnak át kell adni egy egyedi shopId-t ami boltonként egyedi.
- Az éles rendszereken gzip-el tömörített módon kell kommunikálni. Erre képes tesztrendszer is van, időbe tellett míg rájöttem hogy a megaditt webservice url-ben az /nd előtagot /ndc-re kicserélve jutok a tömörített url-re. .NEThez példakódot is adnak.
- Alapvetően háromféle adatforgalom van:
- Cikktörzslekérés
- Készletmozgás feltöltés (eladás, bevételezés, etc.)
- Napi nyitókészlet feltölktése
- A feltöltési interakciókat ütemezni kell egy lekérés eredménye szerint.

A terv a következő:
- C++, Qt.
- Sqlite backend
- SOAP KDSOAP-al: https://github.com/KDAB/KDSoap

Eddigi szívások:

A minősítési rendszerbe regisztráláshoz fel kellett mutatni weboldalt, amire a githubot vettem igénybe :D.
Anno feltoltam egy átnevezett ezeréves kódot, mert kellett egy céges weboldal:
https://github.com/martonmiklos/opentrafik

KDSOAP-nak voltak/vannak még problémái:
- Típusnevekben pontok (már fixálták a KDAB-sek):
https://github.com/KDAB/KDSoap/commit/3dd7cef10bf03c1e2df0fffa76a4cc1134857975
- Több wsdl-ből áll az NDN webservice ami ugye tartalmaz ugyanolyan típusneveket. A kwsdl2cpp integrálható qmake alá, de nam adható át namespace ami névütközést okoz, ezt magamnak workaroundoltam.
- A webservice más addressing módot használ, amit szintén workaroundoltam közepesen szofisztikáltan:
https://github.com/KDAB/KDSoap/issues/40

Készítettem wsdl complextype -> SQLITE schema generátort PHP-ban, mert ugye embertelen lenne 5 tábla 60 sorát kézzel felvinni ;)

[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 2.8 / 260 )
Genesis Pro GP6308S console output 

I have receieved a GenesisPro GP6308S DVR recorder. I have read in the user manual that it runs Linux, so I could not missed taking into pieces and check the console output on it.

At first a short HW overview:

HiSilicon HI3515SoC
256MB DDR2 RAM (2 pcs. Hynix H5PS5162GFR)
8 MB flash (Spansion S29GL064N90)
Realtek RTL8201CP NIC
2 pcs. NVP1114 4 ch video decoder
DS13072 RTC

Pics:




The CN5 and CN7 are USB ports.

Read more...
[ hozzászólás ] ( 714 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 355 )
A few things what I setup when I create a new Qt Widget project 

1.Add the folowing to pro file:


OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
RCC_DIR=build

DESTDIR = bin

and the binaries won't mess up your sorce code directory

2. Make the following modifications in the main.cpp:


#include <QtGui/QApplication>
#include <QtCore/QTextCodec>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8";));
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8";));

QCoreApplication::setOrganizationName("MM";);
QCoreApplication::setApplicationName("Mikrotik data miner";);
QCoreApplication::setApplicationVersion("0.1";);

QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}


Why?
The QTextCodec trick is neccessary because the sourcecode is UTF-8 encoded, and if I want to put a string from the code to somewhere I would need to use QString::fromUtf8(). If you do not believe check a generated ui_*.h file.

Always give set the name to your application and the application domain. This is useful when you are using QSettings, you do not need to give constructor arguments when creating a settings object. The settings object constructed in this way always use a separate data area specified by the platform. (.config/QCodeApplication::applicationDomain/QCoreApplication:applicationName.ini on Linux and registry on Windows)


[ hozzászólás ] ( 15 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 230 )
[Project announce] Linux kernelmodul az NI DAQCard-4050-hez 

Ma sikerrel portoltam az National Instruments 4050 PCMCIA DMM-hez gányolt gyári példaprogramokat egy Linux kernelmodullá.

Kód a szokásos helyen a googlekódon figyel:
http://code.google.com/p/ni4050/

Nem bírhattam ki hogy ne hegesszek hozá valami GUI-t Qt-ban természetesen:




[ hozzászólás ] ( 14 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 199 )

<< <Előző | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | Következő> >>

 
számláló