lkml.org 
[lkml]   [2004]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: Is controlling DVD speeds via SET_STREAMING supported?
    From
    Hi,

    (please CC me because I'm not subscribed to the list)

    >> What Kernel do you use?
    >
    > Linux tienel 2.6.10-rc2-mm1 #1 SMP Wed Nov 17 01:19:53 EET 2004 i686
    > GNU/Linux

    Maybe you can give a 2.4.27'er kernel a try.

    >
    > Actually now that I rebooted (for DVD flashing) and started back into
    > linux, after running dvdspeed it also says:
    > "scsi: unknown opcode 0xb6" (which is SET_STREAMING). Code for this is
    > in drivers/block/scsi_ioctl.c, and if I read it right, it can't prevent
    > root from executing that command.

    I have the same impression after reading drivers/block/scsi_ioctl.c . I
    think you will need root permission to send this command, RW-Permission
    for the device file is not enough! Did you try this as root?

    But I'm wondering that scsi_ioctl.c comes into play, because It's a
    ATAPI-Device. Isn't it? Do you use the scsi emulation? If so please try
    without.

    >
    > I modified your speed-1.0 to open device O_RDWR, didn't help.
    > I modified it to also dump_sense after CMD_SEND_PACKET, it's just
    > duplicate packet.

    No this will definitively not solve this issue. I will try to check this
    in the kernel, but because I'm not a kernel developer I will CC Jens
    Axboe. Maybe he can help?

    Kind Regards,
    Thomas Fritzsche

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.024 / U:0.828 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site