[Pkg-bluetooth-maintainers] Bug#588250: invalid ioctl32 cmd for bluetoothd

willycat willycat at nordnet.fr
Thu Aug 18 14:50:21 UTC 2011


Package: bluez
Version: 4.66-3
Severity: normal

Hi,

I have the same Problem.

I installed the Debian Squeeze on a Playstation3 (powerpc architecture). All my
attempts for using the Logitech bluetooth keyboard mediaboard pro failed. I
found that there is the same similar error reported by bluetoothd:

result of dmesg | grep -e "bluetooth":

[   20.882315] ioctl32(bluetoothd:1052): Unknown cmd fd(25)
cmd(800448e7){t:'H';sz:4} arg(ffaad980) on socket:[4270]

result of cat /var/log/daemon.log | grep -e "bluetooth":

Aug 18 15:50:30 PlayStation3 bluetoothd[1052]: Bluetooth deamon 4.66
Aug 18 15:50:30 PlayStation3 bluetoothd[1052]: Starting SDP server
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: Starting experimental netlink
support
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: Failed to find Bluetooth netlink
family
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: Failed to init netlink plugin
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: bridge pan0 created
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: HCI dev 0 registered
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: HCI dev 0 up
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: Starting security manager 0
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: ioctl(HCIUNBLOCKADDR): Invalid
argument (22)
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: Adapter /org/bluez/1052/hci0 has
been enabled
Aug 18 15:50:31 PlayStation3 bluetoothd[1052]: Failed to access HAL

I can pair the keyboard, but no device is created under /dev/input. I know that
the link between the keyboard and the PS3 onboard Bluetooth is created because
the hcidump command show data transfert.

result of hcidump -X when pressing key ou button pad:

HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffff
> ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 14 00 00 00  00 00                    ..........
> HCI Event: Vendor (0xff) plen 27
  0000: c3 00 00 0d 00 27 00 0d  10 00 00 2b 00 18 00 00  .....'.....+....
  0010: 00 01 00 01 00 ff ff 00  00 33 97                 .........3.
> ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
> ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 1a 00 00 00  00 00                    ..........
> ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
> ACL data: handle 43 flags 0x02 dlen 13
    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 01 00 00 00 00 00  00                       .........
> ACL data: handle 43 flags 0x02 dlen 13
    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 00 00 00 00 00  00                       .........
> HCI Event: Vendor (0xff) plen 27
  0000: c3 00 00 0d 00 28 00 0d  10 00 00 2b 00 18 00 00  .....(.....+....
  0010: 00 01 00 01 00 ff ff 00  00 33 97

I supposed then this was a problem with the onboard bluetooth of the ps3 that
was partialy supported. I decided to use an usb bluetooth dongle to see if it
works but the problem is the same, with a different error.

result of lsusb:

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 054c:0267 Sony Corp. Tachikoma Device
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009: ID 0a5c:2148 Broadcom Corp.
Bus 001 Device 008: ID 0a5c:4503 Broadcom Corp.
Bus 001 Device 007: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface
Subclass)
Bus 001 Device 006: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of
BCM2046 Bluetooth)
Bus 001 Device 005: ID 046d:c503 Logitech, Inc. Cordless Mouse+Keyboard
Receiver
Bus 001 Device 002: ID 05e3:0607 Genesys Logic, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

result of dmesg | grep -e "bluetooth":

[ 2363.213902] ioctl32(bluetoothd:1052): Unknown cmd fd(38)
cmd(800448e7){t:'H';sz:4} arg(ffaad980) on socket:[45439]

result of cat /var/log/daemon.log | grep -e "bluetooth":

Aug 18 16:29:34 PlayStation3 bluetoothd[1052]: HCI dev 1 registered
Aug 18 16:29:34 PlayStation3 bluetoothd[1052]: HCI dev 1 up
Aug 18 16:29:34 PlayStation3 bluetoothd[1052]: Starting security manager 1
Aug 18 16:29:34 PlayStation3 bluetoothd[1052]: ioctl(HCIUNBLOCKADDR): Invalid
argument (22)
Aug 18 16:29:34 PlayStation3 bluetoothd[1052]: Adapter /org/bluez/1052/hci1 has
been enabled
Aug 18 16:29:34 PlayStation3 bluetoothd[1052]: Failed to access HAL

But this dongle with this keyboard works fine under Debian Squeeze AMD64. So,
it works on AMD64, not on PowerPC.

Tell me if you need more infos.

Willy.





-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.32-5-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bluez depends on:
ii  dbus                   1.2.24-4+squeeze1 simple interprocess messaging syst
ii  libbluetooth3          4.66-3            Library to use the BlueZ Linux Blu
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libcap-ng0             0.6.4-1           An alternate posix capabilities li
ii  libdbus-1-3            1.2.24-4+squeeze1 simple interprocess messaging syst
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libnl1                 1.1-6             library for dealing with netlink s
ii  libusb-0.1-4           2:0.1.12-16       userspace USB programming library
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init scrip
ii  module-init-tools      3.12-1            tools for managing Linux kernel mo
ii  udev                   164-3             /dev/ and hotplug management daemo

bluez recommends no packages.

Versions of packages bluez suggests:
ii  python-dbus           0.83.1-1           simple interprocess messaging syst
ii  python-gobject        2.21.4+is.2.21.3-1 Python bindings for the GObject li

-- no debconf information





More information about the Pkg-bluetooth-maintainers mailing list