Jump to content

dobriloff

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

776 profile views
  • pec

  1. Guys, Problem comes from switch.h Build with https://raw.githubusercontent.com/openwrt-mirror/openwrt/master/target/linux/generic/files/include/uapi/linux/switch.h switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096 --switch Attribute 1 (int): enable_vlan ((null)) Attribute 2 (string): ports ((null)) Attribute 3 (int): reset_mib ((null)) Attribute 4 (int): enable_jumbo ((null)) Attribute 5 (int): allow_vid_4095 ((null)) Attribute 6 (unknown): apply ((null)) Attribute 7 (unknown): reset ((null)) --vlan Attribute 1 (ports): ports ((null)) --port Attribute 1 (string): mib ((null)) Attribute 2 (int): pvid ((null)) Attribute 3 (string): link ((null)) Build with https://raw.githubusercontent.com/Bananian/openwrt/master/target/linux/generic/files/include/uapi/linux/switch.h switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096 --switch Attribute 1 (int): enable_vlan (Enable VLAN mode) Attribute 2 (string): ports (Available Ports (as bitmask)) Attribute 3 (int): reset_mib (Reset MIB counters) Attribute 4 (int): enable_jumbo (Enable Jumbo Frames) Attribute 5 (int): allow_vid_4095 (Allow VID 4095) Attribute 6 (none): apply (Activate changes in the hardware) Attribute 7 (none): reset (Reset the switch) --vlan Attribute 1 (ports): ports (VLAN port mapping) --port Attribute 1 (string): mib (Get port's MIB counters) Attribute 2 (int): pvid (Primary VLAN ID) Attribute 3 (string): link (Get port link information) My solution apt-get purge -y swconfig wget -O /usr/include/linux/switch.h https://raw.githubusercontent.com/Bananian/openwrt/master/target/linux/generic/files/include/uapi/linux/switch.h git clone https://github.com/jekader/swconfig.git cd swconfig bash build.sh cd .. dpkg -i swconfig_15.04-1_armhf.deb rm -rf swconfig* PS: Nice people developers, please test your code that working on 100% before to release new versions
  2. Now I saw there are module lirc_gpio which have desired options for pin. How I can get pin number of embedded IR receiver.
  3. Hello Igor, Thank you for quick answer , now I'll download Armbian_5.00_Lamobo-r1_Debian_jessie_3.4.110 image. Can you advice me about the way to start transmitter ? Walking around in Internet , I found only posts about lirc_rpi module where I can set options like modprobe lirc_rpi gpio_in_pin=23 gpio_out_pin=16. I mean after I connect IR LED , for example to physical pin 10 which is gpio 16 , how to became operational in LIRC , irsend . Until now I make tests few days in Bananian but I get error: hardware does not support sending added LIRC GPIO receive and send driver for legacy Allwinner -- Was my reason to switch to armbian , because I need to send IR signals to few devices.
  4. Hello I have the same issue with Infrared on BananaPi R1. My device was installed with Armbian_5.00_Lamobo-r1_Debian_jessie_4.4.1 This is the output from commands: cat /proc/device-tree/model Lamobo R1 cat /proc/device-tree/soc@01c00000/ir@01c21800/status disabled I try to modify /boot/dtb/sun7i-a20-lamobo-r1.dtb to proposed above value but , it's still not working. I try to check again the value in /boot/dtb/sun7i-a20-bananapi-r1.dtb and I saw two value are changed strange pinctrl-0 = <0x2d>; it was pinctrl-0 = <&ir0_rx_pins_a>; vabel ir0_rx_pins_a missing on ir0@0 It looks dtc program change the values. This is the way how I convert the file. dtc -I dtb -O dts /boot/dtb/sun7i-a20-bananapi-r1.dtb -o /tmp/temp.dts vi /tmp/temp.dts dtc -I dts -O dtb /tmp/temp.dts -o /boot/dtb/sun7i-a20-bananapi-r1.dtb Additionally I have IR LED transmitter which I intent to connect to some of GPIO , can you help me with that too. I saw in release history , that the image have support for that but I cannot find the module. added LIRC GPIO receive and send driver for legacy Allwinner
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines