Re: CD Writer does not work for audio CD

2003-12-31 Thread Paul Morgan
On Wed, 31 Dec 2003 14:38:18 -0500, DGLU TR wrote:

> 
> Not really:
>  I am using 2.4.22 and burning with atapi, without scsi emulation.
> 
> hpd:/home/tony/work# cdrecord dev=ATAPI -scanbus
> 
> and then
> 
> hpd:/home/tony/work# cdrecord dev=ATAPI:0,1,0 -v speed=12 bootbf*iso

Cool, thanks for posting this.

-- 
paul

Programming without a hex editor is like watchmaking without a hammer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CD Writer does not work for audio CD

2003-12-31 Thread DGLU TR
On Wed, Dec 31, 2003 at 10:00:43PM +0800, Robert Storey wrote:
> I've always had bad luck with CDBakeoven. Things have worked much better
> (for me at least) with K3b and XCDRoast.
> 
> That having been said, before you can get any atapi CD drive to work
> with cdrecord, you need to enable scsi emulation. It's a (minor) pain,
> and I've heard that this won't be necessary with the 2.6 kernel, but for
> the 2.4.x kernel it's required. 

Not really:
 I am using 2.4.22 and burning with atapi, without scsi emulation.

hpd:/home/tony/work# cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003
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) 'JLMS' 'XJ-HD166S   ' 'DPS6' Removable
CD-ROM
0,1,0 1) 'HP  ' 'DVD Writer 300n ' '1.25' 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) *

and then

hpd:/home/tony/work# cdrecord dev=ATAPI:0,1,0 -v speed=12 bootbf*iso
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003
J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
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'
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'HP  '
Identifikation : 'DVD Writer 300n '
Revision   : '1.25'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x001B
Profile: 0x001A
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008 (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 1345536 = 1314 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data38 MB
Total size:   43 MB (04:20.29) = 19522 sectors
Lout start:   44 MB (04:22/22) = 19522 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11077 (97:34/23)
  ATIP start of lead out: 359848 (79:59/73)
Disk type:Long strategy type (Cyanine, AZO or similar)
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 340326
Starting to write CD/DVD at speed 8 in real TAO mode for single
session.
Last chance to quit, starting real write0 seconds. Operation
starts.
Waiting for reader process to fill input buffer ... input buffer
ready.
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
Starting new track at sector: 0
Track 01:   38 of   38 MB written (fifo 100%) [buf 100%]   8.5x.
Track 01: Total bytes read/written: 39976960/39976960 (19520 sectors).
Writing  time:   39.613s
Average write speed   7.4x.
Min drive buffer fill was 100%
Fixating...
Fixating time:   30.935s
cdrecord.mmap: fifo had 630 puts and 630 gets.
cdrecord.mmap: fifo was 0 times empty and 557 times full, min fill was
96%.

Despite the warnings, the CD came out perfectly!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CD Writer does not work for audio CD

2003-12-31 Thread Jonathan Brandmeyer
Georg Hellwig wrote:
> Every user is in the group cdrom, I installed cdparanoia and 
> cdda2wav. On comandline cdparanoia -vsQ  resulted in:
> 
> [EMAIL PROTECTED]:~$ cdparanoia -vsQ   
> cdparanoia III release 9.8 (March 23, 2001)
> (C) 2001 Monty <[EMAIL PROTECTED]> and Xiphophorus
> 
> Report bugs to [EMAIL PROTECTED]
> http://www.xiph.org/paranoia/
> 
> Checking /dev/cdrom for cdrom...
> Testing /dev/cdrom for cooked ioctl() interface
> /dev/scd0 is not a cooked ioctl CDROM.
> Testing /dev/cdrom for SCSI interface
> No generic SCSI device found to match CDROM device 
> /dev/scd0
> 

You need to set the permissions on the generic scsi device file
corresponding to your cdrom device.

chown root:cdrom /dev/sg0
chmod g+rw /dev/sg0

should do the trick.

HTH,
Jonathan Brandmeyer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CD Writer does not work for audio CD

2003-12-31 Thread Robert Storey
I've always had bad luck with CDBakeoven. Things have worked much better
(for me at least) with K3b and XCDRoast.

That having been said, before you can get any atapi CD drive to work
with cdrecord, you need to enable scsi emulation. It's a (minor) pain,
and I've heard that this won't be necessary with the 2.6 kernel, but for
the 2.4.x kernel it's required. Look at the output of "cdrecord
-scanbus" to see if you have scsi emulation already enabled:

[EMAIL PROTECTED]:~> cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg
Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
cdrecord.mmap: Warning: controller returns wrong size for CD
capabilities page.
0,0,0 0) 'ATAPI-CD' 'ROM-DRIVE-52MAX ' '52GV' Removable
CD-ROM
0,1,0 1) 'RICOH   ' 'MP7520A ' '1.25' 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) *

