Thursday, April 9, 2015

Dell Laptop Fan Control And Get CPU Temperature

http://www.cyberciti.biz/faq/controlling-dell-fan-speeds-temperature-on-ubuntu-debian-linux/

$ 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://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=996&flavour=hd"
[...]
Input #0, rtsp, from 'rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=996&flavour=hd': 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` (https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol#Protocol_directives) an application/sdp message is sent containing:


v=0
o=leCDN 1428411111 1234565108 IN IP4 kapouet.proxad.net
s=unknown
i=unknown
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 33
a=control:rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=100008

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

Steps:



wget ftp://ftp.dell.com/sysman/dtk_3.1.1_165_Linux.iso
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
./opt/dell/toolkit/bin/syscfg


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
LOAD_LP_MODULE=no