Author Topic: Mass storage device  (Read 2222 times)

0 Members and 1 Guest are viewing this topic.

Offline rckantaTopic starter

  • Contributor
  • Posts: 31
  • Country: in
    • http://www.fimage.ml/
Mass storage device
« on: July 03, 2020, 05:36:37 pm »
I tried to interface using libusb and I checked the packet. The USB device does not respond.
There is nothing wrong in the program and USB packet.

How can I interface the mass storage device or SCSI device?
I am trying interfaced from C program?



Bus 001 Device 006: ID 2109:7638 VIA Labs, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x2109 VIA Labs, Inc.
  idProduct          0x7638
  bcdDevice            0.00
  iManufacturer           1 USBKey Chip
  iProduct                2 USBKey Module
  iSerial                 3 202730041341
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

« Last Edit: July 03, 2020, 06:11:57 pm by rckanta »
 

Offline WattsThat

  • Frequent Contributor
  • **
  • Posts: 916
  • Country: us
Re: Mass storage device
« Reply #1 on: July 03, 2020, 06:02:26 pm »
I find that a tall cup of a nice dark roast opens the interface to my mass storage device. Once data transfer begins, my interrupt driven system clock typically initiates a daily routine of garbage collection and disposal.

A serious answer requires a serious question. Next contestant please.
 

Offline rckantaTopic starter

  • Contributor
  • Posts: 31
  • Country: in
    • http://www.fimage.ml/
Re: Mass storage device
« Reply #2 on: July 03, 2020, 06:17:14 pm »
I find that a tall cup of a nice dark roast opens the interface to my mass storage device. Once data transfer begins, my interrupt driven system clock typically initiates a daily routine of garbage collection and disposal.

A serious answer requires a serious question. Next contestant please.

If you don't know the answer or if you can not help.
Please don't waste my time to read your comment.
 

Offline WattsThat

  • Frequent Contributor
  • **
  • Posts: 916
  • Country: us
Re: Mass storage device
« Reply #3 on: July 03, 2020, 06:32:28 pm »
I responded to your original post, which before you edited was:

Quote
How can I interface the mass storage device or SCSI device?
I am trying interfaced from C program?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->