embedded-linux

Embedded Linux - Get Signal Strength of Modem While Connected

I am running a USB cell modem via PPP in Embedded Linux. I can use AT commands via minicom to connect to the modem and interrogate the signal strength (AT+CSQ) when the PPP connection is not active. However, when it's active, this is not possible. Is there any way to retrieve the signal strength from a PPP connected USB cell modem whil...

Embedded Linux LED-flashing daemon: does it exist?

I've seen embedded boards before that have an LED that flashes like a heartbeat to show that the board is still executing code. I'd like to do something similar on an embedded Linux board I'm working on. Given that it's a fairly trivial bit of code, it seems likely to me that someone has already written a daemon for Linux that does this,...

What is the L_* macro in busybox?

I am trying to cross-compile busybox but I am getting 'undefined reference' at the linking stage. Using nm, the symbol were in fact missing from the library file (libbb.a in my case.) Looking into the source ('busybox/libbb/xfuncs.c'), there are all these #ifdef L_<function_name> wrapping around the functions in question. Does anyone ...

Using the check test unit framework in an embedded device?

Has anyone used check as the unit test framework in an embedded device which also requires cross-compilation? Is it even a good idea, or should I just use something else (e.g. embunit or similar)? If so, how should I write the Makefile.ams and configure.ac? I haven't used autotools to begin with so all this cross-compilation stuff cert...

Is there a way to prevent sh/bash from performing command substitution?

From a C program I want to call a shell script with a filename as a parameter. Users can control the filename. The C is something like (initialization/error checking omitted): sprintf(buf, "/bin/sh script.sh \"%s\"", filename); system(buf); The target device is actually an embedded system so I don't need to worry about malicious use...

back trace for ulibc in arm

Hi, I wanted to know if any porting is available for back trace implementation for uclibc in arm that I can use in my signal handler to debug segmentation faults. I did come across a useful code here and tried using it inside my signal handler but it fails at the first check and returns from there. I also tried a recurcive backtrace...