| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,701
» Latest member: Stunnned
» Forum threads: 16,260
» Forum posts: 117,189
Full Statistics
|
| Latest Threads |
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: Stunnned
Yesterday, 01:27 PM
» Replies: 2
» Views: 170
|
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
11-23-2025, 02:02 AM
» Replies: 8
» Views: 15,543
|
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 220
|
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 126
|
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 619
|
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 189
|
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 485
|
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,188
|
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 113
|
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 107
|
|
|
| can I get the hardware addresses of Pine Phones devices? |
|
Posted by: blicken - 02-15-2020, 09:09 PM - Forum: PinePhone Hardware
- Replies (2)
|
 |
can I get the hardware addresses of Pine Phones devices?
I have tried sudo cat /proc/ioports
and some other commands that might work on more standard Ubuntu distros. this isnt a distro specific question, I just want the hardware addresses for the devices such as the motor, rgb LED, gps, acellerometer etc.
|
|
|
|
| Making phone calls |
|
Posted by: PinePhoneCoder - 02-15-2020, 03:02 PM - Forum: UBPorts on PinePhone
- Replies (7)
|
 |
I am trying to get the phone part of the PinePhone working, what I wrote here is what I tried, however I did not succeed yet and I hope you can help me with it.
I use this as a guideline:
(02-08-2020, 12:21 PM)kop316 Wrote: https://megous.com/dl/tmp/modem.txt
For the mixer it is written:
Quote:1) alsamixer
- set "Line Out Source" to "Mono Differential"
- Unmute "AIF1 Slot 0 Digital DAC"
- (optional) unmute the microphone / mute loudpeaker
And I tried to do that in bash
Code: # Enable audio
sudo modprobe snd_soc_simple_amplifier
sudo modprobe snd_soc_simple_card_utils
# Unmute audio
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
# Mute speaker (audio will loop otherwise trough the speaker and mic, terrible noise!!)
amixer -c 0 set 'Line Out' mute
# Unmute the ear speaker? (not sure)
amixer -c 0 set 'Earpiece' unmute
# Open microphone
amixer -c 0 set 'Mic1' unmute
# Set volume
amixer sset 'Line Out' 0%
amixer sset 'Earpiece' 100%
amixer sset 'Mic1' 100%
# Set mono
amixer sset 'Line Out Source' 'Mono Differential'
Next is how to send AT commands to the modem?
If I run the following command I get the modem device name and information:
Code: /usr/share/ofono/scripts/list-modems
And I want to run something like:
Code: sudo echo "AT+QTTS=2,\"Welcome to use the module of QUECTEL" > /quectelqmi_0
But /quectelqmi_0 needs do be a device file and it is not I guess.
Who want to help me out here?
Thank you in advance!
|
|
|
|
| glxgears showing 36FPS when it should be 60FPS I believe |
|
Posted by: hex - 02-15-2020, 10:11 AM - Forum: PinePhone Software
- Replies (3)
|
 |
Hi all,
As the title says, usually the FPS from glxgears should be near display's refresh rate.
Regardless of the OS, all of them show 36FPS, does that mean the screen's refresh rate is that low?
If not, why on earth the frame rate is that low? I set the governor to performance (to rule out CPU bottle neck), but nothing changed.
Thanks.
|
|
|
|
| How to Send a SMS text trough the command line |
|
Posted by: PinePhoneCoder - 02-15-2020, 06:59 AM - Forum: UBPorts on PinePhone
- Replies (1)
|
 |
Type in the terminal app of via SSH:
First enable the modem of your PinePhone if not done already:
Code: sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem
Then send sms text message:
Code: /usr/share/ofono/scripts/send-sms /quectelqmi_0 +31628860414 "Hello world!" 0
Replace +31062880414 with the phone number or the desired receiver and replace "Hello world!" with your message.
With a cron job you could send a birthday message to your friends on their birthdays automatically. I will not explain how to do that, it is your home work from me. My birthday is at 15 Nov b.t.w.
|
|
|
|
|