Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #2821 > unrolled thread

CD player not working quite properly

Started byHaines Brown <haines@engels.histomat.net>
First post2015-06-29 11:11 -0400
Last post2015-07-04 20:20 -0400
Articles 8 — 6 participants

Back to article view | Back to comp.os.linux.hardware


Contents

  CD player not working quite properly Haines Brown <haines@engels.histomat.net> - 2015-06-29 11:11 -0400
    Re: CD player not working quite properly Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-06-30 05:32 +0000
      Re: CD player not working quite properly Haines Brown <haines@engels.histomat.net> - 2015-06-30 07:59 -0400
        Re: CD player not working quite properly Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-06-30 19:14 +0000
          Re: CD player not working quite properly "Peter \"Shaggy\" Haywood" <phaywood@alphalink.com.au> - 2015-07-04 13:16 +1000
            Re: CD player not working quite properly Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-07-04 17:01 -0400
              Re: CD player not working quite properly Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-07-07 00:15 +0200
            Re: CD player not working quite properly "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2015-07-04 20:20 -0400

#2821 — CD player not working quite properly

FromHaines Brown <haines@engels.histomat.net>
Date2015-06-29 11:11 -0400
SubjectCD player not working quite properly
Message-ID<87fv5a4ki9.fsf@engels.histomat.net>
I had a serious stuttering problem with a new ASUS CD drive when playing
an audio CD. It was largely fixed when following a recommendation I
replaced it with another ASUS drive, same model.

However, I still have some problems: a brief quiet pause, usually toward
the beginning of a disk, and the eject button stopped working (I have to
bring up a terminal and issue an eject command).

I'd like to ask a very general question: does it make any sense to
replace the drive with some other brand or model in the hope these
problems go? Does the eject problem a driver rather than drive issue?
 
I'm raising this question at the same time I raise another on the off
chance they are somehow connected.

[toc] | [next] | [standalone]


#2823

FromHenrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Date2015-06-30 05:32 +0000
Message-ID<559229d6$0$295$14726298@news.sunsite.dk>
In reply to#2821
On Mon, 29 Jun 2015 11:11:42 -0400, Haines Brown wrote:
> I had a serious stuttering problem with a new ASUS CD drive when playing
> an audio CD.

Which program(s) do you use to play audio cd? Do you use the analog 
output of the CD drive connected to your sound card by a cable or does 
your software read digital data from the CD?

> It was largely fixed when following a recommendation I
> replaced it with another ASUS drive, same model.

What kind of problems were fixed by replacing the drive?

> However, I still have some problems: a brief quiet pause, usually toward
> the beginning of a disk,

This kind of pause might be possible to fix by setting the CD to a lower 
speed, waiting for a CD to spin up to a higher speed might cause a pause. 
To lower the speed you could use a command like:

hdparm -E2 /dev/cdrom

or

eject -x2

> and the eject button stopped working (I have to
> bring up a terminal and issue an eject command).

The eject button is blocked when the CD file system is mounted. Even if 
you did not mount it yourself by some command you might have some desktop 
environment that mounts the CD and maybe also brings up some graphical 
file manager. Running eject will umount the file system (if possible) and 
if the umount was successful eject the drive.

> I'd like to ask a very general question: does it make any sense to
> replace the drive with some other brand or model in the hope these
> problems go? Does the eject problem a driver rather than drive issue?

