GithubHelp home page GithubHelp logo

Comments (15)

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

Could you give me more information?
For example which OS you're using.

After some googling I found these few links:

It could be that the update & upgrade step in raspberry_pi_initial_setup.sh could have update something that is causing that error to appear.

from bluetooth_hid.

Ibrahim3773 avatar Ibrahim3773 commented on June 13, 2024

First of all, thank you so much for the quick response.

OS: 2018-05-27 Rasbian Stretch
Raspberry Pi 3B

The error is occurring when I run the command "sudo sevice dbus restart"
I have also tried to run this command before running the raspberry_pi_initial_setup.sh but i failed

from bluetooth_hid.

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

No worries, I noticed it on time so I had to reply.

Do you by any chance connect to your raspberry pi using vnc?
Does this error appear only after restarting dbus? Does it persist or does it go away?
Does it appear again if you restart the pi?

from bluetooth_hid.

Ibrahim3773 avatar Ibrahim3773 commented on June 13, 2024

No, we are not connecting it using vnc.
Yes, This error appears whenever a restart the debus.
The error persists and periodically appears after every 1-2 minutes.
No, when we reboot the pi, the error doesn't appear.

from bluetooth_hid.

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

Hmm, that's interesting.

Another question, what happens if right after restarting the raspberry pi you try to restart the dbus service without running the raspberry_pi_initial_setup.sh script?

In that script a configuration file is copied from the repository into the /etc/dbus-1/system.d directory.
Could you try deleting it and restarting the dbus service again?

from bluetooth_hid.

Ibrahim3773 avatar Ibrahim3773 commented on June 13, 2024

Same issue persists when I try to restart the dbus service after rebooting the raspberry pi.

I tried to restart the dbus service after deleting the "org.upwork.hidbluetooth.conf" file from "/etc/dbus-1/system.d" but the same error occurred again.

from bluetooth_hid.

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

Then I really don't know what could be causing this issue.

All I can suggest for now is to try to install a newer version of Raspian OS as
it seems that there a version that was released in November 2018 (https://www.raspberrypi.org/downloads/raspbian/)

I hope that you can solve this issue.

from bluetooth_hid.

Ibrahim3773 avatar Ibrahim3773 commented on June 13, 2024

I have tried it on the new version but still the error persists. Thank you so much for your time. Can you please tell me the version of Raspbian you used to run this code successfully?

from bluetooth_hid.

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

This project has currently some issues and I am trying to improve it.
I was busy these past few months so I didn't touch it in a while.
Last time I ran it I used the latest version, which is the one I linked above.

from bluetooth_hid.

speicherspule avatar speicherspule commented on June 13, 2024

Hey, i was sucessful in run scripts in command line mode(non graphical mode). but after that the program didnt work..

from bluetooth_hid.

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

@speicherspule Could you tell me exactly what you did and what happened? I might be able to help you if I have more information

from bluetooth_hid.

speicherspule avatar speicherspule commented on June 13, 2024

IMG_20190320_191314
i'm using last RPi 3b+ with last raspbian and after running all the scripts, i connect bluetooth with my pc or phone and get this error.

from bluetooth_hid.

AnesBenmerzoug avatar AnesBenmerzoug commented on June 13, 2024

@speicherspule sorry for the late reply. I was busy the last few days.
This error is one I got quite a lot, but unfortunately I don't remember how I solved it.
It happened because you pressed a button from the interface without the connection being established so it timed out.
This project in it's current state is not quite functional and I would love to one day improve it.

from bluetooth_hid.

wrlu avatar wrlu commented on June 13, 2024

Hi, I have the same problem on my raspberry pi 4b. It seems that this is a problem on newly devices.

from bluetooth_hid.

 avatar commented on June 13, 2024

Hi there, just wanted to chime in with my own problem to this.
I have a brand new raspberry pi 4 that I've set up. As I was planning on locking up the pi in a closet, I wanted VNC to work, but would not auto start so would need to SSH into it to send "vncserver :1" to then be able to VNC in.
To fix this I went into "crontab -e" and added "@reboot vncserver :1 -geometry 1600x900"

After setting this up, on launch I would get the error "No session for pid xxxx".
Issue was solved when I typed: mv /usr/bin/lxpolkit /usr/bin/lxpolkit.bak

EDIT: Solution was from here: meefik/linuxdeploy#978 (comment)

from bluetooth_hid.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.