Advertisement
Guest User

raspi-cfg01

a guest
Nov 29th, 2013
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. the working raspberry:
  2.  
  3. =======================
  4. root@model2:~> uname -a
  5. Linux model2 3.6.11+ #557 PREEMPT Wed Oct 2 18:49:09 BST 2013 armv6l GNU/Linux
  6.  
  7. =================================
  8. root@model2:~> cat /proc/modules
  9. evdev 9450 1 - Live 0xbf12d000
  10. uinput 6599 1 - Live 0xbf128000
  11. lirc_rpi 7274 3 - Live 0xbf122000 (C)
  12. lirc_dev 10224 1 lirc_rpi, Live 0xbf11b000
  13. cuse 4714 0 - Live 0xbf116000
  14. fuse 69438 2 cuse, Live 0xbf0fd000
  15. snd_bcm2835 16432 0 - Live 0xbf0f4000
  16. snd_pcm 77728 1 snd_bcm2835, Live 0xbf0d7000snd_page_alloc 5169 1 snd_pcm, Live 0xbf0d2000
  17. snd_seq 53482 0 - Live 0xbf0bd000
  18. snd_seq_device 6462 1 snd_seq, Live 0xbf0b7000snd_timer 20110 2 snd_pcm,snd_seq, Live 0xbf0ad000snd 58744 5 snd_bcm2835,snd_pcm,snd_seq,snd_seq_device,snd_timer, Live 0xbf095000
  19. leds_gpio 2243 0 - Live 0xbf091000
  20. led_class 3570 1 leds_gpio, Live 0xbf08d0008192cu 490361 0 - Live 0xbf000000
  21.  
  22. =================================
  23. root@model2:~> modinfo lirc_rpi
  24. filename: /lib/modules/3.6.11+/kernel/drivers/staging/media/lirc/lirc_rpi.ko
  25. license: GPL
  26. author: Michael Bishop <cleverca22@gmail.com>
  27. author: Aron Robert Szabo <aron@reon.hu>
  28. description: Infra-red receiver and blaster driver for Raspberry Pi GPIO.
  29. srcversion: 0B54549C1D79BC000B0DA0E
  30. depends: lirc_dev
  31. staging: Y
  32. intree: Y
  33. vermagic: 3.6.11+ preempt mod_unload modversions ARMv6
  34. parm: gpio_out_pin:GPIO output/transmitter pin number of the BCM processor. Valid pin numbers are: 0, 1, 4, 8, 7, 9, 10, 11, 14, 15, 17, 18, 21, 22, 23, 24, 25, default 17 (int)
  35. parm: gpio_in_pin:GPIO input pin number of the BCM processor. Valid pin numbers are: 0, 1, 4, 8, 7, 9, 10, 11, 14, 15, 17, 18, 21, 22, 23, 24, 25, default 18 (int)
  36. parm: sense:Override autodetection of IR receiver circuit (0 = active high, 1 = active low ) (bool)
  37. parm: softcarrier:Software carrier (0 = off, 1 = on, default on) (bool)
  38. parm: invert:Invert output (0 = off, 1 = on, default off (bool)
  39. parm: debug:Enable debugging messages (bool)
  40.  
  41. from dmesg:
  42. ===========
  43. [ 12.653057] lirc_dev: IR Remote Control driver registered, major 248
  44. [ 12.677983] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
  45. [ 12.705546] lirc_rpi lirc_rpi.0: lirc_dev: driver lirc_rpi registered at minor = 0
  46. [ 12.731564] lirc_rpi: driver registered!
  47. [ 13.691477] lirc_rpi: auto-detected active high receiver on GPIO pin 18
  48. [ 14.238956] input: lircd as /devices/virtual/input/input0
  49.  
  50. /etc/modules:
  51. =============
  52. lirc_rpi gpio_in_pin=23 gpio_out_pin=17
  53. lirc_dev
  54.  
  55. /boot/cmdline.txt:
  56. ==================
  57. dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
  58.  
  59. lircd.conf:
  60. ===========
  61. begin remote
  62. name OptSwitch
  63. bits 16
  64. flags SPACE_ENC|CONST_LENGTH
  65. eps 30
  66. aeps 100
  67.  
  68. header 9038 4443
  69. one 613 1632
  70. zero 613 510
  71. ptrail 612
  72. repeat 9038 2196
  73. pre_data_bits 16
  74. pre_data 0x61D6
  75. gap 107849
  76. toggle_bit_mask 0x0
  77.  
  78. begin codes
  79. power 0x7887
  80. 1 0x40BF
  81. 2 0x609F
  82. 3 0x10EF
  83. 4 0x20DF
  84. end codes
  85.  
  86. end remote
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement