Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2000 13:54:15 +1100
From:      Greg Lehey <grog@lemis.com>
To:        Bert Hiddink <hiddink@galileo.or.cr>
Cc:        questions@FreeBSD.ORG, Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
Subject:   Re: ESS Maestro-1/2/2E driver for FreeBSD 4.1 release
Message-ID:  <20000927135415.E7583@sydney.worldwide.lemis.com>
In-Reply-To: <200009270240.e8R2eNU06078@echunga.lemis.com>; from hiddink@galileo.or.cr on Tue, Sep 26, 2000 at 08:41:06PM -0600
References:  <20000926022349.91C4C37B422@hub.freebsd.org>; <20000927110658.A7058@sydney.worldwide.lemis.com> <200009270240.e8R2eNU06078@echunga.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ESS Technology Maestro-2> 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: <CS4236> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000927135415.E7583>