notaz
Certified Guru
You tell me, can never be sure about such things.
http://www.openpando.../Zaxxon-HF6.zipDoes anyone else have the problem that the Pandora won't shut down with the 3.2.1 kernel from Beta2?
My box gets stuck with the "experimental kernel" screen and the blue progress bar being blacked out, but the system doesn't power off.
Also mmc_core.removable=0 doesn't seem to work 100% - get some mmc errors when resuming the system. This is on the old hardware.
My NAND was full and this full reflash helped me. Had a similar issue when I installed Super Zaxxon, it worked for me. I then was able to reinstall Super Zaxxon Beta 1 and Beta 2 without issue.
No such problem here, do you have anything running when this happens?I found screen blanking (both spontaneous and due to time change) causes system freeze (3.2 kernel of beta 2). Tested a few times swithing between standard (everything ok) and experimental kernel (not ok)
sudo su
cd /etc
ln -s /lib/firmware firmware
echo 15 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio15/direction
echo 1 > /sys/class/gpio/gpio15/value
hciattach -n /dev/ttyO0 texasalt
Texas module LMP version : 0x03
Texas module LMP sub-version : 0x1126
internal version freeze: 38
software version: 2
chip: brf6300 (4)
Opening firmware file: /etc/firmware/brf6300.bin
Uploading firmware...
Firmware upload successful.
Device setup complete
static int texas_change_speed (int fd, uint32_t speed) {
return 0;
}
I've attached a patch to bluez (/tools/hciattach_tialt.c) that enables changing the baudrate. The forum ate my attachment or something. Here is a link then: http://urjaman.dyndn...ed_change.patch
Looks good, it would be best if you sent this as formal git patch to bluez mailing list, as you can test any adjustments they might want. You'd only need to replace spaces with tabs to match their coding style.I've attached a patch to bluez (/tools/hciattach_tialt.c) that enables changing the baudrate. The forum ate my attachment or something. Here is a link then: http://urjaman.dyndn...ed_change.patch
The fastest currently working rate is 3Mbps because that is the highest that has a baudrate define and also works with the omap and the bt chip. That is enough fast for me, but i think one could pach hciattach to use BOTHER and c_ospeed to set 3686400 that was used by the old driver. I think that this patch could actually make it into bluez upstream. I mostly adapted the code from the speed change in hci_h4p driver.
Could you do a git patch against http://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blob;f=recipes/pandora-system/pandora-scripts/op_bluetooth.sh;h=2d5b79aa45ca0f4b03f8e1fa5d0ff79f0cd41382;hb=HEAD with this? It could look something like:Now i think all that is missing from the bluetooth system is integrating this all into the scripts and either controlling the led from the script in a simple on/off manner or adding led code to the kernel hci uart driver (there really is no other place i think) if we really want usage blinking.
That firmware symlink should somehow go into the rootfs or we could patch that too in hciattach.
bt_enable()
{
# hciattach stuff here
}
kernel_major=`uname -r | cut -c 1`
if [ "$kernel_major" = "3" ]; then
bt_enable
fi
I'd prefer to keep BT in shutdown state (GPIO low) until it's actually used, that means hciattach on every enable. Although if it has good power management it could make sense to keep it on, although there are some people who never use BT, and some that have broken wifi modules, there could be problems if you try to talk to dead chip there.EDIT: Or alternatively we could just start hciattach on boot and use only hciconfig up/down - that would be faster and maybe simpler. The above is quite thorough in how totally it brings bt up and down