LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2005, 07:35 PM   #1
tzonga1
Member
 
Registered: Dec 2003
Location: boise, idaho, us
Distribution: fedora core 5
Posts: 46

Rep: Reputation: 15
Trying cdrecord. Does not recognize /dev/pg0


I am trying to burn audio to cd burner with cdrecord (as root too) and this is the error I get. (below)
I entered the command cdrecord --scanbus: results.

cdrecord --scanbus
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'YAMAHA ' 'CRW8424E ' '1.0j' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

cdrecord -v dev=0,0,0 -audio *.ogg
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 0 = CD-DA
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such device or address. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I am assuming that everything is ready to burn. I just need to unlock /dev/pg0? As root I tried chmod 777. What I missing or am I just a dumb ass?
 
Old 03-04-2005, 07:56 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Maybe this will work for you...
Code:
cdrecord -v dev=ATA:0,0,0 -audio -pad *.ogg
 
Old 03-04-2005, 08:35 PM   #3
tzonga1
Member
 
Registered: Dec 2003
Location: boise, idaho, us
Distribution: fedora core 5
Posts: 46

Original Poster
Rep: Reputation: 15
Thanx for advice

Tried the said code. Results
cdrecord -v dev=ATA:0,0,0 -audio -pad *.ogg
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 0 = CD-DA
scsidev: 'ATA:0,0,0'
devname: 'ATA'
scsibus: 0 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'YAMAHA '
Identifikation : 'CRW8424E '
Revision : '1.0j'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 3172848 = 3098 KB
FIFO size : 4194304 = 4096 KB
cdrecord: No such file or directory. Cannot open '*.ogg'.

I did this as root. I should propably issue this command in the directory where the files are?
 
Old 03-04-2005, 08:53 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
I should propably issue this command in the directory where the files are?
yes
 
Old 03-05-2005, 09:48 AM   #5
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Don't the ogg have to be converted to 44 Khz .wav files? If you want a cd with ogg files you'll need to use mkisofs to make an iso file then burn to cd.
 
Old 03-05-2005, 04:51 PM   #6
tzonga1
Member
 
Registered: Dec 2003
Location: boise, idaho, us
Distribution: fedora core 5
Posts: 46

Original Poster
Rep: Reputation: 15
Looks like cd is burning

Tried code cdrecord -v dev=ATA:0,0,0 -audio -pad *.ogg

I get a message saying all data has been copied, yet when I go to play cd all I get is static. Is there a switch to turn the laser on?
 
Old 03-05-2005, 09:33 PM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Don't the ogg have to be converted to 44 Khz .wav files?
Quote:
I get a message saying all data has been copied, yet when I go to play cd all I get is static.
Ok, it seems that Boow is correct saying the ogg files need to be converted to wav files first. Never worked on ogg files before so I guess it's learning for me too.

It seems that you will need the program called ogg123 for this operation.
While in the directory which has the ogg files, try this...
Code:
for i in *.ogg; do ogg123 -d wav -f `basename $i .ogg`.wav $i; done
cdrecord -v dev=ATA:0,0,0 -audio -pad *.wav
 
Old 03-06-2005, 11:27 AM   #8
tzonga1
Member
 
Registered: Dec 2003
Location: boise, idaho, us
Distribution: fedora core 5
Posts: 46

Original Poster
Rep: Reputation: 15
Converted .ogg to .wav

I did a 2 step process.

First I converted .ogg to .wav, while in the folder with my .ogg
Code - oggdec *.ogg

Then I issued the command
cdrecord -v dev=ATA:0,0,0 -audio -pad *.wav

And I got a usable recording!

Thanx
 
  


Reply



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
recording audio CDs, dev help with cdrecord gdiv Linux - Software 2 05-03-2005 05:20 PM
what dev for cdrecord trutnev Linux - Software 5 05-06-2004 06:45 PM
cdrecord - Error trying to open /dev/scd0 exclusively... jeffreybluml Linux - Newbie 10 03-22-2004 06:43 PM
cdrecord problem - Cannot open '/dev/pg*' irvken Linux - Hardware 3 12-31-2003 02:59 AM
LG cdrw @ sr0 cdrecord looks @ pg0 how to fix? /su Linux - General 2 08-06-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 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