<p dir="ltr"><br>
Am 26.01.2013 19:38 schrieb "arne anka" <<a href="mailto:openmoko@ginguppin.de">openmoko@ginguppin.de</a>>:<br>
>>>>><br>
>>>>> i failed to find that script. can you give me a link?<br>
>>>><br>
>>>> <a href="http://projects.goldelico.com/p/gta04-kernel/page/Wireless/#wikititle_5">http://projects.goldelico.com/p/gta04-kernel/page/Wireless/#wikititle_5</a><br>
>><br>
>><br>
>> This is the description for the 2.6.32 hw-validation kernel.<br>
>><br>
>> Things (sys filepath names) have changed for the 3.x kernels.<br>
>><br>
>> The problem is that we try to document user-space behaviour of two<br>
>> kernels developed by two teams on the same Wiki...<br>
><br>
><br>
> if i read that correctly, it would mean there are paths fro 3.x too?<br>
><br>
>> But there is good news: the 2.6.32-kernel will soon be retired and there<br>
>> will be a 3.7 based hw-validation kernel. And then, the documentation<br>
>> will be updated.<br>
><br>
><br>
> two questions: when? and will FSO work with it? last i heard was that does not with newer kernels (that's why i use the on from SHR)<br>
><br>
> in the meantime, how can i figure out the correct paths? are there files in /sys helping me to find the right ones?<br>
><br>
>> ...<br>
>> I think Neil has built in some automatic power/reset control for Bluetooth/WLAN.<br>
>> Therefore it is no longer required to "manually" control power.<br>
>><br>
>> It could be sufficient to open /dev/ttyO0 (the HCI port) by starting hciattach.<br>
><br>
><br>
> sadly, no:<br>
><br>
> gta04:~# hciattach -s 115200 /dev/ttyO0 any 115200 flow && sleep 2</p>
<p dir="ltr">Did you try 3000000 instead of 115200? This should be the default Speed.<br></p>
<p dir="ltr">> Device setup complete<br>
> gta04:~# rfkill list<br>
> 0: GPS: GPS<br>
> Soft blocked: yes<br>
> Hard blocked: no<br>
> 1: Bluetooth: Bluetooth<br>
> Soft blocked: no<br>
> Hard blocked: no<br>
> 2: phy0: Wireless LAN<br>
> Soft blocked: no<br>
> Hard blocked: no<br>
> 9: hci0: Bluetooth<br>
> Soft blocked: no<br>
> Hard blocked: no<br>
> gta04:~# hciconfig -a<br>
> hci0: Type: BR/EDR Bus: UART<br>
> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0<br>
> DOWN<br>
> RX bytes:0 acl:0 sco:0 events:0 errors:0<br>
> TX bytes:100 acl:0 sco:0 commands:20 errors:0<br>
><br>
> gta04:~# hciconfig hci0 up<br>
> Can't init device hci0: Connection timed out (110)<br>
><br>
> hciconfig -a should print the actual MAC, i guess?</p>
<p dir="ltr">Yes.</p>
<p dir="ltr">Regards,<br>
Christoph<br>
</p>