All of lore.kernel.org
 help / color / mirror / Atom feed
* Bluez Can't see my adapter
@ 2016-06-15  9:18 Mr Dini
  2016-06-15 10:18 ` Szymon Janc
  0 siblings, 1 reply; 4+ messages in thread
From: Mr Dini @ 2016-06-15  9:18 UTC (permalink / raw)
  To: linux-bluetooth

Hi!

I have a 0a12:0001 bluetooth dongle and an arm5 based nas. It is an
embedded linux with the old 2.6.31.8 kernel.

Unfortunately the manufacturer disabled the bt at the kernel, So I had
to recompile a kernel with Bluetooth support. I flashed it using an
USB TTL cable via u-boot.

After it I compiled the latest bluez 5.40 with "./configure
--prefix=/ffp --disable-systemd" command and I wrote a patch to not
use ppol, because the kernel not supports that syscall...

After a make and an install I Can launch the bluetoothd and I Can use
the whole bluez package as expected. :)

Now I tried to load the btusb module, but the dmesg said, it already
loaded. So I put on my dongle and saw this dmesg part(the dongle is
reattached):

btusb_intr_complete: hci0 urb ce155da0 failed to resubmit (19)
btusb_bulk_complete: hci0 urb c01832c0 failed to resubmit (19)
btusb_bulk_complete: hci0 urb c0183540 failed to resubmit (19)
btusb_send_frame: hci0 urb c0183540 submission failed
usb 1-1.1: new full speed USB device using ehci_marvell and address 8
usb 1-1.1: device descriptor read/64, error -32
In hub_port_init, usb_device_id = 7, devnum = 8
In hub_port_init, and number is 2, retry 0, port 1 .....
usb 1-1.1: configuration #1 chosen from 1 choice

When I execute "hciconfig hci0 up" I Can see my dongle at the hciconfig:

hci0:   Type: BR/EDR  Bus: USB
        BD Address: secret  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING
        RX bytes:380 acl:0 sco:0 events:13 errors:0
        TX bytes:38 acl:0 sco:0 commands:11 errors:0

And I Can see my nearby bt devices if I make a scan using the hcitool.

But if I try to use the bluetoothctl to do this, it says:

# bluetoothctl
[bluetooth]# scan on
No default controller available

But why? I have run out of ideas at this part...

Some additional information:

The system uses uClibc compiler.

And the rfkill says my device isn't blocked:

# rfkill list
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Thanks a lot!

Ps: Sorry for my bad English and for the unformatted message (I am
using mutt)...

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-15 12:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15  9:18 Bluez Can't see my adapter Mr Dini
2016-06-15 10:18 ` Szymon Janc
     [not found]   ` <CANVNt1Y=9Jz8tC-Awg0YeG4hzMzo-T9y3u8qbW1Jth-V-AUiuw@mail.gmail.com>
2016-06-15 10:24     ` Szymon Janc
2016-06-15 12:56       ` Mr Dini

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.