Fwd: Re: Fwd: [MPlayer-users] SCSI emulation

Bob Lockie bjlockie at lockie.ca
Thu Jan 16 06:00:37 CET 2003


On 01/10/03 16:28 H}kan Hjort spoke thusly

>Fri Jan 10 2003, Loïc Minier wrote:
>  
>
>>H}kan Hjort <d95hjort at dtek.chalmers.se> - Tue, Jan 07, 2003:
>>
>>    
>>
>>>>lr-xr-xr-x    1 root     root           31 Jan  6 11:05 /dev/sr0 -> 
>>>>scsi/host0/bus0/target1/lun0/cd
>>>>        
>>>>
>> After exchanging some mails with Bob Lockie, I think the problem is
>> that there's no way for an ide-scsi emulated drive to change it's
>> DMA configuration under devfs because hdc disappears, so I suggested
>> creating another hdc with mknod. That's how you can change DMA for IDE
>> drives with ide-scsi under devfs.
>>
>>    
>>
>The /dev/ide/host0/bus1/target0/lun0/generic node should still exist even
>when running ide-scsi.  Using that you can change the DMA state without
>cdreating a /dev/hdc node.
>
Can the "Invalid argument's" be ignored safely?


# hdparm /dev/ide/host0/bus1/target0/lun0/generic

/dev/ide/host0/bus1/target0/lun0/generic:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 BLKRAGET failed: Invalid argument
 HDIO_GETGEO failed: Invalid argument

# hdparm -i /dev/ide/host0/bus1/target0/lun0/generic

/dev/ide/host0/bus1/target0/lun0/generic:

 Model=Pioneer DVD-ROM ATAPIModel DVD-106S 010, FwRev=E1.09, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=13395, BuffSize=64kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 *udma4
 AdvancedPM=no
 Drive conforms to: device does not report version:  1 2 3 4 5

-- 
----------------------------------------
Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.


-- 
This is the libdvdcss-devel mailing-list, see http://www.videolan.org/libdvdcss/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the libdvdcss-devel mailing list