Disable vibrations - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Disable vibrations (/showthread.php?tid=13119) |
Disable vibrations - 3x5co - 02-15-2021 I don't really like the vibration motor, and I figure it would save more battery if it was disabled. How do I do it? RE: Disable vibrations - ergo owl - 03-13-2021 I would also like to know how to disable vibrations, maybe someone could share some insight. In general, the system settings menu could use some attention. Ive used mobian for 6 months and I still dont know how to change the ringetone without breaking anything RE: Disable vibrations - Maus - 03-13-2021 (03-13-2021, 04:11 PM)ncc Wrote: my pinephone is not vibrating at all. i thought it was because of mobian being in development, but i can live without it, i guessMine does not vibrate, too, and I wasn't able to trigger it programmatically or by using sysfs. RE: Disable vibrations - Zebulon Walton - 03-13-2021 (02-15-2021, 12:54 AM)3x5co Wrote: I don't really like the vibration motor, and I figure it would save more battery if it was disabled. How do I do it? One approach would be to cut the vibration motor's wires or pry it apart to break its internal wiring. I did that accidentally when replacing a cracked screen. RE: Disable vibrations - ergo owl - 03-15-2021 (03-13-2021, 05:03 PM)Zebulon Walton Wrote: One approach would be to cut the vibration motor's wires or pry it apart to break its internal wiring. I did that accidentally when replacing a cracked screen. Sounds like fun! Just need to find out how it looks like so I dont go cutting off the wrong thing.. do you know of some schematics or relevant pictures? RE: Disable vibrations - scholbert - 03-16-2021 Hey guys, before you rip your phones apart to cut some wires... What do you think about "cutting wires" in software? Have a look here: https://gitlab.com/mobian1/devices/sunxi64-linux/-/blob/mobian-5.10/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi Especially this entry gives the needed information: Code: vibrator { So if you are familiar with kernel compilation you could disable this entry by comment out the vibrator part in the DTS and generate a new dtb file. There should also be some system service handling this, but i'm still searching... EDIT: O.k. dbus.service is starting /usr/libexec/feedbackd which handles the vibrator afterwards. So you could start tweaking the theme for pinephone at: /usr/share/feedbackd/themes. But maybe this isn't nasty enough The daemon feedbackd has a rules definition in /lib/udev/rules.d/90-feedbackd.rules In this file there's a definition for the vibrator: Code: SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ENV{ID_PATH}=="platform-vibrator", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra" Maybe it's enough to uncomment this line with "#". Just a thought... i did not try that. AFAIK this stuff is all handled by the kernel event system, look here as a reference (pinephone console output, the last entry): Code: mobian@mobian:/dev/input/by-path$ ls -l Maybe this helps in any way. Cheers, scholbert RE: Disable vibrations - quixote - 01-22-2022 (03-16-2021, 04:43 AM)scholbert Wrote: The daemon feedbackd has a rules definition in /lib/udev/rules.d/90-feedbackd.rules I tried commenting that line out. It works to shut down all vibration notifications. Which is nice. Not so nice: it also seems to shut down ALL notifications from the phone. No ringing for calls, no tones for texts, nothing. I'm not sure why some incredibly ordinary functionality simply does not seem to appear on the pinephone. Being able to assign ringtones to individuals and groups, being able to silence ringtones, being able to turn vibration on and off. It's been two years now. *Please* do it! I'd be really really grateful for a solution to this. I don't mind editing config files. But on the larger issue of the phone's usability for the general customer, this really needs to be easy to do in the phone app (or Settings) itself. It's not simple enough for me to have ever found it RE: Disable vibrations - Pelecanus - 05-14-2022 I followed the description in the feedbackd README and
Finally I set the feedback profile to 'full' (it was 'silent' before because I didn't like the vibrations): Code: gsettings set org.sigxcpu.feedbackd profile full Finally my PinePhone has sound notifications without vibrations RE: Disable vibrations - iwakura_lain - 06-11-2022 Easier way than doing anything with the DE would just to echo "blacklist gpio_vibra" (lsmod revealed this to be the relevant module) into /etc/modprobe.d/vibrate so it won't start the driver for it on boot. |