IRC log of #maemo for Friday, 2021-04-23

*** jskarvad has quit IRC00:37
*** Vajb has quit IRC00:54
*** Vajb has joined #maemo01:00
*** luke-jr has quit IRC01:19
*** luke-jr has joined #maemo01:20
*** florian has quit IRC01:20
*** useretail has quit IRC01:45
*** useretail has joined #maemo01:45
*** sunshavi has joined #maemo01:50
sunshavioff topic.01:52
sunshaviany alternative for knowing if a bluetooth dongle is01:52
sunshavi            connected?. bt-adapter -l takes a lot of time (30s) on my machine01:52
sunshavi            for a "core dump" when no bluetooth dongle is connected01:52
*** useretail has quit IRC01:56
*** useretail has joined #maemo01:56
*** florian has joined #maemo02:01
*** useretail has quit IRC02:19
*** useretail has joined #maemo02:19
*** useretail has quit IRC02:45
*** useretail has joined #maemo02:45
*** florian has quit IRC02:49
sunshavisicelo: https://termbin.com/uyz103:37
*** useretail has quit IRC04:20
*** useretail has joined #maemo04:20
*** Pali has quit IRC04:26
*** akossh has quit IRC04:38
*** akossh has joined #maemo04:41
siceloThanks. I also had in mind to write him04:45
*** sunshavi has quit IRC04:59
*** luke-jr has quit IRC05:03
*** luke-jr has joined #maemo05:04
*** sunshavi has joined #maemo05:23
*** tm has quit IRC06:07
*** tm has joined #maemo06:11
*** drathir_tor has quit IRC07:16
*** lukedashjr has joined #maemo07:17
*** drathir_tor has joined #maemo07:18
*** luke-jr has quit IRC07:19
*** lukedashjr is now known as luke-jr07:22
*** DocScrutinizer05 has quit IRC07:30
*** DocScrutinizer05 has joined #maemo07:30
*** FalconSpy has left #maemo07:38
*** FalconSpy has joined #maemo07:38
*** sunshavi has quit IRC07:42
*** sunshavi has joined #maemo07:54
*** florian has joined #maemo09:55
*** florian has quit IRC10:19
*** florian has joined #maemo10:21
*** newbieAlert has joined #maemo10:22
*** tm has quit IRC10:23
*** tm has joined #maemo10:30
*** Pali has joined #maemo10:40
*** jskarvad has joined #maemo11:06
brolin_empeysunshavi: 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 IRC13:34
*** drathir_tor has joined #maemo13:56
*** useretail has quit IRC15:14
*** useretail has joined #maemo15:15
*** drathir_tor has quit IRC15:15
*** drathir_tor has joined #maemo15:32
*** akossh has quit IRC15:42
*** xmn has quit IRC15:42
*** newbieAlert has quit IRC15:59
*** geaaru has quit IRC16:28
*** jskarvad has quit IRC16:50
*** geaaru has joined #maemo16:51
*** jskarvad has joined #maemo17:16
*** geaaru has quit IRC17:51
*** drathir_tor has quit IRC17:53
*** geaaru has joined #maemo17:56
sunshavibrolin_empey: I ended used this one: systemctl list-units -t device | grep hci017:58
*** drathir_tor has joined #maemo18:00
*** florian has quit IRC18:38
*** florian has joined #maemo18:40
*** useretail has quit IRC18:52
*** useretail has joined #maemo18:52
*** drathir_tor has quit IRC18:55
*** newbieAlert has joined #maemo18:57
*** drathir_tor has joined #maemo19:12
*** L29Ah has joined #maemo19:54
brolin_empeysunshavi: OK.  Is systemctl part of systemd?19:57
sunshaviYes. It is19:58
brolin_empeyOK, I thought so.  I am not very familiar with systemd so did not think of using it.20:00
sunshavibt-adapter is part of bluez-tools20:05
sunshaviBut bt-adapter core dumps when no bluetooth dongle is present20:05
sunshaviI needed a different and simple way of detecting if bluetooth dongle is present at boot time.20:06
*** useretail has quit IRC20:22
*** useretail has joined #maemo20:23
brolin_empeyOK.20:26
*** moldorcoder7 has quit IRC20:40
KotCzarnysunshavi: how about lsusb?20:43
KotCzarnyor hciconfig ?20:43
sunshaviKotCzarny: hciconfig is not present on mainline :(20:52
KotCzarnyare you sure?20:52
sunshaviKotCzarny: lsusb I tried it by I could have different manufacturers for the bluetooth dongle.20:53
KotCzarnyhciconfig is part of bluez package20:53
KotCzarnyat least on devuan ascii20:54
sunshavinot so sure. But at the moment on archlinux-arm with mainline no hciconfig20:54
KotCzarnyis there some equivalent of 'apt-file search' in archlinux?20:54
sunshavipacman -Qs perhaps20:55
sunshavihttps://termbin.com/n7fo20:55
KotCzarnyhttps://old.reddit.com/r/archlinux/comments/5x9yle/where_has_hciconfig_gone/20:56
KotCzarnyheh20:56
KotCzarnyif you dont mind installing bluez-utils-compat, you should be able to see any hciX device present20:56
sunshavipacman -Qs bluez20:57
sunshavihttps://termbin.com/l82d20:59
sunshavibluez-utils-compat. It would need to be compiled manually or with yaourt. No package is available by default. But It could do the job20:59
KotCzarnyi suspect grepping dmesg or checking for files somewhere in /sys could do the job too21:00
*** moldorcoder7 has joined #maemo21:01
sunshaviYes. But having and uptime of months on opi+2e could affect it?21:01
KotCzarnyaffect what?21:01
KotCzarnyi must have missed original question/problem21:01
sunshaviI was usig at boottime bt-adapter -l for detecting if bluetooth dongle is present21:02
KotCzarnysomething along the lines: Feb 20 15:00:24 hostname bluetoothd[4568]: HCI dev 0 registered21:02
KotCzarnyor btmgmt info21:02
sunshaviBut on my compaq n600c machine. It took 30s when booting for showing a "core dump" message21:02
KotCzarnyyou can disable bt service21:03
KotCzarnythen run it manually21:03
sunshaviYou are right about 'btmgmt info'21:03
sunshaviwhen bt dongle is present It should  connect to a bt-NAP server present in the room :)21:04
sunshaviI think btmgmt info is the 'one'21:04
KotCzarnytbh i grabbed that command from: https://wiki.archlinux.org/index.php/bluetooth21:05
KotCzarnyyou should really read docs :)21:05
sunshaviI just need to check if it core dumps when bt dongle is not present and It should be ok21:05
KotCzarnyarchlinux has quite a nice documentation21:05
sunshaviYes. You are right. I missed that. my fault21:06
sunshavithx. I am going to check if it works in a few minutes21:06
sunshaviIt worked. for detecting when bluetooth dongle is not present "btmgmt info | grep '0 items'"21:20
KotCzarnyit will fail with 10 items etc21:37
KotCzarny:)21:37
KotCzarnyunlikely situation but..21:37
sunshavi:)21:42
sunshaviI just have nine usb-ports ;)21:43
KotCzarnyusb hubs exist21:44
sunshaviI have two usb-hubs. That's the reason I have nine usb-ports on opi+2e21:44
KotCzarny:)21:45
*** moldorcoder7 has quit IRC21:48
*** jskarvad has quit IRC22:00
*** newbieAlert has quit IRC22:17
*** drathir_tor has quit IRC22:50
*** moldorcoder7 has joined #maemo22:52
*** florian has quit IRC22:56
*** drathir_tor has joined #maemo22:57
*** florian has joined #maemo23:09
*** Vajb has quit IRC23:25
*** xes_ has quit IRC23:28
*** Vajb has joined #maemo23:30

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!