Debian: CD player problems

Debian: CD player problems

Post by Eddy » Sun, 31 Dec 1899 09:00:00



Dear world,

Before Christmas I decided to replace Slackware Linux :-) by Debian 2.1
:-( in the hope that Debian would be easier to upgrade in the future.

Among the things that no longer work properly now is audio CD playing.

I tried all the CD player packages available for Debian 2.1. Most of
them didn't give me a single note. Workman only plays the first note of
each track when I klick on one of the track number buttons. After the
first half second: silence. The only player that accepts doing some work
for me is xmcd. That's the same program that I also used with Slackware
before. But even xmcd no longer works as well as it used to. The "next
track" / "previous track" buttons don't work and the playlist is
ignored, i. e. tracks excluded from it are still played. When I click
"previous track" quickly several times xmcd crashes and the music
continues to play.

When I start xmcd with the "-debug" option I get messages like this one:

  * PREVTRK

  IOCTL: CDROM_DRIVE_STATUS arg=0x7fffffff ret=-1
  CD audio: ioctl error on /dev/hdc: cmd=CDROM_DRIVE_STATUS errno=1

The hardware is the same as it was under Slackware and the kernel
version (2.0.38) and configuration are the same, too. The mixer I use is
Tkmixer and the kernel is patched with Thorsten Knabe's AD1816 sound
driver module. The CDROM drive is recognized by the kernel at boot time
and I can read data CDs. The only obvious difference is that the
Slackware version I used was still libc5-based.

I spent the last few weeks of my life trying to figure out the reasons
for my problems. I removed the Debian packages with lesstif and
installed the statically linked Motif version of xmcd from Ti Kan's web
site instead. This resulted in some of the controls behaving a bit more
sensibly, but the basic problems are still there. So lesstif is
obviously not to blame.

I also found out that "next/prev track" work allright when there is no
database entry for the CD. So the problem seems to be associated with
CDDB, or the passing of information from the CD database to the drive.

Could anyone tell me what's going on or what I should do next to isolate
this problem?

Thanks in advance for your help.

Hans-Peter Fischer

P.S. When investigating this matter I discovered that I had two copies
of the kernel header files on my machine: one under /usr/include/linux
and one under /usr/src/linux/include/linux. Why?

--
Visit http://www.hei-news.de/

 
 
 

Debian: CD player problems

Post by Paul Kimo » Sun, 31 Dec 1899 09:00:00


[c.o.l.hardware snipped because I am not responding to that part]


> P.S. When investigating this matter I discovered that I had two copies
> of the kernel header files on my machine: one under /usr/include/linux
> and one under /usr/src/linux/include/linux. Why?

This is by design.  See README.Debian.gz in /usr/share/doc/libc6
(or /usr/doc/libc6).

--


 
 
 

Debian: CD player problems

Post by Eddy » Sun, 31 Dec 1899 09:00:00




> > P.S. When investigating this matter I discovered that I had two copies
> > of the kernel header files on my machine: one under /usr/include/linux
> > and one under /usr/src/linux/include/linux. Why?

> This is by design.  See README.Debian.gz in /usr/share/doc/libc6
> (or /usr/doc/libc6).

> --


Thanks for the hint.
I have found the information you probably refer to in
/usr/doc/libc6/FAQ.Debian.gz and in the various copies of
README.headers.gz I meanwhile found scattered over my directory tree.

However, this raises a new question for me, probably because I do not
fully understand these texts:

I had to install the sources of SANE because the version of SANE that
comes with Debian slink is too old for my scanner. "man 5 sane-scsi"
says you should increase the value of SG_BIG_BUFF in
/usr/include/scsi/sg.h (and this really makes a difference for
scanning). How can I do this in Debian if, as seems to be the case, the
header files must correspond to those libc was compiled with?

Do I have to recompile libc6 (and other things), or can I change the
value for the kernel and SANE only and leave the old value in
/usr/include...? Or would it be better not to change this at all? And am
I the only one who thinks this is a mess?

Any help would once again be highly appreciated.

Thanks.

Hans-Peter Fischer

--
Visit http://www.hei-news.de/

 
 
 

Debian: CD player problems

Post by Gordon Haverlan » Sun, 31 Dec 1899 09:00:00



> Dear world,

> Before Christmas I decided to replace Slackware Linux :-) by Debian 2.1
> :-( in the hope that Debian would be easier to upgrade in the future.

It sounds to me that the Debian kernel you are running is
missing
something in its configuration that your Slackware kernel
had.  Did
you custom compile a kernel?  That would be a good place to
start.

Gord
#include <disclaimer.h>

 
 
 

Debian: CD player problems

Post by Eddy » Sun, 31 Dec 1899 09:00:00




> > Dear world,

> > Before Christmas I decided to replace Slackware Linux :-) by Debian 2.1
> > :-( in the hope that Debian would be easier to upgrade in the future.

> It sounds to me that the Debian kernel you are running is
> missing
> something in its configuration that your Slackware kernel
> had.  Did
> you custom compile a kernel?  That would be a good place to
> start.

> Gord
> #include <disclaimer.h>

The problem is more or less solved. I was stupid enough to overlook the
fact that the configurations of xmcd weren't exacly the same. The
problem exists in both distributions when "playOnLoad" is set to "True".
It's o. k. when I set that to "False".

Thanks.

Hans-Peter

--
Visit http://www.hei-news.de/

 
 
 

1. Problem- Video CD- CD to CD copying- Does not play in hardware player

Hi All

I use RH 7.3 with 128MB RAM. I wanted to copy a Video CD given to me by a
friend. I copied the contents to Harddisk and copied it onto CD. This did
not play in the hardware player.

Then I tried making an image and copying it by
dd if=/dev/scd1 of=vid1.iso

and then writing it using cdrecord to another CD. This also did not play in
the hardware player.
I have made copies of bootable linux distro CD's this way and there was
absolutely no problem. Why video CD alone is creating problem? What else is
to be done?

Cheeka
PS: I made a copy of video CD using cd copy using Nero in  Windows and that
played in h/w player. What is to be done in Linux?

2. Ultra SCSI Controller and NICs, any suggestions

3. CD Player and MP3 Player for Solaris 8

4. SMC 10/100 9232 EISA Slow Tranfers Solaris 2.6

5. MP# player and CD player

6. procps.free.dif

7. Z-Player CD-Rom player from ZDS ?

8. USB sound card

9. CD-ROM Drive Errors w/ Debian Installation - Bootable CD Problem?

10. Debian Donations from KDE/Debian CD

11. COMMERCIAL: Offical Debian 1.3 two CD set $4.95, Free to , Debian , Developers

12. CD Player for IDE CD-ROM's

13. Video-Cd and CD-I Players.