Samsung Galaxy Tab Video

Notice: Undefined offset: 0 in /srv/www/cnx-software.com/public_html/wp-content/themes/twentyseventeen-child/functions.php on line 20
/images/default.jpg" class="lazyload" />

As blogged previously, Samsung released its Android Tablet at IFA in Berlin today. Here’s a video to show off the Samsung Galaxy Tab including the TV commercial at the end: That looks really good until you look at the price tag: 799 Euros. Here are the full specs of this Android tablet: Network: 2.5G (GSM/ GPRS/ EDGE) : 850 / 900 / 1800 / 1900 MHz 3G (HSUPA 5.76Mbps, HSDPA 7.2Mbps) : 900 / 1900 / 2100 MHz OS: Android 2.2 (Froyo) Display: 7.0 inch TFT-LCD, WSVGA (1024 x 600) Processor: Cortex A8 1.0GHz (ARM) Application Processor with PowerVR SGX540 Camera: 3 MP Camera with Auto-Focus and LED Flash 1.3MP front camera for Video Telephony Mini-HDMI connector with 1080p video output. Docking Station GPS (A-GPS) Value-added Features: Android Market™ and Samsung Apps for more applications and contents Readers Hub, Media Hub, Music Hub, Social Hub (Facebook/Google/Outlook) Adobe Flash 10.1 player support Full HD video playback, Thinkfree Office, Swype, Hybrid Widget […]

Digital Signage: Implementing a smooth scrolling text

Many digital signage hardware feature scroll text. However, in many cases the scrolling text is either not smooth, sometimes teared or very slow. It may depends on the performance of the hardware used but also on the implementation of the software. Once easy way to implemented scrolling text is just to redraw the text again and again at different position. However, this is very slow and yields poor results unless maybe you have a Truetype accelerator or similar hardware font accelerator. The next step is then to convert the text into pixmaps. This can either be done in the digital signage manager software (Windows PC/MAC or Linux based) or the digital signage player. Doing so in the latter makes it much more flexible. So you may create 2 pixmaps whose width and length match the region to be displayed, you write the text on those 2 pixmaps, then simply move those 2 pixmaps, and once one is fully displayed, you […]

Quick guide to install Samba/CIFS in Linux

Notice: Undefined offset: 0 in /srv/www/cnx-software.com/public_html/wp-content/themes/twentyseventeen-child/functions.php on line 20
/images/default.jpg" class="lazyload" />

You may want to install Samba/CIFS in a Linux host to share files with other Windows computer or to use as a media server with a networked media player. If samba is missing, install it in the host machine (foomachine):

Create a new smb user:

Start / check status / restart samba service:

To make samba service run automatically at startup:

Type \\foomachine\foouser  in Windows Explorer and type the username foouser and the password to access your Linux files. To add other directories to share with samba, edit /etc/samba/smb.conf Resource: http://www.cpqlinux.com/samba.html Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com

Script to convert Twitter RSS feeds into text

Notice: Undefined offset: 0 in /srv/www/cnx-software.com/public_html/wp-content/themes/twentyseventeen-child/functions.php on line 20
/images/default.jpg" class="lazyload" />

