Napi embedded szívás 

Reggel felkelek, kakaó, stb. ülök a gép elé, hogy friss OpenWRT-t meg mjpg-streamert reszeljek az egyik kedvenc beágyazott cuccomra az NSLU2-mre.
A trunk szépen lefordult, reszeltem az mjpg-streamer Makefilejába egy pár konfigurációs opciót így a menuconfigból lehet kivadászgatni milyen paraméterekkel induljon, etc. Semmi kókányság, workaround.

A feketeleves ezután ért. Kamera bedug, ls /dev/video* és semmi.


uvcvideo Failed to query (129) UVC probe control : -110 (exp. 26)


Rémlett valami ilyesmi az Quickcamteam honalpjáról és tényleg:

http://www.quickcamteam.net/documentati ... tibilities

Tehát ezt beszoptam. Még jó hogy van egy patch ami természetesen abból az időkből van amikor az UVC driver nem volt a kernel része. 1 óra faragás után sikerült megpatchelni leforgatni, feltenni ésss:


uvcvideo uvc_usb_reset: Unable to reset usb device(-16).


Agy kattog, próbálom full speed módban is de semmi eredmény. A legfurcsább az az, hogy desktopon vígan megy. Aztán rájöttem, hogy a notimon 2.6.35 kernel megy a NSLU2-n meg 2.6.32. Nosza reszeljünk újabb kernelt a cuccra. Valahol rémlett az OpenWRT menuconfigjából hogy lehet más kernelverzióval is leforgatni de ezt rövid bóklászás után nem tudtam megtalálni, ezért átírtam a target/linux/ixp4xx/Makefileban a releváns sort, és már pörgettem is a 2.6.36.3 kernelt.

Sorosport -> ctrl-c -> Redboot prompt -> type upgrade -> hoston upslug -> feltölt -> rebootol -> várás a JFFS2 partíció törlésére, és voálá:



E öröm e bódottá főleg, hogy 30 FPS-el jön a manna egy kliensen. Holnap benchmark sok géppel.
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1956 )
Daily OpenWRT notice 

To compile a single package induvidually from the feeds run:


make package/feeds/packages/<PACKAGE_NAME>-compile V=99

[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1812 )
Daily OpenWRT build fail: .attempt to use poisoned "bcopy"  

Today building the daily OpenWRT snapshot for my NSLU2 failed with an error:


../include/obstack.h:153: error: attempt to use poisoned "bcopy"


Read more...
[ hozzászólás ] ( 45 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1597 )
Mjpeg-streamer input plugin for Icamview based IP cameras 

Today I have managed to create an input plugin for the Mjpg streamer which grabs the JPG frames from my Asus Mimic CX200 IP camera trough it's properitary protocoll.

Q: Ok but what is it good for?
A: Originally this camera was purcashed by my father for survillance purposes. But the quality of the supported softwares, made it unusable to it. The client software could only record to AVI which means the PC have to deconvert the JPG frames, and compress them to the video format. With two cameras it was a challange for his old AMD Duron config. I am going to write a survillance output plugin to the mjpg-streamer which will allows to control the input plugins and the output_file plugin configuration in a comfortable way.


I send my greetings to all developers at the Megatec for their bullshit products.

[ 1 hozzászólás ] ( 88 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 2114 )
Netgear DG834GT USB host - Successful end of the story 

I have put a dot to the end of a long story.
About three years ago I have get an Sky networks rebagged Netgear DG834GT from my friend Azbeszt.

First of all I have disassembled it, and realized that it has an unsoldered USB port. I have placed the soldered the missing components, (connector, voltage regulator, and the D+ D- protector resistors), but it did not detected any USB devices. I have talked with other people who owns a BCM63XX based routers, and one of them have done this trick on a Comtrend router:

http://img530.imageshack.us/img530/2545 ... 6v2xp2.gif

He notified us, about he had to pull up a pin to enable the port.
I have populated all of the unpopulated pullup resistors place, but I have not succeded.

As the time went on I have purcashed two other unit.
So I have decided to desolder a CPU one of them.
The desoldering was done in my friend's lab.

According to this pinout:
http://www.f-x.fr/wikini/wakka.php?wiki=Bcm6348PinOut/

Only the D+ D- and the USB_FLT was routed out from the BGA.
I have traced the USB_FLT trace, but I have not found the other end of the stripe. It does not seems to be connected to anywhere with desoldered CPU. With populetated CPU it has ~90KOhm resistance to the ground. Fortunatelly the trace is connected to an stripe in the inner layer with a trough hole via. So very carefully it is possible to solder a wire to the via.

The via is located in the half way between C702 and C423.
To locate it flip your board to face to the soldering side of the PCB. Rotate it to have the LAN connectors closer to you.


This area will be in the upper side of it:


There is a drawing which via is it:


(please note that this is not scale drawing)


Solder a thin Cuz wire to it and connect it to the 3V3. The easiest place to find the 3V3 is the serial connector (J503) third pin.
Connect to it with an 2K resistor.

Power up your device, and do
cat /proc/bus/usb/devices

And you should see your device details there.
Or you can use the lsusb (from usbutils package).

The additional information about the hack's details could be found here:
http://wiki.openwrt.org/oldwiki/openwrt ... ar/dg834gt

Currently it works for me with an r18196 of the trunk. I will try the bleeding edge version asap.
[ 1 hozzászólás ] ( 38 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1613 )

<< <Előző | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Következő> >>

 
számláló