* CD Player
@ 1998-01-08 3:34 mlarocque
0 siblings, 0 replies; 5+ messages in thread
From: mlarocque @ 1998-01-08 3:34 UTC (permalink / raw)
Hi folks,
I've spent the past few days looking for a audio CD player that runs
under alpha-linux without much luck. The following is an excerpt of
strace from one of the programs (playcd) that I tried:
open("/dev/cdrom", O_RDONLY) = 4
ioctl(4, CDROMREADTOCHDR, 0x120103379) = 0
ioctl(4, CDROMREADTOCENTRY, 0x120103358) = 0
ioctl(4, CDROMSUBCHNL, 0x120103368) = 0
ioctl(4, CDROMSTOP, 0x120103368) = 0
ioctl(4, CDROMPLAYTRKIND, 0x1201033cc) = -1 EIO (Input/output error)
The other programs that I tried had similar failures.
My audio system seems to be working well, as I can 'cat foo.au >
/dev/audio' with no problems.
Before I start diving in to this ioctl stuff trying to figure out
what's up, I thought that I might ask here first: Does anyone know of
program that works?
My system is:
PC164A
RHL 4.1, with all patches
Kernel 2.0.33
SB AWE64 Gold
NEC 8x SCSI CDROM (not sure of model #)
TIA for any help
Mike
<*> Michael Larocque - mlarocque@shaw.wave.ca <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CD Player
@ 1998-01-08 10:18 David Alan Gilbert
0 siblings, 0 replies; 5+ messages in thread
From: David Alan Gilbert @ 1998-01-08 10:18 UTC (permalink / raw)
mlarocque@shaw.wave.ca wrote:
>
> Hi folks,
>
> I've spent the past few days looking for a audio CD player that runs
> under alpha-linux without much luck. The following is an excerpt of
> strace from one of the programs (playcd) that I tried:
I have kscd from the KDE suite working fine.
(with kmix for volume etc.)
Dave
--
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - 0161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CD Player
[not found] <34B4A7E4.65D06242@cogency.co.uk>
@ 1998-01-08 20:26 ` Hugo van der Kooij
1998-01-08 23:10 ` Michael Larocque
1 sibling, 0 replies; 5+ messages in thread
From: Hugo van der Kooij @ 1998-01-08 20:26 UTC (permalink / raw)
On Thu, 8 Jan 1998, David Alan Gilbert wrote:
> mlarocque@shaw.wave.ca wrote:
> >
> > Hi folks,
> >
> > I've spent the past few days looking for a audio CD player that runs
> > under alpha-linux without much luck. The following is an excerpt of
> > strace from one of the programs (playcd) that I tried:
>
> I have kscd from the KDE suite working fine.
> (with kmix for volume etc.)
And if you miss the cddb stuff you can get the latest version from:
http://math.cornell.edu/~wuebben/kscd/kscd.html
Regards,
Hugo.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CD Player
[not found] <34B4A7E4.65D06242@cogency.co.uk>
1998-01-08 20:26 ` CD Player Hugo van der Kooij
@ 1998-01-08 23:10 ` Michael Larocque
1 sibling, 0 replies; 5+ messages in thread
From: Michael Larocque @ 1998-01-08 23:10 UTC (permalink / raw)
On Thu, 8 Jan 1998, David Alan Gilbert wrote:
> mlarocque@shaw.wave.ca wrote:
> >
> > Hi folks,
> >
> > I've spent the past few days looking for a audio CD player that runs
> > under alpha-linux without much luck. The following is an excerpt of
> > strace from one of the programs (playcd) that I tried:
>
> I have kscd from the KDE suite working fine.
> (with kmix for volume etc.)
>
> Dave
Thanks for the pointer Dave. I've taken a quick look at the kde page.
I don't use kde at the moment. It seems having to build/install the
kde libs just for a CD-Player may be abit over overkill ;-> , however
I'll probably give it a go when I have abit of time.
Mike
<*> Michael Larocque - mlarocque@shaw.wave.ca <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CD Player
@ 1998-01-09 8:20 Stefan Traby
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Traby @ 1998-01-09 8:20 UTC (permalink / raw)
Oachkatzlschwoaf,
> ioctl(4, CDROMPLAYTRKIND, 0x1201033cc) = -1 EIO (Input/output error)
> My audio system seems to be working well, as I can 'cat foo.au >
> /dev/audio' with no problems.
That's for sure not the problem.
If and only if it's not a Kernel bug (AXP related) there are IMHO only some
possibilities:
1) There's no audio track on your CD-ROM media. :-)
(Try another one)
2) This CDROM can't be read by your drive.
3) Your CDROM doesn't support audio at all. (SCSI-standard: Audio is
optional, and if audio is supported, _ALL_ audio related commands must
be supported. (grabbing is not part of the standard, but the IOCTL
CDROMPLAYTRKIND doesn't grab)
It performs a "PLAY AUDIO TRACK INDEX" (opcode 0x48) command.
I really don't think so. I know only one NEC drive without
SCSI audio commands. It's an old single-speed diskman clone with an
optional early SCSI-II draft compatible interface.
4) Your CDROM has a broken audio support. Try a player with
generic SCSI-support (/dev/sg?) supporting "PLAY AUDIO MSF"
for playing.
5) The program has a bug and requests a TRACK/INDEX combination
not in range.
6) The CDROM media has a bad TOC. (see 5, but it's a hardware bug :-)
7) It's however luck if CD playing even works with CDROM-ioctls.
Playing over track boundaries depends on SOTC-bit (audio mode page)
> Before I start diving in to this ioctl stuff trying to figure out
> what's up, I thought that I might ask here first: Does anyone know of
> program that works?
It doesn't look like a program problem, more like a CDROM-{media,drive}
problem.
> NEC 8x SCSI CDROM (not sure of model #)
What's about "cat /proc/scsi/scsi" ?
If you really want to know what's happen, recompile your kernel
with "Verbose SCSI error reporting" enabled and check syslog after playing
audio. (Mail me sense key/code infos if you have problems interpreting it)
I highly recommend using Michael Brecker's "Don't try this at home" album
for testing :-))
Good luck.
--
ciao -
Stefan
Stefan Traby phone: +43-3133-6107-2
Mitterlasznitzstr. 13 fax: +43-3133-6107-9
8302 Nestelbach mailto://stefan@sime.com
Austria
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-01-09 8:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <34B4A7E4.65D06242@cogency.co.uk>
1998-01-08 20:26 ` CD Player Hugo van der Kooij
1998-01-08 23:10 ` Michael Larocque
1998-01-09 8:20 Stefan Traby
-- strict thread matches above, loose matches on Subject: below --
1998-01-08 10:18 David Alan Gilbert
1998-01-08 3:34 mlarocque
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox