Re: [linux-sunxi] How to enable bluetooth power

2014-09-29 Thread Toroshin Dmitry
I changed code to this:
<-->sw_usb_enable_hcd(usb_wifi_host);
<-->sw_usb_enable_hcd(1);
<-->u32 pio_hdle = gpio_request_ex("bt_para", NULL);
<-->if(pio_hdle)
<-->{   gpio_write_one_pin_value(pio_hdle, 1, "bt_wake");
<--><-->gpio_write_one_pin_value(pio_hdle, 1, "bt_pwren");
<--><-->//gpio_release(pio_hdle, 2);
<-->}
<-->u32 pio_hdle2 = gpio_request_ex("3g_para", NULL);
<-->gpio_write_one_pin_value(pio_hdle2, 1, "3g_power_switch");
<-->gpio_write_one_pin_value(pio_hdle2, 1, "3g_pwr");
<-->gpio_write_one_pin_value(pio_hdle2, 1, "3g_wakeup");
Now i can see modem in lsusb, but it's unknown and is's need to force 
usbserial module to use it.
Bluetooth still does not work.
sunxi_keyboard works after adding:
[tabletkeys_para]
tabletkeys_used=1
key0_code = 114
key1_code = 115





to fex.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] How to enable bluetooth power

2014-09-29 Thread Toroshin Dmitry


On Monday, September 29, 2014 8:53:39 AM UTC+7, Julian Calaby wrote:
>
> Hi, 
>
> On Sat, Sep 27, 2014 at 11:22 PM,  > 
> wrote: 
> > суббота, 27 сентября 2014 г., 19:03:26 UTC+7 пользователь Julian Calaby 
> написал: 
> >> Hi Toroshin, 
> >> 
> >> 
> >> 
> >> On Sat, Sep 27, 2014 at 9:13 PM, Toroshin Dmitry  > wrote: 
> >> 
> >> > I have unnamed A10 tablet with RDA bluetooth on serial. 
> >> 
> >> > Bluetooth adapter seems to be disabled by default. 
> >> 
> >> > In stock gpl-violating kernel it controls by 
> /sys/class/usb_wifi/rtl_wifi/bt 
> >> 
> >> > hciattach shows this before bt enabled: 
> >> 
> >> 
> >> 
> >> We'll be able to give you much better assistance with this if you go 
> >> 
> >> through the New Device Howto: http://linux-sunxi.org/New_Device_howto 
> >> 
> >> 
> >> 
> >> > ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow 
> >> 
> >> > opt=110 
> >> 
> >> > opt=115 
> >> 
> >> > chenjieaaa --debug argc=8 n=0 opt 
> >> 
> >> > =/dev/ttyS2 
> >> 
> >> > chenjieaaa --debug argc=8 n=1 opt 
> =rda 
> >> 
> >> > chenjieaaa --debug argc=8 n=2 opt 
> =150 
> >> 
> >> > chenjieaaa --debug argc=8 n=3 opt 
> =flow 
> >> 
> >> > init_uart -> 
> >> 
> >> > flags =0 
> >> 
> >> > u->init fd =  3 
> >> 
> >>  rda_587x 
> >> 
> >> >  debug   --val 0 u->speed =150 
> u->bdaddr=41:57:73:01:02:03 
> >> 
> >> > rda_init-->bt debug 
> >> 
> >> > RDABT_core_Intialization-->bt debug 
> >> 
> >> > rdabt_get_chipid-->bt debug 
> >> 
> >> > Initialization timed out. 
> >> 
> >> > 
> >> 
> >> > After echoing on to /sys/class/usb_wifi/rtl_wifi/bt initialisation 
> >> 
> >> > successful: 
> >> 
> >> > 
> >> 
> >> > ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow 
> >> 
> >> > opt=110 
> >> 
> >> > opt=115 
> >> 
> >> > chenjieaaa --debug argc=8 n=0 opt 
> >> 
> >> > =/dev/ttyS2 
> >> 
> >> > chenjieaaa --debug argc=8 n=1 opt 
> =rda 
> >> 
> >> > chenjieaaa --debug argc=8 n=2 opt 
> =150 
> >> 
> >> > chenjieaaa --debug argc=8 n=3 opt 
> =flow 
> >> 
> >> > init_uart -> 
> >> 
> >> > flags =0 
> >> 
> >> > u->init fd =  3 
> >> 
> >>  rda_587x 
> >> 
> >> >  debug   --val 0 u->speed =150 
> u->bdaddr=41:57:73:01:02:03 
> >> 
> >> > rda_init-->bt debug 
> >> 
> >> > RDABT_core_Intialization-->bt debug 
> >> 
> >> > rdabt_get_chipid-->bt debug 
> >> 
> >> > 5875y is ok -->bt debug 
> >> 
> >> > rda_init1 write here 
> >> 
> >> > rda_set_bdaddr 1-->bt debug 
> >> 
> >> > BCM_BT start Write_BD_ADDR 
> >> 
> >> > mac=41:57:73:01:02:03 
> >> 
> >> > rda_init2 write here 
> >> 
> >> > rda_init2 write here 
> >> 
> >> > val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03 
> >> 
> >> > init_uart--u->flags=1 
> >> 
> >> > rda_setup_flow_ctl -flow 
> >> 
> >> > rda_setup_flow_ctl> i=0  num_send=14 
> >> 
> >> > rda_setup_flow_ctl> i=1  num_send=14 
> >> 
> >> > rda_setup_flow_ctl 
> >> 
> >> > Device setup complete 
> >> 
> >> > sigdelset OK 
> >> 
> >> > 
> >> 
> >> > This is bt_para section: 
> >> 
> >> > [bt_para] 
> >> 
> >> > bt_used = 1 
> >> 
> >> > bt_uart_id = 2 
> >> 
> >> > bt_mod_type = 1 
> >> 
> >> > bt_pwren = port:PH11<1> 
> >> 
> >> > bt_wake = port:PI20<1> 
> >> 
> >> > bt_vbat = port:PH12<1> 
> >> 
> >> > It seems that i need enaple power on PH11, but how to do that? 
> >> 
> >> 
> >> 
> >> This should be handled by the driver, which kernel are you using? 
> >> 
> >> 
> >> 
> >> > What full fex: http://dpaste.com/2C4HPFZ 
> >> 
> >> > Also csi camera, sun4i-keyboard and internal usb modem does not work. 
> >> 
> >> 
> >> 
> >> With more info, we should be able to help you with this. 
> >> 
> >> 
> >> 
> >> Also, what do you mean by a "usb modem" is there a phone socket on the 
> device? 
> >> 
> >> 
> >> 
> >> Thanks, 
> >> 
> >> 
> >> 
> >> -- 
> >> 
> >> Julian Calaby 
> >> 
> >> 
> >> 
> >> Email: julian...@gmail.com  
> >> 
> >> Profile: http://www.google.com/profiles/julian.calaby/ 
> > 
> > Yes, there is a phone SIM socket on main board. Modem is on separate 
> board, connected with USB and SIM pins. 
>
> Ah, that makes sense. 
>
> I'm guessing this is some generic USB 3G modem, there should be 
> support for it in the kernel, the driver probably isn't compiled into 
> your kernel. What does "lsusb" output for it? 
>
> > I can add page, but cannot provide board images and get a serial console 
> because i have no camera and voltage-compatible serial adapter. And i 
> cannot fully uncover case because i'

Re: [linux-sunxi] How to enable bluetooth power

2014-09-28 Thread Julian Calaby
Hi,

On Sat, Sep 27, 2014 at 11:22 PM,   wrote:
> суббота, 27 сентября 2014 г., 19:03:26 UTC+7 пользователь Julian Calaby 
> написал:
>> Hi Toroshin,
>>
>>
>>
>> On Sat, Sep 27, 2014 at 9:13 PM, Toroshin Dmitry  wrote:
>>
>> > I have unnamed A10 tablet with RDA bluetooth on serial.
>>
>> > Bluetooth adapter seems to be disabled by default.
>>
>> > In stock gpl-violating kernel it controls by 
>> > /sys/class/usb_wifi/rtl_wifi/bt
>>
>> > hciattach shows this before bt enabled:
>>
>>
>>
>> We'll be able to give you much better assistance with this if you go
>>
>> through the New Device Howto: http://linux-sunxi.org/New_Device_howto
>>
>>
>>
>> > ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
>>
>> > opt=110
>>
>> > opt=115
>>
>> > chenjieaaa --debug argc=8 n=0 opt
>>
>> > =/dev/ttyS2
>>
>> > chenjieaaa --debug argc=8 n=1 opt =rda
>>
>> > chenjieaaa --debug argc=8 n=2 opt =150
>>
>> > chenjieaaa --debug argc=8 n=3 opt =flow
>>
>> > init_uart ->
>>
>> > flags =0
>>
>> > u->init fd =  3
>>
>>  rda_587x
>>
>> >  debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
>>
>> > rda_init-->bt debug
>>
>> > RDABT_core_Intialization-->bt debug
>>
>> > rdabt_get_chipid-->bt debug
>>
>> > Initialization timed out.
>>
>> >
>>
>> > After echoing on to /sys/class/usb_wifi/rtl_wifi/bt initialisation
>>
>> > successful:
>>
>> >
>>
>> > ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
>>
>> > opt=110
>>
>> > opt=115
>>
>> > chenjieaaa --debug argc=8 n=0 opt
>>
>> > =/dev/ttyS2
>>
>> > chenjieaaa --debug argc=8 n=1 opt =rda
>>
>> > chenjieaaa --debug argc=8 n=2 opt =150
>>
>> > chenjieaaa --debug argc=8 n=3 opt =flow
>>
>> > init_uart ->
>>
>> > flags =0
>>
>> > u->init fd =  3
>>
>>  rda_587x
>>
>> >  debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
>>
>> > rda_init-->bt debug
>>
>> > RDABT_core_Intialization-->bt debug
>>
>> > rdabt_get_chipid-->bt debug
>>
>> > 5875y is ok -->bt debug
>>
>> > rda_init1 write here
>>
>> > rda_set_bdaddr 1-->bt debug
>>
>> > BCM_BT start Write_BD_ADDR
>>
>> > mac=41:57:73:01:02:03
>>
>> > rda_init2 write here
>>
>> > rda_init2 write here
>>
>> > val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
>>
>> > init_uart--u->flags=1
>>
>> > rda_setup_flow_ctl -flow
>>
>> > rda_setup_flow_ctl> i=0  num_send=14
>>
>> > rda_setup_flow_ctl> i=1  num_send=14
>>
>> > rda_setup_flow_ctl
>>
>> > Device setup complete
>>
>> > sigdelset OK
>>
>> >
>>
>> > This is bt_para section:
>>
>> > [bt_para]
>>
>> > bt_used = 1
>>
>> > bt_uart_id = 2
>>
>> > bt_mod_type = 1
>>
>> > bt_pwren = port:PH11<1>
>>
>> > bt_wake = port:PI20<1>
>>
>> > bt_vbat = port:PH12<1>
>>
>> > It seems that i need enaple power on PH11, but how to do that?
>>
>>
>>
>> This should be handled by the driver, which kernel are you using?
>>
>>
>>
>> > What full fex: http://dpaste.com/2C4HPFZ
>>
>> > Also csi camera, sun4i-keyboard and internal usb modem does not work.
>>
>>
>>
>> With more info, we should be able to help you with this.
>>
>>
>>
>> Also, what do you mean by a "usb modem" is there a phone socket on the 
>> device?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> --
>>
>> Julian Calaby
>>
>>
>>
>> Email: julian.cal...@gmail.com
>>
>> Profile: http://www.google.com/profiles/julian.calaby/
>
> Yes, there is a phone SIM socket on main board. Modem is on separate board, 
> connected with USB and SIM pins.

