Jump to content

PCLos GNOME sound problems


gauchoperezoso

Recommended Posts

Hi GauchoFirst your questions:Why did you have to chmod ? That is to make the file executable, see:File permissionsand Changing File permissionsWhat is the difference between cat and less:Cat reads a file . . but if the file is to long you will only see the end of it ( # cat /var/log/messages ) so you "pipe it trough less"Less is a pager . . it reads a file and puts it to the screen in pages . . . can scroll down with the arrow keys or with page up page down . . . . you quit less by pressing the Q-key.See:

$ man cat$ man less

( just type that in a console . . . you quit the man pages with pressing the Q-key !! )Now the script !BRAVO !!But there is definitely something wrong if it hangs at the wav file !!!Please check:

$ ls -l /usr/bin/play$ ls -l /usr/share/sounds/KDE_Startup.wav

And show me what you get :DB) BrunoPS: The script also shows you have no swap . . . ????

Link to comment
Share on other sites

  • Replies 133
  • Created
  • Last Reply

Top Posters In This Topic

  • gauchoperezoso

    67

  • Bruno

    51

  • teacher

    14

  • ross549

    2

gauchoperezoso

Hi Bruno!!first the commands:[gaucho@chello084010044003 guest]$ ls -l /usr/bin/play-rwxr-xr-x 1 root root 5253 Jul 9 2003 /usr/bin/play*[gaucho@chello084010044003 guest]$ ls -l /usr/share/sounds/KDE_Startup.wav-rw-r--r-- 1 root root 365228 Mar 25 2002 /usr/share/sounds/KDE_Startup.wav[gaucho@chello084010044003 guest]$ as for the file permissions i know all this as i have read it carefully already ;) but when i checked the permissions and they were the same fot the root and user if i rememer well.thats why i didnt understand :hmm: cat and less...that is what i thought,but thank you anyways Bruno

Link to comment
Share on other sites

Hi GauchoWell the 755 added an x for root, user and everybody :)Check it, just make a dummy file and do "ls -l" on it . . .then chmod it 755 and you will see the x aded 3 times ;)Now back to the sound:

$ /usr/bin/play /usr/share/sounds/KDE_Startup.wav

What happens ?;) Bruno

Link to comment
Share on other sites

gauchoperezoso

the script shows there is no swap...i know,it always shows it at a startup,it was strange to me as well but since everything works i just took it for granted ;)

Link to comment
Share on other sites

the script shows there is no swap...i know,it always shows it at a startup,it was strange to me as well but since everything works i just took it for granted :hmm:
We will have to check fstab later . . let us first finish the sound . .;) Bruno
Link to comment
Share on other sites

gauchoperezoso

[gaucho@chello084010044003 guest]$ /usr/bin/play /usr/share/sounds/KDE_Startup.wav[gaucho@chello084010044003 guest]$ and it plays the test theme.as for chmod i thing i could execute it as a user even before changing permissions.but it doesnt matter now ;)

Link to comment
Share on other sites

and it plays the test theme.
??? . . and why won't it do it in the script ?? . . it is the same command !!run the script again please :DB) Bruno
Link to comment
Share on other sites

gauchoperezoso

??? . . and why won't it do it in the script ??which script?if i run the commands again i get the same thing as the first time :[gaucho@chello084010044003 guest]$ ls -l /usr/share/sounds/KDE_Startup.wav-rw-r--r-- 1 root root 365228 Mar 25 2002 /usr/share/sounds/KDE_Startup.wav[gaucho@chello084010044003 guest]$ ls -l /usr/bin/play-rwxr-xr-x 1 root root 5253 Jul 9 2003 /usr/bin/play*[gaucho@chello084010044003 guest]$ but here it shouldnt play anything right?after all it is only checking whats inside :hmm:

Link to comment
Share on other sites

GauchoShow me the last 40 lines of the script:

# cat -n /home/gaucho/soundchk.sh

OR

# tail -n 40  /home/gaucho/soundchk.sh

:hmm: Bruno

Link to comment
Share on other sites

gauchoperezoso

140 fi 141 142 # Extra test added by Bruno 143 echo 144 echo "== Test wav file . . . . . please wait ==" 145 146 147 # test on SUSE 148 if test -f /opt/kde3/share/sounds/KDE_Startup.wav 149 then 150 /usr/bin/play /opt/kde3/share/sounds/KDE_Startup.wav 151 152 # test on Slackware 153 elif test -f /opt/kde/share/sounds/KDE_Startup.wav 154 then 155 /usr/bin/play /opt/kde/share/sounds/KDE_Startup.wav 156 157 # test on Mandrake, Fedora and PClos 158 elif test -f /usr/share/sounds/KDE_Startup.wav 159 then 160 /usr/bin/play /usr/share/sounds/KDE_Startup.wav 161 162 else 163 echo "==> Test not available on this system !" 164 165 fi 166 167 168 # Interactive part 169 echo -n "Did you hear the soundfile Yes/No ?:" 170 read answer 171 172 # the user did not enter anything: 173 while [ -z "$answer" ]; do 174 echo "You did not tell me Yes or No !!!" 175 echo -n "Did you hear the soundfile Yes/No ?:" 176 read answer 177 done 178 179 echo "You typed: $answer Thanks !" 180 181 sleep 2 182 183 echo 184 echo "== End of Checks ;-)" 185 echo[root@chello084010044003 guest]#

Link to comment
Share on other sites

gauchoperezoso

it does work now :hmm: [gaucho@chello084010044003 guest]$ ./soundchk.shsoundchk.sh v1.08 - Running Sound Configuration ChecksToday is Wed Jan 26 19:49:58 CST 2005Sound tested by gaucho== Identifying System ==Linux 2.6.7-2.tmb.6mdk #1 Fri Dec 10 17:50:19 CST 2004 Intel® Celeron® M processor 1500MHz GNU/Linuxmodel name : Intel® Celeron® M processor 1500MHzcpu MHz : 1495.287MemTotal: 239028 kBSwapTotal: 0 kB== Checking dsp devices ==crw-rw---- 1 gaucho audio 14, 12 Jan 26 10:56 adspcrw-rw---- 1 gaucho audio 14, 3 Jan 26 10:56 dspdrwxr-xr-x 2 root root 160 Jan 26 10:56 sound== Checking mixer devices ==crw-rw---- 1 gaucho audio 14, 12 Jan 26 10:56 adspcrw-rw---- 1 gaucho audio 14, 3 Jan 26 10:56 dspcrw-rw---- 1 gaucho audio 14, 0 Jan 26 10:56 mixer== Checking Knotify ==[Misc]LastConfiguredApp=The KDE Window Manager[startProgress]Arts Init=trueKNotify Init=trueUse Arts=true== Checking Driver ==snd-intel8x0 : Intel Corp.|ICH4 845G/GL Chipset AC'97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:24c5 subv:1854 subd:000a)== Checking Actual Driver in Use (/etc/modules.conf) kernel 2.4 ==== Checking Actual Driver in Use (/etc/modprobe.conf) kernel 2.6 ==remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && {/sbin/modprobe snd-pcm-oss; /bin/true; }alias sound-slot-0 snd-intel8x0== Checking alsa /dev/snd ==controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D2c pcmC0D3c pcmC0D4p seq timer== Checking if Module Loaded ==snd-seq-oss 32160 0snd-seq-midi-event 7776 1 snd-seq-osssnd-seq 52080 4 snd-seq-oss,snd-seq-midi-eventsnd-pcm-oss 53096 0snd-mixer-oss 18368 2 snd-pcm-osssnd-intel8x0 35084 1snd-ac97-codec 66468 1 snd-intel8x0snd-pcm 94916 2 snd-pcm-oss,snd-intel8x0snd-timer 25764 2 snd-seq,snd-pcmsnd-page-alloc 11496 2 snd-intel8x0,snd-pcmgameport 4608 1 snd-intel8x0snd-mpu401-uart 7648 1 snd-intel8x0snd-rawmidi 24960 1 snd-mpu401-uartsnd-seq-device 8104 3 snd-seq-oss,snd-seq,snd-rawmidisnd 55716 12 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-devicesoundcore 10048 3 snd,bttv== Checking in what level Sound service is configured to run ==sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off== Checking in what level Alsa service is configured to run ==alsa 0:off 1:off 2:on 3:on 4:on 5:on 6:off== Checking in what level AlsaSound is configured to run ( Only SUSE !! ) ==error reading information on service alsasound: No such file or directory== Checking if Sound Volume muted ====> Test not available on this system !== Checking artsd setup ==gaucho 22473 22450 0 19:05 ? 00:00:02 /usr/bin/artsd -F 12 -S 4096 -s 1 -m artsmessage -c drkonqi -l 3 -fgaucho 22536 22473 0 19:05 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s 1 -m artsmessage -c drkonqi -l 3 -f== Checking which program uses the sound card or cdrom == (no output is okay)== Test wav file . . . . . please wait ==Did you hear the soundfile Yes/No ?:yYou typed: y Thanks !== End of Checks ;-)[gaucho@chello084010044003 guest]$