[Update Nov 2012: URLs such as http://twitter.com/statuses/user_timeline/759251.rss do not work anymore, but you can get a Twitter timeline RSS feed by using http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=xxxxx, where xxxxx is the screen name such as cnxsoft] We needed to convert Twitter RSS feeds to UTF-16 text for displaying them into a digital signage (That did not support RSS feed directly).  This digital signage supports regular http download, .e.g every 5 minutes. Here’s the script (called with crontab) we used for CNN News Twitter RSS feed. #!/bin/sh # CNN Twitter wget http://twitter.com/statuses/user_timeline/759251.rss sleep 10 cat 759251.rss | grep title | sed s/\<title\>// | sed s/\<\\/title\>// > cnn.txt rm 759251.rss iconv -f utf-8 -t UCS-2LE cnn.txt > cnn-utf16.txt cp cnn-utf16.txt /var/www/html/livepics/cnn.txt The resulting text file looks like: Twitter / CNN CNN: BREAKING NEWS: Military: Last U.S. brigade combat team leaves Iraq; 56,000 troops remain. Fifty-thousand set to stay past August 31. CNN: NY Gov. David Paterson discusses Islamic cultural center debate tonight at 9ET on &#8216;Larry […]

Media Player based on SMP8653 – Magic Box HDP500

Magic Box HDP500 manufactured by gmini (apparently a Russian company)  is a new media player featuring the 500-Mhz SMP8653 chipset from Sigma Designs. It does not use Android OS yet, and as far I know no company has yet released SMP8653 Android based products. Having said that,  it comes with most of the connectivity you would expect from a decent set-top box: USB connector (device: USB storage,host: laptop/PC connection), Audio/Video Composite ouput, Component (YPbPr)  output, HDMI and optical digital audio output and and Ethernet port. On the software side, it is a full featured 1080p media player,  with video, music and picture galleries, Internet Radio, UPnP support… It could also be used as a NAS with the USB host connection to your PC. The missing features are: no support for digital TV (e.g. DVB-T, DMB-TH), no Wifi support, no web applications/web browser, no movie download (BT/Emule),  no Real media video support although SMP8653 is supposed to support it. Those features […]

Embedded Software Books

I’m often asked what useful books software engineers should read when they start to work on embedded systems. So here’s a list of books I would recommend as starters. First, nowadays many embedded systems are written in C (although lower end systems using 8-bit MCU are still likely to be written in Assembler), so software engineers had better make themselves very familiar with C/C++ and GNU tools (gcc, libtool. automake…) with a focus on embedded systems (e.g. interrupts handling, real-time capabilities, volatile variables, processes and threads’ stack handling, , cross compilers…).  Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition is just the right book for that purpose. It deals with embedded Linux and eCos and provides useful examples. You may also read part of it online Once you start developing embedded systems you are likely to write device drivers at some points. Linux Device Drivers, 3rd Edition is a must have and is up-date for Linux 2.6. […]

Enabling swap in embedded systems

Notice: Undefined offset: 0 in /srv/www/cnx-software.com/public_html/wp-content/themes/twentyseventeen-child/functions.php on line 20
/images/default.jpg" class="lazyload" />

If your embedded system running Linux does not have enough memory, you can enable swap to get more memory. However if your platform does not have MMU (Memory Management Unit) as is the case for Sigma Designs EM8620 series, it won’t support swap, so forget it. If your platform does have MMU, as is the case for many newer platforms such as Sigma Designs SMP8630, SMP8640 and SMP8650 series, you can enable swap support. First you’ll have to make sure swap support is enabled in your kernel:

and swapon/swapoff is enabled in busybox. So for example if you have an IDE harddisk with the second partition configured as swap. (Use fdisk to create a partition and mkswap /dev/hda2 to initialize the partition), you can enable the swap as follows:

If you get out-of-memory killer kernel error, you can change the “swapiness” to avoid oom-killer to kick in.

Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a […]

How to Generate CVS Changelog Automatically

Notice: Undefined offset: 0 in /srv/www/cnx-software.com/public_html/wp-content/themes/twentyseventeen-child/functions.php on line 20
/images/default.jpg" class="lazyload" />

There is a perl script called cvs2cl.pl provided by Red-Bean You can get the latest version thru cvs: cvs -d :pserver:[email protected]:/usr/local/cvs co cvs2cl/cvs2cl.pl Copy the script in a directory that belong to the path e.g.: cp cvs2cl.pl /usr/local/bin Then just checkout your project and run cvs2cl.pl to generate a ChangeLog that will look like: 2010-01-18 developer1 * app/cnxapp/Makefile: Added support for SMP8652 target 2010-01-17 developer2 * app/cnxapp/cnx_download.c: Added HTTP resume support [Bug 1250]: Fixed potential buffer overflow … where developer1 and developer2 are the linux usernames of the developers, app/cnxapp/Makefile, app/cnxapp/cnx_download.c the files that have been modified, and the comments correspond to the messages input during cvs commit. cvs2cl.pl also have other options such as XML output, date selection etc… Just type cvs2cl.pl –help to get the full options. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time […]