* User Question
@ 2009-04-08 15:32 Randy Broman
2009-04-08 17:23 ` Cam Macdonell
2009-04-09 0:58 ` Randy Broman
0 siblings, 2 replies; 8+ messages in thread
From: Randy Broman @ 2009-04-08 15:32 UTC (permalink / raw)
To: kvm
I'm running Kubuntu Jaunty 9.04 on an AMD Phenom II 910, with a custom
2.6.28 kernel. I want to install KVM with a Windows XP guest. Apologies
I'm confused as to exactly what to install ....
-I can (should?) apt-get install KVM and/or QEMU from the Jaunty archives.
-I can configure KVM into my custom kernel using CONFIG_KVM=m,
CONFIG_KVM_AMD=m and a couple other .config options.
-I can download, compile and install kvm-84 from source for my kernel
On this basis I would presumably invoke qemu-system-x86_64 from
the install directory.
This is a home not production system, and I'd like to get the best guest
performance possible. I'm a little confused between KVM and QEMU ... I
know there's a KVM kernel module(s) plus the facility to run the virtual
guest, but I'm unsure which of the above choices to use. Would appreciate
recommendations and/or pointers to useful docs.
Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: User Question
2009-04-08 15:32 User Question Randy Broman
@ 2009-04-08 17:23 ` Cam Macdonell
2009-04-09 0:58 ` Randy Broman
1 sibling, 0 replies; 8+ messages in thread
From: Cam Macdonell @ 2009-04-08 17:23 UTC (permalink / raw)
To: Randy Broman; +Cc: kvm
Randy Broman wrote:
> I'm running Kubuntu Jaunty 9.04 on an AMD Phenom II 910, with a custom
> 2.6.28 kernel. I want to install KVM with a Windows XP guest. Apologies
> I'm confused as to exactly what to install ....
>
> -I can (should?) apt-get install KVM and/or QEMU from the Jaunty archives.
> -I can configure KVM into my custom kernel using CONFIG_KVM=m,
> CONFIG_KVM_AMD=m and a couple other .config options.
> -I can download, compile and install kvm-84 from source for my kernel
> On this basis I would presumably invoke qemu-system-x86_64 from
> the install directory.
Hi Randy,
I follow the third method. Compiling the kvm-84 tarball will build both
the kernel modules and the userspace qemu-system-x64_84 for you and
install them for you.
> This is a home not production system, and I'd like to get the best guest
> performance possible.
Getting the best performance possible will depend on your use of
devices. For network performance do not use the "user" network stack
it's really slow; use vde or bridged networking. Docs for this are here
(http://www.linux-kvm.org/page/Networking). VDE has no description
(yet), but google will help.
> I'm a little confused between KVM and QEMU ... I
> know there's a KVM kernel module(s) plus the facility to run the virtual
> guest, but I'm unsure which of the above choices to use.
Qemu is an system emulator that emulate numerous architectures. With
KVM, Qemu is used in the userspace to manage virtual devices and
allocate memory for the VMs (no processor emulation is done; Qemu is
only used for x86 on x86 within KVM), but kernel modules are added to
take advantage of hardware virtualization support. It's well known that
the names of executables can be confusing :)
> Would appreciate recommendations and/or pointers to useful docs.
linux-kvm.org is the place to start. Specifically the how-to section.
Good luck,
Cam
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: User Question
2009-04-08 15:32 User Question Randy Broman
2009-04-08 17:23 ` Cam Macdonell
@ 2009-04-09 0:58 ` Randy Broman
1 sibling, 0 replies; 8+ messages in thread
From: Randy Broman @ 2009-04-09 0:58 UTC (permalink / raw)
To: kvm
Thanks Cam for the information, I've compiled and installed the kvm-84
tarball,
I'm running modules KVM and KVM_AMD, and I can start my WinXP guest
successfully
with qemu-system-x86_64. I've compiled and installed vde, but I can't
get vde networking
working in the guest. My Kubuntu host is on 192.168.0 network, and I did:
% sudo vde_switch -t tap0 -daemon
%sudo ifconfig tap0 192.168.1.1 netmask 255.255.255.0
When I do an ifconfig -a, both my host eth0 and tap0 appear to show up
correctly on
the host (?). When I start qemu-system-x86_64 with it's several options,
I'm confused
as to how to specify the
-net
vde[,vlan=n][,name=str][,sock-socketpath][,port=n][,group=groupname][,mode=octalmode]
options. I have only one guest on the system/network. The guest starts,
and I've
set it's IP at 192.168.1.2 and gateway 192.168.1.1, but no connectivity.
Another question, should I use -net model=virtio, and if so where do I
get the
WinXP driver for that?
Thanks, Randy
Cam Macdonell wrote:
> I'm running Kubuntu Jaunty 9.04 on an AMD Phenom II 910, with a custom
> 2.6.28 kernel. I want to install KVM with a Windows XP guest. Apologies
> I'm confused as to exactly what to install ....
>
> -I can (should?) apt-get install KVM and/or QEMU from the Jaunty
> archives.
> -I can configure KVM into my custom kernel using CONFIG_KVM=m,
> CONFIG_KVM_AMD=m and a couple other .config options.
> -I can download, compile and install kvm-84 from source for my kernel
> On this basis I would presumably invoke qemu-system-x86_64 from
> the install directory.
Hi Randy,
I follow the third method. Compiling the kvm-84 tarball will build both
the kernel modules and the userspace qemu-system-x64_84 for you and
install them for you.
> This is a home not production system, and I'd like to get the best guest
> performance possible.
Getting the best performance possible will depend on your use of
devices. For network performance do not use the "user" network stack
it's really slow; use vde or bridged networking. Docs for this are here
(http://www.linux-kvm.org/page/Networking). VDE has no description
(yet), but google will help.
> I'm a little confused between KVM and QEMU ... I
> know there's a KVM kernel module(s) plus the facility to run the virtual
> guest, but I'm unsure which of the above choices to use.
Qemu is an system emulator that emulate numerous architectures. With
KVM, Qemu is used in the userspace to manage virtual devices and
allocate memory for the VMs (no processor emulation is done; Qemu is
only used for x86 on x86 within KVM), but kernel modules are added to
take advantage of hardware virtualization support. It's well known that
the names of executables can be confusing :)
> Would appreciate recommendations and/or pointers to useful docs.
linux-kvm.org is the place to start. Specifically the how-to section.
Good luck,
Cam
^ permalink raw reply [flat|nested] 8+ messages in thread
* User question
@ 2014-11-25 17:42 Bruce Dubbs
2014-12-01 13:21 ` Szymon Janc
0 siblings, 1 reply; 8+ messages in thread
From: Bruce Dubbs @ 2014-11-25 17:42 UTC (permalink / raw)
To: linux-bluetooth
This appears to be a developer list. Do you accept user level questions
here? If not, can you point me to a better place to ask?
I'm trying to get bluez to work in an LFS system and am getting errors.
I'd like to get it fixed and document the issues for our community.
Thanks.
-- Bruce Dubbs
linuxfromscratch.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: User question
2014-11-25 17:42 User question Bruce Dubbs
@ 2014-12-01 13:21 ` Szymon Janc
2014-12-02 21:54 ` Bruce Dubbs
0 siblings, 1 reply; 8+ messages in thread
From: Szymon Janc @ 2014-12-01 13:21 UTC (permalink / raw)
To: Bruce Dubbs; +Cc: linux-bluetooth
Hi Bruce,
On Tuesday 25 of November 2014 11:42:16 Bruce Dubbs wrote:
> This appears to be a developer list. Do you accept user level questions
> here? If not, can you point me to a better place to ask?
>
> I'm trying to get bluez to work in an LFS system and am getting errors.
> I'd like to get it fixed and document the issues for our community.
>
> Thanks.
The best way would be to just describe the issue here and provide logs.
You may also join #bluez-users on irc.freenode.net and ask there
(depending on your timezone you may not get the answer right a way:)
--
Best regards,
Szymon Janc
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: User question
2014-12-01 13:21 ` Szymon Janc
@ 2014-12-02 21:54 ` Bruce Dubbs
2014-12-08 19:16 ` Bruce Dubbs
0 siblings, 1 reply; 8+ messages in thread
From: Bruce Dubbs @ 2014-12-02 21:54 UTC (permalink / raw)
To: Szymon Janc; +Cc: linux-bluetooth
Szymon Janc wrote:
> Hi Bruce,
>
> On Tuesday 25 of November 2014 11:42:16 Bruce Dubbs wrote:
>> This appears to be a developer list. Do you accept user level questions
>> here? If not, can you point me to a better place to ask?
>>
>> I'm trying to get bluez to work in an LFS system and am getting errors.
>> I'd like to get it fixed and document the issues for our community.
>>
>> Thanks.
>
> The best way would be to just describe the issue here and provide logs.
>
> You may also join #bluez-users on irc.freenode.net and ask there
> (depending on your timezone you may not get the answer right a way:)
Thanks you for the response. I took a look at IRC but felt that the
data logs would be too much for IRC.
What I am trying to do is connect one computer to another via bluetooth.
Both systems are running bluez-5.23 from Debian Jessie.
Both systems see each other, but I cannot connect. This is a typical
session:
# bluetoothctl
[NEW] Controller AC:7B:A1:C0:2B:E0 debian [default]
[NEW] Device 00:17:E9:94:61:AA BlueZ 5.23
[NEW] Device 0D:D8:18:0D:AE:30 ZaggKeys Universal
[bluetooth]# info 00:17:E9:94:61:AA
Device 00:17:E9:94:61:AA
Name: BlueZ 5.23
Alias: BlueZ 5.23
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: A/V Remote Control Target
(0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control
(0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information
(00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile
(00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile
(00001801-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0517
[bluetooth]# connect 00:17:E9:94:61:AA
Attempting to connect to 00:17:E9:94:61:AA
[CHG] Device 00:17:E9:94:61:AA Connected: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device 00:17:E9:94:61:AA Connected: no
[bluetooth]#
I can get the ZaggKeys keyboard to connect. But the result from the
other system running BlueZ 5.23 is similar to the above.
Other information:
# dmesg|grep -i blue
[ 6.796472] toshiba_bluetooth: Detected Toshiba ACPI Bluetooth device
- installing RFKill handler
[ 6.796596] toshiba_bluetooth: Re-enabling Toshiba Bluetooth
[ 7.688297] Bluetooth: Core ver 2.19
[ 7.688427] Bluetooth: HCI device and connection manager initialized
[ 7.688496] Bluetooth: HCI socket layer initialized
[ 7.688558] Bluetooth: L2CAP socket layer initialized
[ 7.688626] Bluetooth: SCO socket layer initialized
[ 8.258758] Bluetooth: hci0: read Intel version: 370710018002030d00
[ 8.282937] bluetooth hci0: firmware: direct-loading firmware
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[ 8.282939] Bluetooth: hci0: Intel Bluetooth firmware file:
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[ 8.380858] Bluetooth: hci0: Intel Bluetooth firmware patch completed
and activated
[ 15.920484] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.921229] Bluetooth: BNEP filters: protocol multicast
[ 15.921826] Bluetooth: BNEP socket layer initialized
------------------
# journalctl |grep blue
Dec 02 03:04:46 debian kernel: toshiba_bluetooth: Detected Toshiba ACPI
Bluetooth device - installing RFKill handler
Dec 02 03:04:46 debian kernel: toshiba_bluetooth: Re-enabling Toshiba
Bluetooth
Dec 02 03:04:48 debian kernel: bluetooth hci0: firmware: direct-loading
firmware intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
Dec 02 03:04:53 debian bluetoothd[735]: Bluetooth daemon 5.23
Dec 02 03:04:55 debian bluetoothd[735]: Starting SDP server
Dec 02 03:04:55 debian bluetoothd[735]: Bluetooth management interface
1.6 initialized
Dec 02 03:04:56 debian bluetoothd[735]: Sap driver initialization failed.
Dec 02 03:04:56 debian bluetoothd[735]: sap-server: Operation not
permitted (1)
Dec 02 03:04:56 debian bluetoothd[735]: hci0 Load Connection Parameters
failed: Unknown Command (0x01)
If I remove the device and start over, I get:
---------------------------
# scan on
Discovery started
[CHG] Controller AC:7B:A1:C0:2B:E0 Discovering: yes
[NEW] Device 00:17:E9:94:61:AA BlueZ 5.23
[CHG] Device 00:17:E9:94:61:AA RSSI: -92
[CHG] Device 00:17:E9:94:61:AA RSSI: -54
[bluetooth]# devices
Device 00:17:E9:94:61:AA BlueZ 5.23
[CHG] Device 00:17:E9:94:61:AA RSSI: -68
[CHG] Device 00:17:E9:94:61:AA RSSI: -57
[bluetooth]# info 00:17:E9:94:61:AA
Device 00:17:E9:94:61:AA
Name: BlueZ 5.23
Alias: BlueZ 5.23
Paired: no
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
UUID: Generic Access Profile
(00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile
(00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control
(0000110e-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target
(0000110c-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0517
[CHG] Controller AC:7B:A1:C0:2B:E0 Discoverable: no
[bluetooth]# pair 00:17:E9:94:61:AA
Attempting to pair with 00:17:E9:94:61:AA
[CHG] Device 00:17:E9:94:61:AA Connected: yes
Request confirmation
[agent] Confirm passkey 870856 (yes/no): yes
[bluetooth]# info 00:17:E9:94:61:AA
Device 00:17:E9:94:61:AA
Name: BlueZ 5.23
Alias: BlueZ 5.23
Paired: no
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Generic Access Profile
(00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile
(00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control
(0000110e-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target
(0000110c-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0517
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device 00:17:E9:94:61:AA Connected: no
-----------------
Any help will be appreciated.
-- Bruce
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: User question
2014-12-02 21:54 ` Bruce Dubbs
@ 2014-12-08 19:16 ` Bruce Dubbs
2014-12-08 22:36 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 8+ messages in thread
From: Bruce Dubbs @ 2014-12-08 19:16 UTC (permalink / raw)
To: Szymon Janc; +Cc: linux-bluetooth
Is no one interested in helping?
-- Bruce
Bruce Dubbs wrote:
> Szymon Janc wrote:
>> Hi Bruce,
>>
>> On Tuesday 25 of November 2014 11:42:16 Bruce Dubbs wrote:
>>> This appears to be a developer list. Do you accept user level questions
>>> here? If not, can you point me to a better place to ask?
>>>
>>> I'm trying to get bluez to work in an LFS system and am getting errors.
>>> I'd like to get it fixed and document the issues for our community.
>> The best way would be to just describe the issue here and provide logs.
>>
>> You may also join #bluez-users on irc.freenode.net and ask there
>> (depending on your timezone you may not get the answer right a way:)
> Thanks you for the response. I took a look at IRC but felt that the
> data logs would be too much for IRC.
>
> What I am trying to do is connect one computer to another via bluetooth.
> Both systems are running bluez-5.23 from Debian Jessie.
>
> Both systems see each other, but I cannot connect. This is a typical
> session:
>
> # bluetoothctl
> [NEW] Controller AC:7B:A1:C0:2B:E0 debian [default]
> [NEW] Device 00:17:E9:94:61:AA BlueZ 5.23
> [NEW] Device 0D:D8:18:0D:AE:30 ZaggKeys Universal
> [bluetooth]# info 00:17:E9:94:61:AA
> Device 00:17:E9:94:61:AA
> Name: BlueZ 5.23
> Alias: BlueZ 5.23
> Paired: yes
> Trusted: yes
> Blocked: no
> Connected: no
> LegacyPairing: no
> UUID: A/V Remote Control Target
> (0000110c-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control
> (0000110e-0000-1000-8000-00805f9b34fb)
> UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
> UUID: Generic Access Profile
> (00001800-0000-1000-8000-00805f9b34fb)
> UUID: Generic Attribute Profile
> (00001801-0000-1000-8000-00805f9b34fb)
> Modalias: usb:v1D6Bp0246d0517
> [bluetooth]# connect 00:17:E9:94:61:AA
> Attempting to connect to 00:17:E9:94:61:AA
> [CHG] Device 00:17:E9:94:61:AA Connected: yes
> Failed to connect: org.bluez.Error.NotAvailable
> [CHG] Device 00:17:E9:94:61:AA Connected: no
> [bluetooth]#
>
> I can get the ZaggKeys keyboard to connect. But the result from the
> other system running BlueZ 5.23 is similar to the above.
>
> Other information:
>
> # dmesg|grep -i blue
> [ 6.796472] toshiba_bluetooth: Detected Toshiba ACPI Bluetooth device
> - installing RFKill handler
> [ 6.796596] toshiba_bluetooth: Re-enabling Toshiba Bluetooth
> [ 7.688297] Bluetooth: Core ver 2.19
> [ 7.688427] Bluetooth: HCI device and connection manager initialized
> [ 7.688496] Bluetooth: HCI socket layer initialized
> [ 7.688558] Bluetooth: L2CAP socket layer initialized
> [ 7.688626] Bluetooth: SCO socket layer initialized
> [ 8.258758] Bluetooth: hci0: read Intel version: 370710018002030d00
> [ 8.282937] bluetooth hci0: firmware: direct-loading firmware
> intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
> [ 8.282939] Bluetooth: hci0: Intel Bluetooth firmware file:
> intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
> [ 8.380858] Bluetooth: hci0: Intel Bluetooth firmware patch completed
> and activated
> [ 15.920484] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> [ 15.921229] Bluetooth: BNEP filters: protocol multicast
> [ 15.921826] Bluetooth: BNEP socket layer initialized
> ------------------
>
> # journalctl |grep blue
> Dec 02 03:04:46 debian kernel: toshiba_bluetooth: Detected Toshiba ACPI
> Bluetooth device - installing RFKill handler
> Dec 02 03:04:46 debian kernel: toshiba_bluetooth: Re-enabling Toshiba
> Bluetooth
> Dec 02 03:04:48 debian kernel: bluetooth hci0: firmware: direct-loading
> firmware intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
> Dec 02 03:04:53 debian bluetoothd[735]: Bluetooth daemon 5.23
> Dec 02 03:04:55 debian bluetoothd[735]: Starting SDP server
> Dec 02 03:04:55 debian bluetoothd[735]: Bluetooth management interface
> 1.6 initialized
> Dec 02 03:04:56 debian bluetoothd[735]: Sap driver initialization failed.
> Dec 02 03:04:56 debian bluetoothd[735]: sap-server: Operation not
> permitted (1)
> Dec 02 03:04:56 debian bluetoothd[735]: hci0 Load Connection Parameters
> failed: Unknown Command (0x01)
>
> If I remove the device and start over, I get:
>
> ---------------------------
> # scan on
> Discovery started
> [CHG] Controller AC:7B:A1:C0:2B:E0 Discovering: yes
> [NEW] Device 00:17:E9:94:61:AA BlueZ 5.23
> [CHG] Device 00:17:E9:94:61:AA RSSI: -92
> [CHG] Device 00:17:E9:94:61:AA RSSI: -54
> [bluetooth]# devices
> Device 00:17:E9:94:61:AA BlueZ 5.23
> [CHG] Device 00:17:E9:94:61:AA RSSI: -68
> [CHG] Device 00:17:E9:94:61:AA RSSI: -57
> [bluetooth]# info 00:17:E9:94:61:AA
> Device 00:17:E9:94:61:AA
> Name: BlueZ 5.23
> Alias: BlueZ 5.23
> Paired: no
> Trusted: no
> Blocked: no
> Connected: no
> LegacyPairing: no
> UUID: Generic Access Profile
> (00001800-0000-1000-8000-00805f9b34fb)
> UUID: Generic Attribute Profile
> (00001801-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control
> (0000110e-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control Target
> (0000110c-0000-1000-8000-00805f9b34fb)
> Modalias: usb:v1D6Bp0246d0517
> [CHG] Controller AC:7B:A1:C0:2B:E0 Discoverable: no
> [bluetooth]# pair 00:17:E9:94:61:AA
> Attempting to pair with 00:17:E9:94:61:AA
> [CHG] Device 00:17:E9:94:61:AA Connected: yes
> Request confirmation
> [agent] Confirm passkey 870856 (yes/no): yes
> [bluetooth]# info 00:17:E9:94:61:AA
> Device 00:17:E9:94:61:AA
> Name: BlueZ 5.23
> Alias: BlueZ 5.23
> Paired: no
> Trusted: no
> Blocked: no
> Connected: yes
> LegacyPairing: no
> UUID: Generic Access Profile
> (00001800-0000-1000-8000-00805f9b34fb)
> UUID: Generic Attribute Profile
> (00001801-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control
> (0000110e-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control Target
> (0000110c-0000-1000-8000-00805f9b34fb)
> Modalias: usb:v1D6Bp0246d0517
> Failed to pair: org.bluez.Error.AuthenticationFailed
> [CHG] Device 00:17:E9:94:61:AA Connected: no
>
> -----------------
>
> Any help will be appreciated.
>
> -- Bruce
>
>
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: User question
2014-12-08 19:16 ` Bruce Dubbs
@ 2014-12-08 22:36 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 8+ messages in thread
From: Luiz Augusto von Dentz @ 2014-12-08 22:36 UTC (permalink / raw)
To: Bruce Dubbs; +Cc: Szymon Janc, linux-bluetooth
Hi Bruce,
On Mon, Dec 8, 2014 at 9:16 PM, Bruce Dubbs <bruce.dubbs@gmail.com> wrote:
> Is no one interested in helping?
>
> -- Bruce
>
> Bruce Dubbs wrote:
>>
>> Szymon Janc wrote:
>>>
>>> Hi Bruce,
>>>
>>> On Tuesday 25 of November 2014 11:42:16 Bruce Dubbs wrote:
>>>>
>>>> This appears to be a developer list. Do you accept user level questions
>>>> here? If not, can you point me to a better place to ask?
>>>>
>>>> I'm trying to get bluez to work in an LFS system and am getting errors.
>>>> I'd like to get it fixed and document the issues for our community.
>
>
>>> The best way would be to just describe the issue here and provide logs.
>>>
>>> You may also join #bluez-users on irc.freenode.net and ask there
>>> (depending on your timezone you may not get the answer right a way:)
>
>
>> Thanks you for the response. I took a look at IRC but felt that the
>> data logs would be too much for IRC.
>>
>> What I am trying to do is connect one computer to another via bluetooth.
>> Both systems are running bluez-5.23 from Debian Jessie.
>>
>> Both systems see each other, but I cannot connect. This is a typical
>> session:
>>
>> # bluetoothctl
>> [NEW] Controller AC:7B:A1:C0:2B:E0 debian [default]
>> [NEW] Device 00:17:E9:94:61:AA BlueZ 5.23
>> [NEW] Device 0D:D8:18:0D:AE:30 ZaggKeys Universal
>> [bluetooth]# info 00:17:E9:94:61:AA
>> Device 00:17:E9:94:61:AA
>> Name: BlueZ 5.23
>> Alias: BlueZ 5.23
>> Paired: yes
>> Trusted: yes
>> Blocked: no
>> Connected: no
>> LegacyPairing: no
>> UUID: A/V Remote Control Target
>> (0000110c-0000-1000-8000-00805f9b34fb)
>> UUID: A/V Remote Control
>> (0000110e-0000-1000-8000-00805f9b34fb)
>> UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
>> UUID: Generic Access Profile
>> (00001800-0000-1000-8000-00805f9b34fb)
>> UUID: Generic Attribute Profile
>> (00001801-0000-1000-8000-00805f9b34fb)
>> Modalias: usb:v1D6Bp0246d0517
>> [bluetooth]# connect 00:17:E9:94:61:AA
>> Attempting to connect to 00:17:E9:94:61:AA
>> [CHG] Device 00:17:E9:94:61:AA Connected: yes
>> Failed to connect: org.bluez.Error.NotAvailable
>> [CHG] Device 00:17:E9:94:61:AA Connected: no
>> [bluetooth]#
Interesting, it looks like it is a remote controller (AVRCP) not a
real keyboard (HID), iirc AVRCP does not have auto connect flag, that
is probably is why connect fails but ConnectProfile should work.
>> I can get the ZaggKeys keyboard to connect. But the result from the
>> other system running BlueZ 5.23 is similar to the above.
>>
>> Other information:
>>
>> # dmesg|grep -i blue
>> [ 6.796472] toshiba_bluetooth: Detected Toshiba ACPI Bluetooth device
>> - installing RFKill handler
>> [ 6.796596] toshiba_bluetooth: Re-enabling Toshiba Bluetooth
>> [ 7.688297] Bluetooth: Core ver 2.19
>> [ 7.688427] Bluetooth: HCI device and connection manager initialized
>> [ 7.688496] Bluetooth: HCI socket layer initialized
>> [ 7.688558] Bluetooth: L2CAP socket layer initialized
>> [ 7.688626] Bluetooth: SCO socket layer initialized
>> [ 8.258758] Bluetooth: hci0: read Intel version: 370710018002030d00
>> [ 8.282937] bluetooth hci0: firmware: direct-loading firmware
>> intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
>> [ 8.282939] Bluetooth: hci0: Intel Bluetooth firmware file:
>> intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
>> [ 8.380858] Bluetooth: hci0: Intel Bluetooth firmware patch completed
>> and activated
>> [ 15.920484] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
>> [ 15.921229] Bluetooth: BNEP filters: protocol multicast
>> [ 15.921826] Bluetooth: BNEP socket layer initialized
>> ------------------
>>
>> # journalctl |grep blue
>> Dec 02 03:04:46 debian kernel: toshiba_bluetooth: Detected Toshiba ACPI
>> Bluetooth device - installing RFKill handler
>> Dec 02 03:04:46 debian kernel: toshiba_bluetooth: Re-enabling Toshiba
>> Bluetooth
>> Dec 02 03:04:48 debian kernel: bluetooth hci0: firmware: direct-loading
>> firmware intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
>> Dec 02 03:04:53 debian bluetoothd[735]: Bluetooth daemon 5.23
>> Dec 02 03:04:55 debian bluetoothd[735]: Starting SDP server
>> Dec 02 03:04:55 debian bluetoothd[735]: Bluetooth management interface
>> 1.6 initialized
>> Dec 02 03:04:56 debian bluetoothd[735]: Sap driver initialization failed.
>> Dec 02 03:04:56 debian bluetoothd[735]: sap-server: Operation not
>> permitted (1)
>> Dec 02 03:04:56 debian bluetoothd[735]: hci0 Load Connection Parameters
>> failed: Unknown Command (0x01)
>>
>> If I remove the device and start over, I get:
>>
>> ---------------------------
>> # scan on
>> Discovery started
>> [CHG] Controller AC:7B:A1:C0:2B:E0 Discovering: yes
>> [NEW] Device 00:17:E9:94:61:AA BlueZ 5.23
>> [CHG] Device 00:17:E9:94:61:AA RSSI: -92
>> [CHG] Device 00:17:E9:94:61:AA RSSI: -54
>> [bluetooth]# devices
>> Device 00:17:E9:94:61:AA BlueZ 5.23
>> [CHG] Device 00:17:E9:94:61:AA RSSI: -68
>> [CHG] Device 00:17:E9:94:61:AA RSSI: -57
>> [bluetooth]# info 00:17:E9:94:61:AA
>> Device 00:17:E9:94:61:AA
>> Name: BlueZ 5.23
>> Alias: BlueZ 5.23
>> Paired: no
>> Trusted: no
>> Blocked: no
>> Connected: no
>> LegacyPairing: no
>> UUID: Generic Access Profile
>> (00001800-0000-1000-8000-00805f9b34fb)
>> UUID: Generic Attribute Profile
>> (00001801-0000-1000-8000-00805f9b34fb)
>> UUID: A/V Remote Control
>> (0000110e-0000-1000-8000-00805f9b34fb)
>> UUID: A/V Remote Control Target
>> (0000110c-0000-1000-8000-00805f9b34fb)
>> Modalias: usb:v1D6Bp0246d0517
>> [CHG] Controller AC:7B:A1:C0:2B:E0 Discoverable: no
>> [bluetooth]# pair 00:17:E9:94:61:AA
>> Attempting to pair with 00:17:E9:94:61:AA
>> [CHG] Device 00:17:E9:94:61:AA Connected: yes
>> Request confirmation
>> [agent] Confirm passkey 870856 (yes/no): yes
>> [bluetooth]# info 00:17:E9:94:61:AA
>> Device 00:17:E9:94:61:AA
>> Name: BlueZ 5.23
>> Alias: BlueZ 5.23
>> Paired: no
>> Trusted: no
>> Blocked: no
>> Connected: yes
>> LegacyPairing: no
>> UUID: Generic Access Profile
>> (00001800-0000-1000-8000-00805f9b34fb)
>> UUID: Generic Attribute Profile
>> (00001801-0000-1000-8000-00805f9b34fb)
>> UUID: A/V Remote Control
>> (0000110e-0000-1000-8000-00805f9b34fb)
>> UUID: A/V Remote Control Target
>> (0000110c-0000-1000-8000-00805f9b34fb)
>> Modalias: usb:v1D6Bp0246d0517
>> Failed to pair: org.bluez.Error.AuthenticationFailed
>> [CHG] Device 00:17:E9:94:61:AA Connected: no
>>
>> -----------------
>>
>> Any help will be appreciated.
>>
>> -- Bruce
>>
>>
>>
>>
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-12-08 22:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25 17:42 User question Bruce Dubbs
2014-12-01 13:21 ` Szymon Janc
2014-12-02 21:54 ` Bruce Dubbs
2014-12-08 19:16 ` Bruce Dubbs
2014-12-08 22:36 ` Luiz Augusto von Dentz
-- strict thread matches above, loose matches on Subject: below --
2009-04-08 15:32 User Question Randy Broman
2009-04-08 17:23 ` Cam Macdonell
2009-04-09 0:58 ` Randy Broman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.