Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =======================
- root@model1:~> uname -a
- Linux model1 3.10.19+ #600 PREEMPT Sat Nov 16 20:34:43 GMT 2013 armv6l GNU/Linux
- ================================
- root@model1:~> cat /proc/modules
- evdev 9325 1 - Live 0xbf144000
- uinput 6574 1 - Live 0xbf13f000
- lirc_rpi 7238 3 - Live 0xbf139000 (C)
- lirc_dev 10115 1 lirc_rpi, Live 0xbf132000
- cuse 4921 0 - Live 0xbf12d000
- fuse 76145 2 cuse, Live 0xbf111000
- snd_bcm2835 16165 0 - Live 0xbf109000
- snd_pcm 81593 1 snd_bcm2835, Live 0xbf0eb000
- snd_page_alloc 5156 1 snd_pcm, Live 0xbf0e6000
- snd_seq 53769 0 - Live 0xbf0d1000
- snd_seq_device 6473 1 snd_seq, Live 0xbf0cb000
- snd_timer 20133 2 snd_pcm,snd_seq, Live 0xbf0c1000
- snd 58895 5 snd_bcm2835,snd_pcm,snd_seq,snd_seq_device,snd_timer, Live 0xbf0a9000
- 8192cu 550816 0 - Live 0xbf008000
- leds_gpio 2059 0 - Live 0xbf004000
- led_class 3688 1 leds_gpio, Live 0xbf000000
- ===============================
- root@model1:~> modinfo lirc_rpi
- filename: /lib/modules/3.10.19+/kernel/drivers/staging/media/lirc/lirc_rpi.ko
- license: GPL
- author: Michael Bishop <[email protected]>
- author: Aron Robert Szabo <[email protected]>
- description: Infra-red receiver and blaster driver for Raspberry Pi GPIO.
- srcversion: 0BD465F613414859C8673DC
- depends: lirc_dev
- staging: Y
- intree: Y
- vermagic: 3.10.19+ preempt mod_unload modversions ARMv6
- 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)
- 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)
- parm: sense:Override autodetection of IR receiver circuit (0 = active high, 1 = active low ) (int)
- parm: softcarrier:Software carrier (0 = off, 1 = on, default on) (bool)
- parm: invert:Invert output (0 = off, 1 = on, default off (bool)
- parm: debug:Enable debugging messages (bool)
- ====================================
- root@model1:~> cat /boot/cmdline.txt
- dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
- ====================================
- the new irrecord-created lircd.conf:
- begin remote
- name OptSwitch
- bits 16
- flags SPACE_ENC|CONST_LENGTH
- eps 30
- aeps 100
- header 9027 4452
- one 604 1642
- zero 604 519
- ptrail 600 repeat 9030 2209
- pre_data_bits 16 pre_data 0x61D6
- gap 107848 toggle_bit_mask 0x0
- begin codes
- power 0x7887
- 1 0x40BF
- 2 0x609F
- 3 0x10EF
- 4 0x20DF
- end codes
- end remote
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement