Date: Sun, 04 Mar 2007 12:51:20 -0500 From: drgerlists@gmail.com (Dr. Gary E. RAFE) To: freebsd-gnome@freebsd.org Subject: nautilus-cd-burner, cdrdao, & device names ? Message-ID: <45eb0718.BVliSivfpV7bMkShVB0zyriO@lmrmac.uhw.utoledo.edu>
next in thread | raw e-mail | index | archive | help
I'm in the process of setting up a FreeBSD-6.2/Gnome2 notebook for a friend, and I'm having trouble getting the built-in CD copy function of the Gnome desktop to work properly. As directed in the FreeBSD Gnome2 FAQ, I found the cdrdao command line used by nautilus-cd-burner: # nautilus-cd-burner --source-device=/dev/acd0 launching command: cdrdao read-cd --read-raw --datafile /tmp/image.iso.TPHIOT --device /dev/acd0 -v 2 /tmp/image.iso.TPHIOT.toc cdrdao stderr: Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de> process stdout: EOF cdrdao stderr: SCSI interface library - (C) Joerg Schilling Note that cdrdao wants its device in "bus,id,lun" form (e.g., 1,0,0). When I issue this cdrdao at the command line: # cdrdao read-cd --read-raw --datafile /tmp/image.iso.TPHIOT --device /dev/acd0 -v 2 /tmp/image.iso.TPHIOT.toc Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de> SCSI interface library - (C) Joerg Schilling Paranoia DAE library - (C) Monty Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables. ERROR: Cannot open SCSI device '/dev/acd0': Open by 'devname' not supported on this OS Supported SCSI transports for this platform: Transport name: CAM Transport descr.: Generic transport independent SCSI (Common Access Method) Transp. layer ind.: Target specifier: bus,target,lun Target example: 1,2,0 SCSI Bus scanning: supported Open via UNIX device: not supported ERROR: Please use option '--device [proto:]bus,id,lun', e.g. --device 0,6,0 or --device ATA:0,0,0 ERROR: Cannot setup device /dev/acd0. Now, when I change "--device /dev/acd0" to "--device 1,0,0" at the command line, cdrdao runs to completion (albiet, not as fast as dd, which doesn't seem to work with HAL enabled). Short of mucking around with the code of nautilus-cd-burner to introduce the proper SCSI device name for cdrdao (something I'd rather not have to do), where to from here to get this to work as it should ? -- Dr Gary E RAFE: drgerlists at gmail dot com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45eb0718.BVliSivfpV7bMkShVB0zyriO>