Thursday, April 9, 2015

Dell Laptop Fan Control And Get CPU Temperature

$ i8kctl fan 1 1

Wednesday, April 8, 2015

Session Description Protocol on FreeBox V5

Currently here is what I have on FreeBox v5 (firmware 1.5.20):

$ avprobe "rtsp://"
Input #0, rtsp, from 'rtsp://': Metadata: title : unknown comment : unknown Duration: N/A, start: 13461.359467, bitrate: N/A Stream #0.0: Data: [0][0][0][0] / 0x0000 Stream #0.1: Data: [0][0][0][0] / 0x0000 Stream #0.2: Audio: aac, 48000 Hz, stereo, s16 Stream #0.3: Data: [0][0][0][0] / 0x0000 Stream #0.4: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 26.40 fps, 25 tbr, 90k tbn, 50 tbc

This is part of the Real Time Streaming Protocol, during a `DESCRIBE` ( an application/sdp message is sent containing:

o=leCDN 1428411111 1234565108 IN IP4
c=IN IP4
t=0 0
m=video 0 RTP/AVP 33

It would have been nicer to include the actual name of the show to store it as title in an MP4 container !

Friday, February 6, 2015

syscfg on debian


mkdir /tmp/loop
sudo mount -o loop dtk_3.1.1_165_Linux.iso /tmp/loop
mkdir /tmp/bla
cd /tmp/bla
sudo apt-get install rpm2cpio
rpm2cpio /tmp/loop/tools/dell-toolkit.rpm | cpio -i --make-directories
export LD_LIBRARY_PATH=./opt/dell/toolkit/lib/
sudo cp ./etc/omreg.cfg /etc/omreg.cfg

Enjoy !

Tuesday, January 27, 2015

Removing parport from loaded module

I did not want dmesg to contain:

[   25.662755] ppdev: user-space parallel port driver

All I needed to do is:

$ grep LP /etc/default/cups
# LOAD_LP_MODULE: enable/disable to load "lp" parallel printer driver module