Send buglog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/buglog
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of buglog digest..."
Today's Topics:

   1. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
   2. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
   3. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
   4. Openmoko Bug #2349: Too high power consumption in 2.6.32
      (Openmoko Public Trac)
   5. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
   6. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
--- Begin Message ---
#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 gravis):

 ok. I've added usb capture during running dfu-util -l

 I've realised that frame length of 4th packet is 64bytes (according to
 header) but seems it was transmitted bigger? See that device name string
 is longer than captured one..

 Would you like me to upload a capture from full connection (from turning
 device on, then dfu-util -l, then waiting for uboot timeout) ? Or is it
 enough?

 I'll upload those mtdblock strings in a minute..

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

--- End Message ---
--- Begin Message ---
#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 gravis):

 OK

 check my greps here (second one gave me nothing so I've grepped with more
 greedy rule)

 http://pastebin.pl/26298

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

--- End Message ---
--- Begin Message ---
#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

--- End Message ---
--- Begin Message ---
#2349: Too high power consumption in 2.6.32
----------------------+-----------------------------------------------------
 Reporter:  Q-Master  |          Owner:  openmoko-kernel
     Type:  defect    |         Status:  new            
 Priority:  normal    |      Milestone:                 
Component:  kernel    |        Version:                 
 Severity:  major     |       Keywords:                 
 Haspatch:  0         |      Blockedby:                 
Estimated:            |    Patchreview:                 
 Blocking:            |   Reproducible:  always         
----------------------+-----------------------------------------------------
 I've checked the power consumtion as PaulFertser told me using that
 script:
 while true; do cat /sys/class/power_supply/battery/current_now
 >>/var/log/power.log; sleep 1; done
 and suspended/resumed several times, then checked logs.
 The results were horrible:
 52125
 45375
 41437
 Seems that there's something completely wrong with power consumption
 while suspended.
 The Neo lives on battery while suspended only for 1 day in best not
 resumed.
 I'm using shr-unstable
 r...@om-gta02 /var/volatile/log # uname -a
 Linux om-gta02 2.6.32.13 #1 PREEMPT Thu Jul 1 06:45:39 CEST 2010 armv4tl

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2349>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#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 gravis):

 instead of that UNRECOGNIZED line I have :

 {{{
       Device Firmware Upgrade Interface Descriptor:
         bLength                             9
         bDescriptorType                    33
         bmAttributes                        7
           Will Not Detach
           Manifestation Tolerant
           Upload Supported
           Download Supported
         wDetachTimeout                  65280 milliseconds
         wTransferSize                    4096 bytes
         bcdDFUVersion                   0.01
 }}}

 Seems it's rather host problem than OM.. good to hear that ;)

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

--- End Message ---
--- Begin Message ---
#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):

 gravis, what kernel do you have on host?

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

--- End Message ---
_______________________________________________
buglog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/buglog

Reply via email to