Link to comment
Share on other sites

Looks good . . . . let me copy it from the script:

/usr/bin/play /usr/share/sounds/KDE_Startup.wav

Does that give sound ?:hmm: Bruno

Link to comment
Share on other sites

it does work now :) [gaucho@chello084010044003 guest]$ ./soundchk.sh
You're playing tricks on me . . don't you ??? . . . Having Fun ?? Kidding the mod ??:hmm: Bruno
Link to comment
Share on other sites

and it even works in GNOME now :hmm:  really strange but i like it.
Yep . . right . . . . go and fool someone else !! . . . . LOL . . . . . .Am I wasting my time here ??? . . . :) :D :DB) Bruno
Link to comment
Share on other sites

Your sound seems very unstable . . . could be hardware . . could be software . . See the first time you ran the script tonight you had this in KDE:

== Checking artsd setup ==gaucho 3175 3148 1 10:56 ? 00:01:51 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 3240 3175 0 10:56 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8317 3240 0 12:30 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8318 3240 0 12:30 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8369 3240 0 12:31 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8370 3240 0 12:31 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8371 3240 0 12:31 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8372 3240 0 12:31 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8373 3240 0 12:31 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fgaucho 8374 3240 0 12:31 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -f
A lot of processes for artsd !!!The second time ( ALSO KDE ) was more normal:
== Checking artsd setup ==gaucho 22473 22450 0 19:05 ? 00:00:02 /usr/bin/artsd -F 12 -S 4096 -s 1 -m artsmessage -c drkonqi -l 3 -fgaucho 22536 22473 0 19:05 ? 00:00:00 /usr/bin/artsd -F 12 -S 4096 -s 1 -m artsmessage -c drkonqi -l 3 -f
And also the wav test that failed and then was successful . . . . I do not know what to think of that . . :hmm: Bruno
Link to comment
Share on other sites

gauchoperezoso

me neither :hmm: is there anything that can be done about it?i woud say hardware is ok, i mean it is almost new,plus it worked in windows without any problems.it is such a pity i cant heat anything when playing chess :) .

Link to comment
Share on other sites

Windows is less picky about hardware ( it even eats junkfood :hmm: ). . . some things can be going bust and in Windows you would only notice if it is bust . . . in Linux you can "hear" it going bust from the first moment it weakens off . . . Also ( if the hardware is okay ) you can not compare how Windows handles hardware with how Linux handles hardware . . . so saying "It works in Windows" means really nothing at all ! ( Linux likes Haute Cuisine :) )It could be software related though . . . . . how are those Mandrake downloads going ?? Are you still going to replace Windows with Mandrake ? . . . Because then we could compare PCLos with Mandrake :D( And then you can say: "but it works in mandrake . . why does it not work in PCLos ??" :D )B) Bruno

