Tuesday, 2020-03-10

malare those config files etc correct, check also journal log for any errors00:00
maldo you have correct conf file defined inside /etc/sysconfig/bluetooth-rfkill-event-hciattach00:02
T42<edp_17> That file only has 1 line: CONFIGFILE="-c /etc/firmware/bcm4330b1.conf"00:03
T42<edp_17> However I think the 'patchram=/system/bin/bcm4330B1.hcd' in /etc/firmware/bcm4330b1.conf is wrong.00:04
T42<edp_17> That should be patchram =1 and the '/system/bin/bcm4330B1.hcd' should be defined somehow else like the '/dev/ttySAC0' which is set as 'uart_dev = /dev/ttySAC0' in the .conf file.00:05
malyou should be able to figure out how to fix that, there aren't that many options in there00:05
malyou can also check the sources https://github.com/mer-hybris/bluetooth-rfkill-event/tree/master/bluetooth-rfkill-event00:06
T42<edp_17> I have found and tried to find out the parameters in the config from here: https://github.com/fredldotme/brcm-patchram-plus/blob/master/brcm_patchram_plus.c00:07
T42<edp_17> But your one looks better. 😄00:07
T42<edp_17> Yep, as I though the /system/bin/bcm4330B1.hcd' should be defined as fw_patch.00:08
malhcd should be just a symlink to the correct firmware so the loaded finds it00:13
mallike here https://github.com/r0kk3rz/droid-config-scorpion_windy/blob/master/sparse/etc/firmware/BCM4350C0.hcd00:13
malwhich was an example in fq00:13
mal*faq00:13
malyou should really focus and check all that is written in faq00:13
T42<edp_17> Yes I have that symlink.00:13
malis the symlink correct?00:14
T42<edp_17> I have a file bcm43xx.hcd in /etc/firmware that points to /system/bin/bcm4330B1.hcd00:15
T42<edp_17> The faq is confusing by the way. It is hard to understand when I should use the actual file name (like bcm4330b1) and when the bcm43xx.00:18
malwell if you would have checked the sources like I said you would see that you can tell it the file to use https://github.com/mer-hybris/bluetooth-rfkill-event/blob/master/bluetooth-rfkill-event/bluetooth_rfkill_event.c#L832 using the fw_patch setting in the config file00:29
T42<edp_17> In the journal there is only 1 line when i turn on the bt in settings: "bluetooth_rfkill_event[2992]: main(bluetooth_rfkill_event.c:1228): Unknown rfkill switch 0"00:29
T42<edp_17> And the bt is not turning on, only if I run the brcm_patchram_plus command manually. Probably I am doing something wrong.00:30
malit really shouldn't be that difficult to get working00:31
malmake sure the options for the brcm_patchram_plus are correct when used via that bluetooth-rfkill-event00:32
T42<edp_17> It seems I have all files, symlinks in place with the correct content.00:32
malto me the symlink seemed wrong00:33
malat least compared to the example00:33
T42<edp_17> I have compared the command and the conf file: https://pastebin.com/mEjZaDjD00:34
T42<edp_17> Now I have two symlinks in the /etc/firmware. One with name bcm43xx.hcd and another with bcm4330B1.hcd. Both are pointing to the same /system/bib/bcm4330B1.hcd00:35
T42<edp_17> I have tried to use both in the config file: type_id = bcm43xx and later type_id = bcm4330B100:36
T42<edp_17> bluetooth-rfkill-event.service restarted when I changed these but the same result.00:36
malwhat did I tell you about the fw_patch setting00:45
malyou don't even need any symlink if you use that00:45
T42<edp_17> I tried both. With the symlink and without the fw_patch, and with fw_patch.00:47
T42<edp_17> If I have fw_patch, do I even need type_id?00:48
malI also said that you need to make sure the call from bluetooth-rfkill-event is the same, you can add a print to the end of brcm_patchram_plus_cmdline in the source to print it if you can't read the options and set those correctly00:48
maltype_id = bcm43xx like in the example00:48
T42<edp_17> I think type_id tells to the script the symlink name what it is looking for but if I use fw_patch I don't need type_it and the symlink either.00:49
maltype_id is only for hciattach00:49
malread the sources00:49
T42<edp_17> Okay, I remove it then.00:50
malit's just ignored for brcm_patchram_plus00:50
malthis is going nowhere so I give up for tonight00:50
malyou have all the information you need to solve this00:51
T42<edp_17> Thanks for your time.00:51
T42Julie %lastname% was added by: Julie %lastname%06:37
T42<蔡卡斑 %lastname%> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/VS90SO1bOh.png 更多业务请咨询:  @yx993709:21
T42屠莫雯 %lastname% was added by: 屠莫雯 %lastname%11:38
rinigushi! is it expected that SD card is mounted automatically on boot (sfos 3.2.1.20). in case of sony tama devices, with /dev/mmcblk0p1 sdcard, it doesn't happen19:22
rinigus... as far as I was told by one of the users19:23
kimmoliwasn't it issue with sd cards named mmcblk* ?19:30
kimmolior appearing with such device name?19:30
kimmoliadd a udev rule to rename/symlink it to something that the mount thingy recognizes? (disclaimers apply)19:31
riniguskimmoli: not sure. there was issue with showing it wrong in the settings (all sda/b/c/ assumed to be sdcards), but I don't remember automount issues. I wounder where is the automount script...19:32
kimmoliit was udev rule, but it uses now something more complicated... dont remember its name19:34
T42<elros34> udisks2 package19:35
kimmolithats it19:35
kimmoliand yes the issue was way around19:36
rinigusthen will have to refresh my memory (grep)19:37

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!