KDE - audiocd:/ - kio_slave - IDE ATAPI - solution
Hello everyone,
This is a overview of what I had to do to get the Konqueror audiocd:/ function to work on my machine. FYI - I'm using a Slackware 10 installation. I took the opportunity to upgrade to the 2.4.28 kernel when I was playing around with the DVD-ROM drive. I'm sure this solution would work just fine with the supplied 2.4.26 kernel.
First, I am using a Sony DVD-ROM (model DDU1621) drive. It is an IDE ATAPI device. At the most underlying level, I had to forget that this was an IDE drive and had to configure my system to view the drive as SCSI. So I had to get my Kernel right. The following is a summary of the pertinent kernel settings:
ATA/IDE/MFM/RLL support:
IDE, ATA and ATAPI block devices ->
Include IDE/ATAPI cdrom support - NO
SCSI emulation support - YES
SCSI support:
SCSI support - YES
SCSI CD-ROM support - YES
Enable vendor-specific extensions (for SCSI CD-ROM) - YES
SCSI generic support - YES <<<<<<< this is important!!
File systems:
Kernel automounter version 4 support (also supports v3) - YES
ISO 9660 CDROM file system support - YES
Microsoft Joliet CDROM extensions - YES
Transparent decompression extension - YES
UDF file system support (read only) - YES <<<<<< need UDF to read DVD's
UDF write support (DANGEROUS) -YES
You need to disable IDE/ATAPI support because if both IDE/ATAPI support and SCSI emulation support are compiled into the kernel, the kernel will default to the IDE/ATAPI code (or so I've been told!)
When you enable the SCSI CD-ROM support, your drive will likely configure as the /dev/sr0 device. When you enable SCSI generic support, your drive will also be configured as /dev/sg0 (my system identified the DVD-ROM drive as generic device /dev/sg0, other systems may vary!) The latter is important as Konqueror uses this device for the audiocd:/ resource.
OK, now for a few more simple things and you will be on your way...
You have to tell the kernel that your IDE drive is now a SCSI device. On my system, I do this by supplying the parameter hdc=scsi in my lilo boot configuration.
Once you have this done, you must change the group and permissions of /dev/sg0.
For instance,
chgrp users /dev/sg0
chmod 777 /dev/sg0
That should get your Konqeror audiocd:/ kio_slave functioning for any user who is in the group users (you can make the group anything you like.)
As for the rest of my configuration, please note the information in my fstab entries:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/dvd /mnt/dvd udf noauto,users,ro 0 0
In the /dev directory, I have symbolic links:
/dev/cdrom -> /dev/sr0
/dev/dvd - > /dev/sr0
You have to change the group and permissions for these also.
And most of all...
Compile your kernel and change your configuration settings AT YOUR OWN RISK!! (but have fun in the process ;^)
Hope this helps!
Last edited by cyberhawki; 12-30-2004 at 05:02 PM.
|