LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-19-2003, 04:09 AM   #1
jahm
LQ Newbie
 
Registered: Jun 2003
Location: gt-de-fr-us-in
Posts: 7

Rep: Reputation: 0
Unhappy mandrake cat > /dev/dsp no response


Jun 19 10:23:47 phernand2 sound: Loading sound module (maestro3) succeeded
Jun 19 10:23:47 phernand2 modprobe: /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/maestro.o.gz:
Jun 19 10:23:47 phernand2 modprobe: Hint: insmod errors can be caused by incorrect module parameters, includi
ng invalid IO or IRQ parameters.
Jun 19 10:23:47 phernand2 modprobe: You may find more information in syslog or the output from dmesg
Jun 19 10:23:47 phernand2 modprobe: init_module: No such device
Jun 19 10:23:47 phernand2 modprobe: modprobe: insmod /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/maestro
.o.gz failed
Jun 19 10:23:47 phernand2 modprobe: modprobe: insmod maestro failed
 
Old 06-19-2003, 07:01 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
when did the distro's start gzipping their kernel modules?
slak does this, now mandrake?
is there some modules loader that zcats them before
trying to load or what?
i would gzip -d the module, but thats because i don't know
why the modules are gzipped in the first place.

gzip -d /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/maestro.o.gz:
 
Old 06-19-2003, 08:45 AM   #3
jahm
LQ Newbie
 
Registered: Jun 2003
Location: gt-de-fr-us-in
Posts: 7

Original Poster
Rep: Reputation: 0
succesfull unzipped, but still:

Jun 19 15:32:55 phernand2 sound: Loading sound module (maestro3) succeeded
Jun 19 15:32:55 phernand2 modprobe: /lib/modules/2.4.21-0.13mdk/kernel/drivers/s
ound/maestro.o:
Jun 19 15:32:55 phernand2 modprobe: Hint: insmod errors can be caused by incorre
ct module parameters, including invalid IO or IRQ parameters.
Jun 19 15:32:55 phernand2 modprobe: You may find more information in syslo
g or the output from dmesg
Jun 19 15:32:55 phernand2 modprobe: init_module: No such device
Jun 19 15:32:55 phernand2 modprobe: modprobe: insmod /lib/modules/2.4.21-0.13mdk
/kernel/drivers/sound/maestro.o failed
Jun 19 15:32:55 phernand2 modprobe: modprobe: insmod maestro failed

now, i found this: oss is working fine, but alsa doesnt work at all,
my modules.conf is:
$ cat modules.conf

probeall usb-interface usb-uhci
alias sound-slot-1 maestro3
above maestro3 snd-pcm-oss
alias sound-slot-0 maestro
above maestro snd-pcm-oss
above snd-maestro3 snd-pcm-oss

aja, no alsa! sound assignation... ja! how it should be then?
can this be the reason whil $ cat audio_file > /dev/dsp produce no response?
 
Old 06-19-2003, 09:56 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
the alsa stuff doesn't come with the standard kernel.
did you install the alsa stuff?
well, it might come with the mandrake kernel for all i know.
looking at the alsa site is usually a good idea for seeing
how to set up a specific sound card.
 
Old 06-19-2003, 10:13 AM   #5
jahm
LQ Newbie
 
Registered: Jun 2003
Location: gt-de-fr-us-in
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

ok, i got a clean boot now, no erros,
i set with the hardwar config on kde mandrake, and modules.conf:
$ cat modules.conf

probeall usb-interface usb-uhci
alias sound-slot-1 snd-maestro3
above maestro3 snd-pcm-oss
alias sound-slot-0 maestro
above maestro snd-pcm-oss
above snd-maestro3 snd-pcm-oss

try play smthng, doesnt work, ... aumix, volume seems ok, mute and unmute, try play... now is working!!!!. restart, same procedure is needed... HELP.

