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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-06-2004, 09:16 AM
|
#1
|
Member
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83
Rep:
|
CD Burner doesnt work
Hey guys. I cant burn a CD.
i installed xcdroast and when i run it i get this message
root@darkstar:~# xcdroast
** WARNING **: No /usr/local/bin/cdrecord installed
** WARNING **: (Invalid lib-directory? Check -l option)
so i then type:
root@darkstar:~# cdrecord -scanbus
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'.
Whats up with my cd burner how come nothing can find it. Any ideas?
|
|
|
09-06-2004, 11:35 AM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
type :
Code:
cat /usr/src/linux/.config | grep CONFIG_PARPORT_OTHER
if that says its not set (which i bet it does) then that is why it is probably not working ...
what is pg ? taken from 'cdrecord dev=help'
Code:
Transport name: pg
Transport descr.: SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
i actually had (well actually still have) the same problem as you .. but am too lazy to go about
fixing it, cause i never had a need to burn anything in while ... but from what i found out, that
is what is going to fix the problem, so give that a go .. so basically what i am saying, is that
your going to have to recompile your kernel, cause i am almost 100% positive if you try
to make /dev/pg* with mknod it still won't work ...
Last edited by DrOzz; 09-06-2004 at 11:36 AM.
|
|
|
09-06-2004, 05:31 PM
|
#3
|
Member
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83
Original Poster
Rep:
|
DID
root@darkstar:/home/guest# cat /usr/src/linux/.config | grep CONFIG_PARPORT_OTHE
# CONFIG_PARPORT_OTHER is not set
Then did chmod +xrw /dev/pg*
then ran
cdrecord -scanbus
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'.
root@darkstar:/home/guest# cdrecord -scanbus
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'.
So it means recompile kernel how would i go about this?
|
|
|
09-06-2004, 06:00 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
try this.
cdrecord dev=ATAPI -scanbus
|
|
|
09-06-2004, 07:54 PM
|
#5
|
Member
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83
Original Poster
Rep:
|
Did this and got this
root@darkstar:/home/guest# 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) 'SAMSUNG ' 'CD-R/RW SW-208B ' 'BS03' Removable CD-ROM
0,1,0 1) ' LG ' 'CD-ROM CRD-8160B' '1.13' 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) *
root@darkstar:/home/guest#
looked good then i did
root@darkstar:~# cdrecord -scanbus
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'.
root@darkstar:~#
any ideas. Thiink wea re getting somewhere, you have been a great help
|
|
|
09-06-2004, 08:59 PM
|
#6
|
Member
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171
Rep:
|
Now that you've determined where your device is, run the following command to start burning with cdrecord. The below example shows us burning an .iso image to cd-rom:
cdrecord -v -dao dev=ATAPI:0,0,0 /path-to-filename/filename.iso
The -v stands for verbosity and the -dao stands for "Disk At Once." We use the dev= options to define the device that we found with the scanbus option above, in this example, it's 0,0,0.
For all list of all of cdrecord's options, run the command:
man cdrecord
|
|
|
09-07-2004, 05:05 AM
|
#7
|
Member
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83
Original Poster
Rep:
|
Is there any programs that would do this for me?
|
|
|
09-07-2004, 07:37 AM
|
#8
|
Member
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186
Rep:
|
to make it easier u can activate scsi emulation for that cdrw drive (for 2.4 kernels)
as root edit /etc/lilo.conf
in your boot image section add:
append="hdX=ide-scsi"
(where hdX is wherever your cdrw drive is located (hda,hdb,hdc,hdd))
also when you logged in as root run the command lilo
reboot and thne u can run xcdroast and then autodetect the drive.
it should work.
|
|
|
09-07-2004, 08:55 AM
|
#9
|
Member
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83
Original Poster
Rep:
|
Thats awesome now my CDROM drive is being picked up but i am still having this problem, something to do with xhost. I cant seem to work out wot to do.
root@darkstar:/home/guest# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-208B ' 'BS03' 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) *
See this is the error message i get
root@darkstar:/home/guest# xcdroast
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gtk-WARNING **: cannot open display: :0.0
|
|
|
09-08-2004, 05:42 AM
|
#10
|
Member
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186
Rep:
|
if you are logged in as user but su'd in as root on a terminal it may not authenticate with X
hence your error.
Try logging in to X as root and retrying because i had the exact same problem on slackware 9.1.....
then open a terminal and without su'ing try xcdroast again
root@darkstar:/home/guest# xcdroast
see what u get.
|
|
|
09-08-2004, 03:46 PM
|
#11
|
Member
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83
Original Poster
Rep:
|
still doesnt work, I think theres a problem with my graphics drivers or something...
|
|
|
All times are GMT -5. The time now is 03:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|