[clug] USB Bluetooth device

Ian darkstarsword at gmail.com
Tue Mar 11 14:27:52 GMT 2008

> >  So I was just wondering how I go about determining what device is assigned to the bluetooth dongle.
>  How about:
>  ls /sys/bus/usb/drivers/hci_usb/ | awk 'BEGIN {FS=":"} /.+-.+\..+:.*/
>  {print "/dev/" $1}' | uniq

I also see some usbdevblah.blah_epblah files as well - don't know if
you need them or not, but this should find the ones related to any
bluetooth devices on your system:

ls `lsusb -v | grep -B 7 Bluetooth | awk '/^Bus .* Device .*/ {printf
"/dev/usbdev%d.%d_ep*\n", $2, $4}'`

Note: strip any newlines that email inserted into that, do the same
for my first suggestion.


On the day *I* go to work for Microsoft, faint oinking sounds will be
heard from far overhead, the moon will not merely turn blue but
develop polkadots, and hell will freeze over so solid the brimstone
will go superconductive.
 -- Erik Raymond, 2005
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

More information about the linux mailing list