From owner-freebsd-questions Tue Sep 26 19:55:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sydney.worldwide.lemis.com (asbestos.linuxcare.com.au [203.17.0.30]) by hub.freebsd.org (Postfix) with ESMTP id B28AE37B424 for ; Tue, 26 Sep 2000 19:54:53 -0700 (PDT) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.9.3/8.9.3) id NAA08059; Wed, 27 Sep 2000 13:54:15 +1100 (EST) (envelope-from grog) Date: Wed, 27 Sep 2000 13:54:15 +1100 From: Greg Lehey To: Bert Hiddink Cc: questions@FreeBSD.ORG, Taku YAMAMOTO Subject: Re: ESS Maestro-1/2/2E driver for FreeBSD 4.1 release Message-ID: <20000927135415.E7583@sydney.worldwide.lemis.com> References: <20000926022349.91C4C37B422@hub.freebsd.org>; <20000927110658.A7058@sydney.worldwide.lemis.com> <200009270240.e8R2eNU06078@echunga.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: <200009270240.e8R2eNU06078@echunga.lemis.com>; from hiddink@galileo.or.cr on Tue, Sep 26, 2000 at 08:41:06PM -0600 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 26 September 2000 at 20:41:06 -0600, Bert Hiddink wrote: >>> On Monday, 25 September 2000 at 20:31:32 -0600, Bert Hiddink wrote: >>>> Hello, >>>> >>>> In order to get some sound of my Toshiba 2595 CDS, I tried to >>>> configure ESS Maestro-1/2/2E driver for FreeBSD 4.1 release. >>>> >>>> I saw from: >>>> http://access.cent.saitama-u.ac.jp/~taku/freebsd/maestro/newpcm/readme.html >>>> ... so I did: >>>> >>>> - Downloaded http://access.cent.saitama-u.ac.jp/~taku/freebsd/maestro/newpcm/20000906.tar.gz >>>> and did a ´untar´, ´make´ and ´make install´ >>>> - Added to /boot/loader.conf: maestro_load="YES" >>>> - Added ´device pcm´ to my ..conf/CUSTOM >>>> - Added ´options DEVFS´ to my ..conf/CUSTOM >>>> - Rebuild the CUSTOM kernel: seemed to work out OK (YES!!!) >>>> - When I do ´dmesg | grep pcm´ >>>> I see: >>>> pcm0: port...on pci0 >>> >>> This isn't enough. I'm currently chasing a similar problem on a >>> machine where sound used to work, and now doesn't. I would get a >>> similar message with this method, but what I see in dmesg is in fact: >>> >>> pcm0: at port 0x52c-0x533 irq 10 drq 1 flags 0xa100 on isa0 >>> device_probe_and_attach: pcm0 attach returned 6 >>> >>> See that second line? Error 6 is "device not configured" (look in >>> /usr/include/sys/errno.h for the error numbers). > > The second line does not appear in my case, only the first line (very similar). OK. >>>> - Finally, I do in /dev ´./MAKEDEV snd0´ >>>> >>>> ...all the above seems OK but when I call xcdplayer in X-windows, I >>>> get "Device not configured¨... and I am still without music! >>>> >>>> Did I overlook something? Did someone get this driver work with >>>> FreeBSD? >>> >>> Others have reported success. > > At this point, I do not have a clear understanding of what MAKEDEV > should do. I suppose it should create or activate in one way or the > other the device snd0 (in my case). MAKEDEV is a script which creates device nodes. A device node is a pseudo-file which the system uses to locate the device driver. In order to access the hardware, you need both the driver and the device node. > However, when I take a close look at /dev/ after I ran './MAKEDEV > snd0', I conclude that there is no file or device called 'snd0'. I > hope this info helps to make you see where I need some more help! Interesting. MAKEDEV has never been overly obvious or consistent, but snd0 is a particularly bad example. What it in fact makes are the following files (the '0' at the end is derived from the '0' in 'snd0'): crw-rw-rw- 1 root wheel 30, 6 Sep 27 13:50 sndstat crw-rw-rw- 1 root wheel 30, 9 Sep 27 13:50 pss0 crw-rw-rw- 1 root wheel 30, 5 Sep 27 13:50 dspW0 crw-rw-rw- 1 root wheel 30, 4 Sep 27 13:50 audio0 crw-rw-rw- 1 root wheel 30, 3 Sep 27 13:50 dsp0 crw-rw-rw- 1 root wheel 30, 2 Sep 27 13:50 midi0 crw-rw-rw- 1 root wheel 30, 1 Sep 27 13:50 sequencer0 crw-rw-rw- 1 root wheel 30, 0 Sep 27 13:50 mixer0 crw-rw-rw- 1 root wheel 30, 9 Sep 27 13:50 pss crw-rw-rw- 1 root wheel 30, 0 Sep 27 13:50 mixer crw-rw-rw- 1 root wheel 30, 4 Sep 27 13:50 audio crw-rw-rw- 1 root wheel 30, 3 Sep 27 13:50 dsp crw-rw-rw- 1 root wheel 30, 1 Sep 27 13:50 sequencer crw-rw-rw- 1 root wheel 30, 8 Sep 27 13:50 music0 crw-rw-rw- 1 root wheel 30, 8 Sep 27 13:50 music crw-rw-rw- 1 root wheel 30, 5 Sep 27 13:50 dspW This isn't your problem, anyway: the error message that you are getting means "I have found your device node, but I can't find the driver to which it refers". Unfortunately, I don't know enough about sound hardware to be able to do anything about the problem. Maybe somebody else can step in. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message