Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 28, 2017, 02:12:37 PM

Login with username, password and session length
The new DSL forums are now open.
301292 Posts in 294232 Topics by 323 Members
Latest Member: Onisaki
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

  Show Posts
Pages: [1] 2
1  Damn Small Linux / Laptops / Re: no sound card and no drives on: April 25, 2017, 01:13:34 PM
I was wrong it's "snd-hda-intel" that i should load (the previous I found among others, after doing lsmod ,lspci gives this one) and, I can see now that the kernel driver "HDA Intel" should also be loaded first in order to recognise the card. So doing "update modules" or adding the modules in the file as mentioned in the link page wont help (card still not detected).
As far as I can see for this kernel driver I need at least kernel 2.6.22. Anyway I'll try it later , maybe it will work. But I have bad expirience with upgrading a kernel.

To have my Wifi up and running I have a simular problem. I allready tryed to load it (kernel driver) but, after loading "gcc with libs" and doing the "make" command it says "cc: command not found". So this means that "make" is there but, someting else is wrong. Maybe I have to retry.
So I continu searching with the time I have.

2  Damn Small Linux / Laptops / Re: no sound card and no drives on: April 05, 2017, 12:55:54 PM
Hello again

I already have the drive visible after disabeling Sata in the Bios. Thanks for the Sata hint.

Still no sound!
Alsasetup sais “no pnp or PCI card found and, the legacy drivers don’t work neither.
When I start Puppy,... there is sound so, normally it is working. I can see that Puppy’s driver is snd-ens1371, and snd-ac97-codec. When I try to load them with “insmod snd....." I get lines like “unresolved symbol gameport_reg......” for the first one. The second one loads normal but, still no sound.
At dsl bootup (I have it installed now) I get a line “modprobe can’t locate module-block-2“.
3  Damn Small Linux / Laptops / no sound card and no drives on: April 01, 2017, 09:07:24 AM

I want to install dsl on an notebook HP G7000.
When I boot the cd I see that the sound card is not detected but, when I do
later on, I can see that the card is ‘intel corporation 82801H’. When I put on the alsa boot option and load alsa4dsl and try
depmod -a
etc... than
returns almost everything with ‘unknown device’. (I think it does’nt recognize it anymore) and when I load the driver ‘snd-intel8x0‘ it returns ‘no such device’

With Puppy I have wiped out windows vista and created new partitions. These partitions niether those from Windows (before) are detected with dsl.

Will this change when I make an image of a partition with dsl installed on it and, copy it in a partition?
Or before formatting the hard disk (it has only one) in ext 2 will it help if I make the device msdos (or one of those possibilities) with Puppy 528. Maybe the original msdos (which held ms vista) is to modern.

Or is there something else I can do to make it clean install?
4  MyDSL Extensions / Extension Development / Re: Alsa configured at boot in frugal install on: January 07, 2015, 09:54:16 AM
Hello again

I have already found the solution.

So I have loaded the "alsa4dslv2.dsl" at bootup and have set the alsa boot option.
I know this extension works. This means, I have already used it and have a "/etc/asound.state" file generated by "
sudo alsactl store
Instead of making a backup of the files like mentioned above I have discovered a way to ad files to a .dsl extension.
First of all, you rename alsa4dslv2.dsl in alsa4dslv2.tar.gz.
Than do
gzip -d alsa4dslv2.tar.gz
and you can ad files to it by doing "
tar -rf alsa4dslv2.tar file1 file2
Then do
"gzip alsa4dslv2.tar"
and, rename it back to alsa4dslv2.dsl.
To my surprise it works. For one or another reason opening and repacking it makes it useless.
So I added the files /etc/asound.state and /etc/modutils/sound.

At this point there are still 5 commands to execute. I have put them all in a file that I have made executable. To do that, I Did "
sudo chmod 777 file
You can put that file in your home directory (eg: /home/dsl/.alsastart) and than start it at bootup as a command in "/home/dsl/.xinitrc" or "/opt/bootlocal.sh".

The 5 commands are:
1)sudo /opt/alsa/snddevices 2) sudo depmod -a 3) sudo modprobe snd-intel8x0 (=driver for your sounddevice) 4) sudo update-modules 5) sudo alsactl restore.
If it complains about unresolved characters in a certain driver, normally you can continue.

5  MyDSL Extensions / Extension Development / Alsa configured at boot in frugal install on: December 30, 2014, 03:58:02 PM

I'm running DSL latest stable release, frugal installed (grub).

I'm trying to have alsa "configured" at boot.

So I have the alsa boot option enabled before loading alsa4dslv2.dsl (in boot). I have also put
"proc/, etc/modutils/sound, ramdis/etck/var/tmp/alsaconf.cards, etc/modprobe.conf, etc/asound.state, opt/alsa"
into the filetool.list, plus
"/init.d/alsasound start" and "/usr/sbin/alsactl restore"
into the bootlocal.sh.   
Still I have to do the whole alsaconf stuff before having sound.               

