There is a message that contains a handbrake ON/OFF bit, but there's no software to do anything with it. You'd be better off using the 'vehicle driving' bit, which is what the factory TV uses.Hi,
I just bought the already assembled PIBUS via eBay and can't wait to try it out. I guess it will take some time for it to arrive in Germany though but in the meantime I can buy a Raspberry Pi and play around with it.
Just one simple question (hopefully): Does the car send an IBUS message when the handbrake is applied?
The reason is: in Germany you aren't allowed to watch movies while driving so my idea was: When the handbrake is applied: tell XBMC to pause the movie (if there's one running) or change to MP3s when in motion.
[edit]Since my car has an automatic transmission it would, perhaps, also be possible to only allow video playback when in "P" (and not in "R", "N" or "D").[/edit]
Also: is it better / faster to store data like MP3s / Videos on the same SD-Card as the operating system or should you use a USB drive for that?
And before I forget it: :thumbsup: for the great work!
80 0A BF 13 XX XX XX XX XX XX XX CS
DB 1 xxxxxxxx
|| |||- Handbrake On
|| ||-- Oil Pressure Low
|| |--- Brake Pads Worn
||----- Transmission Emergency Program
|-------Not In Park
DB 2 xxxxxxxx
|||- Motor Running
||-- Vehicle Driving
|--- Reverse Not Plausible
0001----- Reverse
0010----- 1
0100----- 2
0110----- Neutral
1000----- Drive
1011----- Park
1100----- 4
1101----- 3
1110----- 5
DB 3 xxxxxxxx
| ||||- Alarm Siren On
| |||-- Immobiliser On
| ||--- Aux Heat On
| |---- Aux Vent On
|------- Temp F
What do you propose it do without xbmc and sd/video/mp3 storage? It'll be a pretty dumb unit. Yes it's programmable, there's a header on the board.Hi Pete,
Looking at this a bit more, it looks like you don't need the raspberry at all, it appears to be there just for the xbmc and sd/video/mp3 storage, is that correct? The MC is the clever (very clever) bmw interface?
Also is the attiny2313a-su programmable on the board as is?
You mean you can't see your normal BMW menu any more? It's not right.Hey Pete
Should the mode function switch the screen between the standard stereo and the Pi, or is the video output from the pi constant regardless of what channel its on?
mine stays if you switch it to radio / tape / etc.
Not a big deal but if it is supposed to come back out of the pi's video when you change from the CD input, then mine's misfiring somewhere.
Use the pi to emulate new parts of the OEM menu system and add new modules as though they were OEM, instead of using the CD changer mode, I would use the AUX mode and build a menu for A2DP (with text and button control), DAB (again with menu and button control) and DVT (this would use the rev cam switch trigger which you have conveniently provided, coupled with a button overlay (to emulate the remote, for EPG, channel name and channel select).What do you propose it do without xbmc and sd/video/mp3 storage?
Just how I want it, with a fast booting OS with no GIU, just the bmw i-bus interface and menu rendering.It'll be a pretty dumb unit.
Perfect.Yes it's programmable, there's a header on the board.
You've lost me. You were talking about running the Pibus without the Pi and now you list all these features you want to implement with the PiUse the pi to emulate new parts of the OEM menu system and add new modules as though they were OEM, instead of using the CD changer mode, I would use the AUX mode and build a menu for A2DP (with text and button control), DAB (again with menu and button control) and DVT (this would use the rev cam switch trigger which you have conveniently provided, coupled with a button overlay (to emulate the remote, for EPG, channel name and channel select).
I have been able to reconfigure the AUX menu and add menus and text as though the cars infotainment system had generated it, so it looks and feels OEM.
I have also been able to spoof the OEM phone menus too (from i-bus), in effect turn on the menus as though a OEM phone is connected when its not, so I'm hoping I can emulate the OEM phone with a USB BT dongle.
(I already have Gen13 BT module in the car, so grabbing i-bus decode/emulation codes should be ok).
The tricky part will be the translation database, but the more I read the more it does look doable.
Just how I want it, with a fast booting OS with no GIU, just the bmw i-bus interface and menu rendering.
Perfect.
Just tap into the 5V on the board, it's got plenty of spare juice.Can the Pibus board also provide an extra switched 12v/5v supply for an USB hub or port replicate (so that it can power the hub down at the same time as the RiPi?)
Sorry mate, What I meant was that running the Pibus but without having to have the xbmc and/or sd card av support, still use the RiPi but without xbmc.You've lost me. You were talking about running the Pibus without the Pi and now you list all these features you want to implement with the Pi![]()
For the OEM BT? AFAIKBT phone support sounds interesting, is the protocol described somewhere?
Cool.Just tap into the 5V on the board, it's got plenty of spare juice.
Fo now I've just checked continuity, I've not yet checked if an impulse is sent when switching to CDC.Have you checked the reverse wire? That's the wire that switches the video to the Pibus.
Fo now I've just checked continuity, I've not yet checked if an impulse is sent when switching to CDC.
I'll try to do that asap.
PS : Is it possible for you to send me a fully functional ibus.txt to compare and check if all is working good on this side ?
Hi, I've checked reverse wire. I don't see anything on it. Voltage between PB0 and Q4 is null all the time. Do you know how this transistor works and how to test it.As far as anything is concerned your ibus signals are working with cdc04 displayed. It's your video switching that isn't working.
Does your LED blink at 1 Hz? Is it a single or double blink?Hi, I've checked reverse wire. I don't see anything on it. Voltage between PB0 and Q4 is null all the time. Do you know how this transistor works and how to test it.
I'm going to try to check gnd connection.
Edit : Gnd connection seems good, it has continuity with Attiny port 10.
If you have any ideas, tell me.
Edit : Pete, do you know if Attiny could fail on just one pin ? I don't know if I have to change Attiny or Q4 because I don't know how to diagnose which one is faulty.