Red HatThis forum is for the discussion of Red Hat Linux.
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.
Thetargos, some more questions: [list=1][*]I haven't been able to set automatic loggin to a user in a GNOME session, it always goes to KDE (GNOME is the default session). Any ideas?[*]The KDE wallet keeps asking me for my password to acces the different passwords I save in it. Is there a way to remember also the wallet's pass so that it stops asking?[*]Is there a way to automatically activate NumLock for all types of sessions and even for the logging screen?[*]When I log in a KDE session, in the desktop appear, among others, CD-ROM (hdc) [/media/cdrecorder],CD-ROM (hdc) [/media/cdrom] and CD/DVD-ROM but I have in my computer a normal cdrom and a DVD recorder, I don't have 3 cds! Even worst, when I try to explore the cd's in any of the 2 CD(let's call them readers), it tells me: mount: No medium found
Please check that the disk is entered correctly
But the same CDs are properly mounted if I am in GNOME.
My /etc/fstab is:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdb5 /mnt/win ntfs ro,defaults,umask=0222 0 0
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
The faces up there are " : "
[*]I have Wireless Keyboard and Mouse from Logitech. The keyboard comes with a lot of extra buttons for internet apllications, media functions etc etc. and the mouse has 3 buttons plus a whell that is also a 4th button. The thing is, I would like to configure both of them but I don't know if this is posibble.I give more importance to the keyboard media buttons (play, stop, next, previous, volume)[*]iPods and Palms. Both managed by windows, I imagine there is no way of using them with both operating systems? Am I wrong?[/list=1]
Ok, for the thread's sake, lets not take it too off topic, shall we?
You may contact me via e-mail to thetargos at tutopia dot com, you don't need to send me all your inquiries again (I'll read them off this post) and I can then answer your questions better and leave this thread dedicated to ALSA.
First of all, did you try to manually load the drivers with "modprobe"? Did that affect /proc/asound/cards? How about your modprobe file? And most importantly, what soundcard do you have?
dang - i tried to post a link to an external site and it wiped out my whole comment.
Okay - let's try again.
Thanks for responding - glad to see that you are still monitoring this thread. It looks like you have been a big help to a lot of people.
when i do a modprobe intel8x0 it get returned to the # prompt without errors, but this doesn't change the /proc/sound/cards.
I am using the following MOBO with on board sound Foxconn WinFAST 6150K8MA-8EKRS: you can fid it at foxconnchannel dot com
I can't post a link to their site but the chipset is based off the Nvidia chipset AC97. I verified on the Alsa website that the generic driver for this is the intel8x0.
I have even downloaded the specific linux driver from Nvidia (OSS) and it seemed to install fine, but still no sound.
I will post up my configs shortly - just excited that you replied.
Fedora Core 4
kernel 2.6.15-1.1831_FC4
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
/etc/modprobe.conf
alias eth0 3c59x
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias ieee1394-controller ohci1394
alias scsi_hostadapter sata_nv
alias eth1 forcedeth
# nvidia kernel module
# alias char-major-195 nvidia-1_0-8178
# alias nvidia nvidia-1_0-8178
# nvidia sound card
# alias snd-card-0 nvsound
# alias snd-intel8x0 off
# alias i810_audio off
# install nvsound /sbin/modprobe --ignore-install nvsound ; sleep 1; /usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1 || :
# remove nvsound { /usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove nvsound
# onboard sound card
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# alias sound-slot-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# ivtv modules setup
alias char-major-81 ivtv
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv
I have a simple question: how can I have sound in a monolythic kernel?
(all built-in, no modules)
I'm running a custom 2.6.15.5 kernel and enabled the alsa driver and the oss compatibility options. I also compiled in the alsa driver for my card (ISA SoundBlaster 16). However, it won't get detected at startup:
Code:
pnp: The driver 'sb16' has been registered
pnp: The driver 'sb16' has been unregistered
ALSA Device List:
No soundcards found.
I assume that the problem resides in the lack of module support, right? alsaconf fails when searching for ISA PnP cards with errors from modinfo (one for each checked driver).
Am I trying the impossible here? Please help! Thanks!
big_manel
PS: I will now recompile with module support just to test if that really is the matter, but I'd prefer a module free kernel!
Second, unless you have a VERY good reason not to have a modular kernel, running all built-in can be rather difficult. Now that off the way...
If you have the drive built-in (and assuming only ALSA has been compiled with its own OSS support, and no OSS modules were built-in too), you should have your card working, as the driver is already loaded into the kernel image. Now what information do yo have in the various files and directories under /proc/asound/? For example, what does it list when you do a
cat /proc/asound/cards returned
[CODE]--- No soundcards ---[\CODE]
Now I am trying the modular kernel (just to check if modules are the issue), but I ran into more trouble because no modules are being loaded (the system boots fine, only the few enabled modules don't even spell out an error: alsa won't start and there won't be any /proc/asound dir. Insmod and modinfo complain about not finding any modules. Do I have to specify a module search path? And where? Do I need symlinks? Also, I am trusting modprobe.conf generated by generate-modprobe.conf)
All in all I think I was better off without modules as I still could fire alsa up :P
One question: When the driver is built-in, how will options be passed to it?
I'm lost here! Fortunately, sound is not of paramount importance in this box since it is a server (same reason I found modules to be unneeded: either you'll use a feature, or you won't!). This, however, doesn't mean I am not loosing sleep to this!
Depending on your distribution and whether if you use udev or devfs, it can change quite a bit. No matter what you use, as log as it is a 2.6.x kernel, modules are loaded according to the rules in /etc/modprobe.conf... You will have to map the devices there and pass the necessary options to the drivers (modules). Something like this will do the trick to load and map the necessary drivers and devices:
Code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-sb16
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
However, I am still unable to set sound up in either kind of kernel (monolythic, buit-in sound and modularized).
-In the modularized kernel I did as you told and added those lines to modprobe.conf. I also added the options line as per the alsa-project site instructions (I did not know how to set all of the options: I entered the base and mpu ports, the irq and the low/high DMA addresses, I also set an option called 'enable' to 1, the others -'id', 'index', 'csm'- were not entered, is this ok?)
Then I tried to load the modules but nothing happened (guess I didn't quite know what I was doing...). 'modprobe snd' worked fine, but not 'modprobe snd-sb16' which said that 'No device found' or simmilar (the card 'is' there, and works well under kernel 2.4.28 with OSS drivers)
How should I fire up these modules?
-In the monolythic kernel also no luck. The documentation at the alsa-project site states that it is possible (though unrecommended) to build ALSA into the kernel, but I found no further support on that. I guess I will have to resort to modules, it's not such a big deal, but what if I needed a compact monolythic embeded system? The one thing I think would be hard to set up would be the driver options (I know I asked this before but did not understand your answer to this question, sorry). As I see it, they would either have to be harcoded or the driver would have to support configuration files, am I wrong?
Anyway, I'll focus on trying to set up ALSA on the modularized kernel... Please point me to the module initialization commands, because I really have little experience dealing with that!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.