- This topic has 14 replies, 2 voices, and was last updated 9 years ago by Gene, N7ARO.
-
AuthorPosts
-
October 28, 2015 at 12:00 pm #1449Gene, N7AROUser
Completed a fresh install. Raspberry Pi 2 Model B. The only modifications were adding call sign to Repeater tab and setting RX GPIO pin to 22, TX pin to 27 and setting both RX and TX to alsa:plughw:0.
Short and long IDs are present in head phones.
I have my (-) lead on multi-meter connected to pin 14 (Ground) and the (+) lead to 13 (GPIO 27). I do not get 3.3v when audio is present.
No repeater log errors.
dmesg had the following errors:
EXT-4fs (mmcblk0p2): couldn’t mount as ext3 due to feature incompatibilities – 2 of these errors, but then it reports mounting the file systempcm512x 1-004d: Failed to reset device: -5
pcm512x 1-004c: Failed to reset device: -5 (I think these are codecs, not worried about the error).I have the following registered under /sys/class/gpio
xport gpio22 gpio27 gpiochip0 unexportI can manually turn on/off gpio27 (verified by 3.3v on mutimeter) by using echo 1/0 on the value of gpio27.
When I cat the svxlink_update.php file, I see the following:
* WRITE GPIO PINS TO STARTUP FILE */
gpioRxString = implode(” “, $gpioRxArray);
gpioTxString = implode(” “, $gpioTxArray);gpioConfigFile .= ‘
GPIO_PTT_PIN=”‘.$gpioTxString.'”
GPIO_SQL_PIN=”‘.$gpioRxString.'”Could it be GPIO pins 22 & 27 are not being being passed to the proper startup file?
Gene
N7AROOctober 29, 2015 at 5:48 pm #1453Aaron, N3MBHForum AdministratorWell if you can sys the gpios pins in /sys/class/gpio, then they are writing to the proper “startup file” What you are seeing in php file is the code that pulls setting from the database and write it out to a config file that svxlink reads to operate.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
October 30, 2015 at 11:46 am #1455Gene, N7AROUserHas anyone actually successfully used the Pi2B GPIO for an automatic PTT using the current Beta?
Is it possible that another device is configured for the PTT (/dev/ttyx) that has priority in svxlink?
November 4, 2015 at 1:05 pm #1457Aaron, N3MBHForum AdministratorSorry for the late reply, last week was nuts. Yes, I have been able to successfully use this image on my RPI2. I am doing my development on the Beaglebone Black so I will have to try and fire up my Pi again when I get a chance. I do remember that I did have to add the pull up resister on COS gpio to make it work right.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
November 4, 2015 at 5:19 pm #1458Gene, N7AROUserThanks,
I will give it a try and report back.
-
AuthorPosts
- You must be logged in to reply to this topic.