Hi all,
I've been following the various CD-RW/ide-scsi threads and they've left me a little confused as to the significance of/difference between /dev/srX and /dev/srX
I've set up my DVD-ROM and DVD+RW as sr0 and sr1, everything seems to work fine after making the appropriate links, but then I haven't tried anything 'fancy'. So why do people talk about sg0 etc? What's the difference, and how/why can the same physical device be referenced through both device files? ========================== Dylan, The devices sg0 or sg1 deal mostly with the audio things in KDE. It gives you the audiocd:slave capabilites in Konq and audio cd programs
* On Thursday 02 January 2003 07:28 pm, Dylan wrote: the ability to play audio cds! -----------------------------
Also, is it possible to acctivate DMA for the devices even though they're running through ide-scsi?
Cheers
Dylan
You can try DMA on the drives by issuing the command hdparm. You can get a complete listing of the hdparm commands with hdparm --help. Usage: hdparm [options] [device] .. Options: -a get/set fs readahead -A set drive read-lookahead flag (0/1) -b get/set bus state (0 == off, 1 == on, 2 == tristate) -B set Advanced Power Management setting (1-255) -c get/set IDE 32-bit IO setting -C check IDE power mode status -d get/set using_dma flag -D enable/disable drive defect-mgmt -E set cd-rom drive speed -f flush buffer cache for device on exit -g display drive geometry -h display terse usage information -i display drive identification -I detailed/current information directly from drive -Istdin similar to -I, but wants /proc/ide/*/hd?/identify as input -k get/set keep_settings_over_reset flag (0/1) -K set drive keep_features_over_reset flag (0/1) -L set drive doorlock (0/1) (removable harddisks only) -M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL) -m get/set multiple sector count -n get/set ignore-write-errors flag (0/1) -p set PIO mode on IDE interface chipset (0,1,2,3,4,...) -P set drive prefetch count -q change next setting quietly -Q get/set DMA tagged-queuing depth (if supported) -r get/set readonly flag (DANGEROUS to set) -R register an IDE interface (DANGEROUS) -S set standby (spindown) timeout -t perform device read timings -T perform cache read timings -u get/set unmaskirq flag (0/1) -U un-register an IDE interface (DANGEROUS) -v defaults; same as -mcudkrag for IDE drives -V display program version and exit immediately -w perform device reset (DANGEROUS) -W set drive write-caching flag (0/1) (DANGEROUS) -x tristate device for hotswap (0/1) (DANGEROUS) -X set IDE xfer mode (DANGEROUS) -y put IDE drive in standby mode -Y put IDE drive to sleep -Z disable Seagate auto-powersaving mode -z re-read partition table If the DMA works from your shell, you can then add what you need to the /etc/rc.d/boot.local (mine is hdparm -k1c1 /dev/hdd & hdc). You should also go to /etc/sysconfig/hardware and add hdc & hdd to that file(DEVICES_FORCE_IDE_DMA_ON="hdc hdd"), which keeps dma turned on for the drives on bootup! Patrick -- --- KMail v1.4.3 --- SuSE Linux Pro v8.1 --- Registered Linux User #225206