Ah, that makes sense.

I'm guessing this is some generic USB 3G modem, there should be
support for it in the kernel, the driver probably isn't compiled into
your kernel. What does "lsusb" output for it?

> I can add page, but cannot provide board images and get a serial console 
> because i have no camera and voltage-compatible serial adapter. And i cannot 
> fully uncover case because i'm not owner of this tablet.

If your phone takes photos then that's usually good enough. For board
shots, a flatbed scanner or colour photocopier that can save them to a
thumb drive also works.

The serial console is exceptionally useful, but not vital. You can
probably leave that until later.

> And i don't know how to name page.

What does Android call it? (in Settings => About Tablet)

Beyond that, sadly, the best way to discover stuff like this is to
open it and read whatever is printed on the main board. I recommend
you post some exterior shots on the wiki as a lot of these tablets
open the same way - and if you have proper instructions, you should be
a

Re: [linux-sunxi] How to enable bluetooth power

2014-09-27 Thread web32 . main
суббота, 27 сентября 2014 г., 19:03:26 UTC+7 пользователь Julian Calaby написал:
> Hi Toroshin,
> 
> 
> 
> On Sat, Sep 27, 2014 at 9:13 PM, Toroshin Dmitry  wrote:
> 
> > I have unnamed A10 tablet with RDA bluetooth on serial.
> 
> > Bluetooth adapter seems to be disabled by default.
> 
> > In stock gpl-violating kernel it controls by /sys/class/usb_wifi/rtl_wifi/bt
> 
> > hciattach shows this before bt enabled:
> 
> 
> 
> We'll be able to give you much better assistance with this if you go
> 
> through the New Device Howto: http://linux-sunxi.org/New_Device_howto
> 
> 
> 
> > ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
> 
> > opt=110
> 
> > opt=115
> 
> > chenjieaaa --debug argc=8 n=0 opt
> 
> > =/dev/ttyS2
> 
> > chenjieaaa --debug argc=8 n=1 opt =rda
> 
> > chenjieaaa --debug argc=8 n=2 opt =150
> 
> > chenjieaaa --debug argc=8 n=3 opt =flow
> 
> > init_uart ->
> 
> > flags =0
> 
> > u->init fd =  3
> 
>  rda_587x
> 
> >  debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
> 
> > rda_init-->bt debug
> 
> > RDABT_core_Intialization-->bt debug
> 
> > rdabt_get_chipid-->bt debug
> 
> > Initialization timed out.
> 
> >
> 
> > After echoing on to /sys/class/usb_wifi/rtl_wifi/bt initialisation
> 
> > successful:
> 
> >
> 
> > ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
> 
> > opt=110
> 
> > opt=115
> 
> > chenjieaaa --debug argc=8 n=0 opt
> 
> > =/dev/ttyS2
> 
> > chenjieaaa --debug argc=8 n=1 opt =rda
> 
> > chenjieaaa --debug argc=8 n=2 opt =150
> 
> > chenjieaaa --debug argc=8 n=3 opt =flow
> 
> > init_uart ->
> 
> > flags =0
> 
> > u->init fd =  3
> 
>  rda_587x
> 
> >  debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
> 
> > rda_init-->bt debug
> 
> > RDABT_core_Intialization-->bt debug
> 
> > rdabt_get_chipid-->bt debug
> 
> > 5875y is ok -->bt debug
> 
> > rda_init1 write here
> 
> > rda_set_bdaddr 1-->bt debug
> 
> > BCM_BT start Write_BD_ADDR
> 
> > mac=41:57:73:01:02:03
> 
> > rda_init2 write here
> 
> > rda_init2 write here
> 
> > val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
> 
> > init_uart--u->flags=1
> 
> > rda_setup_flow_ctl -flow
> 
> > rda_setup_flow_ctl> i=0  num_send=14
> 
> > rda_setup_flow_ctl> i=1  num_send=14
> 
> > rda_setup_flow_ctl
> 
> > Device setup complete
> 
> > sigdelset OK
> 
> >
> 
> > This is bt_para section:
> 
> > [bt_para]
> 
> > bt_used = 1
> 
> > bt_uart_id = 2
> 
> > bt_mod_type = 1
> 
> > bt_pwren = port:PH11<1>
> 
> > bt_wake = port:PI20<1>
> 
> > bt_vbat = port:PH12<1>
> 
> > It seems that i need enaple power on PH11, but how to do that?
> 
> 
> 
> This should be handled by the driver, which kernel are you using?
> 
> 
> 
> > What full fex: http://dpaste.com/2C4HPFZ
> 
> > Also csi camera, sun4i-keyboard and internal usb modem does not work.
> 
> 
> 
> With more info, we should be able to help you with this.
> 
> 
> 
> Also, what do you mean by a "usb modem" is there a phone socket on the device?
> 
> 
> 
> Thanks,
> 
> 
> 
> -- 
> 
> Julian Calaby
> 
> 
> 
> Email: julian.cal...@gmail.com
> 
> Profile: http://www.google.com/profiles/julian.calaby/

Yes, there is a phone SIM socket on main board. Modem is on separate board, 
connected with USB and SIM pins.
I can add page, but cannot provide board images and get a serial console 
because i have no camera and voltage-compatible serial adapter. And i cannot 
fully uncover case because i'm not owner of this tablet.
And i don't know how to name page.
stock kernel is lichee-3.0.8+, sunxi kernel is 3.4.103.
Version of u-boot is unknown, i got it from 
http://4pda.ru/forum/index.php?showtopic=400424&st=1160#entry25983219 image 
because cannot get any u-boot-sunxi version to work.
I cannot find any code fetching bt_para and fex guide does not contain bt_pwren 
value, so it seems that bluetooth power configuration is not supported in sunxi 
kernel at all.
I added code enabling usb1 end pwren to rtl8192cu usb initialisation code:
<-->sw_usb_enable_hcd(usb_wifi_host);
<-->sw_usb_enable_hcd(1);
<-->u32 pio_hdle = gpio_request_ex("bt_para", NULL);
<-->if(pio_hdle)
<-->{
<--><-->gpio_write_one_pin_value(pio_hdle, 1, "bt_pwren");
<--><-->gpio_release(pio_hdle, 2);
<-->}
but it doesn't help.
insmod sun4i_keyboard says 'No such device', nothing in dmesg appears.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To un

Re: [linux-sunxi] How to enable bluetooth power

2014-09-27 Thread Julian Calaby
Hi Toroshin,

On Sat, Sep 27, 2014 at 9:13 PM, Toroshin Dmitry  wrote:
> I have unnamed A10 tablet with RDA bluetooth on serial.
> Bluetooth adapter seems to be disabled by default.
> In stock gpl-violating kernel it controls by /sys/class/usb_wifi/rtl_wifi/bt
> hciattach shows this before bt enabled:

We'll be able to give you much better assistance with this if you go
through the New Device Howto: http://linux-sunxi.org/New_Device_howto

> ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
> opt=110
> opt=115
> chenjieaaa --debug argc=8 n=0 opt
> =/dev/ttyS2
> chenjieaaa --debug argc=8 n=1 opt =rda
> chenjieaaa --debug argc=8 n=2 opt =150
> chenjieaaa --debug argc=8 n=3 opt =flow
> init_uart ->
> flags =0
> u->init fd =  3
 rda_587x
>  debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
> rda_init-->bt debug
> RDABT_core_Intialization-->bt debug
> rdabt_get_chipid-->bt debug
> Initialization timed out.
>
> After echoing on to /sys/class/usb_wifi/rtl_wifi/bt initialisation
> successful:
>
> ./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
> opt=110
> opt=115
> chenjieaaa --debug argc=8 n=0 opt
> =/dev/ttyS2
> chenjieaaa --debug argc=8 n=1 opt =rda
> chenjieaaa --debug argc=8 n=2 opt =150
> chenjieaaa --debug argc=8 n=3 opt =flow
> init_uart ->
> flags =0
> u->init fd =  3
 rda_587x
