KrUsTy!
March 5th, 2004, 23:48
I just found the atapicam kernel option, and I love it. Not sure why missed this for so long, but anyway.

I have both a CD and a DVD burner, and really haven't put much effort into having them work under FreeBSD. They are both IDE device and since they are not on the scsi bus, cdrecord can't see them, and that sucks cause almost all cdburning tools use cdrecord. I have used the burncd command that comes with FreeBSD for IDE burning devices, but I want to use pretty front ends like, k3b, xcdroast, or even gcombust.

atapicam is a kernel option that links all your IDE devices on the SCSI bus so that cdrecord and other programs can access them! Then you can use them just like they are SCSI devices!

Just add the device to your kernel and rebuild;

[code:1:0fce4dc459]device atapicam[/code:1:0fce4dc459]

Now your computer will detect your IDE devices as SCSI devices and actually see them on the scsibus;

[code:1:0fce4dc459]bigtime# cdrecord -scanbus
Cdrecord 2.00.3 (i386-unknown-freebsd5.2.1) Copyright (C) 1995-2002 Jörg Schilling
Using libscg version 'schily-0.7'
scsibus2:
2,0,0 200) 'HL-DT-ST' 'DVDRAM GSA-4081B' 'A100' Removable CD-ROM
2,1,0 201) 'HL-DT-ST' 'CD-RW GCE-8400B ' '1.02' Removable CD-ROM
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
[/code:1:0fce4dc459]

This shows both my IDE CD and DVD burners on the scsi bus. Cool! Now all the neat programs that use cdrecord as a backend will work

{K}

Kernel_Killer
March 6th, 2004, 00:06
The new/CVS versions of cdrecord and cdrdao have ATA support now. Just thought you would want to know. Bad thing is, the only front end that seems to be folling the support is K3B.