LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-27-2003, 01:57 PM   #1
jdickin
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
No audio from cdwriter


I have recently installed Linux as the sole OS on my computer.
Processor AMD Athlon XP2200+
512MB RAM
Soundblaster Live
One hard drive 80Gig WDC connected to primary IDE bus
DVD ROM H-L Data Strorage GDR-8161B on secondary IDE bus
CDWriter LITE-ON LTR-48126S on secondary IDE bus

distribution Mandrake 9.0
Linux kernel 2.4.19

I can't get audio out of either CD drive.
I can read files from both drives.
I can hear audio from other sources.

Mandrake installation set up the DVD as an IDE device and the CDwriter as a SCSI emulated device.

I can open and close drives with KSCD, see how many tracks s and their length, spin the drive and watch the counter progress but I get no sound.

Here is a partial listing from /dev

lr-xr-xr-x 1 root root 11 Sep 27 11:13 audio -> sound/audio
lr-xr-xr-x 1 root root 13 Sep 27 11:13 cdrom -> cdroms/cdrom0
lr-xr-xr-x 1 root root 13 Sep 27 11:13 cdrom0 -> cdroms/cdrom0
lr-xr-xr-x 1 root root 13 Sep 27 11:13 cdrom1 -> cdroms/cdrom1
lr-xr-xr-x 1 root root 4 Sep 27 04:12 cdrom2 -> scd0
drwxr-xr-x 1 root root 0 Dec 31 1969 cdroms/
lr-xr-xr-x 1 root root 30 Sep 27 11:13 dvd -> ide/host0/bus1/target0/lun0/cd
lr-xr-xr-x 1 root root 32 Sep 27 04:12 hda -> ide/host0/bus0/target0/lun0/disc
lr-xr-xr-x 1 root root 33 Sep 27 04:12 hda1 -> ide/host0/bus0/target0/lun0/part1
lr-xr-xr-x 1 root root 33 Sep 27 04:12 hda2 -> ide/host0/bus0/target0/lun0/part2
lr-xr-xr-x 1 root root 33 Sep 27 04:12 hda5 -> ide/host0/bus0/target0/lun0/part5
lr-xr-xr-x 1 root root 33 Sep 27 04:12 hda6 -> ide/host0/bus0/target0/lun0/part6
lr-xr-xr-x 1 root root 30 Sep 27 11:13 hdc -> ide/host0/bus1/target0/lun0/cd
lr-xr-xr-x 1 root root 35 Sep 27 11:13 hdd -> ide/host0/bus1/target1/lun0/generic

initially, cdrom2 pointed to hdc but I changed that to scd0 when I looked at my fstab:

[john@localhost etc]$ cat fstab
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

After reading a post on a similar problem I added
ide-scsi to/etc/modules. I now looks like this:

[john@localhost etc]$ cat modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.

scsi_hostadapter
ide-scsi

from Konsole I can eject scd0, cdrom1, cdrom2 and the cdwriter drive opens
I can eject dvd, cdrom0, hdc and the dvd drive opens.

I don't know if my groups are set up right. I added 2 users to the cdrom and cdwriter groups:

[john@localhost etc]$ cat group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
mail:x:12:
news:x:13:
uucp:x:14:
man:x:15:
floppy:x:19:
games:x:20:
cdrom:x:22:john:missotis:
utmp:x:24:
usb:x:43:
cdwriter:x:80:john:missotis:
audio:x:81:
users:x:100:
nogroup:x:65534:
xgrp:x:101:xfs,gdm
ntools:x:102:
ctools:x:103:
rpm:x:104:
vcsa:x:69:
xfs:x:70:
rpc:x:71:
gdm:x:72:
pppusers:x:230:
popusers:x:231:
slipusers:x:232:
slocate:x:233:
john:x:501:
missotis:x:502:
postdrop:x:234:
ups:x:235:

Both cd drives were set to "cable select" for master/slave. I read that cable select requires a signal from the CPU to work, so I changed the jumpers to make DVD master and cdwriter slave, but that didn't help.

I also tried removing the DVD player but also no luck.

Can you help?

Thanks, John
 
Old 09-27-2003, 02:13 PM   #2
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
You need an audio cable from whichever drive you want to play CDs on, to your soundcard. Otherwise, you will get no CD audio, but all other sounds will be fine.

PS - make sure your mixer level is reasonable for the CD input, too.

Last edited by carlywarly; 09-27-2003 at 02:14 PM.
 
Old 09-27-2003, 02:52 PM   #3
jdickin
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, now I can hear it. I had installed a cable earlier but removed it when I got no results. Either I instelled it wrong or some of my subsequent changes helped.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cdwriter AGilley007 Slackware 3 07-21-2004 01:15 AM
CDWriter for Slackware 9.1? amos Slackware 6 12-21-2003 01:52 AM
gtoaster or other cdwriter lel800 Linux - Newbie 4 08-11-2003 07:35 PM
cdwriter help shook Linux - Software 2 01-31-2003 04:46 AM
ide cdwriter? thorpe Linux - Software 1 02-17-2002 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration