[Gta04-owner] GT04+FSO+SHR+Debian: Bluetooth, suspend, lock, SHR profile

Dr. H. Nikolaus Schaller hns at goldelico.com
Sat Jan 26 19:01:12 CET 2013


Am 26.01.2013 um 18:48 schrieb arne anka:

>>> i failed to find that script. can you give me a link?
>> http://projects.goldelico.com/p/gta04-kernel/page/Wireless/#wikititle_5

This is the description for the 2.6.32 hw-validation kernel.

Things (sys filepath names) have changed for the 3.x kernels.

The problem is that we try to document user-space behaviour of two
kernels developed by two teams on the same Wiki...

But there is good news: the 2.6.32-kernel will soon be retired and there
will be a 3.7 based hw-validation kernel. And then, the documentation
will be updated.

> 
> ah, thanks! i was looking somwhere completely different ...
> 
> nevertheless, with the SHR kernel
> Linux gta04 3.4.9 #1 PREEMPT Tue Nov 6 04:36:17 CET 2012 armv7l GNU/Linux
> those sys-paths do not exist:
> 
> ./bluetooth_wlan.sh: line 6: /sys/class/leds/tca6507:6/brightness: No such file or directory
> ./bluetooth_wlan.sh: line 7: /sys/devices/platform/reg-virt-consumer.4/max_microvolts: No such file or directory
> ./bluetooth_wlan.sh: line 8: /sys/devices/platform/reg-virt-consumer.4/min_microvolts: No such file or directory
> ./bluetooth_wlan.sh: line 9: /sys/devices/platform/reg-virt-consumer.4/mode: No such file or directory
> ./bluetooth_wlan.sh: line 10: /sys/class/leds/tca6507:6/brightness: No such file or directory
> 
> /sys/devices/platform/reg-virt-consumer.* enumerates only until 3.

I think Neil has built in some automatic power/reset control for Bluetooth/WLAN. 
Therefore it is no longer required to "manually" control power.

It could be sufficient to open /dev/ttyO0 (the HCI port) by starting hciattach.

> 
> lsmod:
> 
> Module                  Size  Used by
> hci_uart               12825  1
> rfcomm                 32374  0
> bnep                   10074  2
> bluetooth             176491  14 bnep,hci_uart,rfcomm
> g_ether                37918  0
> libertas_sdio          16339  0
> libertas              109660  1 libertas_sdio
> cfg80211              171065  1 libertas
> 
> what am i missing?
> 
> _______________________________________________
> Smartphones-userland mailing list
> Smartphones-userland at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland



More information about the Gta04-owner mailing list