Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
get hold of and install "devfsd", go into the kernel configuration and look under filesystems and turn it on in there as well. it will make your life a lot easier. it only shows the devices that are available and that the kernel can see. ergo, if you cant see /dev/dsp then you know your sound devices isnt working. its very small so it wont take much room up.
i trust you have two machines, one main machine to do the compiling on and another that is the embedded device? i think i have said this before, but using ALSA, configure it on your main machine, using the kernal that you made for the embedded device (you only need to point the configure at it using --kernel or something). The instead of make install, just copy the .o files (the modules) to the /lib/modules/<kernel>/kernel/sound on your embedded device.
i didnt say cross-compile it. i said compile it using the --use-kernel=/kernel/on/your/embedded/system and then copy the files to the embedded system, manually. do NOT use the --prefix switch in the configure for alsa.
Distribution: Debian / Red Hat 7.3 / Peewee / Feather
Posts: 56
Original Poster
Rep:
yeah a mix up with my terminology
I have done this, I suspect wrongly first time around, as when I try to modprobe pcm-snd-oss It fails warning me about circular dependancies (and if I insmod it fails with lots of unresolved symbols *natch*)
When I depmod -a on my embedded system, various unresolved symbols errors on some modules i transferred :-
what are they? how did they get there? pcm == pulse code modulated, which is a sound thing. have you left something on in the kernel? show me what modules you have in your /etc/modules file that are related to the sound.
well i dont know much about the programming aspect of kernels and modules, however I have found that *some* integrated sound cards and even pci cards as well require a second jumper cable from the motherboard to the cd/dvd/rom. it's a simple two pin wire that windows could do without, but some drivers in alsa dont seem to always want to go without. I have an ESS 1869 sound card integrated on a generic northbridge motherboard; and the mobo has a third jumper for headphones that I can listen to my mp3 with but they dont seem to want to play through the normal jumper 1 (audio out)? I dont understand it either. check with your motherboard supplier and find out where that cable is and double check that it is connected. heck it might even be connected to your modem! in this case you'll need to splice a line. but dont take my word for it. you very well could just have a program conflict for all I know. the only person who can make that distinction is you.
Now to get the sis7019 drivers working with the ALSA OSS/Free emulation
Thanks for your continued help Frustin, and guiding me along the right path...
*edit* The embedded device i am developing for is a half size single board computer, it has a mic in, line in, and line out. I have made myself a suitable wire for the line out (it connect to a 4pin box header).
Distribution: Debian / Red Hat 7.3 / Peewee / Feather
Posts: 56
Original Poster
Rep:
ok can u spot any errors (obvious or otherwise...)
modules.conf :-
alias char-major-116 snd
alias sound-slot-0 sis7019
below sis7019 ac97_codec soundcore
alias sound-card-0 sound-slot-0
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
then if i modprobe sis7019
modprobe snd-pcm-oss
lsmod reads:-
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.