--- Begin Message ---
於 二,2008-04-01 於 17:14 +0100,Andy Green 提到:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> 
> Where did we look, in U-Boot or in the kernel / /sys?
> 
        kernel/sys/

> |     - Interrupts of motion sensor
> |             I dump the interrupt information of kernel in the following:
> |
> | root@(none):~$ cat /proc/interrupts
> |            CPU0
> |  16:          1    s3c-ext0  lis302dl
> |  60:          1     s3c-ext  lis302dl
> 
> It can be alright, but you need to do, eg,
> 
> # hexdump -n 1000 /dev/input/event2
> # hexdump -n 1000 /dev/input/event3
> 
> you should see some hex spew by and the two interrupt counts should be
> larger (the interrupts only run when something has the /dev/input/event*
> open).
        Yes. Like what you described. Here is the log after
hexdumped /dev/input/event[2,3]

        root@(none):~$ cat /proc/interrupts 
           CPU0
 16:         33    s3c-ext0  lis302dl
 17:          1    s3c-ext0  modem
 30:      43436         s3c  S3C2410 Timer Tick
 33:          0         s3c  s3c24xx_hcd
 37:         10         s3c  S3c24xx SDIO host controller
 41:       1537         s3c  s3c2410_udc
 42:         68         s3c  ohci_hcd:usb1
 43:       2157         s3c  s3c2440-i2c
 48:          0     s3c-ext  Neo1973 Headphone Jack
 50:          1     s3c-ext  Neo1973 AUX button
 51:          1     s3c-ext  Neo1973 HOLD button
 53:        223     s3c-ext  pcf50633
 60:         19     s3c-ext  lis302dl
 70:          0   s3c-uart0  s3c2440-uart
 71:          4   s3c-uart0  s3c2440-uart
 76:          0   s3c-uart2  s3c2440-uart
 77:         17   s3c-uart2  s3c2440-uart
 79:          0     s3c-adc  s3c2410_action
 80:          0     s3c-adc  s3c2410_action
Err:          0
root@(none):~$ 

        Matt
> 
> - -Andy
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkfyX18ACgkQOjLpvpq7dMpi1gCfU2BzAAKokYvEn5v4cCIFuhv4
> doMAoJFmVBOJ85M5CM0ehTwDqtejDemM
> =qWe4
> -----END PGP SIGNATURE-----

--- End Message ---

Reply via email to