LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-30-2004, 04:56 PM   #1
cyberhawki
LQ Newbie
 
Registered: Dec 2004
Location: Iowa
Distribution: slackware
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using scsi scanner with ide-atapi cd burner brombo Linux - General 0 05-21-2004 06:44 PM
2.4.xx to 2.6.4 and SCSI Emulation to IDE/ATAPI farmerdan Linux - General 3 03-31-2004 10:07 AM
scsi-ide-atapi; symlinks, who knows? offworld Linux - General 2 03-19-2004 12:09 PM
IDE-scsi vs IDE-atapi reyemarr Linux - General 1 11-18-2003 04:36 PM
scsi, ide, atapi, what does it all mean? WanglessOlasov Linux - Hardware 9 08-13-2003 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration