Re: /dev/dsp inaccessible
--- [EMAIL PROTECTED] wrote: unfortunately, i don't have an *.raw files to try so i simply tried to cat somefile.wav /dev/dsp (and also to /dev/audio) both produce sound a screeching sound reminiscent of japanese noise bands :) That's good sign! It shows the device is configured. Do any of the command-line tools work... mpg123 c? Try setting the sound device explicitly (eg mpg123 -a /dev/dsp foo.mp3). Try it also as root. cat /dev/sndstat FreeBSD Audio Driver (newpcm) pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/4v channels duplex) ~(0)% cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: ESS Technology Allegro-1 at io 0x3000 irq 5 (4p/1r/0v channels duplex) There was a post yesterday explaining this. Apparently the driver doesn't support recording (yet). It seems to me that the driver is working, and that your problems are somewhere higher in the stack. Tiarnan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
On Wed, 20 Aug 2003 02:33:54 -0700 (PDT) Tiarnan O'Corrain [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: unfortunately, i don't have an *.raw files to try so i simply tried to cat somefile.wav /dev/dsp (and also to /dev/audio) both produce sound a screeching sound reminiscent of japanese noise bands :) That's good sign! It shows the device is configured. Do any of the command-line tools work... mpg123 c? Try setting the sound device explicitly (eg mpg123 -a /dev/dsp foo.mp3). Try it also as root. IT WORKS!!! (...and as joe-user. no need for root.:) cat /dev/sndstat FreeBSD Audio Driver (newpcm) pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/4v channels duplex) ~(0)% cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: ESS Technology Allegro-1 at io 0x3000 irq 5 (4p/1r/0v channels duplex) There was a post yesterday explaining this. Apparently the driver doesn't support recording (yet). missed that one. will follow issue closely. thanks for the tip. It seems to me that the driver is working, and that your problems are somewhere higher in the stack. it is such a relief to know that /dev/dsp is not broken. i now just need to find out exactly what is preventing these other programs from accessing it. i suppose that the programs i am trying to use probably only require recompiling, but perhaps with different options...i'll have a look. thanks again, T. Tiarnan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
--- [EMAIL PROTECTED] wrote: Hello Tiarnan, Thanks for your input. I had already turned off the PNPBIOS option. I tried your suggestion of recompiling with: options PCI_ENABLE_IO_MODES Judging by dmesg, it made no difference. It also did not allow any of the software to access /dev/dsp. Same error messages as described in first post. Try using MAKEDEV to remake the dsp devices, and check the permissions. Can you play any sound through the device node? E.g. cat blah.raw /dev/dsp ? I had a similar tussle with a Maestro 3 on a HP laptop, but it worked in the end. It can be done... I've attached my kernel configuration and loader.conf. You might try using using the snd_maestro3_load=YES instead of maestro in /boot/loader.conf. Maestro3.c is a driver for Allegro cards, perhaps a closer fit for your 2E. device sbc is unnecessary in your kernel config. Tiarnan EPIPHYTE Description: EPIPHYTE loader.conf Description: loader.conf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
On Tue, 19 Aug 2003 01:14:08 -0700 (PDT) Tiarnan O'Corrain [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: Hello Tiarnan, Thanks for your input. I had already turned off the PNPBIOS option. I tried your suggestion of recompiling with: options PCI_ENABLE_IO_MODES Judging by dmesg, it made no difference. It also did not allow any of the software to access /dev/dsp. Same error messages as described in first post. Try using MAKEDEV to remake the dsp devices, and check the permissions. Can you play any sound through the device node? E.g. cat blah.raw /dev/dsp ? have tried remaking the devices more than once (and again just now), but it hasn't helped. permissions are rw- for all users. unfortunately, i don't have an *.raw files to try so i simply tried to cat somefile.wav /dev/dsp (and also to /dev/audio) both produce sound a screeching sound reminiscent of japanese noise bands :) I had a similar tussle with a Maestro 3 on a HP laptop, but it worked in the end. It can be done... I've attached my kernel configuration and loader.conf. You might try using using the snd_maestro3_load=YES instead of maestro in /boot/loader.conf. Maestro3.c is a driver for Allegro cards, perhaps a closer fit for your 2E. snd_maestro_load=YES --versus-- snd_maestro3_load=YES doesn't seem to make any difference. i appreciate all your help. any other suggestions you might have are very welcome. there MUST be some way to get this working. also, i am wondering about this... cat /dev/sndstat FreeBSD Audio Driver (newpcm) pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/4v channels duplex) note the 4p/0r/4v. to my knowledge this means that there are 4 channels for playing, 4 virtual channels and 0 (ie. none) available for recording. am i misinterpreting this? is anyone able to record with this card on FBSD 4.8? device sbc is unnecessary in your kernel config. removed. thanks. Tiarnan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
To my knowledge, fluxbox does not have a default sound server. It is only a window manager, not a full desktop environment like Gnome or KDE. Sound card: pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/0v channels duplex) On Sun, 17 Aug 2003 20:51:54 -0700 Mike Maltese [EMAIL PROTECTED] wrote: I had a problem with KDE and arts at one time. IIRC, I had to manually point the applications at the different virtual sound devices. What sound server does fluxbox use? Also, what sound card are you running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
Hello, try recompiling your kernel with options PCI_ENABLE_IO_MODES set. This sorted out my problems with that card. Hope this helps Tiarnan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
Hi, apologies for replying to my own message, but an additional point... turn off PNPBIOS, and make sure that your BIOS is set to non PNP operating system. T ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
Hmm, I don't know anything about fluxbox other than what it is, I've always run KDE or Gnome. I'm not sure you necessarily need one. I used mpg123 to play mp3's on a server once just for kicks, and I didn't have to have any kind of extra sound system. The documentation from the programs you want to run don't contain anything useful on this topic? Sorry I couldn't be of more help. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
Hello Tiarnan, Thanks for your input. I had already turned off the PNPBIOS option. I tried your suggestion of recompiling with: options PCI_ENABLE_IO_MODES Judging by dmesg, it made no difference. It also did not allow any of the software to access /dev/dsp. Same error messages as described in first post. I forgot to mention in my first post that I have also tried troubleshooting this by adding snd_maestro_load=YES to /boot/loader.conf. This made no difference either. I have since commented it out. This is a frustrating problem. The card is in a laptop, so it won't likely be easy to change. If I cannot get this sorted out, I may have to consider moving to an OS which will support the card. After all the time I put into learning about FBSD and Unix, I would really had to migrate away. I am willing to jump through flaming hoops and walk over burning coals to get /dev/dsp working. If anyone else has suggestions, please let me know. Thanks again! On Mon, 18 Aug 2003 01:54:26 -0700 (PDT) Tiarnan O'Corrain [EMAIL PROTECTED] wrote: Hello, try recompiling your kernel with options PCI_ENABLE_IO_MODES set. This sorted out my problems with that card. turn off PNPBIOS, and make sure that your BIOS is set to non PNP operating system. Hope this helps Tiarnan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
Hello Tiarnan, Thanks for your input. I had already turned off the PNPBIOS option. I tried your suggestion of recompiling with: options PCI_ENABLE_IO_MODES Judging by dmesg, it made no difference. It also did not allow any of the software to access /dev/dsp. Same error messages as described in first post. I forgot to mention in my first post that I have also tried troubleshooting this by adding snd_maestro_load=YES to /boot/loader.conf. This made no difference either. I have since commented it out. This is a frustrating problem. The card is in a laptop, so it won't likely be easy to change. If I cannot get this sorted out, I may have to consider moving to an OS which will support the card. After all the time I put into learning about FBSD and Unix, I would really had to migrate away. I am willing to jump through flaming hoops and walk over burning coals to get /dev/dsp working. If anyone else has suggestions, please let me know. Thanks again! On Mon, 18 Aug 2003 01:54:26 -0700 (PDT) Tiarnan O'Corrain [EMAIL PROTECTED] wrote: Hello, try recompiling your kernel with options PCI_ENABLE_IO_MODES set. This sorted out my problems with that card. turn off PNPBIOS, and make sure that your BIOS is set to non PNP operating system. Hope this helps Tiarnan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
hello all, i have been playing with FBSD for almost a year now. i would very much like to use it for music recording and editing. i have installed several programs (audacity, spiral synth modular, etc.) which all want to access /dev/dsp, however that device only responds with error messages like 'device busy' or 'invalid playback device'. uname -a snip 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #9: snip i386 relevant lines from kernel config: device pcm device sbc --- i recently added these two lines and recompiled, option PNPBIOS--- hoping it might make a difference. it didn't. :( relevant lines from dmesg: pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on pci0 pcm0: SigmaTel STAC9721/9723 ac97 codec cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/0v channels duplex) cat /dev/dsp --- cat: /dev/dsp: Device busy fstat | grep dsp --- provides no info neither esd nor any other sound daemon of which i am aware is running. xmms works fine (however it seems to access OSS drivers, not /dev/dsp directly. i have hunted all over trying to find a solution for this, but to no avail. i came across the following Problem Report -- http://www.freebsd.org/cgi/query-pr.cgi?pr=48338, but am neither sure it is the same thing nor certain about how to follow-up on open PRs. finally fixing this would really make my week. any suggestions? thank you so much, epilogue ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
Here are a couple of links that may be helpful: http://www.onlamp.com/pub/a/bsd/2002/09/19/FreeBSD_Basics.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html hello all, i have been playing with FBSD for almost a year now. i would very much like to use it for music recording and editing. i have installed several programs (audacity, spiral synth modular, etc.) which all want to access /dev/dsp, however that device only responds with error messages like 'device busy' or 'invalid playback device'. uname -a snip 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #9: snip i386 relevant lines from kernel config: device pcm device sbc --- i recently added these two lines and recompiled, option PNPBIOS--- hoping it might make a difference. it didn't. :( relevant lines from dmesg: pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on pci0 pcm0: SigmaTel STAC9721/9723 ac97 codec cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/0v channels duplex) cat /dev/dsp --- cat: /dev/dsp: Device busy fstat | grep dsp --- provides no info neither esd nor any other sound daemon of which i am aware is running. xmms works fine (however it seems to access OSS drivers, not /dev/dsp directly. i have hunted all over trying to find a solution for this, but to no avail. i came across the following Problem Report -- http://www.freebsd.org/cgi/query-pr.cgi?pr=48338, but am neither sure it is the same thing nor certain about how to follow-up on open PRs. finally fixing this would really make my week. any suggestions? thank you so much, epilogue ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
I should have asked this also - what desktop are you running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/dsp inaccessible
hi mike, thanks for your super quick replies! 1) i already checked out the info in the handbook as well as that article at onlamp. alas, no results. 2) my desktop -- XFree86-4.3.0,1 and window manger -- fluxbox-0.1.14_2. hope this helps. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/dsp inaccessible
I had a problem with KDE and arts at one time. IIRC, I had to manually point the applications at the different virtual sound devices. What sound server does fluxbox use? Also, what sound card are you running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]