[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't use CD writer! Please help....



On 23 Aug 2001 23:05:46 +0000, Timeboy wrote:
> 
> Dear debian users,
> 
> i tried to write a CD with GnomeToaster1.0Beta2. Cause i want to write audiofiles
> in DAO mode, cdrdao1.1.3 is the recording tool. But there is an error:
> 
> cdrdao: Cannot open SCSI device '0,0': Cannot open /dev/pg0
> 
> I read #man cdrdao. But i don't understand the meaning of this error. I have never
> heared obout the device /dev/pg0. Do i need it for writing a CD-R?
> 
> I have an ATAPI burner on IDE secondary master (/dev/hdd). And i compiled the 2.4.5
> kernel with scsi emulation and so on. Append="hdd=ide-scsi" is also in /etc/lilo.conf
> and this drive is working well by reading on /dev/scd0. Do i have to do more to get
> a configuration, that is able to write? Or i only have to change the SCSI ID? Now
> it is 0,0. But what i need for my system?

It really says pg eh?  I was expecting a sg device missing.  I'll just
forage blindly ahead assuming sg ;>.  Compile in scsi generic device
access and then have MAKEDEV make your sg devices for you.  Make sure
that as a user you can have write access to the device through your
group (root should still own the devices).  SG is major device 21 and a
little bit of poking gives:

from MAKEDEV script:

 pg)
                major=`Major pg 97`
                for unit in 0 1 2 3
                do
                        makedev pg$unit c $major $unit $scsi
                done
                ;;

I'd try the MAKEDEV pg as root in the /dev directory to see if that
solves your problem.  If that doesn't work you can build the sg module
and then try to see if pg access magically appears.  pg is for parralel
port atapi devices so I don't think this is the real root of your
problem.

--mike



Reply to: