Nokia VS JSR-234 FlashControl 

My father have a Nokia 6303i Classic, and he missed one feature from it: to be able to use the camera flash as torchlight.

According to the Device speciications, it supports the JSR-234:
http://www.developer.nokia.com/Devices/ ... i_classic/

1 Contains: CameraControl, SnapshotControl, FlashControl, FocusControl and ZoomControl

i have ditched together a small Midelt, and tried to run it on the device, but I get Flash method not supported exception.

Okay, lets check the getSupportedMethod

And the device have only one supported Flash mode the FlashControl.OFF.

I have not been able to believe it, so I have tried the Nokia C3-01 and the X2-00 at at the NOKIA RDA

But both devices produced the same behaviour.
Come on, why the hell did they implemented this API if it simply useless...
[ hozzászólás ] ( 19 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1684 )
AVTECH AVC793ZC-B PCB 

[ hozzászólás ] ( 203 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1664 )
Strip phpmyadmin export to databases 

Exporting all tables with phpMyAdmin is not a good idea since there are some system tables which cannot be written during the importing.
(information_schema, mysql, performance_schema, test). If you did it as I you can strip the dump to databases using it the following php script:


<?php

$databaseComment = "-- Adat";

$handle = @fopen("localhost.sql", "r";);
$outhandle = 0;
if ($handle) {
while (($buffer = fgets($handle)) !== false) {
if (substr($buffer, 0, 7) == $databaseComment) {
$first = strrpos($buffer, ':';) + 3;
$length = strlen($buffer) - 2 - $first;
$dbName = substr($buffer, $first, $length);
echo $dbName."<br>";
if ($outHandle !== 0) {
fclose($outHandle);
}
$outHandle = @fopen($dbName.".sql", "w";);
}
if ($outHandle !== 0) {
fputs($outHandle, $buffer);
}
}
if (!feof($handle)) {
echo "Error: unexpected fgets() fail\n";
}
fclose($handle);
}

?>


Modify the $databaseComment variable to your database separating comments of your language settings.
[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1910 )
Some Hisilicon HI3515 embedded Linux investigation 

In my last post I have been blogged about a Hisilicon HI3515 based DVR recorder.

The device itself functioning well, except the web interface which requires ActiveX control installation which is unavailable for my system.
After a quick look at the u-boot I have figured out that we can boot the kernel through tftp without hurting the Flash device.

The first interesting project is the ezbox:
https://code.google.com/p/ezbox/

The project itself is very strange.
It provides a buiold system for different embedded devices (AR7240 based routers, HI3515 based Multimedia Processing Platform, x86 based CNC controller)

It includes the liloutdistro for a Hisilicon HI3515 MPPP Multimedia Procesing Platform.

This also includes some binary kernel blobs for handling the HI3515 peripherials:
https://code.google.com/p/ezbox/source/browse/#svn%2Ftrunk%2Fpool%2Fpackages%2F3rd-party%2Fhisilicon

There are serveral sample programs including binary only libraries in the distro also, but without source.
https://code.google.com/p/ezbox/source/browse/#svn%2Ftrunk%2Fpool%2Fpackages%2F3rd-party%2Fhisilicon%2Fhisilicon-hi35xx-mpp%2Ffiles%2Fhi3515%2Fsample

So we are blessed with some binary only stuffs around for the 2.6.24 kernel only without any examples. Don't panic, use the google-fu.

First interestingstuff is this SDK from our chinese friends:
http://www.pudn.com/downloads111/source ... 62702.html

The second one is the smartmind project:
http://smartmind.googlecode.com/svn-his ... 1x_device/

And the last one:
http://code.google.com/p/fvp/source/bro ... k%2F%20fvp

[ hozzászólás ] ( 47 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 2129 )
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 ] ( 716 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 2301 )

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

 
számláló