Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Patch bluez-gnome-1.8 for fixed-pin devices

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
iverasp
n00b
n00b
Posts: 58
Joined: Mon Oct 11, 2004 8:04 pm

Patch bluez-gnome-1.8 for fixed-pin devices

  • Quote

Post by iverasp » Mon Nov 09, 2009 11:55 am

I just received a bluetooth GPS receiver and thought I would share my experience getting it paired with bluez-gnome.
The GPS device has a fixed pin of 0000. When pairing it with bluez-gnome the applet only allows you to use a randomly generated pin and therefor fails. It seems the applet should be able to use 0000 for some devices but as in this case not every device is recognized as such. I found lots of bug reports on this when searching via google.

In the bluez-gnome GIT repository there is a patch to enable a pin of 0000 for certain GPS devices by looking at the first part of the MAC address and the name of the device. Modifying the values of the MAC address and name in the patch would of course not be a perfect solution (an option for a custom pin in the GUI would..) but it's good enough to get everything working as it should for now.

Here's a tar archive of my modified ebuild from portage and the modified patch from bluez.org. Extract in local portage overlay under net-wireless, modify the patch for your device(s) (hcitool scan displays MAC and name) and run ebuild <ebuild file> digest then emerge bluez-gnome.

http://sites.google.com/site/iverasp/ho ... me-1.8.tar
Top
Post Reply
1 post • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic