niedziela, 19 kwietnia 2009

CD/DVD burning under FreeBSD

I wanted to use my CD/DVD burner under FreeBSD but under gnome I could not find any application that could be used to do that. I am used to k3b, which I use very often on the Linux system. Fortunately I found it in the ports and installed it without any major problems. The first problems occurred when I tried to use it, namely my CD/DVD burner was not detected by the application. Below I describe the steps to configure the CD/DVD burner on my system:

1) First of all by default my CD/DVD burner (which is located at /dev/acd0) had only read only access - one could change the permissions via chmod but the changes were not permanent. In order to change the permissions (to 0666) for the device one needs to extend the /etc/devfs.conf file:

perm acd0 0666
link acd0 cdrom
link acd0 dvd

Additionally I added lines to create symbolic links for /dev/cdrom and /dev/dvd.

2) Additionally one needed to load the atapicam driver (to test I used kldload atapicam) in order to make the ATAPI devices available via SCSI subsystem (more details can be found in the man page: ATAPICAM(4)). To load the module while OS is booting I added the following line to the /boot/loader.conf :

atapicam_load="YES"

Additionally I had to add write permissions to some devices - I had to add these additional lines to the /etc/devfs.conf file:

perm pass0 0666
perm pass1 0666

perm cd0 0666
perm xpt0 0666


And that's it - now the CD/DVD burner was properly detected by the k3b.

Brak komentarzy:

Prześlij komentarz