Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119461 Details for
Bug 178160
net-wireless/bluez-utils-3.10 - hidd doesn't start
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hidtool.py
hidtool.py (text/plain), 977 bytes, created by
Dick Marinus
on 2007-05-16 19:16:48 UTC
(
hide
)
Description:
hidtool.py
Filename:
MIME Type:
Creator:
Dick Marinus
Created:
2007-05-16 19:16:48 UTC
Size:
977 bytes
patch
obsolete
>#!/usr/bin/python >import sys >import getopt >import dbus > >bus = dbus.SystemBus() > >bmgr = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager') >bus_id = bmgr.ActivateService('input') > >imgr = dbus.Interface(bus.get_object(bus_id, '/org/bluez/input'), 'org.bluez.input.Manager') > >optlist, args = getopt.getopt(sys.argv[1:], '', ['list','connect=','disconnect=','help']) > >for opt,val in optlist: > if opt == '--list': > for path in imgr.ListDevices(): > idev = dbus.Interface (bus.get_object(bus_id, path), 'org.bluez.input.Device') > print path, 'name:', idev.GetName(), 'connected:', idev.IsConnected() > elif opt == '--connect': > path = imgr.CreateDevice(val) > idev = dbus.Interface (bus.get_object(bus_id, path), 'org.bluez.input.Device') > idev.Connect() > elif opt == '--disconnect': > imgr.RemoveDevice(val) > elif opt == '--help': > print 'usage: ', sys.argv[0], '[ --list, --connect=XX:XX:XX:XX:XX, --disconnect=/org/bluez/input/device0, --help ]' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 178160
:
119461
|
119911