Openmoko Bug #2348: dfu-util shows only one partition

Openmoko Public Trac bugs at docs.openmoko.org
Sun Jul 18 21:10:05 CEST 2010


#2348: dfu-util shows only one partition
----------------------------+-----------------------------------------------
 Reporter:  gravis          |          Owner:  openmoko-devel
     Type:  defect          |         Status:  new           
 Priority:  normal          |      Milestone:                
Component:  host utilities  |        Version:                
 Severity:  normal          |       Keywords:                
 Haspatch:  0               |      Blockedby:                
Estimated:                  |    Patchreview:                
 Blocking:                  |   Reproducible:                
----------------------------+-----------------------------------------------

Comment(by lindi):

 Thank you for all the information you provided. I can reproduce your
 problem with dfu-util 0.0+r4880-1 from debian unstable and dfu-util
 0.0+r4067-3.1 from debian stable. Both were run under linux
 2.6.32-amd64-lindi2.

 The output was

 {{{
 $ sudo dfu-util -l
 dfu-util - (C) 2007 by OpenMoko Inc.
 This program is Free Software and has ABSOLUTELY NO WARRANTY

 Found Runtime: [0x1d50:0x5119] devnum=8, cfg=0, intf=2, alt=0, name="USB
 Device Firmware Upgrade"
 }}}

 lsusb -vvv shows

 {{{
 Bus 007 Device 011: ID 1d50:5119 OpenMoko, Inc.
 Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            2 Communications
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0        16
   idVendor           0x1d50 OpenMoko, Inc.
   idProduct          0x5119
   bcdDevice            0.00
   iManufacturer           1 OpenMoko, Inc
   iProduct                2 Neo1973 Bootloader U-Boot 1.3.2-moko12
   iSerial                 3 0000000
   bNumConfigurations      2
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           85
     bNumInterfaces          3
     bConfigurationValue     1
     iConfiguration          4 TTY via USB
     bmAttributes         0x80
       (Bus Powered)
     MaxPower              500mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         2 Communications
       bInterfaceSubClass      2 Abstract (modem)
       bInterfaceProtocol      1 AT-commands (v.25ter)
       iInterface              6 Control Interface
       CDC Header:
         bcdCDC               0.6e
       CDC Call Management:
         bmCapabilities       0x00
         bDataInterface          1
       CDC ACM:
         bmCapabilities       0x00
       CDC Union:
         bMasterInterface        0
         bSlaveInterface         1
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0010  1x 16 bytes
         bInterval             255
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       0
       bNumEndpoints           2
       bInterfaceClass        10 CDC Data
       bInterfaceSubClass      0 Unused
       bInterfaceProtocol      0
       iInterface              5 Bulk Data Interface
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x02  EP 2 OUT
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0010  1x 16 bytes
         bInterval             255
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x83  EP 3 IN
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0010  1x 16 bytes
         bInterval             255
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        2
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass       254 Application Specific Interface
       bInterfaceSubClass      1 Device Firmware Update
       bInterfaceProtocol      1
       iInterface              7 USB Device Firmware Upgrade
       ** UNRECOGNIZED:  09 21 07 00 ff 00 10 00 01
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           67
     bNumInterfaces          2
     bConfigurationValue     2
     iConfiguration          4 TTY via USB
     bmAttributes         0x80
       (Bus Powered)
     MaxPower              100mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         2 Communications
       bInterfaceSubClass      2 Abstract (modem)
       bInterfaceProtocol      1 AT-commands (v.25ter)
       iInterface              6 Control Interface
       CDC Header:
         bcdCDC               0.6e
       CDC Call Management:
         bmCapabilities       0x00
         bDataInterface          1
       CDC ACM:
         bmCapabilities       0x00
       CDC Union:
         bMasterInterface        0
         bSlaveInterface         1
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0010  1x 16 bytes
         bInterval             255
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       0
       bNumEndpoints           2
       bInterfaceClass        10 CDC Data
       bInterfaceSubClass      0 Unused
       bInterfaceProtocol      0
       iInterface              5 Bulk Data Interface
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x02  EP 2 OUT
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0010  1x 16 bytes
         bInterval             255
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x83  EP 3 IN
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0010  1x 16 bytes
         bInterval             255
 Device Status:     0x0001
   Self Powered
 }}}

 That '** UNRECOGNIZED:  09 21 07 00 ff 00 10 00 01' looks bad!

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2348#comment:8>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list