Sunday, 2020-02-09

T42<elros34> if it contains some address then I guess00:00
T42<edp_17> Okay, Thanks.00:03
T42<edp_17> I have changed that in the config. After reboot when I tried to turn the BT on in settings I got: "localhost bluetooth_rfkill_event[1810]: main(bluetooth_rfkill_event.c:1228): Unknown rfkill switch 0"00:11
T42<edp_17> I will try again to make the bluetooth work as I did in happerhead.00:22
T42<edp_17> Do you have any idea about how to fix the mobile internet? I tried all switches in ril_subscription file but none of them worked.00:23
T42<elros34> no. About bluetooth, have you tried to run brcm_patchram_plus with parameters from that init*rc file? That is from your device so should works00:24
T42<edp_17> The 'brcm_patchram_plus /efs/bluetooth/bt_addr' command does nothing. It doesn't give the prompt back and the bt isn't turning on when I try in settings.00:30
T42<elros34> what?
T42<edp_17> On hammerhead I have a service file hciattach.service and another one dev-ttyHS99.device in /lib/systemd/system. That's how the bluetooth works on hammerhead. I tried that on this device too. (Of course changing the setup in those files to this device.)00:36
T42<edp_17> I tried this command: '/usr/sbin/hciattach -f /system/bin ttySAC0 bcm43xx 3000000 flow sleep /efs/bluetooth/bt_addr' but the initialization is timed out.00:37
T42<elros34> oh c'mon why do you try everything but not the bluetooth init from your device init.rc file00:39
T42<edp_17> Yeah, I have tried that too: "hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd --scopcm=0,0,0,0,0,0,0,3,3,0  /dev/ttySAC0" but I got: "hciattach: invalid option -- '-'"00:42
T42<elros34> remove everything before brcm_patchram_plus00:43
T42<edp_17> I tried: "brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd --scopcm=0,0,0,0,0,0,0,3,3,0  /dev/ttySAC0"00:46
T42<edp_17> No error message but I didn't get the prompt back and bt couldn't turned on in settings.00:46
T42<edp_17> Should I strace this?00:46
T42<edp_17> Here is the strace log:
T42<elros34> I have never tried broadcom bluetooth but I guess it can be init only once so get rid of bluetooth-rfkill-event, reboot and try again, check if you have something in rfkill00:51
T42<elros34> btw:  strace -f is more verbose00:52
T42<edp_17> ok, I'll keep in mind. Thanks.00:52
T42<edp_17> "get rid of bluetooth-rfkill-event" Do you mean delete the bluetooth-rfkill-event-hciattach file from /etc/sysconfig or unistall the bluetooth-rfkill-event package?00:54
T42<elros34> whatever is needed so you can run initialization manually00:55
T42<edp_17> I deleted /etc/sysconfig/bluetooth-rfkill-event-hciattach.00:59
T42<edp_17> But kept the /etc/firmware/bcm4330B1.conf and /etc/firmware/bcm4330B1.hcd01:00
T42<edp_17> And rebooted.01:00
T42<edp_17> The same.01:04
T42<edp_17> I have removed the bluetooth-rfkill-event package and rebooted.01:04
T42<edp_17> Nope, the same is happening. 😔01:07
T42<edp_17> In the kernel config I have CONFIG_BT_BCM4330=y should I change the y to m and try?01:08
T42<elros34> what do you mean by same? Does rfkill have something after initialization? Anything in dmesg?01:09
T42<edp_17> When I ran the command 'brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd --scopcm=0,0,0,0,0,0,0,3,3,0  /dev/ttySAC0' and tried to turn the bt on, nothing happened.01:12
T42<edp_17> I am checking dmesg.01:13
T42<edp_17> I didn't find anything in dmesg.
T42<edp_17> Sorry, It was a long day and I got very tired. Thank you for your help. I'll continue later.01:25
T42<edp_17> Good night.01:25
T42<alexisrev> I started earning the day I took the courage to invest in Bitcoin with Amos Bauer , now I'm glad I took that courage. I just got $5500 profits sent directly to my PayPal account.07:43
*** ahjolinna_ is now known as ahjolinna15:52
T42<Bdj %lastname%> @alexisrev [I started earning the day I took the courage t …], Report this20:14

Generated by 2.17.1 by Marius Gedminas - find it at!