Re: XMMS and CD Audio Broken-SOLVED

2003-03-15 Thread Lonnie Sutton
Thanks to all who replied and for the good advice and troubleshooting
help. As is often the case, all of my problems were Operator Error and
I have managed to get myself un-fubarred again. I can now play my
audio cds using xmms, listen to NPR and BBC news on RealPlayer, and burn
cds as user, using gcombust. It's been a frustrating exercise, but
satisfying in the end.  

Thanks again for all the quick and helpful responses.
-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-13 Thread Lonnie Sutton
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 69616 invoked by uid 0); 12 Mar 2003 13:38:57 -
Received: from unknown (HELO mail1.uswest.net) (63.226.138.1)
  by mpls-mailin-01.inet.qwest.net with SMTP; 12 Mar 2003 13:38:57 -
Received: (qmail 34037 invoked by uid 0); 12 Mar 2003 13:38:57 -
Received: from unknown (HELO murphy.debian.org) (65.125.64.134)
  by mail1.uswest.net with SMTP; 12 Mar 2003 13:38:56 -
Received: from localhost (localhost [127.0.0.1])
by murphy.debian.org (Postfix) with QMQP
id C5FD21FD0D; Wed, 12 Mar 2003 07:14:23 -0600 (CST)
Received: from mail.netspeed.com.au (mail.netspeed.com.au [203.31.48.12])
by murphy.debian.org (Postfix) with ESMTP id D6D431F4A0
for [EMAIL PROTECTED]; Wed, 12 Mar 2003 06:54:40 -0600
(CST) Received: from [203.33.171.57] by mail.light.net.au (NTMail
5.06.0016/NU0474.00.5bf8a63e) with ESMTP id sbkymcaa for
[EMAIL PROTECTED]; Wed, 12 Mar 2003 23:54:12 +1100 Received:
from thebox.bloog.ddts.net ([192.168.0.2])
by leserver.bloog.ddts.net with esmtp 
(Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.35 #1 (Debian))
id 18t3Xy-0002O7-00
for [EMAIL PROTECTED]; Wed, 12 Mar 2003 21:33:18 +1100
Received: from rob by thebox.bloog.ddts.net with local (Exim 3.35 #1
(Debian))
id 18t3Xx-0007cY-00
for [EMAIL PROTECTED]; Wed, 12 Mar 2003 21:33:17 +1100
Resent-Message-ID: [EMAIL PROTECTED]
Resent-From: [EMAIL PROTECTED]
Resent-Sender: [EMAIL PROTECTED]
Resent-Date: Wed, 12 Mar 2003 07:14:23 -0600 (CST)
Date: Wed, 12 Mar 2003 21:33:17 +1100
Message-ID: [EMAIL PROTECTED]
From: Rob Weir [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Old-Return-Path: [EMAIL PROTECTED]
Subject: Re: XMMS and CD Audio Broken
Mail-Followup-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] Mime-Version: 1.0
Status:  U
X-UIDL: 1047476337.69622.7372.mpls-mailin-01.inet.qwest.net
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol=application/pgp-signature; boundary=WIyZ46R2i8wDzkSu
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.5.3i
X-Spam-Status: No, hits=-3.7 required=4.0
tests=IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,
  SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
version=2.43
X-Spam-Level: 
X-Mailing-List: [EMAIL PROTECTED] archive/latest/268165
X-Loop: [EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe:
mailto:[EMAIL PROTECTED]
List-Unsubscribe:
mailto:[EMAIL PROTECTED]
Precedence: list
 
 
 On Sat, Mar 08, 2003 at 07:33:01PM -0800, Lonnie Sutton wrote:
 On Fri, Mar 07, 2003 at 06:52:03PM +1100, Rob Weir wrote:
  Cd playing rpgorams like xmms-cdread and grip just ask the CD drive to
  play an audio CD, and they then start blitting the digital stream (or
  send analog audio directly) down a special cable to the sound card.
  Have you connected your cd drive to your soundcard?
 
 I have now, thanks, he says with a red face. As I mentioned in earlier
 replies, though the Gnome CD player, gtcd, now works OK, XMMS still does
 not see the audio CD. Since XMMS played audio CD's just fine using the
 ATAPI CD-R (which still shows up in dmesg, though the laser died), I
 have obviously gotten something simple screwed up. I'll keep trying.
 
 Oh, ok...Stupid question, but have you told xmms-cdread to use your
 other CD drive?  You can set this in the preferences-audio
 i/o-input-cdaudio-player section.
I'm the one asking the stupid questions in this thread. ;-) I have had
the device set as /dev/cdrom and the ls -l /dev/cdrom shows:
lrwxrwxrwx1 root audio   4 Mar  8 14:21 /dev/cdrom -
scd0
the ls -l /dev/scd0 reports:

brwxrwxr-x1 root cdburn11,   0 Jun 13  2001 /dev/scd0

There you can see where my confusion arises. I do not have an ATAPI
device in the system anymore. It is an all SCSI system, with the CD
burner/audio/data reader all the same device. dmesg reports the device as
follows:

  Vendor: YAMAHAModel: CRW8824S  Rev: 1.00
Type:   CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0

Also, I have the sg module installed, and lsmod reports it as follows:

sg 14960   0 

so I note that under the Used column in the lsmod report that sg is
reported with 0 use?

ls -l /dev/sg0 reports:

crw-rw1 root cdburn21,   0 Jun 13  2001 /dev/sg0

The group cdburn comes from the suggestion of the gcombust author for
being enabling using gcombust as user rather than root. I still don't
have everything set up correctly to permit me to burn. I changed the
groups and permissions as he suggested, but still no joy as far as
burning or cd playing.

 I haven't tried either of the above suggestions yet, but I did try to
 burn a CD from the command line, unsuccessfully. Not only was it an
unsuccessful

Re: XMMS and CD Audio Broken

2003-03-13 Thread Joseph A Nagy Jr
Lonnie Sutton wrote:
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 69616 invoked by uid 0); 12 Mar 2003 13:38:57 -
Received: from unknown (HELO mail1.uswest.net) (63.226.138.1)
  by mpls-mailin-01.inet.qwest.net with SMTP; 12 Mar 2003 13:38:57 -
Received: (qmail 34037 invoked by uid 0); 12 Mar 2003 13:38:57 -
Received: from unknown (HELO murphy.debian.org) (65.125.64.134)
  by mail1.uswest.net with SMTP; 12 Mar 2003 13:38:56 -
Received: from localhost (localhost [127.0.0.1])
	by murphy.debian.org (Postfix) with QMQP
	id C5FD21FD0D; Wed, 12 Mar 2003 07:14:23 -0600 (CST)
Received: from mail.netspeed.com.au (mail.netspeed.com.au [203.31.48.12])
	by murphy.debian.org (Postfix) with ESMTP id D6D431F4A0
	for [EMAIL PROTECTED]; Wed, 12 Mar 2003 06:54:40 -0600
(CST) Received: from [203.33.171.57] by mail.light.net.au (NTMail
5.06.0016/NU0474.00.5bf8a63e) with ESMTP id sbkymcaa for
[EMAIL PROTECTED]; Wed, 12 Mar 2003 23:54:12 +1100 Received:
from thebox.bloog.ddts.net ([192.168.0.2])
	by leserver.bloog.ddts.net with esmtp 
	(Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.35 #1 (Debian))
	id 18t3Xy-0002O7-00
	for [EMAIL PROTECTED]; Wed, 12 Mar 2003 21:33:18 +1100
Received: from rob by thebox.bloog.ddts.net with local (Exim 3.35 #1
(Debian))
	id 18t3Xx-0007cY-00
	for [EMAIL PROTECTED]; Wed, 12 Mar 2003 21:33:17 +1100
Resent-Message-ID: [EMAIL PROTECTED]
Resent-From: [EMAIL PROTECTED]
Resent-Sender: [EMAIL PROTECTED]
Resent-Date: Wed, 12 Mar 2003 07:14:23 -0600 (CST)
Date: Wed, 12 Mar 2003 21:33:17 +1100
Message-ID: [EMAIL PROTECTED]
From: Rob Weir [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Old-Return-Path: [EMAIL PROTECTED]
Subject: Re: XMMS and CD Audio Broken
Mail-Followup-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] Mime-Version: 1.0
Status:  U
X-UIDL: 1047476337.69622.7372.mpls-mailin-01.inet.qwest.net
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol=application/pgp-signature; boundary=WIyZ46R2i8wDzkSu
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.5.3i
X-Spam-Status: No, hits=-3.7 required=4.0
	tests=IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,
	  SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
	version=2.43
X-Spam-Level: 
X-Mailing-List: [EMAIL PROTECTED] archive/latest/268165
X-Loop: [EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe:
mailto:[EMAIL PROTECTED]
List-Unsubscribe:
mailto:[EMAIL PROTECTED]
Precedence: list

On Sat, Mar 08, 2003 at 07:33:01PM -0800, Lonnie Sutton wrote:
On Fri, Mar 07, 2003 at 06:52:03PM +1100, Rob Weir wrote:
Cd playing rpgorams like xmms-cdread and grip just ask the CD drive to
play an audio CD, and they then start blitting the digital stream (or
send analog audio directly) down a special cable to the sound card.
Have you connected your cd drive to your soundcard?
I have now, thanks, he says with a red face. As I mentioned in earlier
replies, though the Gnome CD player, gtcd, now works OK, XMMS still does
not see the audio CD. Since XMMS played audio CD's just fine using the
ATAPI CD-R (which still shows up in dmesg, though the laser died), I
have obviously gotten something simple screwed up. I'll keep trying.
Oh, ok...Stupid question, but have you told xmms-cdread to use your
other CD drive?  You can set this in the preferences-audio
i/o-input-cdaudio-player section.
I'm the one asking the stupid questions in this thread. ;-) I have had
the device set as /dev/cdrom and the ls -l /dev/cdrom shows:
lrwxrwxrwx1 root audio   4 Mar  8 14:21 /dev/cdrom -
scd0
the ls -l /dev/scd0 reports:
brwxrwxr-x1 root cdburn11,   0 Jun 13  2001 /dev/scd0

There you can see where my confusion arises. I do not have an ATAPI
device in the system anymore. It is an all SCSI system, with the CD
burner/audio/data reader all the same device. dmesg reports the device as
follows:
  Vendor: YAMAHAModel: CRW8824S  Rev: 1.00
Type:   CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
Also, I have the sg module installed, and lsmod reports it as follows:

sg 14960   0 

so I note that under the Used column in the lsmod report that sg is
reported with 0 use?
ls -l /dev/sg0 reports:

crw-rw1 root cdburn21,   0 Jun 13  2001 /dev/sg0

The group cdburn comes from the suggestion of the gcombust author for
being enabling using gcombust as user rather than root. I still don't
have everything set up correctly to permit me to burn. I changed the
groups and permissions as he suggested, but still no joy as far as
burning or cd playing.

I haven't tried either of the above suggestions yet, but I did try to
burn a CD from the command line, unsuccessfully. Not only was it an
unsuccessful attempt, but I locked up my machine hard. First time I have
done that in a long time. cdrecord started out OK

Re: XMMS and CD Audio Broken

2003-03-12 Thread Rob Weir
On Sat, Mar 08, 2003 at 07:33:01PM -0800, Lonnie Sutton wrote:
 On Fri, Mar 07, 2003 at 06:52:03PM +1100, Rob Weir wrote:
  Cd playing rpgorams like xmms-cdread and grip just ask the CD drive to
  play an audio CD, and they then start blitting the digital stream (or
  send analog audio directly) down a special cable to the sound card.
  Have you connected your cd drive to your soundcard?
 
 I have now, thanks, he says with a red face. As I mentioned in earlier
 replies, though the Gnome CD player, gtcd, now works OK, XMMS still does
 not see the audio CD. Since XMMS played audio CD's just fine using the
 ATAPI CD-R (which still shows up in dmesg, though the laser died), I
 have obviously gotten something simple screwed up. I'll keep trying.

Oh, ok...Stupid question, but have you told xmms-cdread to use your
other CD drive?  You can set this in the preferences-audio
i/o-input-cdaudio-player section.

 I haven't tried either of the above suggestions yet, but I did try to
 burn a CD from the command line, unsuccessfully. Not only was it an
 unsuccessful attempt, but I locked up my machine hard. First time I have
 done that in a long time. cdrecord started out OK, and reported all
 the correct data re the drive, media and iso file, but just after the
 warning that the burn would start, and it reported the buffer was ready,
 there was a message re OPC and then the machine locked up, with the
 hard drive light on, and of course, nothing burned. Scanbus reports the
 hard drives and the burner correctly. When I check dmesg, the burner is
 reported as sr0, and identified correctly.

Gah, that's odd.  If you've loaded ide-scsi, sg and sr_mod in the
correct order, it should Just Work.  If cdrecord sees it as a SCSI
device, then I'd say you've got that part right already...

 When I look in /proc/devices both sr and sg are shown as block
 devices. If I do a ls -l for the devices, I get the following:
 
 lrwxrwxrwx1 root cdrom   4 Mar  8 14:21 /dev/cdrom -
 scd0
 brw-rw1 root cdrom 11,   0 Jun 13  2001 /dev/scd0
 crw---1 root root  21,   0 Jun 13  2001 /dev/sg0
 brw-rw-rw-1 root cdrom 11,   0 Mar  5 19:57 /dev/sr0
 
 Do I need to have two devices at work here, i.e., scd0 for the reader
 and scd1 for the burner?

Are you using devfs?  If not, then you'll have an enormous number of
device nodes in /dev that don't correspond to installed hardware.  Even
if you are, the device naming is a little odd.  scd0 will be the first
scsi cd drive, and sg0 will be the first generic SCSI device.
Unfortunately, depending on how your system is setup, sg0 and scd0 may
not be referring to the same physical drive.  It'd depend on the physical
arrangement of your disks, which I can't remember from the original
question :)

Either way, you'll have an scdX device for each cd reader, and an sgN
driver for each generic scsi device (which is probably only your cd
burner).

   One last piece of information for this mix is that when I try to use
   RealPlayer, which also worked just fine (RealPlayer8) until this recent
   development, I get the error message Cannot open the audio device.
   Another application may be using it. This even though there is no audio
   device being used that I am aware of.
  
  You can check with 'fuser -v /dev/dsp' and 'fuser -v /dex/mixer', and
  it'll list whichever programs have them open.
 
 I tried both of these commands as root after getting the same error
 message with RealPlayer, and neither returned anything. Since RealPlayer
 worked the other day, not sure what has gotten munged up.

No idea about this, then.  Unless the permissions on
/dev/{dsp,audio,mixer} have got messed up somehow; they should be owned
by root.audio, with crw-rw.

-- 
Rob Weir [EMAIL PROTECTED]http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: XMMS and CD Audio Broken

2003-03-09 Thread Brian Clark
* Lonnie Sutton ([EMAIL PROTECTED]) [Mar 08. 2003 21:28]:

 On Fri, Mar 07, 2003 at 03:05:25AM -0500, Brian Clark wrote:

  Package: xmms-cdread
  .
  Description: Input plugin for XMMS that reads audio data from CDs
  XMMS Input plugin which will read an audio CD as data and play it in
  realtime. This allows XMMS to use an audio CD for visualization, and
  also lets you play an audio cd from a drive which does not have an
  audio cd cable connected.

 Brian,

Hi Lonnie.

 Thanks for your help. As you may have seen in my reply to Michael, I
 had *not* changed the audio cable from the defunct drive to the burner
 drive, as I should have. It is now done, and as I said, it works using
 the Gnome player, gtcd. However, still no joy using XMMS.

One small point of clarification:

(see output of `apt-cache show xmms-cdread', above.)

This allows XMMS to use an audio CD for visualization, and also lets
you play an audio cd from a drive which does not have an audio cd cable
connected.

Just so you know, I have xmms playing CDs from a CD-ROM without an audio
cable connected to the sound card, so I can say for sure that it works
as advertised. :-) 

-- 
Brian Clark | Debian GNU/Linux: 3950 packages to keep you busy.
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Warning: you are logged into reality as root. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-09 Thread Lonnie Sutton
On Sat, Mar 08, 2003 at 11:06:49PM +0100, Stephen Cormier wrote:
 On March 9, 2003 03:01 am, Lonnie Sutton wrote:
 
 
   Also, there is a symlink /dev/cdrom - /dec/scd0.
 
 Did you check the permissons on the /dev/scd0 I had the same problem and I 
 just had to chmod +rwx /dev/scd0 and now CD's play perfectly in XMMS.
 
 -- 
 May the source be with you!
 
 Stephen Cormier
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

Steven,

Thanks for your suggestion. I had already checked the permissions and
they were as you suggest they should be. Still no joy, so not sure what
to try next, but I will keep searching this week.

All the best.
-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-08 Thread Lonnie Sutton
On Fri, Mar 07, 2003 at 01:51:29AM -0500, Michael Waters wrote:
 On Thu, Mar 06, 2003 at 19:04 -0800, Lonnie Sutton wrote:
  I am using Woody 3.0 and XMMS 1.2.7 and until recently had both a SCSI
  CD Burner and an IDE CDROM that I used for normally reading data and
  playing CD's, using XMMS. My IDE CDROM recently died, so I thought I
  would just change my fstab to point to the SCSI burner and use that for
  the CD's I wanted to play. While XMMS plays streams OK, such as
  Shoutcast, it does not see the CD player. Just to add to the confusion,
  I tried to play a CD using Gnome's gtcd player. It sees the CD I want to
  listen to, and says it is playing it, but no sound. I made sure that the
  CD burner had group CDROM and I am listed as belonging to that group.
 
 Is the cd audio cable attached to the soundcard? :)  Is there a link
 /dev/cdrom - /dev/scd0
 
 Michael
 
 ...
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
Yes, with a *very* red face, the cd audio cable is *now* attached to the
soundcard. ;-) Also, there is a symlink /dev/cdrom - /dec/scd0.
However, XMMS still does not see the audio cd. gtcd now works OK. Not
sure what to do next, but will keep playing around.

Thanks for your reply and your help.

-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-08 Thread Lonnie Sutton
On Fri, Mar 07, 2003 at 03:05:25AM -0500, Brian Clark wrote:
 * Michael Waters ([EMAIL PROTECTED]) [Mar 07. 2003 02:10]:
 
  Is the cd audio cable attached to the soundcard? :) 
 
 Also, note the last line: 
 
 Package: xmms-cdread
 .
 Description: Input plugin for XMMS that reads audio data from CDs
  XMMS Input plugin which will read an audio CD as data and play it in
  realtime. This allows XMMS to use an audio CD for visualization, and
  also lets you play an audio cd from a drive which does not have an
  audio cd cable connected.
 
 -- 
 Brian Clark | Debian GNU/Linux: 3950 packages to keep you busy.
 Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
 It's getting about time to leave everywhere.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

Brian,

Thanks for your help. As you may have seen in my reply to Michael, I had
*not* changed the audio cable from the defunct drive to the burner
drive, as I should have. It is now done, and as I said, it works using
the Gnome player, gtcd. However, still no joy using XMMS.

-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-08 Thread Stephen Cormier
On March 9, 2003 03:01 am, Lonnie Sutton wrote:


  Also, there is a symlink /dev/cdrom - /dec/scd0.

Did you check the permissons on the /dev/scd0 I had the same problem and I 
just had to chmod +rwx /dev/scd0 and now CD's play perfectly in XMMS.

-- 
May the source be with you!

Stephen Cormier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-08 Thread Sridhar M.A.
On Sat, Mar 08, 2003 at 06:07:22PM -0800, Lonnie Sutton wrote:

Thanks for your help. As you may have seen in my reply to Michael, I had
*not* changed the audio cable from the defunct drive to the burner
drive, as I should have. It is now done, and as I said, it works using
the Gnome player, gtcd. However, still no joy using XMMS.

I too have observed this. I have a cdwriter and a plain cd. Am using
ide-scsi on both the drives. Could not get ide-scsi to ignore the plain
drive. Xmms never recognised the plain cd-drive as an audio cd-drive. If
you have a kernel without ide-scsi support, try xmms under that. You
might succeed in playing audio cd's off that drive.

Regards,

-- 
Sridhar M.A.

To see you is to sympathize.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-08 Thread Lonnie Sutton
On Fri, Mar 07, 2003 at 06:52:03PM +1100, Rob Weir wrote:
 On Thu, Mar 06, 2003 at 07:04:09PM -0800, Lonnie Sutton wrote:
  I am using Woody 3.0 and XMMS 1.2.7 and until recently had both a SCSI
  CD Burner and an IDE CDROM that I used for normally reading data and
  playing CD's, using XMMS. My IDE CDROM recently died, so I thought I
  would just change my fstab to point to the SCSI burner and use that for
  the CD's I wanted to play. While XMMS plays streams OK, such as
  Shoutcast, it does not see the CD player. Just to add to the confusion,
  I tried to play a CD using Gnome's gtcd player. It sees the CD I want to
  listen to, and says it is playing it, but no sound. I made sure that the
  CD burner had group CDROM and I am listed as belonging to that group.
 
 Cd playing rpgorams like xmms-cdread and grip just ask the CD drive to
 play an audio CD, and they then start blitting the digital stream (or
 send analog audio directly) down a special cable to the sound card.
 Have you connected your cd drive to your soundcard?

I have now, thanks, he says with a red face. As I mentioned in earlier
replies, though the Gnome CD player, gtcd, now works OK, XMMS still does
not see the audio CD. Since XMMS played audio CD's just fine using the
ATAPI CD-R (which still shows up in dmesg, though the laser died), I
have obviously gotten something simple screwed up. I'll keep trying.

  As long as I am talking about problems with the CD Burner, I should
  mention that I have not gotten gcombust to work either. It tells me that
  I am not using cdrecord as root, which is true, I am trying to burn a CD
  as a user.
 
 Install sudo, and use it.  Or give your user rw access to the generic
 SCSI devices (/dev/sg{0.1}) and deal with the consequences (like
 possibly not being able to burn at high speeds, since cdrecord can't
 alter it's priority or lock pages in RAM and such...it should still work
 on a 'reasonable' system)...it sucks either way :/

I haven't tried either of the above suggestions yet, but I did try to
burn a CD from the command line, unsuccessfully. Not only was it an
unsuccessful attempt, but I locked up my machine hard. First time I have
done that in a long time. cdrecord started out OK, and reported all
the correct data re the drive, media and iso file, but just after the
warning that the burn would start, and it reported the buffer was ready,
there was a message re OPC and then the machine locked up, with the
hard drive light on, and of course, nothing burned. Scanbus reports the
hard drives and the burner correctly. When I check dmesg, the burner is
reported as sr0, and identified correctly.

  I should mention that I can read data from the SCSI burner without any
  problem, so I believe the fstab is OK.
 
 Yep, but cdrecord doesn't know or care about fstab, it uses the 'generic
 SCSI' devices instead of particular disks.

When I look in /proc/devices both sr and sg are shown as block
devices. If I do a ls -l for the devices, I get the following:

lrwxrwxrwx1 root cdrom   4 Mar  8 14:21 /dev/cdrom -
scd0
brw-rw1 root cdrom 11,   0 Jun 13  2001 /dev/scd0
crw---1 root root  21,   0 Jun 13  2001 /dev/sg0
brw-rw-rw-1 root cdrom 11,   0 Mar  5 19:57 /dev/sr0

Do I need to have two devices at work here, i.e., scd0 for the reader
and scd1 for the burner?

  One last piece of information for this mix is that when I try to use
  RealPlayer, which also worked just fine (RealPlayer8) until this recent
  development, I get the error message Cannot open the audio device.
  Another application may be using it. This even though there is no audio
  device being used that I am aware of.
 
 You can check with 'fuser -v /dev/dsp' and 'fuser -v /dex/mixer', and
 it'll list whichever programs have them open.

I tried both of these commands as root after getting the same error
message with RealPlayer, and neither returned anything. Since RealPlayer
worked the other day, not sure what has gotten munged up.

  Thanks in advance for any advice or help. I have read all the README's
  and FM's I could find.
 
 Hmm, yeah, this sort of stuff is more common folk-knowledge than stuff
 that anyone's written down...

Thanks again for all of the help and suggestions.

 /me gets an idea for the weekend

Hope your weekend has been a great one and your idea worked out as you
planned. It has been a very cold, damp day here, so not a bad day to be
messing about with computers and troubleshooting, even if all not
solved. At least I have one more day of the weekend to go, and to work
around with this problem. Not sure what I will try next, but I will do a
little more reading and see what I can work out.

-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. 

Re: XMMS and CD Audio Broken

2003-03-07 Thread Brian Clark
* Michael Waters ([EMAIL PROTECTED]) [Mar 07. 2003 02:10]:

 Is the cd audio cable attached to the soundcard? :) 

Also, note the last line: 

Package: xmms-cdread
.
Description: Input plugin for XMMS that reads audio data from CDs
 XMMS Input plugin which will read an audio CD as data and play it in
 realtime. This allows XMMS to use an audio CD for visualization, and
 also lets you play an audio cd from a drive which does not have an
 audio cd cable connected.

-- 
Brian Clark | Debian GNU/Linux: 3950 packages to keep you busy.
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
It's getting about time to leave everywhere.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



XMMS and CD Audio Broken

2003-03-06 Thread Lonnie Sutton
I am using Woody 3.0 and XMMS 1.2.7 and until recently had both a SCSI
CD Burner and an IDE CDROM that I used for normally reading data and
playing CD's, using XMMS. My IDE CDROM recently died, so I thought I
would just change my fstab to point to the SCSI burner and use that for
the CD's I wanted to play. While XMMS plays streams OK, such as
Shoutcast, it does not see the CD player. Just to add to the confusion,
I tried to play a CD using Gnome's gtcd player. It sees the CD I want to
listen to, and says it is playing it, but no sound. I made sure that the
CD burner had group CDROM and I am listed as belonging to that group.

I have not installed Gnome or KDE, as I am using WindowMaker and like it
a lot.

As long as I am talking about problems with the CD Burner, I should
mention that I have not gotten gcombust to work either. It tells me that
I am not using cdrecord as root, which is true, I am trying to burn a CD
as a user.

I should mention that I can read data from the SCSI burner without any
problem, so I believe the fstab is OK.

One last piece of information for this mix is that when I try to use
RealPlayer, which also worked just fine (RealPlayer8) until this recent
development, I get the error message Cannot open the audio device.
Another application may be using it. This even though there is no audio
device being used that I am aware of.

Any sound gurus that can point me in a useful troubleshooting direction?

Thanks in advance for any advice or help. I have read all the README's
and FM's I could find.
-- 


Lonnie Sutton - [EMAIL PROTECTED] - Bainbridge Island, WA 98110



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS and CD Audio Broken

2003-03-06 Thread Michael Waters
On Thu, Mar 06, 2003 at 19:04 -0800, Lonnie Sutton wrote:
 I am using Woody 3.0 and XMMS 1.2.7 and until recently had both a SCSI
 CD Burner and an IDE CDROM that I used for normally reading data and
 playing CD's, using XMMS. My IDE CDROM recently died, so I thought I
 would just change my fstab to point to the SCSI burner and use that for
 the CD's I wanted to play. While XMMS plays streams OK, such as
 Shoutcast, it does not see the CD player. Just to add to the confusion,
 I tried to play a CD using Gnome's gtcd player. It sees the CD I want to
 listen to, and says it is playing it, but no sound. I made sure that the
 CD burner had group CDROM and I am listed as belonging to that group.

Is the cd audio cable attached to the soundcard? :)  Is there a link
/dev/cdrom - /dev/scd0

Michael

...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]