Openmoko Bug #2254: No usb pressed/released event with 2.6.28/2.6.29

Openmoko Public Trac bugs at docs.openmoko.org
Mon Apr 27 15:37:03 CEST 2009


#2254: No usb pressed/released event with 2.6.28/2.6.29
---------------------+------------------------------------------------------
 Reporter:  Defiant  |          Owner:  openmoko-devel                    
     Type:  defect   |         Status:  new                               
 Priority:  normal   |      Milestone:  FSO                               
Component:  unknown  |        Version:  unspecified                       
 Severity:  normal   |       Keywords:  usb event4 2.6.28 pressed released
 Haspatch:  0        |      Blockedby:                                    
Estimated:           |    Patchreview:                                    
 Blocking:           |   Reproducible:                                    
---------------------+------------------------------------------------------

Comment(by lindi):

 lindi at ginger:~$ sudo evtest /dev/input/event4
 Input driver version is 1.0.0
 Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
 Input device name: "Neo1973 Buttons"
 Supported events:
   Event type 0 (Sync)
   Event type 1 (Key)
     Event code 119 (Pause)
     Event code 169 (Phone)
   Event type 5 (?)
     Event code 2 (?)

 so it definitely is not at least event4. However, it could be

 lindi at ginger:~$ sudo evtest /dev/input/event0
 Input driver version is 1.0.0
 Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
 Input device name: "PCF50633 PMU events"
 Supported events:
   Event type 0 (Sync)
   Event type 1 (Key)
     Event code 116 (Power)
   Event type 22 (Power)
 Testing ... (interrupt to exit)

 Can you see that name with the old kernel? I placed a breakpoint to
 pcf50633_input_irq() but it does not trigger when I insert the wall
 charger to freerunner. However, the interrupt count of pcf50633 in
 /proc/interrupts is incremented by two.

 I'm trying to figure out how to break on interrupt next..

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


More information about the buglog mailing list