No, replacing the drive is not going to help. Your eject issue is 
supposed to be that way. A user pressing the eject button (maybe by 
accident) is not supposed to be able to break any software reading data 
from the disk. When it comes to your pause it might help to replace the 
drive if you are able to find a drive old enough to only be 1x or maybe 
2x speed. Those drives were able to spin up fast enough so you didn't 
have to wait for them.

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc351(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

[toc] | [prev] | [next] | [standalone]


#2826

FromHaines Brown <haines@engels.histomat.net>
Date2015-06-30 07:59 -0400
Message-ID<87zj3h2ypv.fsf@engels.histomat.net>
In reply to#2823
Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:

> On Mon, 29 Jun 2015 11:11:42 -0400, Haines Brown wrote:
>> I had a serious stuttering problem with a new ASUS CD drive when
>> playing an audio CD.
>
> Which program(s) do you use to play audio cd? Do you use the analog 
> output of the CD drive connected to your sound card by a cable or does  
> your software read digital data from the CD?

When I was experiencing the stuttering problem, I moved from
alsaplayer to audacious. I now discover that while audacious plays a cd,
alsaplayer no longer does. Something apparently messed up with modules.  
I had put this line into /etc/alsa-base.conf:
options snd slots=snd-virtuoso,snd-hda-intel,snd-hda-intel

I use a digital connection to the drive.

>> It was largely fixed when following a recommendation I
>> replaced it with another ASUS drive, same model.
>
> What kind of problems were fixed by replacing the drive?

Stuttering so bad a disk wouldn't play at all. 

>> However, I still have some problems: a brief quiet pause, usually toward
>> the beginning of a disk,
>
> This kind of pause might be possible to fix by setting the CD to a lower 
> speed, waiting for a CD to spin up to a higher speed might cause a pause. 
> To lower the speed you could use a command like:
>
> hdparm -E2 /dev/cdrom
>
> or
>
> eject -x2

Thanks. Never would have occurred to me. Giving it a try.

>> and the eject button stopped working (I have to
>> bring up a terminal and issue an eject command).
>
> The eject button is blocked when the CD file system is mounted. Even if 
> you did not mount it yourself by some command you might have some desktop 
> environment that mounts the CD and maybe also brings up some graphical 
> file manager. Running eject will umount the file system (if possible) and 
> if the umount was successful eject the drive.

I now can't reproduce the problem. When I hit the eject button, the
drive LED comes on and ejects the disk. This consistently failed to work
yesterday and consistently works now. Only change was that I issued the
eject -x2 command as you suggested, and I've been switching back and
forth between alsaplayer and audacious. 

I don't run a desktop environment or have a file manager. I manage files
from terminal CLI or in emacs.

>> I'd like to ask a very general question: does it make any sense to
>> replace the drive with some other brand or model in the hope these
>> problems go? Does the eject problem a driver rather than drive issue?
>
> No, replacing the drive is not going to help. Your eject issue is 
> supposed to be that way. A user pressing the eject button (maybe by 
> accident) is not supposed to be able to break any software reading data 
> from the disk. When it comes to your pause it might help to replace the 
> drive if you are able to find a drive old enough to only be 1x or maybe 
> 2x speed. Those drives were able to spin up fast enough so you didn't 
> have to wait for them.

It sounds like you are saying that pressing the eject button won't work
as long as the disk is mounted. I'm surprised the CD disk gets mounted
at all for a audio CD play, and in fact $ mount does not tell me it is
mounted during a CD play. If a mount is blocking eject, then the problem
would seem to have been that the drive was not getting unmounted at end
of play. Is this a driver function? 

I'd like to get my alsaplayer working because I prefer it to audacious,
but alsaplayer does not seem to be getting a signal to the interface
file.  

[toc] | [prev] | [next] | [standalone]


#2828

FromHenrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Date2015-06-30 19:14 +0000
Message-ID<5592eaaa$0$291$14726298@news.sunsite.dk>
In reply to#2826
On Tue, 30 Jun 2015 07:59:56 -0400, Haines Brown wrote:
> I use a digital connection to the drive.

Using an analog connection might save you some trouble if you think it is 
messy when more than one program tries to access /dev/dsp or /dev/audio.
 
> I now can't reproduce the problem. When I hit the eject button, the
> drive LED comes on and ejects the disk.

If the problem comes back, check if the CD is mounted.

> If a mount is blocking eject, then the problem
> would seem to have been that the drive was not getting unmounted at end
> of play.

It is possible to play an audio CD without mounting it and such playing 
gets interrupted if eject button is pressed.
 
regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc351(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

[toc] | [prev] | [next] | [standalone]


#2830

From"Peter \"Shaggy\" Haywood" <phaywood@alphalink.com.au>
Date2015-07-04 13:16 +1000
Message-ID<6qvj6c-e55.ln1@walter.foo>
In reply to#2828
Groovy hepcat Henrik Carlqvist was jivin' in comp.os.linux.hardware on Wed,
1 Jul 2015 05:14 am. It's a cool scene! Dig it.

> On Tue, 30 Jun 2015 07:59:56 -0400, Haines Brown wrote:
>> I use a digital connection to the drive.
> 
> Using an analog connection might save you some trouble if you think it is

  I haven't seen a (new) optical drive that supports that in years. They
just don't make them with analog output anymore (as far as I'm aware).
  Haines, your problem with alsaplayer could be because you don't have
analog audio from the drive. How are you trying to play it? Do you use the
CD.cdda URI?
  Another possibility is that the new drive has been assigned a new device
node by udev's persistent CD rules. Check the name of your drive. Try this:

ls -lh /dev/cd*

If /dev/cdrom is not listed in the output, or it is a link to a non-existent
file, then that's no doubt your problem. Try changing the cdda.device
setting in your config file to refer to the correct name of your drive. Or
you could edit /etc/udev/rules.d/70-persistent-cd.rules to ensure your
drive is given the correct name (and sym-link) when you reboot; but don't
do that if you don't know exactly what you're doing.

> messy when more than one program tries to access /dev/dsp or /dev/audio.
>  
>> I now can't reproduce the problem. When I hit the eject button, the
>> drive LED comes on and ejects the disk.
> 
> If the problem comes back, check if the CD is mounted.
> 
>> If a mount is blocking eject, then the problem
>> would seem to have been that the drive was not getting unmounted at end
>> of play.
> 
> It is possible to play an audio CD without mounting it and such playing
> gets interrupted if eject button is pressed.

  Audio CDs do not mount. They don't have a file system. Some programs lock
the drive, however. The eject command unlocks it before ejecting the disc.
Check your software's documentation.

-- 


----- Dig the NEW and IMPROVED news sig!! -----


-------------- Shaggy was here! ---------------
              Ain't I'm a dawg!!

[toc] | [prev] | [next] | [standalone]


#2831

FromLew Pitcher <lew.pitcher@digitalfreehold.ca>
Date2015-07-04 17:01 -0400
Message-ID<tQXlx.87194$k44.30558@fx15.iad>
In reply to#2830
On Friday July 3 2015 23:16, in comp.os.linux.hardware, "Peter "Shaggy"
Haywood" <phaywood@alphalink.com.au> wrote:

[snip]
> 
>   Audio CDs do not mount. They don't have a file system.

Audio CDs have a filesystem (following the ISO 9660 standard), and (with the
correct filesystem driver), can be mounted.

See http://users.elis.ugent.be/~mronsse/cdfs/
for details.


-- 
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

[toc] | [prev] | [next] | [standalone]


#2834

FromPascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Date2015-07-07 00:15 +0200
Message-ID<mneulf$omu$1@saria.nerim.net>
In reply to#2831
Lew Pitcher a écrit :
> On Friday July 3 2015 23:16, in comp.os.linux.hardware, "Peter "Shaggy"
> Haywood" <phaywood@alphalink.com.au> wrote:
> 
>>   Audio CDs do not mount. They don't have a file system.
> 
> Audio CDs have a filesystem (following the ISO 9660 standard), and (with the
> correct filesystem driver), can be mounted.

Err, no. Audio tracks are not files and audio CDs don't follow ISO 9660.

> See http://users.elis.ugent.be/~mronsse/cdfs/
> for details.

FUSE can "export" network services such as SSH or FTP as virtual
filesystems, but it does not mean they are filesystems. Same with audio CDs.

[toc] | [prev] | [next] | [standalone]


#2832

From"David W. Hodgins" <dwhodgins@nomail.afraid.org>
Date2015-07-04 20:20 -0400
Message-ID<op.x09xw0i3a3w0dxdave@hodgins.homeip.net>
In reply to#2830
On Fri, 03 Jul 2015 23:16:53 -0400, Peter "Shaggy" Haywood <phaywood@alphalink.com.au> wrote:

>   I haven't seen a (new) optical drive that supports that in years. They
> just don't make them with analog output anymore (as far as I'm aware).

I've never seen a sata optical drive with an analog output, but ide drives
are still available that have it.

Regards, Dave Hodgins

-- 
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.hardware


csiph-web