[Bug 329828] Re: Bluetooth/Bluez 4.xx unable to use some adapters

Tuan Quoc tuanquoc20 at yahoo.com
Thu Jun 25 10:22:54 BST 2009


*** This bug is a duplicate of bug 268502 ***
    https://bugs.launchpad.net/bugs/268502

add:
~$ sudo strace -f hcitool -i hci0  cc --role=m 11:11:11:11:11:11

execve("/usr/local/bin/hcitool", ["hcitool", "-i", "hci0", "cc", "--role=m", "11:11:11:11:11:11"], [/* 16 vars */]) = 0
brk(0)                                  = 0xb938c000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5c000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=56691, ...}) = 0
mmap2(NULL, 56691, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f4e000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libbluetooth.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340H\0\0004\0\0\0p"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=97414, ...}) = 0
mmap2(NULL, 85712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f39000
mmap2(0xb7f4c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7f4c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320h\1\0004\0\0\0\344"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1442180, ...}) = 0
mmap2(NULL, 1451632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dd6000
mprotect(0xb7f32000, 4096, PROT_NONE)   = 0
mmap2(0xb7f33000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb7f33000
mmap2(0xb7f36000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f36000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dd5000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dd5b00, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\347\306^\\"..., 4)            = 4
close(3)                                = 0
mprotect(0xb7f33000, 8192, PROT_READ)   = 0
mprotect(0xb7f4c000, 4096, PROT_READ)   = 0
mprotect(0xb7f87000, 4096, PROT_READ)   = 0
mprotect(0xb7f7b000, 4096, PROT_READ)   = 0
munmap(0xb7f4e000, 56691)               = 0
socket(PF_BLUETOOTH, SOCK_RAW, 1)       = 3
ioctl(3, 0x800448d3, 0xbfe865ec)        = 0
close(3)                                = 0
socket(PF_BLUETOOTH, SOCK_RAW, 1)       = 3
ioctl(3, 0x800448d3, 0xbfe8661c)        = 0
close(3)                                = 0
socket(PF_BLUETOOTH, SOCK_RAW, 1)       = 3
bind(3, {sa_family=AF_BLUETOOTH, sa_data="\0\0\364\177\370\267\1\0\0\0nf\350\277"...}, 4) = 0
getsockopt(3, SOL_IP, IP_TTL, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0^\362"..., [16]) = 0
setsockopt(3, SOL_IP, IP_TTL, "\20\0\0\0\10\300\0\0\0\0\0\0\5\4\0\0"..., 16) = 0
writev(3, [{"\1"..., 1}, {"\5\4\r"..., 3}, {"\21\21\21\21\21\21\30\314\2\0\0\0\0"..., 13}], 3) = 17
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\4\17\4\0\1\5\4"..., 260)      = 7
poll([{fd=3, events=POLLIN}], 1, 24990) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\4\3\v\0*\0\21\21\21\21\21\21\1\0"..., 260) = 14
setsockopt(3, SOL_IP, IP_TTL, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0^\362"..., 16) = 0
close(3)                                = 0
exit_group(0)                           = ?

-- 
Bluetooth/Bluez 4.xx unable to use some adapters
https://bugs.launchpad.net/bugs/329828
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.



More information about the Ubuntu-bluetooth mailing list