>  debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
> rda_init-->bt debug
> RDABT_core_Intialization-->bt debug
> rdabt_get_chipid-->bt debug
> 5875y is ok -->bt debug
> rda_init1 write here
> rda_set_bdaddr 1-->bt debug
> BCM_BT start Write_BD_ADDR
> mac=41:57:73:01:02:03
> rda_init2 write here
> rda_init2 write here
> val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03
> init_uart--u->flags=1
> rda_setup_flow_ctl -flow
> rda_setup_flow_ctl> i=0  num_send=14
> rda_setup_flow_ctl> i=1  num_send=14
> rda_setup_flow_ctl
> Device setup complete
> sigdelset OK
>
> This is bt_para section:
> [bt_para]
> bt_used = 1
> bt_uart_id = 2
> bt_mod_type = 1
> bt_pwren = port:PH11<1>
> bt_wake = port:PI20<1>
> bt_vbat = port:PH12<1>
> It seems that i need enaple power on PH11, but how to do that?

This should be handled by the driver, which kernel are you using?

> What full fex: http://dpaste.com/2C4HPFZ
> Also csi camera, sun4i-keyboard and internal usb modem does not work.

With more info, we should be able to help you with this.

Also, what do you mean by a "usb modem" is there a phone socket on the device?

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] How to enable bluetooth power

2014-09-27 Thread Toroshin Dmitry
I have unnamed A10 tablet with RDA bluetooth on serial.
Bluetooth adapter seems to be disabled by default.
In stock gpl-violating kernel it controls by /sys/class/usb_wifi/rtl_wifi/bt
hciattach shows this before bt enabled:


./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
opt=110 
opt=115 
chenjieaaa --debug argc=8 n=0 opt 
=/dev/ttyS2
chenjieaaa --debug argc=8 n=1 opt =rda
chenjieaaa --debug argc=8 n=2 opt =150
chenjieaaa --debug argc=8 n=3 opt =flow
init_uart ->
flags =0 
u->init fd =  3
>>> rda_587x
 debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03 
rda_init-->bt debug  
RDABT_core_Intialization-->bt debug  
rdabt_get_chipid-->bt debug  
Initialization timed out.

After echoing on to /sys/class/usb_wifi/rtl_wifi/bt initialisation 
successful:

./hciattach -n -s 115200 /dev/ttyS2 rda 150 flow
opt=110 
opt=115 
chenjieaaa --debug argc=8 n=0 opt 
=/dev/ttyS2
chenjieaaa --debug argc=8 n=1 opt =rda
chenjieaaa --debug argc=8 n=2 opt =150
chenjieaaa --debug argc=8 n=3 opt =flow
init_uart ->
flags =0 
u->init fd =  3
>>> rda_587x
 debug   --val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03 
rda_init-->bt debug  
RDABT_core_Intialization-->bt debug  
rdabt_get_chipid-->bt debug  
5875y is ok -->bt debug  
rda_init1 write here 
rda_set_bdaddr 1-->bt debug  
BCM_BT start Write_BD_ADDR
mac=41:57:73:01:02:03
rda_init2 write here 
rda_init2 write here 
val 0 u->speed =150 u->bdaddr=41:57:73:01:02:03 
init_uart--u->flags=1
rda_setup_flow_ctl -flow
rda_setup_flow_ctl> i=0  num_send=14
rda_setup_flow_ctl> i=1  num_send=14
rda_setup_flow_ctl
Device setup complete
sigdelset OK

This is bt_para section:
[bt_para]
bt_used = 1
bt_uart_id = 2
bt_mod_type = 1
bt_pwren = port:PH11<1>
bt_wake = port:PI20<1>
bt_vbat = port:PH12<1>
It seems that i need enaple power on PH11, but how to do that?
What full fex: http://dpaste.com/2C4HPFZ
Also csi camera, sun4i-keyboard and internal usb modem does not work.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.