SOLVED Can't find DVD drive.

I am having issues with the DVD drive, I do not see my DVD drive anywhere. I started K3B and also could not detect the optical drive.

Can any advanced FreeBSD gurus help me find a solution to this problem?
 
Re: Can't find DVD drive.

Internal SATA DVD drive from an HP Pavilian Dv7 Entertainment laptop. DVD drive, 5 Gig GB memory, dual core.
 
Re: Can't find DVD drive.

First you should see if the command below returns any output: % dmesg | grep cd. If it does, in my case my DVD is cd0, you could try to mount a data CD as root:
# mount -t cd9660 /dev/acd0 /mnt/
# umount /mnt
You should have hald et and dbus started from /etc/rc.conf:
Code:
hald_enable="YES"
dbus_enable="YES"
If it works make sure the file /etc/devfs.conf contains these lines:
Code:
link	cd0	cdrom
link	cd0	dvd
perm    cd*     0666
perm    xpt*    0666
perm    pass*   0666
To make your changes being used: # /etc/rc.d/devfs restart.

This is taken from the GNOME FAQ but it might be the same steps for KDE: http://www.freebsd.org//gnome/docs/faq2.html#q15.
 
Re: Can't find DVD drive.

I issued this command:
Code:
$ dmesg | grep cd
cd0 at ahcich4 bus 0 scbus2 target 0 lun 0
cd0: <HL-DT-ST BDDVDRW CT10L YC07> Removable CD-ROM SCSI-0 device 
cd0: Serial Number K0089QD3631
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
cd0 at ahcich4 bus 0 scbus2 target 0 lun 0
cd0: <HL-DT-ST BDDVDRW CT10L YC07> Removable CD-ROM SCSI-0 device 
cd0: Serial Number K0089QD3631
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
cd0 at ahcich4 bus 0 scbus2 target 0 lun 0
cd0: <HL-DT-ST BDDVDRW CT10L YC07> Removable CD-ROM SCSI-0 device 
cd0: Serial Number K0089QD3631
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
 
Re: Can't find DVD drive.

I also issued this command: # mount -t cd9660 /dev/acd0 /mnt/, then I got this error:
Code:
mount cd9660 /dev/acd0: No such file or directory
 
Re: Can't find DVD drive.

On modern versions of FreeBSD, the DVD device is /dev/cd0. Older versions used /dev/acd0.
 
Re: Can't find DVD drive.

Solved. I added these lines to /etc/devfs.conf per @formateur_fou:
Code:
link   cd0   cdrom
link   cd0   dvd
perm    cd*     0666
perm    xpt*    0666
perm    pass*   0666

Thanks man, your posts were really helpful to me and I hope there may be others with the same issues :beergrin :beergrin :beergrin :beergrin
 
Last edited by a moderator:
Back
Top