Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-13-2004, 02:14 AM   #16
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46

Originally posted by michael@actrix
I anyone is going to be able to help you - you need to be precise about what command you tried and what output you got - otherwise you would be better off studying all the FAQ's and HOWTO's.

The following will tell us whether the system has recognised any burners and from that, what might next be possible:
1) login as root
2) enter the following two commands
cdrecord --scanbus
cdrecord -dev=ATAPI -scanbus
3) post the results here
1.This is the result of cdrecord --scanbus as root:
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. 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'.
this is the result of cdrecord -dev=ATAPI -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8160B ' '1.02' Removable CD-ROM
0,1,0 1) 'LITEON ' 'CD-ROM LTN526D ' '9S01' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Old 03-13-2004, 04:18 AM   #17
Registered: Jul 2003
Distribution: OpenSUSE 11.4
Posts: 55
Blog Entries: 1

Rep: Reputation: 16
This is progress. What we now know:

1) You haven't (successfully) setup ide-scsi. But this may not be necessary if the direct ATAPI interface works OK.

2) When you use the ATAPI interface, cdrecord can see the burner as the ATAPI device 0,0,0.

ATAPI is a PC standard for SCSI command sets over the IDE bus - this is how IDE-based PC's talk to CD drives - by copying the SCSI standard command set for CD drives. The address 0,0,0 is an ATAPI SCSI-like device address. In the past the only way to do the full ATAPI command set was via the ide-scsi module which uses parts of the kernel's SCSI sub-system, but this is a hack. In kernel 2.4 the IDE driver can use ATAPI directly - I'm not sure which is more reliable - in 2.6 direct ATAPI is certainly more reliable, and I suspect the same is true in 2.4 - anyway there is help on setting up ide-scsi - but lets not go there unless we need to.

3) Your distro needs you to be logged in as root if you're going to use cdrecord. There are ways round this - but we'll leave that for now.

4) As root you could probably now burn a DVD-R of a directory by doing:
  mkisofs SOMEDIRECTORY | cdrecord -dev=ATAPI:0,0,0
Or with DVD-RW
  mkisofs SOMEDIRECTORY | cdrecord blank=fast -dev=ATAPI:0,0,0
Maybe you'd like to test this with a CD-RW.

But you probably want a GUI interface and you probably don't want to have to be root. The only GUI burner I've used is k3b, so I'll describe how to set it up on my system - your system may differ - but hopefully not too much. So start up a GUI session as a normal user. And start a GUI shell window - a konsole, xterm, or what ever you normally use - I'll assume its a konsole just so I can call it something.

First we need some background info - we need to know what IDE device correspondes to ATAPI 0,0,0. IDE devices are typically /dev/hda, /dev/hdb, /dev/hdc, /dev/hdd, etc.
We need to know which one of these is you burner. If you don't already know which one is you burner, in the konsole do the following:

cat /proc/ide/hda/model
cat /proc/ide/hdb/model
cat /proc/ide/hdc/model
cat /proc/ide/hdd/model
And match you device model.

In the konsole, Start k3b, on the menu bar choose "Settings", under "Settings" choose "K3b setup", it will probably ask for you root password so that it can set up permissions. Give it the root password. You should then see the main K3b setup screen. On the K3b setup screen, on the bottom right of the "Devices" panel, click "Add Device..." . This will pop up a dialogue box asking for the device - you should enter which ever /dev/hd[abcd] that corresponds to your burner and click OK. You can also create a device for your cdrom drive - but it may have done this automatically. Now apply the settings and you're done.

K3b is similar to Nero. The only issue I have with it is that when I start a burn, I have to change the "Auto" speed option to "Ignore" - I think this is because by DVD burner is quite new on the market - so you might not need to do this.

If something goes wrong with any of the above - post the error message back here.
Old 03-13-2004, 01:11 PM   #18
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
How do I start k3b in kde? when im in Kde nothing happens at all.

But when i switched over to Gnome and tried it, it just worked but with some erros at least now i can get to setup, thanks. I was just about to give up and reinstall mandrake. LOL.
I am getting privledge errors saying that cdrecord, cdrdao, and readcd need root priveledges to work.

Last edited by BajaNick; 03-13-2004 at 02:12 PM.
Old 03-13-2004, 03:25 PM   #19
Registered: Jul 2003
Distribution: OpenSUSE 11.4
Posts: 55
Blog Entries: 1

Rep: Reputation: 16
It's a bit of security risk - but only if you let people you don't trust use your system - you can make each of these programs run as root even when you aren't root: as root do
chmod u+s /usr/bin/cdrecord
(Assuming cdrecord lives in /usr/bin) - and do this for each of the others. This assumes that each of the programs is owned by root - if not change their ownership to root first:
chown root /usr/bin/cdrecord
I'm not familiar with Slackware - someone might be able to suggest the accepted slackware way of solving such problems in a more secure way.
Old 03-13-2004, 03:29 PM   #20
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
best cd burner:
mkisofs -J -r -o iso.iso files to be added
cdrecord -v speed=32 dev=/dev/cdrom -data iso.iso
Old 03-13-2004, 03:51 PM   #21
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
start xcdroast from a root prompt in a X session. when you do this you should see something that says setup, set that up. 1!
look for something(might be the first window) which allows unprivlidged users to use xcdroast
Old 03-13-2004, 05:36 PM   #22
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks for all the help guys, I finally got k3b working after losing half my hair.


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
Program for audio recording editing via sound card BACTRATE Mandriva 2 04-16-2004 11:58 AM
i need a console program for mp3 recording from line in evil1 Linux - Software 5 04-07-2004 12:19 PM
I need to find an audio recording program with more than one track robster Linux - Software 7 02-23-2004 02:49 AM
Gtk-Warning but program still works... I close konsole, program closes Laptop2250 Linux - Software 2 11-15-2003 12:18 AM
is there a good web cam recording program matt_w_lambert Linux - Software 1 06-04-2003 07:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 AM.

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