Re: [gentoo-user] devfsd question
On Sat, 11 Oct 2003 02:14:27 -0500 Simon Mushi [EMAIL PROTECTED] wrote: this is the script I run once rebooted to make the extra device nodes mknod /dev/sound/dsp2 c 14 19 mknod /dev/sound/mixer2 c 14 16 chown root.audio /dev/sound/dsp2 chown root.audio /dev/sound/mixer2 chmod 664 /dev/sound/dsp2 /dev/sound/mixer2 rm -r /dev/dsp2 rm /dev/mixer2 ln -s /dev/sound/dsp2 /dev/dsp2 ln -s /dev/sound/mixer2 /dev/mixer2 === it's kinda rough but it works :) Thanks for the assist. It seems to be working well. I haven't had to re-run the device creation script yet and I have rebooted a few times, so all is good there too. Thanks again. -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
Ian, Follow up: Here is a copy of my /etc/modules.d/alsa file # Alsa 0.9.X kernel modules' configuration file. # $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $ # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ALSA portion alias snd-card-0 snd-emu10k1 alias snd-card-1 snd-ens1370 ## OSS/Free portion alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 ## # OSS/Free portion - 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 ## OSS/Free portion - card #2 alias sound-service-1-0 snd-mixer-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss alias /dev/mixer2 snd-mixer-oss alias /dev/dsp2 snd-pcm-oss # Set this to the correct number of cards. options snd cards_limit=3 this is the script I run once rebooted to make the extra device nodes mknod /dev/sound/dsp2 c 14 19 mknod /dev/sound/mixer2 c 14 16 chown root.audio /dev/sound/dsp2 chown root.audio /dev/sound/mixer2 chmod 664 /dev/sound/dsp2 /dev/sound/mixer2 rm -r /dev/dsp2 rm /dev/mixer2 ln -s /dev/sound/dsp2 /dev/dsp2 ln -s /dev/sound/mixer2 /dev/mixer2 === it's kinda rough but it works :) Cheers Simon On Fri, 2003-10-10 at 08:15, Simon Mushi wrote: Hey Ian, Ahait took me 2 months (well on an off :) ) to figure out how to get my gentoo box talking to the two sound cards (an SBLIve! and an SB AUdioPCI) in my system via alsa. But I think it was all damn worth it. I plan to use the box as a dj mixing station and with my mixing coming around this weekend I think I'm gonna have the neighbours pissed at me for a while...anyway...this is kinda what you need to do: 1. Compile alsa with support for both sound cards...I am assumning both your cards are suported? Which cards d'u have in there. 2. Edit the /etc/modules.d/alsa file to include device references ..such as /dev/dsp2 and /dev/mixer2 etc to the new card...there is some sort a skeleton outline to follow for multi-cards in there...but some parts of it were not that clear...i'll send u mine when I get a chance...maybe tonight. 3. Run modules-update 4. Restart devfsd 5. Pray that the device nodes dsp2 and mixer2 are created ... i did and they weren't but u may be lucky ... as I did some other stuff that made this not so striuaghtforward. 6. If 5 failed then you need to create the new nodes manually (some alsa-dev posting discussed the fact the there is something wacky with the soundcore.o and devfs and something or otherIf you get this far I'll send the manual dev node creating commands that you need. They are online also...somewhere on the alsa-project website...I don;t remember where though. Best of luck, Simon On Fri, 10 Oct 2003, Ian Truelsen wrote: I have two sound cards, but only one of them gets an entry in /dev/sound. Should devfsd not create an entry for the other card as well? I am using alsa for both cards and they are both working fine. Is there something that I need to do in, say devfsd.conf, to have an entry in /dev/sound for the second card? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] devfsd question
I have two sound cards, but only one of them gets an entry in /dev/sound. Should devfsd not create an entry for the other card as well? I am using alsa for both cards and they are both working fine. Is there something that I need to do in, say devfsd.conf, to have an entry in /dev/sound for the second card? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
On 2003.10.10 12:24, Ian Truelsen wrote: I have two sound cards, but only one of them gets an entry in /dev/sound. Should devfsd not create an entry for the other card as well? I am using alsa for both cards and they are both working fine. Is there something that I need to do in, say devfsd.conf, to have an entry in /dev/sound for the second card? /dev/sound is the oss compatability for ALSA, isnt it? Does oss support multiple sound cards? I would think in /dev/snd (or whatever alsa regularly uses) you would have multiple entries. -- Chris I Zymurgy's Law of Volunteer Labor: People are always available for work in the past tense. pgp0.pgp Description: PGP signature
Re: [gentoo-user] devfsd question
Are you using ALSA? If so you need to setup /etc/?/alsa for two cards. The ? means I can't remember off the top of my head what the subdirectory is. On Fri, 10 Oct 2003 09:24:05 -0700 Ian Truelsen [EMAIL PROTECTED] wrote: I have two sound cards, but only one of them gets an entry in /dev/sound. Should devfsd not create an entry for the other card as well? I am using alsa for both cards and they are both working fine. Is there something that I need to do in, say devfsd.conf, to have an entry in /dev/sound for the second card? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
Hey Ian, Ahait took me 2 months (well on an off :) ) to figure out how to get my gentoo box talking to the two sound cards (an SBLIve! and an SB AUdioPCI) in my system via alsa. But I think it was all damn worth it. I plan to use the box as a dj mixing station and with my mixing coming around this weekend I think I'm gonna have the neighbours pissed at me for a while...anyway...this is kinda what you need to do: 1. Compile alsa with support for both sound cards...I am assumning both your cards are suported? Which cards d'u have in there. 2. Edit the /etc/modules.d/alsa file to include device references ..such as /dev/dsp2 and /dev/mixer2 etc to the new card...there is some sort a skeleton outline to follow for multi-cards in there...but some parts of it were not that clear...i'll send u mine when I get a chance...maybe tonight. 3. Run modules-update 4. Restart devfsd 5. Pray that the device nodes dsp2 and mixer2 are created ... i did and they weren't but u may be lucky ... as I did some other stuff that made this not so striuaghtforward. 6. If 5 failed then you need to create the new nodes manually (some alsa-dev posting discussed the fact the there is something wacky with the soundcore.o and devfs and something or otherIf you get this far I'll send the manual dev node creating commands that you need. They are online also...somewhere on the alsa-project website...I don;t remember where though. Best of luck, Simon On Fri, 10 Oct 2003, Ian Truelsen wrote: I have two sound cards, but only one of them gets an entry in /dev/sound. Should devfsd not create an entry for the other card as well? I am using alsa for both cards and they are both working fine. Is there something that I need to do in, say devfsd.conf, to have an entry in /dev/sound for the second card? -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] devfsd question
Well, I think I have narrowed down my problem here, but not sure. When I boot into gentoo during startup, I get you have not installed devfs into the system, it is required. Well, I have recompiled, many times trying to find the proble. I can not find where in the start scripts that the following is useddevfsd /dev. Where do I put it? many thanks -- Rick Sivernell Dallas, Texas 75287 972 306-2296 [EMAIL PROTECTED] Gentoo Linux Registered Linux User .~. / v \ /( _ )\ ^ ^ In Linux we trust! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
On Sunday 01 June 2003 14:44, Rick Sivernell wrote: Well, I think I have narrowed down my problem here, but not sure. When I boot into gentoo during startup, I get you have not installed devfs into the system, it is required. Well, I have recompiled, many times trying to find the proble. I can not find where in the start scripts that the following is useddevfsd /dev. Where do I put it? many thanks from your email it sounds like you do not have devfs compiled into the kernel. The installation instructions say: File systems --- ... [*] /proc file system support (Required for Gentoo Linux.) [*] /dev file system support (EXPERIMENTAL) [*] Automatically mount at boot (Required for Gentoo Linux.) [ ] /dev/pts file system for Unix98 PTYs (Uncheck this, it is NOT needed.) ... * Second extended fs support (Only needed if you are using ext2.) ... * XFS filesystem support (Only needed if you are using XFS.) Is this as yours looks? -- Tom Wesley Please encrypt personal replies if possible. pgp0.pgp Description: signature
Re: [gentoo-user] devfsd question
Make sure devfs is in the kernel and auto start at boot is set - it's under file systems in menuconfig. Well, I think I have narrowed down my problem here, but not sure. When I boot into gentoo during startup, I get you have not installed devfs into the system, it is required. Well, I have recompiled, many times trying to find the proble. I can not find where in the start scripts that the following is useddevfsd /dev. Where do I put it? many thanks -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
Are you using lilo or grub. I use lilo and besides having it in the kernel, you need to put in in the append line of lilo.conf as: devfs=mount my example # Linux bootable partition config begins image = /boot/bzImage-2.4.20-gentoo-r5 root = /dev/hdb2 label = Gentoo append= devfs=mount hdc=ide-scsi ide0=ata66 ide1=ata66 read-only # read-only for checking On Sunday 01 June 2003 11:53 am, Brett I. Holcomb wrote: Make sure devfs is in the kernel and auto start at boot is set - it's under file systems in menuconfig. Well, I think I have narrowed down my problem here, but not sure. When I boot into gentoo during startup, I get you have not installed devfs into the system, it is required. Well, I have recompiled, many times trying to find the proble. I can not find where in the start scripts that the following is useddevfsd /dev. Where do I put it? many thanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
If you select the menuconfig option to start devfs at boot you don't need this option. I run lilo and don't have it. Are you using lilo or grub. I use lilo and besides having it in the kernel, you need to put in in the append line of lilo.conf as: devfs=mount my example # Linux bootable partition config begins image = /boot/bzImage-2.4.20-gentoo-r5 root = /dev/hdb2 label = Gentoo append= devfs=mount hdc=ide-scsi ide0=ata66 ide1=ata66 read-only # read-only for checking On Sunday 01 June 2003 11:53 am, Brett I. Holcomb wrote: Make sure devfs is in the kernel and auto start at boot is set - it's under file systems in menuconfig. Well, I think I have narrowed down my problem here, but not sure. When I boot into gentoo during startup, I get you have not installed devfs into the system, it is required. Well, I have recompiled, many times trying to find the proble. I can not find where in the start scripts that the following is useddevfsd /dev. Where do I put it? many thanks -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
Learn something new everyday. Guess I had it in there so long I didn't think about that. I will have to remove it and try it. Thanks. On Sunday 01 June 2003 07:03 pm, Brett I. Holcomb wrote: If you select the menuconfig option to start devfs at boot you don't need this option. I run lilo and don't have it. Are you using lilo or grub. I use lilo and besides having it in the kernel, you need to put in in the append line of lilo.conf as: devfs=mount my example # Linux bootable partition config begins image = /boot/bzImage-2.4.20-gentoo-r5 root = /dev/hdb2 label = Gentoo append= devfs=mount hdc=ide-scsi ide0=ata66 ide1=ata66 read-only # read-only for checking On Sunday 01 June 2003 11:53 am, Brett I. Holcomb wrote: Make sure devfs is in the kernel and auto start at boot is set - it's under file systems in menuconfig. Well, I think I have narrowed down my problem here, but not sure. When I boot into gentoo during startup, I get you have not installed devfs into the system, it is required. Well, I have recompiled, many times trying to find the proble. I can not find where in the start scripts that the following is useddevfsd /dev. Where do I put it? many thanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] devfsd question
We all do G. You're welcome. Learn something new everyday. Guess I had it in there so long I didn't think about that. I will have to remove it and try it. Thanks. -- Brett I. Holcomb AKA Grunt -- [EMAIL PROTECTED] mailing list