Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Sunday, July 1, 2012

debian lenny goodbye outdated archives

# See sources.list(5) for more information

# This file should be edited through synaptic

# MEPIS improvements, overrides and updates--the MEPIS magic
# deb ftp://ftp.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 
# MEPIS master pools, please use only if mirror is slow or down
# deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main 

# deb ftp://ftp.debian.org/debian/ lenny main contrib non-free 
# deb-src ftp://ftp.debian.org/debian/ lenny main contrib non-free 

# deb http://security.debian.org/ lenny/updates main contrib non-free 

# deb http://volatile.debian.org/debian-volatile/ lenny/volatile main contrib non-free 

# Some Debian Multimedia software might be illegal in some jurisdictions
deb http://www.debian-multimedia.org/ lenny main 

# compiz shame " debian lenny"
# deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./ 






deb http://archive.debian.org/debian/ lenny main contrib non-free  



###############################
# now my old "dell gx260" is all most finished?
# or not?
it still one of my more solid pc's, but i don't think tethering androids usb wifi will NOT work on older linux kernals.

"debian lenny" served me well wile it lasted. Dell gx260 has a flaking intell onboard video card that does not work well with newer versions of of X-server and newer linux kernels.
so now my old dell gx260 is closed to being mothballed and put away do to obsoleteness.
I like google androids wifi usb tethering. My old HP_pc has (lmde)/linux mint debian edition, sp4, as of 7moy2012. The usb wifi tethering works good out of the box, no fussing or messing around with any of the config files, just works.

7moy2012, #lmde just might become my new desktop of chose, but on my laptop i realy like lubuntu. I guese i like my ".deb' based distros.

I can't get newer ubuntu/s to run on older system with 512mb and less ram. the ubuntu installers ether fails locks up or botches the install job. But Debian installer seem to work just find on old computers with less then 512mb of ram.

I like old cheap/computer especial the free ones.

Thursday, November 10, 2011

dell gx260 modprobe p4_clockmod

step1/3...................
to load cpu speed ondemand [powertop o].............
su: modprobe p4_clockmod =======================
step2/3...................
$ lsmod | grep freq
/*****************************************************
*** to set p4_clockmod  [my dell gx260 pc] on reboot **
*****************************************************/
step3/3:.............................
Now that [p4_clockmod.ko] works my dell gx260. I will want to load [p4_clockmod.ko] on boot. To do this on a Debian based system like K/X/Ubuntu put the following line in the /etc/modules file. ===========
line @ /etc/modules file: p4_clockmod #thats it powertop must of set it to ondemand.
###################################
su:
powertop
#####################################
option [O] oh will let powertop change cpu to ondemand mode. --------------------------------------
and it should save some power. ##########################################
view the changes made by powertop [sesion]...
$ watch -n 1 cat /proc/cpuinfo
note:.........................................
conky does the same thing. it wil monitor cpu speed.
##############################################
view cpu info..................................
code: $ cpufreq-info ==============================================
tut@http://doc.opensuse.org/products/draft/SLES/SLES-tuning_sd_draft/cha.tuning.power.html
#################################
$ cpufreq-info 
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 283 MHz - 2.27 GHz
  available frequency steps: 283 MHz, 567 MHz, 850 MHz, 1.13 GHz, 1.42 GHz, 1.70 GHz, 1.98 GHz, 2.27 GHz
  available cpufreq governors: powersave, conservative, ondemand, userspace, performance
  current policy: frequency should be within 283 MHz and 2.27 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.

  current CPU frequency is 283 MHz.
  cpufreq stats: 283 MHz:51.95%, 567 MHz:2.19%, 850 MHz:4.47%, 1.13 GHz:0.78%, 1.42 GHz:0.09%, 1.70 GHz:0.18%, 1.98 GHz:0.04%, 2.27 GHz:40.29%  (143)
--------------------------
how to load at boot.........
info @ http://www.pantz.org/software/cpufreq/usingcpufreqonlinux.html
i added p4_clockmod to /etc/modules file.
thats all i needed to do for a dell gx260 running mepis8 with the debian/lenny kernel

Sunday, May 22, 2011

mepis8 webcam ffmpeg 5moy2011

tested 5moy2011 mepis8 ...
mepis8 uname -r 2.6.27!!!

---------------------
mpeg
352x288

/**************
****mepis8 ****
*************/

this work with the [ffmpeg -formats] [-f mpeg]
==================

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so \ ffmpeg -f oss -i /dev/dsp -acodec mp3 -f mpeg -s 352x288 -r 30000/1001 -i /dev/video0 -qmin 4 -qmax 4 -b 500 -aspect 4:3 -f mpeg -r 30000/1001 -y vid-mpeg-ffmpeg-with-mp3sound-q4.mpg


NOTE: "/dev/dsp" can probably be swapped out with [/dev/audio] .

