LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Original Poster
Rep: Reputation: 46

Quote:
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'.
and
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'
scsibus0:
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) *

Thanks
 
Old 03-13-2004, 03:18 AM   #17
michael@actrix
Member
 
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:
Code:
  mkisofs SOMEDIRECTORY | cdrecord -dev=ATAPI:0,0,0
Or with DVD-RW
Code:
  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:

Code:
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, 12:11 PM   #18
BajaNick
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 01:12 PM.
 
Old 03-13-2004, 02:25 PM   #19
michael@actrix
Member
 
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
Code:
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:
Code:
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, 02:29 PM   #20
95se
Member
 
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, 02:51 PM   #21
karlan
Member
 
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, 04:36 PM   #22
BajaNick
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.
 
  


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


All times are GMT -5. The time now is 06:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration