On Sat, 14 May 2005 18:46:56 -0700
Phil Dibowitz <[EMAIL PROTECTED]> wrote:

> Filippo Bardelli wrote:
> >>>---------------------------------------------------------
> >>>
> >>>/* Dikom D-3016 (aka Maycom VR3xxx where xx depends on storage
> >size:>>032,064,128) based on  Trumpion 33520  chip
> >(filibard(at)libero.it)>>*/
> >>>
> >>>UNUSUAL_DEV(  0x090a, 0x1050, 0x0000, 0x9999,
> >>>                "Trumpion",
> >>>                "33520 USB  Digital Voice Recorder",
> >>>                US_SC_UFI, US_PR_CB, NULL, US_FL_MODE_XLATE),
> >>
> >>Can you tell me how to came to this entry? Did ou base it off
> >another>entry, or are you sure it needs UFI and CB?
> >>I can tell you that US_FL_MODE_XLATE isn't used in the 2.6 kernel.
> >>Have you tried US_SC_DEVICE and/or US_PR_DEVICE in place of
> >US_SC_UFI>and US_PR_CB respectively?
> > 
> > 
> > I've followed what i've found about a very similar device in this
> > link:
> > 
> > http://www.qbik.ch/usb/devices/showdev.php?id=1136T:  Bus=01 Lev=00
> > Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> 
> Can you send the list and me output of "cat /proc/bus/usb/devices"
> please?

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=cc942000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=090a ProdID=1050 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 60mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=01 Prot=01
Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=255ms

and this is the ' lsusb -vv ' output 

Bus 001 Device 002: ID 090a:1050 Trumpion Microelectronics, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x090a Trumpion Microelectronics, Inc.
  idProduct          0x1050
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower               60mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      1 RBC (typically Flash)
      bInterfaceProtocol      1 Control/Bulk
      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  bytes 64 once
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  bytes 64 once
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  bytes 8 once
        bInterval             255


In my opinion the part that is faulty, is this:

    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      1 RBC (typically Flash)
      bInterfaceProtocol      1 Control/Bulk
      iInterface              0
      Endpoint Descriptor:           


in fact using 
  US_SC_RBC,
the device can't work.

Also with windows xp is not possible to work with that device,
unless one uses the software included.  

----------------------------------------------
About the  US_FL_MODE_XLATE issue..

With kernel 2.4.29: 

This doesn't work: 

UNUSUAL_DEV(  0x090a, 0x1050, 0x0000, 0x9999,
                "Trumpion",
                "33520 USB Digital Voice Recorder",
                US_SC_UFI, US_PR_BULK, NULL, 0 ) ,


while this works fine:

UNUSUAL_DEV(  0x090a, 0x1050, 0x0000, 0x9999,
                "Trumpion",
                "33520 USB Digital Voice Recorder",
                US_SC_UFI, US_PR_CB, NULL, 0 ) ,

and this works fine,too:

UNUSUAL_DEV(  0x090a, 0x1050, 0x0000, 0x9999,
                "Trumpion",
                "33520 USB Digital Voice Recorder",
                US_SC_UFI, US_PR_DEVICE, NULL, 0 ) ,


Thank you.
Filippo



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to