Date: Fri, 29 Sep 2000 10:23:19 -0600 From: "Bert Hiddink" <hiddink@galileo.or.cr> To: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp> Cc: questions@FreeBSD.ORG Subject: More on ESS Maestro-1/2/2E driver for FreeBSD 4.1 release Message-ID: <20000929161527.5790C37B422@hub.freebsd.org> In-Reply-To: <rtgya0dhs3a.wl@dhcp-1.cent.saitama-u.ac.jp> References: In your message of "Mon, 25 Sep 2000 20:31:32 -0600" <200009260223.LAA22686@sinec.cent.saitama-u.ac.jp>
index | next in thread | previous in thread | raw e-mail
Hello, Taku,
Thanks for your two messages. I think I am getting very close!
El 28 Sep 00, a las 16:51, Taku YAMAMOTO escribó:
>> Hi, Bert!
>>
>> > However, I have some difficulties with the following in his README of
>> > this driver :
>> >
>> > #######
>> > 1. If your kernel source tree is:
>> > * 4.0-RELEASE, 4-STABLE older than May 12 2000
>> > or -current older than Mar 20 2000, apply mixer_reinit.patch.
>> > * -current newer than Aug 20 2000, apply fmtlist.patch.
>> > * -current newer than Sep 1 2000, apply mixer_current.patch
>> > (this file also contains diffs in fmtlist.patch).
>> > #######
>> >
>> > I have the FBSD 4.1. release, so I suppose I should "apply
>> > mixer_reinit.patch". However, how do I "apply" patch? Should I add
>> > the name of this file in the "SRCS" of the Makefile?
>>
>> FreeBSD 4.1-RELEASE is newer than May 12 2000.
>> So you don't need patching at all!
OK, thanks, this makes life easier!
>> > ######
>> > 3. Create additional dsp channel by issueing:
>> > foreach i (0 1 2 3)
>> > mknod dspX.$i c 30 0x000$iXX03
>> > mknod audioX.$i c 30 0x000$iXX03
>> > chmod 666 dspX.$i
>> > end
>> > Note that XX is a hexadecimal number of X.
>> > ######
>> >
>> > However, it gives and error message after issueing 'end': "Undefined
>> > variable i0003"? I do not see an error in the lines issued.
>>
>> Oops! It's my fault.
>> The correct way is:
>> mknod dspX.$i c 30 0x000${i}XX03
>> mknod audioX.$i c 30 0x000${i}XX03
>> chmod 666 dspX.$i audioX.$i
OK, I did this and the nodes are created correctly!
>> BTW you can get device nodes from devfs:
>> mkdir /devs
>> mount -t devfs devfs /devs
>> cp /devs/{audio,dsp,dspW}* /dev
>>
>> --
>> YAMAMOTO, Taku <taku@cent.saitama-u.ac.jp>
>> Member of Advanced Computer and Communication Studies Society
>> (ACCESS for short), Information Processing Center, Saitama Univ.
I'll try this later. For now, I`ll stick to the first method which worked ok!
However, after this, I still got the "device not configured" error so I went through your second
message:
>> Hi, Bert,
>>
>> At Mon, 25 Sep 2000 20:31:32 -0600,
>> Bert Hiddink <hiddink@galileo.or.cr> wrote:
>> >
>> > ...all the above seems OK but with xcdplayer in X-windows, I get "Device not configured¨...
>> To me it sounds like: "CD-ROM Device not configured".
>>
>> In other words, your CD drive and what xcdplayer wants to open
>> seems to be differ. (ie yours ATAPI, while xcdplayer expects SCSI)
OK, but I can read data CD well from my CDROM (I installed FBSD from it)?
>> Can you play CD with cdcontrol(1)?
No, that is, "cdcontrol /dev/adc0 gives": "No CD device name specified"
And "cdcontrol Status audio /dev/acd0" gives: no disc in drive /dev/cd0c. However, the CD is
there! And I understand from the output of dmesg that the CD is on /dev/acd0. See my dmesg output
further on.
>> What does cat /dev/sndstat say?
FreeBSD Audio Driver (newpcm) Sep 24 2000 16:50:01
Installed devices:
pcm0: <ESS Technology Maestro-2E> at I/O port 0xfc00 irq 11 (4p/0r channels duplex)
#### dmesg output BERT #############
[SNIP]
config> di sn0
config> di lnc0
config> di le0
config> di ie0
config> di fe0
config> di cs0
config> en pcic0
config> po pcic0 0x3e0
config> ir pcic0 11
config> iom pcic0 0xd0000
config> f pcic0 0
config> q
[SNIP]
Preloaded elf module "maestro.ko" at 0xc04520ec.
[SNIP]
atapci0: <Intel PIIX4 ATA33 controller> port 0xfe60-0xfe6f at device 5.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
[SNIP]
pcm0: <ESS Technology Maestro-2E> port 0xfc00-0xfcff irq 11 at device 12.0 on pci0
[SNIP]
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 5729MB <TOSHIBA MK6014MAP> [12416/15/63] at ata0-master using UDMA33
acd0: CDROM <CD-224E> at ata1-master using PIO4
[SNIP]
#### end dmesg output BERT #############
I hope you can give me some further ideas with this info. Sorry that the message went a bit long.
Many thanks again!
Regards,
-brt
Bert Hiddink, FUNDACION GALILEO
Correo electronico: hiddink@galileo.or.cr
Sitio: http://www.galileo.or.cr
Tel. (506) 280 8683, telefax. (506) 280 8847
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000929161527.5790C37B422>