If that didn't work, see below...

I don't know if you're booting with lilo or grub, but you need to pass
an option similar to this to the kernel in /etc/lilo.conf or
/boot/grub/menu.lst:

  hdc=scsi hdd=scsi

In the above case, my two CD drives are /dev/hdc and /dev/hdd - it won't
work for you if your drive(s) are configured differently. One good way
to find out what you've got is to use the eject command, for example:

  eject /dev/hdc

If the drive ejects, you know that one is /dev/hdc.

You may also need to edit file /etc/fstab (backup the old one first).
Something like this:

  /dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
  /dev/cdrom1 /cdrom1  iso9660  defaults,ro,user,noexec,noauto  0  0

Make sure you do have the directories /cdrom and /cdrom1 - create them
if you don't.

Finally, you need symbolic links for the above devices. Delete the
existing ones, and create new ones:

  rm /dev/cdrom
  rm /dev/cdrom1
  ln -s /dev/scd0 /dev/cdrom
  ln -s /dev/scd1 /dev/cdrom1

Check to make sure this worked:

  [EMAIL PROTECTED]:~> ls -l /dev/cdrom*
  lrwxrwxrwx1 root root9 Dec 21 20:45 /dev/cdrom ->
/dev/scd0
  lrwxrwxrwx1 root root9 Dec 21 20:45 /dev/cdrom1 ->
/dev/scd1

That ought to do it. Reboot.

cdrecord -scanbus should report good results now.

Hope that helps. (Also, hope I got all of the above correct - if not,
I'm prepared to be flamed, drawn, and quartered).

regards,
Robert


On Wed, 31 Dec 2003 12:08:25 +0100
Georg Hellwig <[EMAIL PROTECTED]> wrote:

> I changed form Suse to Woody. Apart from some smaller Problems I got 
> the system installed. However I have difficulties in using CDBakeoven 
> to burn and copy audio cd's
> 
> First of all:
> The cd RW is regonised ...I did every thing according the HOWTO and 
> installed the modules 
> cdrecord -scanbus shows:
> -
>  Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001
> Jörg Schilling
> Linux sg driver version: 3.1.22
> Using libscg version 'schily-0.5'
> scsibus0:  0,0,0 0) 'ATAPI   ' 'CD-RW 52XMax' '180D' 
> Removable CD-ROM
> -
> -- Every user is in the group cdrom, I installed cdparanoia and 
> cdda2wav. On comandline cdparanoia -vsQ  resulted in:
> 
> [EMAIL PROTECTED]:~$ cdparanoia -vsQ   
> cdparanoia III release 9.8 (March 23, 2001)
> (C) 2001 Monty <[EMAIL PROTECTED]> and Xiphophorus
> 
> Report bugs to [EMAIL PROTECTED]
> http://www.xiph.org/paranoia/
> 
> Checking /dev/cdrom for cdrom...
> Testing /dev/cdrom for cooked ioctl() interface
> /dev/scd0 is not a cooked ioctl CDROM.
> Testing /dev/cdrom for SCSI interface
> No generic SCSI device found to match CDROM device 
> /dev/scd0
> 
> Checking /dev/cdroms/cdrom0 for cdrom...
> Could not stat /dev/cdroms/cdrom0: No such file or directory
> 
> Checking /dev/cdroms/cdroma for cdrom...
> Could not stat /dev/cdroms/cdroma: No such file or directory
> 
> Checking /dev/cdroms/cdrom1 for cdrom...
> Could not stat /dev/cdroms/cdrom1: No such file or directory
> 
> Checking /dev/cdroms/cdromb for cdrom...
> Could not stat /dev/cdroms/cdromb: No such file or directory
> 
> Checking /dev/cdroms/cdrom2 for cdrom...
> Could not stat /dev/cdroms/cdrom2: No such file or directory
> Checking /dev/sbpcdc for cdrom...
> Could not stat /dev/sbpcdc: No such file or directory
> 
> Checking /dev/sbpcd3 for cdrom...
> Testing /dev/sbpcd3 for cooked ioctl() interface
> Unable to open /dev/sbpcd3: No such device or address
> Testing /dev/sbpcd3 for SCSI interface
> /dev/sbpcd3 is not a SCSI device
> 
> Checking /dev/sbpcdd for cdrom...
> Could not stat /dev/sbpcdd: No such file o

CD Writer does not work for audio CD

2003-12-31 Thread Georg Hellwig
I changed form Suse to Woody. Apart from some smaller Problems I got 
the system installed. However I have difficulties in using CDBakeoven 
to burn and copy audio cd's

First of all:
The cd RW is regonised ...I did every thing according the HOWTO and 
installed the modules 
cdrecord -scanbus shows:
-
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg 
Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:  0,0,0 0) 'ATAPI   ' 'CD-RW 52XMax' '180D' 
Removable CD-ROM
---
Every user is in the group cdrom, I installed cdparanoia and 
cdda2wav. On comandline cdparanoia -vsQ  resulted in:

[EMAIL PROTECTED]:~$ cdparanoia -vsQ   
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <[EMAIL PROTECTED]> and Xiphophorus

Report bugs to [EMAIL PROTECTED]
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/scd0 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
No generic SCSI device found to match CDROM device 
/dev/scd0

Checking /dev/cdroms/cdrom0 for cdrom...
Could not stat /dev/cdroms/cdrom0: No such file or directory

Checking /dev/cdroms/cdroma for cdrom...
Could not stat /dev/cdroms/cdroma: No such file or directory

Checking /dev/cdroms/cdrom1 for cdrom...
Could not stat /dev/cdroms/cdrom1: No such file or directory

Checking /dev/cdroms/cdromb for cdrom...
Could not stat /dev/cdroms/cdromb: No such file or directory

Checking /dev/cdroms/cdrom2 for cdrom...
Could not stat /dev/cdroms/cdrom2: No such file or directory
Checking /dev/sbpcdc for cdrom...
Could not stat /dev/sbpcdc: No such file or directory

Checking /dev/sbpcd3 for cdrom...
Testing /dev/sbpcd3 for cooked ioctl() interface
Unable to open /dev/sbpcd3: No such device or address
Testing /dev/sbpcd3 for SCSI interface
/dev/sbpcd3 is not a SCSI device

Checking /dev/sbpcdd for cdrom...
Could not stat /dev/sbpcdd: No such file or directory

Checking /dev/sonycd for cdrom...
Testing /dev/sonycd for cooked ioctl() interface
Unable to open /dev/sonycd: No such device or address
Testing /dev/sonycd for SCSI interface
/dev/sonycd is not a SCSI device

Checking /dev/mcd for cdrom...
Testing /dev/mcd for cooked ioctl() interface
Unable to open /dev/mcd: No such device or address
Testing /dev/mcd for SCSI interface
/dev/mcd is not a SCSI device

Checking /dev/sjcd for cdrom...
Testing /dev/sjcd for cooked ioctl() interface
Unable to open /dev/sjcd: No such device or address
Testing /dev/sjcd for SCSI interface
/dev/sjcd is not a SCSI device

Checking /dev/cm206cd for cdrom...
Could not stat /dev/cm206cd: No such file or directory

Checking /dev/gscd for cdrom...
Could not stat /dev/gscd: No such file or directory

Checking /dev/optcd for cdrom...
Testing /dev/optcd for cooked ioctl() interface
Unable to open /dev/optcd: No such device or address
Testing /dev/optcd for SCSI interface
/dev/optcd is not a SCSI device



No cdrom drives accessible to g found.

It seem it is a problem of the rights
any ideas ? help will be wellcome,

regards, Georg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]