libera/#maemo/ Saturday, 2019-01-26

Enrico_MenottiHello, today I gathered logs of the bluetooth connection between my N900 and my BMW. Nothing relevant from hcidump, but I found the following in /var/log/syslog:00:02
Enrico_Menottihttps://pastebin.com/v3fDiFen00:02
siceloi wonder if you could try pairing your linux laptop with the bmw00:05
Enrico_MenottiMay it be that the 4 lines saying "Badly format(t)ed (sic, typo?) or unrecognized command" are responsible for the BMW system to hang? I think it should not hang just for this, but you know...00:05
Enrico_Menottisicelo No linux laptop here... I have my Mac. I was using Devuan (and Debian) on an old laptop, but recently this old guy destroyed a USB stick (ruined the file allocation table), so it's going to rest in peace in the future.00:07
siceloi doubt. the way i see it, it's your car that's sending those things to the n900, and the n900 doesn't like them. so at worst, it is the n900 that should reboot00:07
sicelomy guess00:07
Enrico_MenottiI have an intention to buy a tower computer for playing with Linux, but in the last month I've being doing other things.00:08
Enrico_MenottiYes, it's the car sending, but I was wondering whether it could be that the car sits waiting for an answer that never comes.00:09
Enrico_MenottiI investigated a bit about those AT commands, and found that they are (if I'm right) GSM-related. The second (AT+CPBS), in particular, is related to exchange of the phone book.00:10
sicelowhy reboot then .. rather disconnect the 'incompatible' device :)00:11
Enrico_MenottiI found the following wiki page in this respect:00:11
Enrico_Menottihttps://wiki.maemo.org/Bluetooth_PBAP00:11
siceloyes, you're correct about the AT commands, and N900 does not support CPBS out of the box via BT00:11
Enrico_MenottiI agree, should not reboot. Also, from the setting screen (on the car's display) I believe that the car understands that the N900 exposes only phone services, not data transfer. If this is true, why the car asks for the phone book anyway, at the end of the call?00:13
sicelo08:04 < sicelo> i was going to add, but i see it's hinted in the last comment of that bug, that while N900 definitely has issues, it doesn't  mean the BMW software is 'innocent' either << this00:14
sicelo09:31 < freemangordon> no, it is BMW (or rather the company that made multimedia part) to blame  <<00:14
Enrico_MenottiAnd while I agree that the BMW software seems to be quite fragile, there's no option for me to correct any bug on the car (at least for now): no update on the BMW site for my car.00:14
sicelotrust me on that one, BT in BMW multimedia is buggy00:15
sicelo>>00:15
Enrico_MenottiYes, I agree, but since my gf's smartphone works, I'd like to understand what's the big difference between the Wiko Jerry and the N900, that induces the BMW multimedia reboot.00:16
sicelohave you tried the phonebook tweaks?00:16
Enrico_MenottiYou mean the packages on https://wiki.maemo.org/Bluetooth_PBAP?00:16
siceloyes00:16
Enrico_MenottiNot yet, I decided to write here first to see whether anybody may shred some light on the problem.00:17
Enrico_MenottiIn particular, on that wiki page there's a sentence that is not clear to me.00:17
Enrico_MenottiThere is a TODO to write support for AT commands but don't hold your breath.00:18
Enrico_Menotti(See the Disclaimer, italics.)00:18
sicelo:)00:18
Enrico_MenottiI mean, does this mean that the packages reported in the wiki page don't do anything good for AT commands?00:19
Enrico_MenottiSo I should not expect to remove the errors found in the logs just with those packages?00:20
siceloyes00:20
Enrico_MenottiAnd so I was right, probably those tweaks won't solve anything.00:21
siceloi was about to write that -  when i think about your problme, i don't see that diagnosing from N900 side will help much, since it has no way to know wha the BMW is doing. If you had a way to debug from BMW side00:21
sicelomy 2 cents00:21
Enrico_MenottiThat's a big problem.00:22
Enrico_MenottiAt the moment I can't do more than listening to what the BMW has to say. No way to get inside its brain to know also what it thinks.00:23
Enrico_MenottiOr better, I know how to start getting inside, but it promises to be a very long journey, and I don't want to run the risk to brick my car...00:24
Enrico_MenottiI've been reading a lot about the BMW electronics a few months ago.00:25
Enrico_MenottiMy car is exposing a Ethernet connection, which is accessible from the OBD2 socket below the steering wheel, on the left.00:26
Enrico_MenottiI also bought the cable for bringing out the connection to a standard Ethernet plug (RJ45, right?); inside the OBD2 plug there's also a resistor shorting two pins, which is needed for activating the Ethernet connection.00:28
Enrico_MenottiBut never used the cable yet. The standard way to proceed would be to use the original BMW coding program (which I also found over the net), which runs on Windows.00:29
siceloCAN bus, i think?00:29
Enrico_MenottiBut this does not provide any console access to the system, in order to be able to debug.00:30
Enrico_MenottiDon't know right now. I remember it's not a standard bus in mobile electronics.00:30
siceloi have no idea about those kinds of things myself - my car is not fancy at ll00:31
Enrico_MenottiOk, I found the document about the general vehicle electronics. Internal buses are CAN, various versions. There's also a D-CAN exposed at the OBD interface, but if I recall right this is only used for vehicle diagnostics. The only way to get really inside is to go through the Ethernet connection.00:35
siceloi feel your pain :(00:38
Enrico_MenottiI also found some slides from some workshop by BMW. The protocol used for the communication is SOME/IP-SD.00:42
Enrico_MenottiI stopped here, maybe in the future I'll investigate more about my car.00:43
Enrico_MenottiFor now I was just hoping to understand what the N900 is not doing properly, compared to my gf's smartphone, and try to correct the N900 behavior to avoid triggering the BMW multimedia hang and reboot (which seems to me clearly a bug.)00:44
Enrico_MenottiIn other words, leaving the bug there but getting around it.00:45
Enrico_MenottiBy reading around, I see the nickname of the guy who wrote the wiki page: luf. From the wiki, I tried #maemo-ssu, but he's not there. Do you know who he is? On the thread about the subject, he speaks about a git repository, but I haven't been able to find it.00:48
siceloplease report bac on your eventual findings. no, i never got to know him either00:50
sicelo*back00:50
sicelohow about looking in the pacake's details? there'll usually be at least an email address ...00:50
Enrico_MenottiAnother guy I found in relation to bluetooth on the N900 (but it seems he worked on mainstreaming the driver, not on Maemo, while I'm not sure of this) is Pavel Machek. I found his website and there's an email address, does it make sense to contact him?00:51
sicelo*package00:51
Enrico_MenottiOh yes, good idea.00:51
siceloi doubt Pavel will help you with that00:51
Enrico_MenottiIn the obexd-0.46 package source there is a text file with a list of authors, but I don't understand whether they are related to N900. Also no idea about whoever could be luf.01:00
Enrico_MenottiIn conclusion, I have this nice (although old) N900, and I'd like to use it for something useful, besides playing and learning Linux embedded (which indeed is very useful, I have to say). But: the modem only works on the old Maemo platform, so Maemo is the only way to use my phone as a phone (!). However, bluetooth doesn't work on Maemo. Other useful things only run on Android (or iOS). What a pity, nice object, but I01:04
Enrico_Menotti don't find a way to use it in my daily life yet!01:04
Enrico_MenottiI'll go to bed with bitter sadness. :(. No, I'm joking, let the night pass by and I'll see tomorrow what comes out from my mind.01:06
sunshaviEnrico_Menotti: I have emailed luf several times04:33
sicelo"bluetooth doesn't work on maemo" - untrue08:23
sicelosunshavi: got any reply?08:23
sixwheeledbeastI also agree Bluetooth works here. Future projects will hopefully make Modem work elsewhere we will see.08:26
Enrico_Menottisicelo Yes, sorry, what I mean is a more detailed thing: "With the stock Maemo bluetooth I'm unable to use the N900 in connection to my BMW headset." Which does not give all the guilt to Maemo, nor means that a bluetooth implementation exists for the N900 which allows smooth operation on my BMW without correcting also the BMW software.12:20
Enrico_MenottiI'm also curious to understand why my Mac does not like the N900: as I said before, it gets connected, but after a while (few seconds) the Mac asks for disconnection.12:22
Enrico_Menottisunhavi Where may I find luf's email address? Or at lest his name, so that I may understand who he is among the authors of the package?12:22
Enrico_Menottisunshavi, sorry12:23
sicelommm, Enrico_Menotti, why it looks like iDrive really is a lost cause? (no offence intended): i just used google and the results aren't comforting,12:35
Enrico_Menottisicelo Sorry, don't understand what you mean. Do you think it is or not a lost cause? The results from google are comforting or not?12:44
siceloi am saying there are lots of reports from bmw owners having bt issues and reboots12:48
Enrico_Menottisicelo Ah ok, understood. Probably I was too focused on googling N900 + iDrive (or BMW), didn't think of searching for generic iDrive bluetooth issues. I started with the idea that the bluetooth had no problems on the car, since my gf smartphone works smoothly.12:54
sicelohttps://www.2addicts.com/forums/showthread.php?s=005421ecb9fcc8e6bb76a50e072b8c37&t=112374913:00
sicelohttps://www.bimmerfest.com/forums/showthread.php?t=89710513:03
Enrico_Menottisicelo Thanks for the links, will look in a while.14:05
Enrico_MenottiMeanwhile, I was trying to access irc on the N900. I tried with pidgin, but the GUI seems VERY buggy. Any better suggestion?14:05
siceloi use irssi :)14:49
sicelon900 has hwkbd, so that helps. others use XChat14:50
sixwheeledbeastTerminal based are best. I think there is a more optimised version of pidgin somewhere by gidzzz14:58
sixwheeledbeastStock IRC plugin is terrible if you want multiple channels but kinda usable for one15:10
Enrico_Menottisixwheeledbeast What do you mean as "stock IRC plugin"? You refer to pidgin, as I find it on extras?16:12
sixwheeledbeastIRC plugin for Maemo. enables irc in the default chat account16:13
sixwheeledbeastgidzzz version is probably in devel or maybe a download on TMO16:14
Enrico_MenottiI've seen pidgin's GUI for IRC is not that good, especially for multiple channels, however this is not the main problem I found. The problem is that the drop-down list menus don't work (as you click the list appears, but as you leave the screen to select an item the list itself disappears...), and in the buddies list I can't click on the first one (active!).16:14
sixwheeledbeasthexchat and irrsi are most popular for maemo16:15
Enrico_Menottisixwheeledbeast Ah, there's an IRC plugin for Maemo? Where do I find it? (I may search by myself but I'm very lazy, so if you tell me it's save work... :) ).16:15
sixwheeledbeastextras for the plugin16:16
Enrico_MenottiExtras repo? And the name of the plugin? Just IRC?16:16
Enrico_MenottiI found account-plugin-idle. That one?16:22
siceloyes16:25
sixwheeledbeastnot sure conservations for irc ... i think16:27
Enrico_Menottisixwheeledbeast Maybe "conversations"?16:30
Enrico_Menottisicelo sixwheeledbeast Anyway account-plugin-idle is on testing and devel (different versions).16:31
Enrico_Menottisixwheeledbeast I think you mean the same thing as sicelo, i.e. what I found:16:33
Enrico_Menottihttp://maemo.org/packages/view/account-plugin-idle/16:33
Enrico_Menotti"IRC Protocol Plugin For Conversations And Contacts"16:33
sixwheeledbeastyep thats it18:25
swe_anyone here?20:55
swe_just wondering if anyone has gotten QSpot to work in the past few years20:56
swe_id imagine that the spotify apis have changed20:56
sixwheeledbeastMy free period ran out and I never renewed it so I have no idea.21:01
swe_when was the last time it worked for you?21:02
sixwheeledbeastBe a couple years ago I last used it. Was working great.21:02
swe_i just got the n900 and spotify is the only "appish" thing i care about21:02
sixwheeledbeastIf you are on Premium it should be fine21:02
swe_the playlists dont load for me21:03
swe_i tried both versions that are available21:03
sixwheeledbeastI generally buy all my music. Spotify I only used for new music so wouldn't justify the cost.21:04
sixwheeledbeastDon't remember having an issue with playlists myself21:05
swe_yea i might have to resort to that. just buy the albums and stuff i like21:05
swe_is this channel active with devs21:05
sixwheeledbeastnot necessarily QSpot but yes.21:06
sixwheeledbeastI think more effort has shifted to Leste.21:08
swe_i figured those devs are long gone.21:08
swe_what is Leste21:08
sixwheeledbeast~leste21:08
sixwheeledbeasthm21:08
sixwheeledbeast~listkeys leste21:08
infobotFactoid search of 'leste' by key (3): weathercode mcalester ;; homosexual child molester ;; lester.21:08
sixwheeledbeastlol21:09
sixwheeledbeasthttps://maemo-leste.github.io/21:09
sixwheeledbeastinfobot: leste is https://leste.maemo.org/21:10
infobotokay, sixwheeledbeast21:10
swe_true. looks pretty cool. ill try it out one day21:11
swe_do you still use your device at all21:12
sixwheeledbeastdaily, as with many here it's still there main device.21:13
Vajbjust today my n900 was called as gps-plotter :D22:21
sicelo:)22:27
sicelomeaning?22:27
siceloyou were taking gps traces?22:28
swe_no i think he meant someone called it a gps-plotter22:32
swe_i dont know the context though22:32
swe_dangit. i did not realize that at&t shutdown there edge network. woops23:47
swe_i guess i can get a tmobile prepaid or something23:47

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