here's my strace of hidd when I try to do a connect:
Of course I made sure that hci1 is the dongle of the mouse before I used strace by unplugging replugging.
here's a snipped of dmesg after the strace
[27824.700420] usb 1-1: new full speed USB device using ohci_hcd and address 11
[27824.772316] hub 1-1:1.0: USB hub found
[27824.773288] hub 1-1:1.0: 3 ports detected
[27824.883425] usb 1-1.1: new full speed USB device using ohci_hcd and address 12
[27824.995224] usb 1-1.2: new full speed USB device using ohci_hcd and address 13
[27825.050163] input: HID 0a5c:3502 as /class/input/input10
[27825.050183] input: USB HID v1.11 Keyboard [HID 0a5c:3502] on usb-0000:00:02.0-1.2
[27825.120332] usb 1-1.3: new full speed USB device using ohci_hcd and address 14
[27825.164285] input: HID 0a5c:3503 as /class/input/input11
[27825.164322] input: USB HID v1.11 Mouse [HID 0a5c:3503] on usb-0000:00:02.0-1.3
[27828.086982] usb 1-1.2: USB disconnect, address 13
[27828.132903] usb 1-1.3: USB disconnect, address 14
[27840.172076] eth1: no IPv6 routers present
[27872.649276] hci_cmd_task: hci0 command tx timeout
here's the strace
root@janus$ hcitool dev
Devices:
hci0 00:10:C6:68:25:23
hci1 00:0C:55:FD:16:37
here's my strace of hidd when I try to do a connect:
Of course I made sure that hci1 is the dongle of the mouse before I used strace by unplugging replugging.
here's a snipped of dmesg after the strace
[27824.700420] usb 1-1: new full speed USB device using ohci_hcd and address 11 input/input10 00:02.0- 1.2 input/input11 00:02.0- 1.3
[27824.772316] hub 1-1:1.0: USB hub found
[27824.773288] hub 1-1:1.0: 3 ports detected
[27824.883425] usb 1-1.1: new full speed USB device using ohci_hcd and address 12
[27824.995224] usb 1-1.2: new full speed USB device using ohci_hcd and address 13
[27825.050163] input: HID 0a5c:3502 as /class/
[27825.050183] input: USB HID v1.11 Keyboard [HID 0a5c:3502] on usb-0000:
[27825.120332] usb 1-1.3: new full speed USB device using ohci_hcd and address 14
[27825.164285] input: HID 0a5c:3503 as /class/
[27825.164322] input: USB HID v1.11 Mouse [HID 0a5c:3503] on usb-0000:
[27828.086982] usb 1-1.2: USB disconnect, address 13
[27828.132903] usb 1-1.3: USB disconnect, address 14
[27840.172076] eth1: no IPv6 routers present
[27872.649276] hci_cmd_task: hci0 command tx timeout
here's the strace
root@janus$ hcitool dev
Devices:
hci0 00:10:C6:68:25:23
hci1 00:0C:55:FD:16:37
root@janus$ strace hidd -n --connect 00:0C:55:FD:16:37 "/usr/bin/ hidd", ["hidd", "-n", "--connect", "00:0C: 55:FD:16: 37"], [/* 33 vars */]) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2aaaaaac1000 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2aaaaaac2000 "/etc/ld. so.preload" , R_OK) = -1 ENOENT (No such file or directory) etc/ld. so.cache" , O_RDONLY) = 3 S_IFREG| 0644, st_size=70256, ...}) = 0 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) usr/lib/ libbluetooth. so.1", O_RDONLY) = 3 2\1\1\0\ 0\0\0\0\ 0\0\0\0\ 3\0>\0\ 1\0\0\0` ]\0\0\0" ..., 640) = 640 S_IFREG| 0644, st_size=82600, ...}) = 0 PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2aaaaabc2000 0x2aaaaabd4000, 1055744, PROT_NONE) = 0 4000, 8192, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 3, 0x12000) = 0x2aaaaacd4000 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) lib/libm. so.6", O_RDONLY) = 3 2\1\1\0\ 0\0\0\0\ 0\0\0\0\ 3\0>\0\ 1\0\0\0000> \0\0".. ., 640) = 640 S_IFREG| 0644, st_size=546000, ...}) = 0 PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2aaaaacd6000 0x2aaaaad5b000, 1047016, PROT_NONE) = 0 a000, 4096, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 3, 0x84000) = 0x2aaaaae5a000 "/etc/ld. so.nohwcap" , F_OK) = -1 ENOENT (No such file or directory) lib/libc. so.6", O_RDONLY) = 3 2\1\1\0\ 0\0\0\0\ 0\0\0\0\ 3\0>\0\ 1\0\0\0@ \305\1\ 0"..., 640) = 640 S_IFREG| 0755, st_size=1267512, ...}) = 0 PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 3, 0) = 0x2aaaaae5b000 0x2aaaaaf78000, 1159656, PROT_NONE) = 0 8000, 94208, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 3, 0x11d000) = 0x2aaaab078000 f000, 16872, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0x2aaaab08f000 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2aaaab094000 ARCH_SET_ FS, 0x2aaaab0946d0) = 0 0x2aaaaaac4000, 70256) = 0 PF_BLUETOOTH, SOCK_RAW, 6) = 3 PF_BLUETOOTH, SOCK_SEQPACKET, 0) = 4 AF_BLUETOOTH, sa_data= "\1\0007\ 26\375U\ f\0\274\ 252\252* \0\0"}, 10) = -1 ETIMEDOUT (Connection timed out) PF_BLUETOOTH, SOCK_SEQPACKET, 0) = 4 AF_BLUETOOTH, sa_data= "\1\0007\ 26\375U\ f\0@\0\ 0\0\0\0" }, 10) = -1 ETIMEDOUT (Connection timed out) S_IFCHR| 0600, st_rdev= makedev( 136, 1), ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2aaaaaac4000 0x2aaaaaac4000, 4096) = 0
execve(
uname({sys="Linux", node="janus", ...}) = 0
brk(0) = 0x507000
mmap(NULL, 4096, PROT_READ|
access(
mmap(NULL, 8192, PROT_READ|
access(
open("/
fstat(3, {st_mode=
mmap(NULL, 70256, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac4000
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 1129472, PROT_READ|
mprotect(
mmap(0x2aaaaacd
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 1591784, PROT_READ|
mprotect(
mmap(0x2aaaaae5
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 2327016, PROT_READ|
mprotect(
mmap(0x2aaaab07
mmap(0x2aaaab08
close(3) = 0
mmap(NULL, 4096, PROT_READ|
arch_prctl(
munmap(
socket(
brk(0) = 0x507000
brk(0x528000) = 0x528000
socket(
setsockopt(4, SOL_SOCKET, SO_LINGER, {onoff=1, linger=1}, 8) = 0
connect(4, {sa_family=
close(4) = 0
socket(
setsockopt(4, SOL_SOCKET, SO_LINGER, {onoff=1, linger=1}, 8) = 0
connect(4, {sa_family=
close(4) = 0
dup(2) = 4
fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=
mmap(NULL, 4096, PROT_READ|
lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(4, "Can\'t get device information: Co"..., 51Can't get device information: Connection timed out
) = 51
close(4) = 0
munmap(
close(3) = 0
exit_group(1) = ?