2. try cat smthng > /dev/dsp works the same, mean, after the procedure above!....
cat /dev/dsp..... no answer, check volume, nothing. NOT WORKING
cat /dev/dsp > /dev/dsp
nothing. no micro sound. HELP.
 
Old 06-19-2003, 10:21 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally posted by whansard
when did the distro's start gzipping their kernel modules?
slak does this, now mandrake?
is there some modules loader that zcats them before
trying to load or what?
i would gzip -d the module, but thats because i don't know
why the modules are gzipped in the first place.

gzip -d /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/maestro.o.gz:
gzipping the drivers should actually make them run faster. The time taken to read and decompress the data is actually less than to read the entire decompressed data, due to drive access times. same reason grub uses gzipped xpm's. strange but true.
 
Old 06-19-2003, 11:55 AM   #7
jahm
LQ Newbie
 
Registered: Jun 2003
Location: gt-de-fr-us-in
Posts: 7

Original Poster
Rep: Reputation: 0
Angry

im again were i satart!!

ive set the drivers like this:
$ cat modules.conf

probeall usb-interface usb-uhci
alias sound-slot-1 maestro3
above maestro3 snd-pcm-oss
alias sound-slot-0 snd-maestro3
above maestro snd-pcm-oss
above snd-maestro3 snd-pcm-oss

like that, snd-maestro3 fails, and maestro (oss) works, set the volume and kde is working just fine, but no audio when
cat smthng > /dev/dsp
IF i set to start the alsa process on boot, then i got no more errors on the boot, but alsa never update the volume, so i got no volume, when playing a file (kaboodle) it works just after mute unmute (aumix). The oss never got audio updated neither the alsa. ! After mute unmute, i try cat smthng > /dev/dsp it works, but still cat /dev/dsp doesnt.
i think 1. cat should work with alsa and not with oss, ah?
2. cat /dev/dsp doesnt work in any case.... help again
again the log:
Jun 19 18:30:28 phernand2 sound: Loading sound module (maestro3) succeeded
Jun 19 18:30:28 phernand2 modprobe: /lib/modules/2.4.21-0.13mdk/kernel/sound/pci
/snd-maestro3.o.gz:
Jun 19 18:30:28 phernand2 modprobe: Hint: insmod errors can be caused by incorre
ct module parameters, including invalid IO or IRQ parameters.
Jun 19 18:30:28 phernand2 modprobe: You may find more information in syslo
g or the output from dmesg
Jun 19 18:30:28 phernand2 modprobe: init_module: No such device
Jun 19 18:30:28 phernand2 modprobe: modprobe: insmod /lib/modules/2.4.21-0.13mdk
/kernel/sound/pci/snd-maestro3.o.gz failed
Jun 19 18:30:28 phernand2 modprobe: modprobe: insmod snd-maestro3 failed
Jun 19 18:30:29 phernand2 aumix: vol set to 68, 68
Jun 19 18:30:29 phernand2 aumix: pcm set to 77, 77
Jun 19 18:30:29 phernand2 aumix: speaker set to 40, 40
Jun 19 18:30:29 phernand2 aumix: line set to 52, 52, P
Jun 19 18:30:29 phernand2 aumix: mic set to 100, 100, R
Jun 19 18:30:29 phernand2 aumix: cd set to 100, 100, P
Jun 19 18:30:29 phernand2 aumix: igain set to 0, 0, P
Jun 19 18:30:29 phernand2 aumix: line1 set to 100, 100, P
Jun 19 18:30:29 phernand2 aumix: phin set to 0, 0, P
Jun 19 18:30:29 phernand2 aumix: video set to 100, 100, P
Jun 19 18:30:29 phernand2 sound: Loading mixer settings succeeded
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 12:46 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
cat /dev/ts lyang1981 Linux - Hardware 2 03-17-2005 12:43 PM
Mandrake 10 /dev/dsp Permission Denied fox2319 Linux - Newbie 5 04-28-2004 07:06 AM
Mandrake 8.2 and /dev/dsp kald Linux - Newbie 2 09-01-2002 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration