Posts

update:resol vbus serial to windows

so, turns out that socat on openwrt doesn't compile with serial support, and enabling it causes breakage :-( instead I am now using ser2net for the same function, on windows still using com0com and com2tcp, the resol windows software now talks to the controller via tcp and openwrt running on a box in the hot press com2tcp --baud 9600 \\.\COM44 192.168.205.222 2500

redirecting a windows serial port

I have a board connected to my solar control (resol BS plus) via it's vbus interface. resol do windows software, so i want to redirect my windows pc to see my embedded board running dd-wrt , as its serial com2tcp does this on the windows side, and socat (see other post) does this on the linux side

reading and writing to a serial port

i am using an embedded board (x86) running dd-wrt, with a serial port connected to a counter see here . I needed to send a command and collect its response, but normal cat and echo of ttyS0 didn't work, either giving me permission denied or missing the response. this worked /usr/local/usr/bin/socat gopen:/tmp/input.txt!!create:/tmp/output.txt /dev/tts/0,echo=0 where tts/0 is the serial port, and /tmp/input.txt has the command to elicit the response, and /tmp/output.txt catches the response. the create: clause makes it overwrite the output.txt each time you run the command or explicitly for my board socat exec:'echo ACA'\!\!- /dev/ttyUSB0,echo=0 | cut -b2-

Bathroom renovation

I got my bathrooms renovated a year ago, and the folks that did it were excellent, they not have some sample videos of before and after shots, see http://www.homeworks.ie

new dvb-t frequencies and channels in dublin ireland

since the end of the trial, the channels are now mpeg4 and details are below , as received by my nova t source_friendly_name preferred_name service_type freq_actual channel parent_id network_id transport_id service_id channel_type DVB-T Source RTE 1 DVB-T 738 54 1 0 1001 1 TV DVB-T Source RTE 2 DVB-T 738 54 2 0 1001 2 TV DVB-T Source TV3 DVB-T 738 54 3 0 1001 3 TV DVB-T Source TG4 DVB-T 738 54 4 0 1001 4 TV DVB-T Source RADIO 1 DVB-T 738 54 5 0 1001 5 RADIO DVB-T Source 2FM DVB-T 738 54 6 0 1001 6 RADIO DVB-T Source LYRIC DVB-T 738 54 7 0 1001 7 RADIO DVB-T Source RnaG DVB-T 738 54 8 0 1001 8 RADIO

change ssh tunnel on the fly in a session

use escape character, then C for command line , then -L1234:remote.host:1234 i.e. ~C -L1234:remote.host:1234 try ~? for help etc

howto compile he220stat for mips openwrt

wget http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo.c needs libncurses /home/desra/code/openwrt/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/bin/mipsel-linux-uclibc-gcc -L /home/desra/code/openwrt/trunk/staging_dir/mipsel/usr/lib/ -I /home/desra/code/openwrt/trunk/staging_dir/mipsel/usr/include/ -I /home/desra/code/openwrt/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/include/ -Wall -lncurses init_ncurses.c main.c flowreport.c rssi.c modechange.c -o he220stat-mips