Link to comment
Share on other sites

gauchoperezoso

ok Bruno,illl get the mandrake downloads today.also i wanted to ask you if there is something you can do to pump up the volume?alsa sliders are up already.i think it was more laud in windows.also when i play dvd of avi it is quiet....no matter what player i use.i guess it is a matter of quality of the download but can you do something to make it louder?and you didnt tell me what i need vi for if i have kwrite.sorry to nag you :hmm:

Link to comment
Share on other sites

Just push up slider 1 and 5 in kmixand fire up alsamixer

$ alsamixer

and pull up the sliders tooB) Bruno

it was more laud in windows
See my previous post about "junkfood" and "haute cuisine" . . . LOL :) :hmm:
Link to comment
Share on other sites

gauchoperezoso

all the sliders are up already.but it is ok :hmm: .what about kwrite and vi?is the second more powerfull than the first?i cant get those downloads to work in kget for some reason :) ill have to do it in firefox i guess

Link to comment
Share on other sites

You can use Vi to troubleshoot when you have no GUI . . . . you can not do that with Kwrite . . . . So you REALLY need to learn Vi :DIf you copy the URL and fire up Kget and choose File --> Paste . . you get a box where you can paste the URL . . . ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...ad-CD1.i586.isoBut I prefer Firefox ( or Galeon but PCLos does not have Galeon ) for downloading ISOs too ;)OR in a console:

$ wget  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/official/iso/10.1/i586/Mandrakelinux-10.1-Official-Download-CD1.i586.iso

( ONE LINE !! ):hmm: Bruno

Link to comment
Share on other sites

gauchoperezoso

i know how to do it in kget :) the problem is that it says it cant read ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...ad-CD1.i586.isoi dont know why butt ill do it in firefoxthnx for explaining me the difference between kwrite and vi.but i still have no idea how to paste something out there :hmm: like i said ctrl+v doesnt work nor does the scroll wheel.neither in command nor the insert mode.

Link to comment
Share on other sites

This is faster !:In a console:

$ wget  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/official/iso/10.1/i586/Mandrakelinux-10.1-Official-Download-CD1.i586.iso

( ONE LINE !! ):hmm: Bruno

Link to comment
Share on other sites

gauchoperezoso

the mandrake downloads are all ready,now i will need a kittle bit of help from you guys.ill check the authenticity and should i fofmat the windows partition to reiser?just making sure :whistling:

Link to comment
Share on other sites

Oh Gaucho, you will soon learn to stock up on those blank CDs whenever there is a great sale. I must admit I have a shelf full of blanks (probably almost 500) which should get me through the year. :whistling: Folks in the computer stores must think I really rip a lot of music (I don't rip any) and would be stunned to see that someone can use so many CDs and not do anything illegal. :ph34r:

Link to comment
Share on other sites

the mandrake downloads are all ready,now i will need a little bit of help from you guys.ill check the authenticity and should i fofmat the windows partition to reiser?just making sure :whistling:
I am guessing that you are going to make a partition out of your windows space in order to install Mandrake. If this is the case, let Mandrake handle the partitioning when it installs. It does a real good job of this all by itself. :ph34r: It will probably select ext3 by default when you select the partition space or have it create the partition. Just relax and trust Mandrake to know what it is doing. :)
Link to comment
Share on other sites

gauchoperezoso

you are right,i have to get some more blanks :thumbsup: :lol: but 500 would be just a bit too much for me now i think :D .ok.everythig is ready ,cds are burnt and now i 'll install mandrake and get rid of windows :) .i think that my computer is infected with some windows fidelity software cuz so far i have had quite hard time configuring linux.hopefully this time it will go smooth. :D of course with a littlle bit of help form you guys :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...