Show Posts
|
Pages: [1] 2
|
1
|
Damn Small Linux / Laptops / Re: no sound card and no drives
|
on: July 24, 2017, 09:44:05 AM
|
Hello I'm back I'm affraid I have bad news. I can't have wireless nor sound anymore on my laptop with dsl. You where right, the atheros driver is installed and configured at boot time. Here is the output of lsmod |grep ath: ath_pci 67484 0 (unused) ath_rate_sample 9736 0 [ath_pci] wlan 138936 0 [ath_pci ath_rate_sample] ath_hal 174608 0 [ath_pci ath_rate_sample]
What "unused" means, I don't know but, when I laod it manualy nothing changes. My card is a bit different from yours. It just needs that driver for kernel 2.6 I guess. For the sound card it's the same. I have been searching for a decent OS with emelfm, xmms, and all those load possibilitys for extensions like dsl. But I can't find it. Thanks
|
|
|
2
|
Damn Small Linux / Laptops / Re: no sound card and no drives
|
on: May 17, 2017, 12:59:27 PM
|
Thanks for the cc hint. Now I was able to install but, nothing changed. iwconfig still gave "no wireless ..." The driver was "madwifi", (you can download it here "http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/"), I can see now Puppy uses the "ath5k" one. It's probably one for a later kernel.
For the sound I had downloaded the realtec alsa driver. "Installing" worked fine but after it, I saw that there were no modules in the modules directory. If installed withouth preïnstalling the alsa4dsl extention, many modules are present but not the "snd-hda-intel" one. Aldaugh it is in the packet.
For the moment I will be away for a while (few months). So if someone has a solution he may always write. I dont know how long a treath can stay open.
Thanks.
|
|
|
3
|
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.
Thanks
|
|
|
4
|
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“.
|
|
|
5
|
Damn Small Linux / Laptops / no sound card and no drives
|
on: April 01, 2017, 09:07:24 AM
|
Hello 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 lspci 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 lspci 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’ Then, 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?
|
|
|
6
|
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. Thanks.
|
|
|
7
|
MyDSL Extensions / Extension Development / Alsa configured at boot in frugal install
|
on: December 30, 2014, 03:58:02 PM
|
Hello 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. Anyone? Thanks
|
|
|
8
|
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
Carlo
|
|
|
9
|
MyDSL Extensions / Extension Development / recording sound
|
on: October 08, 2014, 07:55:19 AM
|
Hello
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.
Thanks
|
|
|
10
|
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?
|
|
|
12
|
MyDSL Extensions / Extension Development / Re: synchronal stopwatch
|
on: April 21, 2014, 08:42:49 AM
|
TIMEFORMAT=%E; 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}" unset TIMEFORMAT 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. #!/bin/sh
# 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 else printf "%.2f" `date +%s.%N` fi }
fmt_seconds() { seconds=$1 mins=`echo $seconds/60 | bc` if [ "$mins" != "0" ]; then seconds=`echo "$seconds - ($mins*60)" | bc` echo "$mins:$seconds" else echo "$seconds" fi }
total() { end=`now` total=`echo "$end - $start" | bc` fmt_seconds $total }
stop() { [ "$lapped" ] && lap "$laptime" "display" total exit }
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)" lapped="true" laptotal="0" fi }
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` ret=$? 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; } stop elif [ $ret -eq 3 -o $ret -eq 131 ]; then #SIGQUIT = lap if [ ! "$start" ]; then start=`now` || exit 1 echo >&2 continue fi lap "$laptime" "display" else #eof = split [ ! "$start" ] && continue total lap "$laptime" #update laptotal fi done
|
|
|
13
|
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.
Thanks
|
|
|
14
|
MyDSL Extensions / Extension Development / synchronal stopwatch
|
on: April 17, 2014, 01:45:50 PM
|
Hello
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.
Thanks
|
|
|
15
|
MyDSL Extensions / System / ubuntuone
|
on: February 14, 2014, 01:27:13 PM
|
Hello
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 PK_PTEhA£EÂ ^ SyntaxError: invalid syntax"
I can't enter it the normal way via the web.
Thanks
|
|
|
|
|