*** jskarvad has quit IRC | 00:37 | |
*** Vajb has quit IRC | 00:54 | |
*** Vajb has joined #maemo | 01:00 | |
*** luke-jr has quit IRC | 01:19 | |
*** luke-jr has joined #maemo | 01:20 | |
*** florian has quit IRC | 01:20 | |
*** useretail has quit IRC | 01:45 | |
*** useretail has joined #maemo | 01:45 | |
*** sunshavi has joined #maemo | 01:50 | |
sunshavi | off topic. | 01:52 |
---|---|---|
sunshavi | any alternative for knowing if a bluetooth dongle is | 01:52 |
sunshavi | connected?. bt-adapter -l takes a lot of time (30s) on my machine | 01:52 |
sunshavi | for a "core dump" when no bluetooth dongle is connected | 01:52 |
*** useretail has quit IRC | 01:56 | |
*** useretail has joined #maemo | 01:56 | |
*** florian has joined #maemo | 02:01 | |
*** useretail has quit IRC | 02:19 | |
*** useretail has joined #maemo | 02:19 | |
*** useretail has quit IRC | 02:45 | |
*** useretail has joined #maemo | 02:45 | |
*** florian has quit IRC | 02:49 | |
sunshavi | sicelo: https://termbin.com/uyz1 | 03:37 |
*** useretail has quit IRC | 04:20 | |
*** useretail has joined #maemo | 04:20 | |
*** Pali has quit IRC | 04:26 | |
*** akossh has quit IRC | 04:38 | |
*** akossh has joined #maemo | 04:41 | |
sicelo | Thanks. I also had in mind to write him | 04:45 |
*** sunshavi has quit IRC | 04:59 | |
*** luke-jr has quit IRC | 05:03 | |
*** luke-jr has joined #maemo | 05:04 | |
*** sunshavi has joined #maemo | 05:23 | |
*** tm has quit IRC | 06:07 | |
*** tm has joined #maemo | 06:11 | |
*** drathir_tor has quit IRC | 07:16 | |
*** lukedashjr has joined #maemo | 07:17 | |
*** drathir_tor has joined #maemo | 07:18 | |
*** luke-jr has quit IRC | 07:19 | |
*** lukedashjr is now known as luke-jr | 07:22 | |
*** DocScrutinizer05 has quit IRC | 07:30 | |
*** DocScrutinizer05 has joined #maemo | 07:30 | |
*** FalconSpy has left #maemo | 07:38 | |
*** FalconSpy has joined #maemo | 07:38 | |
*** sunshavi has quit IRC | 07:42 | |
*** sunshavi has joined #maemo | 07:54 | |
*** florian has joined #maemo | 09:55 | |
*** florian has quit IRC | 10:19 | |
*** florian has joined #maemo | 10:21 | |
*** newbieAlert has joined #maemo | 10:22 | |
*** tm has quit IRC | 10:23 | |
*** tm has joined #maemo | 10:30 | |
*** Pali has joined #maemo | 10:40 | |
*** jskarvad has joined #maemo | 11:06 | |
brolin_empey | sunshavi: Can you use lsusb or lspci or similar for the bus used to connect the Bluetooth controller to check if the Bluetooth controller is present? | 11:13 |
*** drathir_tor has quit IRC | 13:34 | |
*** drathir_tor has joined #maemo | 13:56 | |
*** useretail has quit IRC | 15:14 | |
*** useretail has joined #maemo | 15:15 | |
*** drathir_tor has quit IRC | 15:15 | |
*** drathir_tor has joined #maemo | 15:32 | |
*** akossh has quit IRC | 15:42 | |
*** xmn has quit IRC | 15:42 | |
*** newbieAlert has quit IRC | 15:59 | |
*** geaaru has quit IRC | 16:28 | |
*** jskarvad has quit IRC | 16:50 | |
*** geaaru has joined #maemo | 16:51 | |
*** jskarvad has joined #maemo | 17:16 | |
*** geaaru has quit IRC | 17:51 | |
*** drathir_tor has quit IRC | 17:53 | |
*** geaaru has joined #maemo | 17:56 | |
sunshavi | brolin_empey: I ended used this one: systemctl list-units -t device | grep hci0 | 17:58 |
*** drathir_tor has joined #maemo | 18:00 | |
*** florian has quit IRC | 18:38 | |
*** florian has joined #maemo | 18:40 | |
*** useretail has quit IRC | 18:52 | |
*** useretail has joined #maemo | 18:52 | |
*** drathir_tor has quit IRC | 18:55 | |
*** newbieAlert has joined #maemo | 18:57 | |
*** drathir_tor has joined #maemo | 19:12 | |
*** L29Ah has joined #maemo | 19:54 | |
brolin_empey | sunshavi: OK. Is systemctl part of systemd? | 19:57 |
sunshavi | Yes. It is | 19:58 |
brolin_empey | OK, I thought so. I am not very familiar with systemd so did not think of using it. | 20:00 |
sunshavi | bt-adapter is part of bluez-tools | 20:05 |
sunshavi | But bt-adapter core dumps when no bluetooth dongle is present | 20:05 |
sunshavi | I needed a different and simple way of detecting if bluetooth dongle is present at boot time. | 20:06 |
*** useretail has quit IRC | 20:22 | |
*** useretail has joined #maemo | 20:23 | |
brolin_empey | OK. | 20:26 |
*** moldorcoder7 has quit IRC | 20:40 | |
KotCzarny | sunshavi: how about lsusb? | 20:43 |
KotCzarny | or hciconfig ? | 20:43 |
sunshavi | KotCzarny: hciconfig is not present on mainline :( | 20:52 |
KotCzarny | are you sure? | 20:52 |
sunshavi | KotCzarny: lsusb I tried it by I could have different manufacturers for the bluetooth dongle. | 20:53 |
KotCzarny | hciconfig is part of bluez package | 20:53 |
KotCzarny | at least on devuan ascii | 20:54 |
sunshavi | not so sure. But at the moment on archlinux-arm with mainline no hciconfig | 20:54 |
KotCzarny | is there some equivalent of 'apt-file search' in archlinux? | 20:54 |
sunshavi | pacman -Qs perhaps | 20:55 |
sunshavi | https://termbin.com/n7fo | 20:55 |
KotCzarny | https://old.reddit.com/r/archlinux/comments/5x9yle/where_has_hciconfig_gone/ | 20:56 |
KotCzarny | heh | 20:56 |
KotCzarny | if you dont mind installing bluez-utils-compat, you should be able to see any hciX device present | 20:56 |
sunshavi | pacman -Qs bluez | 20:57 |
sunshavi | https://termbin.com/l82d | 20:59 |
sunshavi | bluez-utils-compat. It would need to be compiled manually or with yaourt. No package is available by default. But It could do the job | 20:59 |
KotCzarny | i suspect grepping dmesg or checking for files somewhere in /sys could do the job too | 21:00 |
*** moldorcoder7 has joined #maemo | 21:01 | |
sunshavi | Yes. But having and uptime of months on opi+2e could affect it? | 21:01 |
KotCzarny | affect what? | 21:01 |
KotCzarny | i must have missed original question/problem | 21:01 |
sunshavi | I was usig at boottime bt-adapter -l for detecting if bluetooth dongle is present | 21:02 |
KotCzarny | something along the lines: Feb 20 15:00:24 hostname bluetoothd[4568]: HCI dev 0 registered | 21:02 |
KotCzarny | or btmgmt info | 21:02 |
sunshavi | But on my compaq n600c machine. It took 30s when booting for showing a "core dump" message | 21:02 |
KotCzarny | you can disable bt service | 21:03 |
KotCzarny | then run it manually | 21:03 |
sunshavi | You are right about 'btmgmt info' | 21:03 |
sunshavi | when bt dongle is present It should connect to a bt-NAP server present in the room :) | 21:04 |
sunshavi | I think btmgmt info is the 'one' | 21:04 |
KotCzarny | tbh i grabbed that command from: https://wiki.archlinux.org/index.php/bluetooth | 21:05 |
KotCzarny | you should really read docs :) | 21:05 |
sunshavi | I just need to check if it core dumps when bt dongle is not present and It should be ok | 21:05 |
KotCzarny | archlinux has quite a nice documentation | 21:05 |
sunshavi | Yes. You are right. I missed that. my fault | 21:06 |
sunshavi | thx. I am going to check if it works in a few minutes | 21:06 |
sunshavi | It worked. for detecting when bluetooth dongle is not present "btmgmt info | grep '0 items'" | 21:20 |
KotCzarny | it will fail with 10 items etc | 21:37 |
KotCzarny | :) | 21:37 |
KotCzarny | unlikely situation but.. | 21:37 |
sunshavi | :) | 21:42 |
sunshavi | I just have nine usb-ports ;) | 21:43 |
KotCzarny | usb hubs exist | 21:44 |
sunshavi | I have two usb-hubs. That's the reason I have nine usb-ports on opi+2e | 21:44 |
KotCzarny | :) | 21:45 |
*** moldorcoder7 has quit IRC | 21:48 | |
*** jskarvad has quit IRC | 22:00 | |
*** newbieAlert has quit IRC | 22:17 | |
*** drathir_tor has quit IRC | 22:50 | |
*** moldorcoder7 has joined #maemo | 22:52 | |
*** florian has quit IRC | 22:56 | |
*** drathir_tor has joined #maemo | 22:57 | |
*** florian has joined #maemo | 23:09 | |
*** Vajb has quit IRC | 23:25 | |
*** xes_ has quit IRC | 23:28 | |
*** Vajb has joined #maemo | 23:30 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!