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
  •  


Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives picture

Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives

$24.99



Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$89.99



832514-B21 HPE 1TB SAS 12Gb/s 7.2K SFF SC HDD 832984-001 picture

832514-B21 HPE 1TB SAS 12Gb/s 7.2K SFF SC HDD 832984-001

$129.00



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ... picture

Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...

$71.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G picture

Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G

$60.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$703.19