My hardware is pci intel8x0.

At this moment I can have a part of it configured by doing first
"/opt/alsa/alsasetup (just the command, without the other staps)" than "modprobe snd-intel8x0" plus "alsactl restore"
With this I can play wav files in xmms if configured with alsa (not oss, as it is by default).
Soundtracker on the contrary doesn't peep.                                     

6  MyDSL Extensions / Extension Development / Re: recording sound on: October 09, 2014, 02:37:24 PM
Thanks for the advice

It's solved.
In Audacity I enabled the "input gain" line to record.
So, when I open Dmix and, in the upper left corner I choose "input gain" to push the "rec" button there; it works

7  MyDSL Extensions / Extension Development / recording sound on: October 08, 2014, 07:55:19 AM

I have the latest stable dsl installed with oss sound.
When I'm using soundtracker and, I want to record something with the build-in recorder, it doesn't work.
So then I open audacity to do it. I've noticed that from that moment on (when audacity is working and, I have been recording something) recording with soundtracker also works.
That means that audacity installs something (maybe a module, a driver, or library) that enables the entire system to record.
Does anyone have a clou what that might be, so I can enable/install it by default.

8  MyDSL Extensions / Extension Development / Re: synchronal stopwatch on: April 25, 2014, 11:19:45 AM
When I have a video file compound of several other files, in which I had to change volume, I must synchronize every sound file separately, so I have to know the right place to begin each take.
What do you think I can do with ffmpeg?
9  MyDSL Extensions / Extension Development / Re: synchronal stopwatch on: April 22, 2014, 06:56:23 AM
I need time displayed in, at least hundredth of seconds to adjust sound-delay in Audacity.
10  MyDSL Extensions / Extension Development / Re: synchronal stopwatch on: April 21, 2014, 08:42:49 AM
total=0;nl=$'\n';key=go; while [[ $key != 's' ]]; do result=$( (time read -sn1; echo "$REPLY") 2>&1 );result=${result/$nl/ };key=${result#* };lap=${result% *}; thou=${lap#0};thou=${thou/.};let total+=$thou;echo "Lap $lap"; done; echo "Total ${total:0:${#total} - 3}.${total: -3:3}"

This one looks interesting to me. I had managed to have those lap-times addition-ed instead of separated. But when it begins to count more than 1 minute it keeps on counting only seconds. For that the next one could be better, but that one can't be started together with mplayer. I thought I'll mix the 2 watches together, but it seems to be in different languages. I'm a new-by in scripting. I also noticed that when I start mplayer, in "the terminal" it gives the elapsed seconds (like the first stopwatch) , so if I could put that in an order of "minutes, seconds, milliseconds",...      But where? I have been searching, and nothing appeared.


# A command line Stopwatch

# License: LGPLv2
# Author:
#    http://www.pixelbeat.org/
# Notes:
#    This script starts a few processes per lap, in addition to
#    the shell loop processing, so the assumption is made that
#    this takes an insignificant amount of time compared to
#    the response time of humans (~.1s) (or the keyboard
#    interrupt rate (~.05s)).
#    '?' for splits must be entered twice if characters
#    (erroneously) entered before it (on the same line).
#    '?' since not generating a signal may be slightly delayed
#    on heavily loaded systems.
#    Lap timings on ubuntu may be slightly delayed due to:
#    https://bugs.launchpad.net/bugs/62511
# Changes:
#    V1.0, 23 Aug 2005, Initial release
#    V1.1, 26 Jul 2007, Allow both splits and laps from single invocation.
#                       Only start timer after a key is pressed.
#                       Indicate lap number
#                       Cache programs at startup so there is less error
#                       due to startup delays.
#    V1.2, 01 Aug 2007, Work around `date` commands that don't have nanoseconds.
#                       Use stty to change interrupt keys to space for laps etc.
#                       Ignore other input as it causes problems.
#    V1.3, 01 Aug 2007, Testing release.
#    V1.4, 02 Aug 2007, Various tweaks to get working under ubuntu and Mac OS X.
#    V1.5, 27 Jun 2008, set LANG=C as got vague bug report about it.

export LANG=C

ulimit -c 0   #no cores from SIGQUIT
trap '' TSTP  #ignore Ctrl-Z just in case
save_tty=`stty -g` && trap "stty $save_tty" EXIT #restore tty on exit
stty quit ' ' #space for laps rather than Ctrl-\
stty eof  '?' #? for splits rather than Ctrl-D
stty -echo    #don't echo input

cache_progs() {
    stty > /dev/null
    date > /dev/null
    grep . < /dev/null
    (echo "import time" | python) 2> /dev/null
    bc < /dev/null
    sed '' < /dev/null
    printf '1' > /dev/null
    /usr/bin/time false 2> /dev/null
    cat < /dev/null
cache_progs #to minimise startup delay

date +%s.%N | grep -qF 'N' && use_python=1 #if `date` doesn't have nanoseconds
now() {
    if [ "$use_python" ]; then
        echo "import time; print time.time()" 2>/dev/null | python
        printf "%.2f" `date +%s.%N`

fmt_seconds() {
    mins=`echo $seconds/60 | bc`
    if [ "$mins" != "0" ]; then
        seconds=`echo "$seconds - ($mins*60)" | bc`
        echo "$mins:$seconds"
        echo "$seconds"

total() {
    total=`echo "$end - $start" | bc`
    fmt_seconds $total

stop() {
    [ "$lapped" ] && lap "$laptime" "display"

lap() {
    laptime=`echo "$1" | sed -n 's/.*real[^0-9.]*\(.*\)/\1/p'`
    [ ! "$laptime" -o "$laptime" = "0.00" ] && return #signals too frequent
    laptotal=`echo $laptime+0$laptotal | bc`
    if [ "$2" = "display" ]; then
        lapcount=`echo 0$lapcount+1 | bc`
        laptime=`fmt_seconds $laptotal`
        echo $laptime "($lapcount)"

echo -n "Space for lap | ? for split | Ctrl-C to stop | Space to start...">&2

while true; do
    trap true INT QUIT #set signal handlers
    laptime=`/usr/bin/time -p 2>&1 cat >/dev/null`
    trap '' INT QUIT #ignore signals within this script
    if [ $ret -eq 1 -o $ret -eq 2 -o $ret -eq 130 ]; then #SIGINT = stop
        [ ! "$start" ] && { echo >&2; exit; }
    elif [ $ret -eq 3 -o $ret -eq 131 ]; then #SIGQUIT = lap
        if [ ! "$start" ]; then
            start=`now` || exit 1
            echo >&2
        lap "$laptime" "display"
    else #eof = split
        [ ! "$start" ] && continue
        lap "$laptime" #update laptotal
11  MyDSL Extensions / Extension Development / Re: synchronal stopwatch on: April 18, 2014, 08:12:52 AM
Thanks for the information but,

every stopwatch has a start-button.
I want that button to be activated at appearance from the command line if possible. So that I can do "mplayer myfile.avi | stopwatch (-?)".
It's as if I want to launch Audacity with "audacity myfile.mp3 -start", and it already runs when it appears, which it doesn't by default.

12  MyDSL Extensions / Extension Development / synchronal stopwatch on: April 17, 2014, 01:45:50 PM

 When I'm doing video stuff, I have found out that a combination of Mplayer with a stopwatch works fine to make sound and image going synchronal later on in Avidemux and Audacity. As a result of my low cpu (=666MHz), Avidemux isn't synchronal.
I managed to install a stopwatch from Debian Etch. The only problem now is that I can't launch it (started) together with Mplayer . I always have to start the stopwatch manually after appearance, which is tricky.
So I was wandering if someone knows about a stopwatch install-able in DSL, that can be launched "started" at appearance?
I Thought that maybe there is a possibility with Xmacro. (Recording mouse and keyboard events). But when I run Xmacrorec my mouse dont work anymore. To make a script for Xmacroplay, I haven't enough knowledge yet.

13  MyDSL Extensions / System / ubuntuone on: February 14, 2014, 01:27:13 PM

Can someone tell me if it is possible to access Ubuntuone with FTP (file transfer protocol) in DSL?
I have tried to do it after installing Python2.4, but it still gives the next error:...

"sys:1: DeprecationWarning: Non-ASCII character '\x9f' in file u1ftp-0.1.zip on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
File "u1ftp-0.1.zip", line 1
SyntaxError: invalid syntax"

I can't enter it the normal way via the web.

14  MyDSL Extensions / Net / Re: alt-gr-keys in firefox 2.0 on: November 05, 2013, 04:44:39 AM
I have added "dsl lang=be" to the menu.lst and ... it works !

15  MyDSL Extensions / Net / alt-gr-keys in firefox 2.0 on: November 04, 2013, 05:10:36 PM

I'm using a hard drive install, latest stable version of dsl. I have a be-latin1 keyboard setting, and when I am on the internet with a Firefox-like browser, my @ key (and all other alt gr+keys) wont work. If I just have run xsetup.sh it "does", but after reboot no more. Dillo is the only browser which print it, but I tried to login my yahoo mail with Dillo (I need @ to login), than there is a problem with cookies (that version of Dillo is to old I think, because in the cookiesrc, cookies are enabled with "#default exept". Can anyone tell me what I can do to have another shortcut for @. I allready tried to put echo @ in the jwmkeysrc but it failed (it than writes it into the text part of the system, that you can see with "ctrl+alt+f1").
Pages: [1] 2
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc