FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] another way to send SCSI commands

<-- thread -->
<-- date -->
  • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • To: "Thomas Arp" <manner.moe@gmx.de>
  • Date: Sat, 4 Dec 2010 14:38:54 +0100
  • Cc: linux-minidisc@lists.fu-berlin.de
  • Subject: Re: [linux-minidisc] another way to send SCSI commands

Hi,

On Dec 4, 2010, at 2:33 PM, Thomas Arp wrote:

>>> Thanks a lot for investigating into that. I would very glad if we can
>>> drop libscg in favor of dvd+rw-tools.
>> I did not yet implement the suggested change, but I am quite confident
>> that it will work.
> 
> I´m rewriting himdscsitest.c using the dvd-rw-tools headers for testing.
> As far as i have tested yet when cmd.transport() has finished the Scsi_Command structure will be closed automatically.
> If we want to send more commands we have to use cmd.associate(char * device) before sending another scsi command.
> 
> Should we disable this autoclose feature and use genaral open and close commands instead or should every send-command function have it´s own Scsi_Command structure, so that we only need to give the devicename as parameter instead of a Scsi_Command structure?

What do you mean by disabling the feature? If I understood correctly, one can use cmd.associate() instead of
cmd.transport() to send subsequent commands to the device. If that's the case, then I'd opt for the cmd.associate()
version.

Or are you talking about changing some code in the dvd+rw tools?


Adrian


<-- thread -->
<-- date -->
  • References:
    • Re: [linux-minidisc] another way to send SCSI commands
      • From: "Thomas Arp" <manner.moe@gmx.de>
  • linux-minidisc - December 2010 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal