Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.development > #8358

Re: USB CBI Floppy Drive

From "Benjamin David Lunt" <zfysz@fysnet.net>
Newsgroups alt.os.development
Subject Re: USB CBI Floppy Drive
Date 2015-07-13 18:31 -0700
Organization Aioe.org NNTP Server
Message-ID <mo1pgc$hta$1@speranza.aioe.org> (permalink)
References <mo17lc$fem$1@speranza.aioe.org> <mo18ke$9u2$1@dont-email.me>

Show all headers | View raw


"James Harris" <james.harris.1@gmail.com> wrote in message 
news:mo18ke$9u2$1@dont-email.me...
> "Benjamin David Lunt" <zfysz@fysnet.net> wrote in message 
> news:mo17lc$fem$1@speranza.aioe.org...
>> Hi guys,
>>
>> Just a quick announcement that Bochs
>>  http://bochs.sourceforge.net/
>> now supports and emulates a USB Floppy Drive via the CBI interface.
>
> For the uninitiated like me, what is a CBI interface?

CBI, or Control Bulk Interrupt, is the transport interface used
by the USB to communicate with the device.

http://www.usb.org/developers/docs/devclass_docs/usb_msc_cbi_1.1.pdf

The USB Floppy Drive follows the UFI class, which is a subset
of the Mass Storage Class as the form of data it transfers.

www.usb.org/developers/docs/devclass_docs/usbmass-ufi10.pdf

Therefore, the CBI interface is used by the USB, while the UFI interface
is used by the mass storage device itself.

In other words, you use the CBI interface to send it commands where
these commands conform to the UFI specification.

For an example, you might send the Inquiry command to receive
informational data from the device.

To do so, you send a 12-byte Setup packet on the Control endpoint,
then a receive a number of bytes on the Bulk endpoint, then receive
a 2-byte packet status packet on the Interrupt endpoint.

Control, Bulk, Interrupt.

The UFI specs describe what the 12-byte Control packet should be,
and what the data looks like in the Bulk In packet, while the CBI
specs describe how to send and receive said data.

Clear as mud?

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Forever Young Software
http://www.fysnet.net/index.htm
http://www.fysnet.net/osdesign_book_series.htm
To reply by email, please remove the zzzzzz's

Batteries not included, some Assembly required.


Back to alt.os.development | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

USB CBI Floppy Drive "Benjamin David Lunt" <zfysz@fysnet.net> - 2015-07-13 13:35 -0700
  Re: USB CBI Floppy Drive "James Harris" <james.harris.1@gmail.com> - 2015-07-13 21:57 +0100
    Re: USB CBI Floppy Drive "Benjamin David Lunt" <zfysz@fysnet.net> - 2015-07-13 18:31 -0700
    Re: USB CBI Floppy Drive "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-13 22:06 -0400
      Re: USB CBI Floppy Drive "James Harris" <james.harris.1@gmail.com> - 2015-07-14 06:43 +0100
      Re: USB CBI Floppy Drive "wolfgang kern" <nowhere@never.at> - 2015-07-14 09:06 +0200
      Re: USB CBI Floppy Drive "s_dubrovich@yahoo.com" <s_dubrovich@yahoo.com> - 2015-07-14 08:29 -0700
        Re: USB CBI Floppy Drive "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-15 02:47 -0400

csiph-web