--- Nicholas Hockey <[EMAIL PROTECTED]> wrote:
> try the atapi drivers, scsi emulation is no longer
> required, just
> prefered
> 
> to probe the avaliabe atapi devices:
> cdrecord -dev=ATAPI -scanbus
> 
> and to specify a device:
> cdrecord -dev=ATAPI:1,0,0 -scanbus
> (replace the 1,0,0 with whatever it scans yer cdrw
> as)
> 
> On Sat, 2003-03-15 at 09:18, Dhruba Bandopadhyay
> wrote:
> > Hello,
> > 
> > When I run as root
> > 
> > cdrecord -scanbus
> > 
> > I get the following error message.
> > 
> > ----
> > Cdrecord 2.0 (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'.
> > ----
> > 
> > I've built scsi-cdrom support and scsi emulation
> into the kernel
> > (gentoo-sources-2.4.20-r1) and don't know what
> else I could do.  This
> > was working with a previous gentoo install but it
> isn't anymore.
> > 
> > A dmesg|grep hdd gives
> > 
> > ----
> > Kernel command line: root=/dev/hda3 hdd=ide-scsi
> vga=0x31A
> >     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings:
> hdc:DMA, hdd:DMA
> > hdd: _NEC DVD+RW ND-1100A, ATAPI CD/DVD-ROM drive
> > hdd: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB
> Cache, UDMA(33)
> > ----
> > 
> > I'd very much like to burn some cds and as such
> any help would be much
> > appreciated.
> > 
> > Many thanks.
> > Dhruba Bandopadhyay.
> -- 
> Nicholas Hockey (Tilt) <[EMAIL PROTECTED]>
> Unix Administrator
> Encrypted E-Mail is preferred..
>
--------------------------------------------------------------------
> 
> GnuPG KeyID 4EDE2B84
> Key fingerprint = B916 6032 BE3D 490D 2A08  F1BC
> 948A A4C1 4EDE 2B84
> HKP: gpg --keyserver pgp.mit.edu --recv-keys
> 4EDE2B84
> LDAP: gpg --keyserver ldap://keyserver.pgp.com
> --recv-keys 4EDE2B84
>
--------------------------------------------------------------------
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

Hi all,

I use parport, paride, epat, pg, and pcd for an old
external HP CD-Writer+ 7200 on my parallel port.

Here's my lsmod (abbrev.):

Module                  Size  Used by    Not tainted
pcd                    11056   0  (unused)
parport_pc             12132   2  (autoclean)
pg                      5860   0  (unused)
epat                    6476   2
paride                  3424   1  [pcd pg epat]
parport                15008   2  [parport_pc paride]

Here's my .config (abbrev.):

CONFIG_PARIDE=m
CONFIG_PARIDE_PARPORT=m
CONFIG_PARIDE_PD=m
CONFIG_PARIDE_PCD=m
CONFIG_PARIDE_PF=m
CONFIG_PARIDE_PT=m
CONFIG_PARIDE_PG=m
# CONFIG_PARIDE_ATEN is not set
# CONFIG_PARIDE_BPCK is not set
# CONFIG_PARIDE_BPCK6 is not set
# CONFIG_PARIDE_COMM is not set
# CONFIG_PARIDE_DSTR is not set
# CONFIG_PARIDE_FIT2 is not set
# CONFIG_PARIDE_FIT3 is not set
CONFIG_PARIDE_EPAT=m
# CONFIG_PARIDE_EPATC8 is not set
# CONFIG_PARIDE_EPIA is not set
# CONFIG_PARIDE_FRIQ is not set
# CONFIG_PARIDE_FRPW is not set
# CONFIG_PARIDE_KBIC is not set
# CONFIG_PARIDE_KTTI is not set
# CONFIG_PARIDE_ON20 is not set
# CONFIG_PARIDE_ON26 is not set

I used to have SCSI emulation enabled in the kernel,
but now I don't have to.  My /etc/modules.devfs has
the aliases that I need:

# SCSI generic
probeall  /dev/sg               scsi_hostadapter sg
alias     /dev/sg*              /dev/sg
alias     /dev/scsi/*/generic   /dev/sg
alias     /dev/pg               /dev/sg
alias     /dev/pg*              /dev/sg

That creates the /dev/pg/0..3 devices. For pcd, I use
the /dev/cdroms/cdrom1 device (also created by devfs).

cat /proc/scsi/scsi reports nothing, but
/cat/proc/dev/cdrom/info reports:

CD-ROM information, Id: cdrom.c 3.12 2000/10/18

drive name:             pcd0    hdc
drive speed:            0       0
drive # of slots:       1       1
Can close tray:         1       1
Can open tray:          1       1
Can lock tray:          1       1
Can change speed:       0       1
Can select disk:        0       0
Can read multisession:  0       1
Can read MCN:           1       1
Reports media changed:  1       1
Can play audio:         1       1
Can write CD-R:         1       0
Can write CD-RW:        1       0
Can read DVD:           0       0
Can write DVD-R:        0       0
Can write DVD-RAM:      0       0

cdrecord -scanbus reports:

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C)
1995-2002 J�rg Schilling
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'HP      ' 'CD-Writer+ 7200 '
'3.01' 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) *

and finally, my modules.autoload (abbrev.)

# /etc/modules.autoload:  kernel modules to load when
system boots.
# $Header:
/home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload,v
1.5 2002/11/18 19:39:22 azarah Exp $
#
# Add the names of modules that you'd like to load
when the system
# starts into this file, one per line.  Comments begin
with # and
# are ignored.  Read man modules.autoload for
additional details.

# External CD-Writer
parport
paride
epat
pg drive0=0x378,0,0,-1,-1,0
pcd drive0=0x378,0,0,-1,-1,1

Hope this helps.



__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

--
[EMAIL PROTECTED] mailing list

Reply via email to