Results 1 to 10 of 10

Thread: CDAudio Problems

  1. #1

    CDAudio Problems

    Hi. Looking for some advice. Have Knoppix HD installed (April 18 version). I can read data files off my cdrom but can't play cdaudios. (It is also a DVD/CD-R if that makes any difference - I haven't yet checked to see whether there are any problems with the DVD or CD-R capabilities). The sound card works fine, as MP3's play OK. Do I need to have a line in the fstab for cdaudio, different from cdrom? From what I read, if the cdrom is working fine, the cdaudio should be automatic, in that it doesn't even need to be mounted. Here's what my fstab entry for my cdrom looks like:

    /dev/hdc /mnt/cdrom iso9660 noauto,ro,user,noexec 0 0

    The dmesg file confirms that hdc is the correct device:

    hdc: HL-DT-ST RW/DVD GCC-4120B, ATAPI CD/DVD-ROM drive

    However, it also talks about a SCSI host adapter a few lines lower:

    scsi0 : SCSI host adapter emulation for IDE ATAPI devices

    And, so I am wondering whether I need another line in the fstab, or whether I need to point to a different device than hdc? Any suggestions would be much appreciated. (P.S. I read previous posts going back several months and the various HOW TOs, to no avail.)

    Gerry

  2. #2
    I just discovered that if I use the physical controls on the front of the actual cdplayer, then it plays cdaudios. So, the system is clearly capable of reading the cdaudios and producing the sounds. However, it doesn't appear to be controlable via software, i.e., KsCD. Strange. What are some other cdaudio players that have worked well in Knoppix for others?

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    DVD's and CDRWs are configured with scsi emulation. Perhaps your fix will be as simple as mine was. I found that If I ran aumix the cd volume was, by default, turned down to far to be heard. CD's played but they were not heard. Run aumix and try adjusting the volume levels (especially the cd volume). Since your, post contained no error messages, it might just be that simple.

  4. #4
    Yes, the volume was quite low, and I was able to adjust it with Kmix. And, as I indicated in my follow-up post, the bottons on the front of the cddrive do actually make the cdaudio play cds through the system speakers. However, I can't control the cdaudio via any software program (or at least those I tried so far) - such as starting and stopping, changing tracks, etc.

    Re. the SCSI emulation, how does that affect how the cd write and dvd work? For example, would the device names be different in the fstab and/or mount commands (i..e., /dev/hdc worked for the cdrom - should I have additional fstab statements with different devices for the cdwrite and dvd)? In the K3b setup program (cdwriter), it says that it can't find my cdwriter. It sounds like I need to enable scsi emulation. But when I issue the "modprobe ide-scsi command, it tells me there is no such module. Is this really the case with Knoppix (April 18 release), and if so what would be the easiest way to get the scsi emulation module, assuming I need it?

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Gerry Gruber
    Yes, the volume was quite low, and I was able to adjust it with Kmix. And, as I indicated in my follow-up post, the bottons on the front of the cddrive do actually make the cdaudio play cds through the system speakers. However, I can't control the cdaudio via any software program (or at least those I tried so far) - such as starting and stopping, changing tracks, etc.
    Do you use analog or digital out from your dvd/cd-r? You might have some luck this way: Open a term and enter /etc/init.d/alsa-autoconfig


    Re. the SCSI emulation, how does that affect how the cd write and dvd work?
    It won't work w/out SCSI emulation.

    For example, would the device names be different in the fstab and/or mount commands (i..e., /dev/hdc worked for the cdrom - should I have additional fstab statements with different devices for the cdwrite and dvd)?
    No it's the same device. If it uses SCSI emulation then it would be on the SCSI BUS right? How do you see what's on the SCSI BUS?

    cdrecord -scanbus

    You can 'link' something like /dev/cdrom to your DVD/CD-R like this:

    ln -s /dev/cdrom /dev/scd0

    Then do this:

    ls -al /dev/dvd

    It should tell you that /dev/dvd is a symbolic link pointing to /dev/scd0 and who has permissions for this device.

    In the K3b setup program
    Do not- I repeat do not use the K3b setup- it will wreck your fstab. So you say "but I already did". You could search and probably figure it out, you could post your fstab OR you could boot the Knoppix cd and copy the fstab from there. It might still be OK tho if K3b setup failed to work. Using the search function I found this post on how to set up K3b

    (cdwriter), it says that it can't find my cdwriter. It sounds like I need to enable scsi emulation. But when I issue the "modprobe ide-scsi command, it tells me there is no such module. Is this really the case with Knoppix (April 18 release), and if so what would be the easiest way to get the scsi emulation module, assuming I need it?
    That is correct- there is no ide-scsi module as it is already compiled into the kernel. You just need to let LILO know that you want it to start SCSI emulation. There should already be a line in /etc/lilo.conf that looks like this:

    append="hda=ide-scsi hdb=ide-scsi hdc=ide-scsi"

    If it's not there add it. This line can include additional parameters that you want to pass on boot i.e. noscsi nopcmcia apm=power-off. Do a:

    dmesg | less

    and you should see that the kernel is starting SCSI emulation.

  6. #6
    Rick..,

    Thank you very much for your detailed advice. I will work through your suggestions and probably come back with more questions. One thing at the moment... you indicated that I need to let LILO know that I need scsi emulation. I am using LOADLIN instead (dual booting with WIN98SE). Is there a way to accomplish the same thing with LOADLIN, or do I need to set up my dual boot with LILO in order to get scsi emulation?

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Gerry Gruber
    you indicated that I need to let LILO know that I need scsi emulation. I am using LOADLIN instead (dual booting with WIN98SE). Is there a way to accomplish the same thing with LOADLIN, or do I need to set up my dual boot with LILO in order to get scsi emulation?
    Good question- sorry but I don't do windows. LILO can very easily be used for your dual boot though. Do cdrecord -scanbue and that should tell you if SCSI emulation is working because an IDE device wouldn't show up on the SCSI BUS otherwise right?

    dmesg | less

    will show you if SCSI emulation is being used as well.

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Gerry Gruber
    you indicated that I need to let LILO know that I need scsi emulation. I am using LOADLIN instead (dual booting with WIN98SE). Is there a way to accomplish the same thing with LOADLIN, or do I need to set up my dual boot with LILO in order to get scsi emulation?
    Good question- sorry but I don't do windows. LILO can very easily be used for your dual boot though. Do cdrecord -scanbus and that should tell you if SCSI emulation is working because an IDE device wouldn't show up on the SCSI BUS otherwise right?

    dmesg | less

    will show you if SCSI emulation is being used as well.

  9. #9
    Just to close the loop on this one, I have found out how to get linux to start scsi emulation using LOADLIN. It is simply a matter of adding the argument to the end of the loadlin command in the bat file. For example, my linux.bat file is now as follows:

    @echo off
    c:\loadlin c:\vmlinuz root=/dev/hdb4 ro hdc=ide-scsi

    hdb4 is the partition that I wish to boot from, and hdc is the device (my dvd/cd-rw) for which I need scsi emulation. After booting linux in this way, if I try:

    cdrecord -scanbus

    I see that scsi emulation is indeed operating, and I now have software control over my cd-audio. Thanks again, Rickenbacherus for your assistance.

  10. #10
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Glad you got it working but mostly thanks for taking the time to post your solution. Too many people forget to return and post their solution which does no one any good.

Similar Threads

  1. Replies: 40
    Last Post: 03-01-2004, 04:45 PM
  2. Knoppix Problems or Hardware Problems
    By mindmeddler2003 in forum General Support
    Replies: 1
    Last Post: 02-03-2004, 07:29 PM
  3. ideq 200s problems and more problems
    By lesshaste in forum General Support
    Replies: 2
    Last Post: 01-09-2004, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ibm server z series picture

ibm server z series

$16000.00



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$26.97



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz picture

Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz

$999.99



IBM System x3500 m3 Server picture

IBM System x3500 m3 Server

$100.00



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$65.02



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray picture

1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray

$318.00