mepis8 is built on debian lenny repos. Debian's ffmpeg is missing alot of codecs but it works better than MENCODER for av sync web cam recording because mencoder did not keep the audio in sync.
for /dev/dsp to work it may require "alsa-oss.deb" the legacy compliance ap layer is likely needed. "?"
------------------
[check] "capture" control on it needs to be used to grab mic sound recording.

alt.....
NOW ffmpeg-svn
alt.....
Now mepis8 with debiand's 2.6.26 kernel loaded
uname -a
Linux mepis1 2.6.26-2-686 #1 SMP Wed Sep 21 04:35:47 UTC 2011 i686 GNU/Linux

/******************
*** debian / lenny *
*******************/
##############################
mpeg
================
640x480
================
mepis8 uname -r 2.6.27-***
mepis8 code:
$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so \
############
or
debian/lennny
uname -r 2.6.26-2-686
video :large
code lenny:
$ nice -n 19 ffmpeg -f oss -i /dev/dsp -acodec mp3 \ -f video4linux \ -s 640x480 \ -r 30000/1001 \ -i /dev/video0 -qmin 4 -qmax 4 \ -b 500 -aspect 4:3 \ -f mpeg -r 30000/1001 \ vid-[large]-mpeg-ffmpeg-with-mp3sound-q4-large.MPG
video :small
code lenny:
$ nice -n 19 ffmpeg -f oss -i /dev/dsp -acodec mp3 -ac 2 \ -f video4linux \ -s 352x288 \ -r 15000/1001 \ -i /dev/video0 -qmin 4 -qmax 30 \ -b 500 -aspect 4:3 \ -f mpeg -r 20 \ vid-[small]-mpeg-ffmpeg-with-mp3sound-q4-small.mpg

Monday, January 31, 2011

Debian squeeze rc2 jan 2011


gnome desktop.
and now for the good the bad the ugly.
debian squeeze rc2........ the good: it found and setup my hp photosmart c4700 printer semi automatically "automagically". note1: debian squeeze "how did it find my printer?" I turned on my printer and clicked on xsane to to test the scanner, xsane found my scanner and then gnome found the printer . my printer. note2: squeeze: I the used synaptic to install hplip-gui so that i can monitor my printer and it's ink usage. then i configured (gnomes menu) to show debian menu , so that i can use it to launch hptoolbox/devices." other notes: using hplip source on other distrose. gnewSense: 1moy2011... I bought the hp photosmart c4780printer a couple of weeks ago from Biglots for 70$. I've used the hp photosmart printer with gnewSense linux after installing hplip from source. link: hplip.sourceforge.net hplip source "hplip-3.11.1.run" works good with gnewsense wich is based on debian/ubuntu8.04lts. ----------------- the bad: arch linux hplip-gui fails to launch and the source fails to build. I hate rolling bugy distributions. I tested arch i got frustraded so i installed debian squeeze on my backup tower and it worked a hel of a lot better than ARCH . and it was easy to set up my printer on debian squeeze rc2. DEBIAN ftw. ----------------- printer: debain squeeze: hplip just worked no muss no fuss. Hp photosmart c4700 printer driver and scanner just work. ------------------- printer: gnewsence: with gnewSense the instal of hplip from source worked good. printer works by default without hplip source. but scanner will only work after istalling hplip from source.. for more advance printer control source also adds hplip-gui/ hp toolbox for hp printers... ------------------------ printer: ubuntu9.04" almmost every thing fails ot of the box. ubuntu9.04" cups was broken. i installed selinux so that aparmore would get removed by synaptic.. cups worked for printing but hplip source would not compile pecause of broken dependacies... ubuntu9.04 howto: dowload the cups-dev's needed to compile hplip source ### all in one download. ## $ sudo aptitude download libcupsys2-dev libcups2-dev libcupsimage2-dev then use ar to extract the broken files by hand and the use file manager to to copy the dev.h files into place. after that do not run let "hplip*.run" as root. test the ./configure file fist. if it works then try the "sh *.run" file or try make the make install. note: as of jan 2011 hplip-3.11.1.run dose work with ubuntu9.04 if you can fix cups and the cups-dev's header files by hand. ubuntu9.04 is not suported by ubuntu anymorethats why it's such a clude to set the printer and cups. -------------------------- debian squeeze rc2: pro: back to squeeze. squeeze boots faster than lenny for me. pro: squeeze feels like a rock solid debian system. i love debian it's just stable. But cons: default file extension was ext3 not ext4. con: no conky in squeeze repository at this time.

Monday, May 18, 2009

linux DAW lmms | digital Audio workstation

lmms (Linux Multimedia Studeo) daw (digital Audio workstation) lmms first run

lmms defult project
lmms simple to use? click on the sample and drag them over to your Song-editor window, and the start working on your note layout, by clicking on the little grey chicklet boxes in the Song-Editor. I don't know enough about music composing to be any good with this app but if you can read sheet music and know how to arrange notes then this app is simple to use and simple to make music. you can save your projects or even export them as wav or ogg files.
i down loaded it from debian $ apt-get install lmms