Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 1998 21:40:17 +0100
From:      Adam Ford <adam@fordys.net>
To:        multimedia@FreeBSD.ORG
Subject:   CD ROM Audio, wcd0?
Message-ID:  <19980531214017.A469@fordys.net>

next in thread | raw e-mail | index | archive | help
Hiya,

I've been having a real prob getting all this going, but thanks to all the
past info posted to the questions mailing list etc, I've been able to
search it, and all the information I need [thanks!] - to set up a Sound
Blaster AWE64 Sound Card, and An IDE ATAPI CDROM drive..  Its a 32 Speed
"LG electronics" the heafty manual says :)

It works perfect when I mount it, and use data CD's, copying files from it
works fine.  But, playing audio CD's fail :(

Using the 'cdcontrol' program, running it by typing cdcontrol -f
/dev/wcd0a [tried wcd0c/wcd1a/wcd1c too, and made the devices].

I try and type play 01 This gives back :
cdcontrol: Input/output error

But, the strange thing is, that if I press play on the front of the CD ROM
drive, it plays fine, and will go through all tracks, playing happily,
and relaying the sound through the Sound Card.

The relevant dmesg output looks strange to me, but then, I know nothing, 
so I'm probably wrong :)

---
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <SAMSUNG WNR-31601A (1600MB)>, 32-bit, multi-block-16
wd0: 1536MB (3145968 sectors), 3121 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <FUJITSU MPB3043ATU>, 32-bit, multi-block-16
wd1: 4125MB (8448300 sectors), 8940 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CRD-8320B/1.24>, removable, accel, dma, iordis
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert disabled, unlimited logging
---

On the other machines I've looked at [a friend mailed me his debug output,
2 of them in fact :) ] - below where it said wdc1, and gave the info about
the cdrom drive, it gave back some jargon about "Tray empty, Unlocked"
etc.. - there were more examples of this on the previous posts to
-questions [found by searching www.uk.freebsd.org, where I've been
searching most of the day on and off :) ]

Mine doesn't say anything like that.. in fact, there's no report from wcd0
at all :( - I even tried adding 
device		wcd1

to the kernel too, but this too failed.

After reading exact wording on a page I read on www.freebsd.org, I
shuffled all my drives round, so that the 2 hard discs I have are both on
the primary IDE interface [wcd0], since it said something along the lines
of "the secondary interface is used for drives 3 and for, or an IDE CDROM
drive.... I thought maybe for some reason [I was getting stuck for ideas
:) ]  the CDROM should be on the last IDE interface.

The CDROM is on the controller on its own [single IDE cable], set as
Primary... it did have a hard disc with it, but as I said, I moved the
other drive to the other controller, and played with /etc/fstab
appropriately... but now I'm back to square one again! 

Cdcontrol wont' work!! Boo hoo! - neither the other version of it, cdplay,
or one of the xwindows programs, that just skips through all the tracks
treally fast, liek they aren't there, then stops! :(

I tried booting up with kernel.GENERIC too, that gave the same dmesg
output for the CDROM drive... if thats at all interesting..

I do have the following important bits in my kernel config file, I would
put a full copy, but I think maybe I wrote too much already, I tend to get
typie-happy when I start :)

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
#controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0x80ff80ff vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

options		ATAPI
options		ATAPI_STAT|C

device		wcd0

Note that I've tried both versions of the controller line, both fail
[32bit, one not], I've tried with disk support, and without, tried with a
wcd1 device too, and tried with ATAPI_STATIC, which didnt' go too well :)

Ummmm, any more ideas?

I'm all out, and I've run out of hair now!! ;)

Any ideas greatly appreciated, I've just subscribed to this list, so
hopefully I'll get the reply :)  

Thanks tons,

-- 
---------------------------------------------------------------------------
  Adam Ford, adam@fordys.demon.co.uk  | You can make it foolproof, but...
        http://www.fordys.net         | you can't make it darn fool proof.
---------------------------------------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



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