usb_host_init_state should be set to 1. Recompile and replace the script.bin 
file.
—
>From My Tiny Glowing Screen

On Sun, Jan 12, 2014 at 11:50 AM, Nelson Grodzicki <[email protected]>
wrote:

> Dear Ian:
> Just checked the script.bin for my A13 tablet and usbc1 is =1.
> This is the copy of the USB section of my actual tablet using bin2fex
> utility.
> [usbc0]
> usb_used = 1
> usb_port_type = 2
> usb_detect_type = 1
> usb_id_gpio = port:PG02<0><1><default><default>
> usb_det_vbus_gpio = port:PG01<0><0><default><default>
> usb_drv_vbus_gpio = port:PG12<1><0><default><0>
> usb_host_init_state = 0
> [usbc1]
> usb_used = 1
> usb_port_type = 1
> usb_detect_type = 1
> usb_id_gpio =
> usb_det_vbus_gpio =
> usb_drv_vbus_gpio = port:power203<1><0><default><0>
> usb_host_init_state = 0
> The external WiFi adaptor works great.
> Any clue how to activate the internal WiFi on the tablet ?
> It is a Realtek 8188eu (checked visually on the board itself)
> Thanks a million.
> Nelson
> 2014/1/8 Nelson Grodzicki <[email protected]>
>> Dear Ian:
>>
>> I apologize for the "noise" in the groups.
>>
>> Never will happen again, and this is a promise.
>>
>> By the way, with the external USB Hub, I was able to have my
>> mouse/keyboard working and also a tiny WiFi adaptor working very happy !!
>>
>> So, I was able to have access to Internet from the XFCE !
>>
>> Since I am almost a complete ignorant in Linux my opinion may not be
>> valid, but I have to say after playing with Ubuntu, Debian, Puppy,
>> Armstrong and other distributions, this one is by far the BEST distribution
>> I ever tryied.
>>
>> The modules inside the Tablet are:
>> Touch Screen (does not work with the Fedora yet)  -- zet6221
>> WiFi Realtek -- 8188eu
>> USB-Ethernet controller -- RTL 8150
>>
>> I think the external WiFi module is the 8192cu but not sure.
>>
>> *Question:*
>>
>> How do I activate the ssh access to the Fedora so I can start working from
>> my Mac ??
>>
>> Also, I need to start up the Fedora in the console mode and not in
>> Graphic, how do I do that ?
>>
>> Well, again, thank you a million for your fantastic job !!
>>
>> Al the best.
>>
>> Nelson -
>>
>>
>> 2014/1/8 Ian Daniher <[email protected]>
>>
>>> Nelson,
>>>
>>> Emails sent in all caps are generally not good netiquette, as this is
>>> approximately the equivalent of shouting.
>>>
>>> That said, I just successfully solved a similar problem on similar
>>> hardware. There are a few pieces of information to acquire before we're
>>> able to help you.
>>>
>>> First off, what chipset do the tablets use? Hints to this effect can be
>>> found by running the command "lsusb" from in android and noting the vendor
>>> and product ID, a pair of hex numbers, possibly like "148f:7601." It is
>>> usually the only such pair not containing "1d6b" as the first number. You
>>> can also open your tablets and inspect the wifi card directly. Usually it
>>> is a small circuit board soldered to the motherboard. If you can read
>>> numbers off the small square chip, this also should have this information.
>>>
>>> In order to get the wireless to work on my 7" A13 tablet, I also had to
>>> extract, decompile, and modify the script.bin / script.fex hardware
>>> configuration file to ensure the internal USB port was enabled by default.
>>> To do this, you will need a PC with Linux installed and a copy of
>>> https://github.com/linux-sunxi/sunxi-tools. With information about your
>>> chipset, we will be better able to help you through this process.
>>>
>>> Best,
>>> --
>>> Ian Daniher
>>>
>>> On Tuesday, January 7, 2014 12:40:00 PM UTC-5, [email protected] wrote:
>>>>
>>>> DEAR HANS:
>>>>
>>>> I HAVE INSTALLED THE FEDORA 19 REMIX ON MY CHEAP CHINESE TABLETS.
>>>> HAVE 2 OF THEM, AND BOTH ARE 7" A13 BASED TABLETS.
>>>> THE FEDORA BOOTS FINE, I HAVE THE OTG USB CONNECTED TO MY WIRELESS
>>>> KEYBOARD/MOUSE AND WORKS HAPPY.
>>>>
>>>> WIFI IS NOT DETECTED, AND I HAVE NO IDEA HOW TO MAKE IT WORK ...
>>>>
>>>> I NEED TO COMUNICATE WITH THE TABLET USING SSH IN ORDER TO UPLOAD MY
>>>> PROGRAMS AND TO CONFIGURE THE TABLET FOR MY USE.
>>>>
>>>> PLEASE, ANY ASSISTANCE ON THE TOPIC WILL BE VERY APPRECIATED.
>>>>
>>>> I AM NEW IN THE FIELD, SO I BEG YOUR PARDON IF THIS IS A STUPID QUESTION
>>>> ...
>>>>
>>>> ALL THE BEST !
>>>>
>>>> NELSON
>>>>
>>>> El jueves, 18 de julio de 2013 19:12:35 UTC-3, Hans de Goede  escribió:
>>>> > Hi All,
>>>> >
>>>> >
>>>> >
>>>> > I'm very happy to announce the first release (r1) of my Fedora 19 ARM
>>>> >
>>>> > remix images for Allwinner A10, A10s, A13 and A20 based devices. This
>>>> >
>>>> > release is based on the official Fedora 19 Final for ARM images,
>>>> >
>>>> > with u-boot and kernel(s) from the linux-sunxi project:
>>>> >
>>>> > http://linux-sunxi.org/
>>>> >
>>>> >
>>>> >
>>>> > Besides all the goodies from Fedora-19, this release also contains
>>>> >
>>>> > the following new items on the Allwinner / sunxi front:
>>>> >
>>>> >
>>>> >
>>>> > -Support for the new dual core A20 soc (tested with cubieboard2),
>>>> >
>>>> >   this is based on forward porting the core machine code + various
>>>> >
>>>> >   drivers from allwinners 3.3 kernel source dump to the sunxi-3.4
>>>> >
>>>> >   sources. The following has been ported / is supported:
>>>> >
>>>> >   -uarts
>>>> >
>>>> >   -mmc controllers
>>>> >
>>>> >   -ehci and ohci usb controllers (usb controllers 1 and 2, controller
>>>> >
>>>> >    0 is an otg controller and is not supported yet.
>>>> >
>>>> >   -video output block (hdmi, vga, lcd, composite out)
>>>> >
>>>> >   -i2c controllers
>>>> >
>>>> >   -axp pmic including cpu voltage scaling
>>>> >
>>>> >   -rtc
>>>> >
>>>> >   -sound: analog in/out, hdmi audio, spdif out (spdif untested)
>>>> >
>>>> >   -ethernet controller (emac)
>>>> >
>>>> >   -sata controller
>>>> >
>>>> >   Note any functional blocks in the SOC which are not explictly
>>>> >
>>>> >   listed as supported above are not supported atm
>>>> >
>>>> > -Support for a couple of new boards (38 boards in total now)
>>>> >
>>>> >
>>>> >
>>>> > You can download it here:
>>>> >
>>>> > http://scotland.proximity.on.ca/contrib-images/hansg/
>>>> Fedora-19-a10-armhfp-r1.img.xz
>>>> >
>>>> >
>>>> >
>>>> > sha1sum: a179afafd77c26c7022392d2fa72e3fd221dd33a
>>>> >
>>>> >
>>>> >
>>>> > It is important to read the README, the image standard comes without
>>>> >
>>>> > u-boot pre-loaded since u-boot is board specific. The image includes
>>>> >
>>>> > a user-friendly simple script to install the right u-boot for
>>>> >
>>>> > your board, but if you simply xzcat the image to an sdcard, and then
>>>> >
>>>> > boot your device with the sdcard, things will *not* work.
>>>> >
>>>> >
>>>> >
>>>> > See the README for a list of currently supported boards.
>>>> >
>>>> >
>>>> >
>>>> > Known Issues:
>>>> >
>>>> > -Many boards don't have an rtc (A10 and A20 have a builtin one),
>>>> >
>>>> >   or at least no battery backup for it, resulting in the date
>>>> >
>>>> >   + time being wrong.
>>>> >
>>>> > -If the date is of by more then a couple of months, "yum update"
>>>> >
>>>> >   won't work because certificate validation fails for the https
>>>> >
>>>> >   connection yum tries to make. So if yum fails to get its repodata
>>>> >
>>>> >   first check (and fix) your date
>>>> >
>>>> > -The regular (host not otg) usb-port on A10s based boards can be a
>>>> >
>>>> >   bit quirky. It is best to plug in a hub even when using only one
>>>> >
>>>> >   device, otherwise the device may not be recognized. If this happens,
>>>> >
>>>> >   after adding a hub, often a power-cycle is needed too.
>>>> >
>>>> > -The wifi chip on the Auxtek-T004 hdmi-stick is unsupported atm
>>>> >
>>>> >
>>>> >
>>>> > Enjoy,
>>>> >
>>>> >
>>>> >
>>>> > Hans
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > And to make sure everyone reads the README, let me print it here
>>>> >
>>>> > in full:
>>>> >
>>>> >
>>>> >
>>>> > Fedora 19 ARM for Allwinner A10, A10s, A13 and A20 devices README
>>>> >
>>>> > -----------------------------------------------------------------
>>>> >
>>>> >
>>>> >
>>>> > Quickstart guide
>>>> >
>>>> > ----------------
>>>> >
>>>> >
>>>> >
>>>> > 1) Insert an sdcard, note any data on the card will be destroyed!
>>>> >
>>>> > 2) Make sure the card is not mounted, run "mount" and if the card
>>>> shows
>>>> >
>>>> >     up in the output umount its partitions
>>>> >
>>>> > 3) Write the img file to the card, ie as root do:
>>>> >
>>>> >     xzcat Fedora-19-a10-armhfp-r1.img.xz > /dev/mmcblk0
>>>> >
>>>> >     sync
>>>> >
>>>> > 4) The card is not yet ready for use! Since the A10 u-boot is board
>>>> >
>>>> >     specific, the image comes without any uboot install, follow the
>>>> next
>>>> >
>>>> >     steps to install the right u-boot for your board
>>>> >
>>>> > 5) Remove the card, and re-insert it. The uboot partition should get
>>>> >
>>>> >     automatically mounted, if not mount it manually,
>>>> >
>>>> > 6) As root (or through sudo) run: <uboot-part-mount>/select-board.sh,
>>>> ie:
>>>> >
>>>> >     sudo /run/media/hans/uboot/select-board.sh
>>>> >
>>>> >
>>>> >
>>>> >     If you've dialog installed the select-board.sh script will prompt
>>>> for
>>>> >
>>>> >     your board. If you don't have dialog installed, it will print the
>>>> list
>>>> >
>>>> >     of supported boards. Lookup your board and re-run the script with
>>>> the
>>>> >
>>>> >     shortname for your board as argument, ie:
>>>> >
>>>> >     sudo /run/media/hans/uboot/select-board.sh mk802
>>>> >
>>>> > 7) umount the uboot and rootfs partitions, ie:
>>>> >
>>>> >     umount /run/media/hans/uboot
>>>> >
>>>> >     umount /run/media/hans/rootfs
>>>> >
>>>> > 8) Your sdcard is now ready for use
>>>> >
>>>> > 9) *Before* powering up your A10 device connect it to an hdmi or dvi
>>>> monitor
>>>> >
>>>> > 10) When first booting from the sdcard inserted Fedora will
>>>> automatically
>>>> >
>>>> >     reboot once, this is part of the process to resize the root
>>>> partition to
>>>> >
>>>> >     fill the entire sdcard and is normal behavior.
>>>> >
>>>> > 11) After the automatic reboot Fedora will start with the
>>>> initial-setup wizard:
>>>> >
>>>> >     11a) Configure networking, note:
>>>> >
>>>> >          * If you've an A10 board with wired ethernet and you want to
>>>> use dhcp
>>>> >
>>>> >            you don't need to do anything.
>>>> >
>>>> >          * If you've an A20 board, your ethernet will have a random
>>>> mac-address,
>>>> >
>>>> >            so if you want to configure a static ip-address and want it
>>>> to stick
>>>> >
>>>> >            across reboots, go to the ethernet-tab, select the
>>>> mac-address field
>>>> >
>>>> >            and delete its contents, so that the static ip address
>>>> you're
>>>> >
>>>> >            configuring does not get tied to the random mac-address.
>>>> >
>>>> >     11b) Setup the time zone
>>>> >
>>>> >     11c) Set a root password
>>>> >
>>>> >     11d) Create a user
>>>> >
>>>> > 12) Log in as the just created user
>>>> >
>>>> > 13) Enjoy Fedora on your A10 device
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Supported Devices:
>>>> >
>>>> > ------------------
>>>> >
>>>> >
>>>> >
>>>> > Fedora 19 ARM for Allwinner A10 has been tested with the following
>>>> devices:
>>>> >
>>>> > * A13-OLinuXino-MICRO (Olimex)
>>>> >
>>>> > * Auxtek T003 hdmi tv stick
>>>> >
>>>> > * Auxtek T004 hdmi tv stick
>>>> >
>>>> > * BA10 TV Box
>>>> >
>>>> > * Cubieboard development board 1024 MB RAM
>>>> >
>>>> > * Cubieboard2 (A20) development board
>>>> >
>>>> > * Gooseberry development board
>>>> >
>>>> > * Mele A1000G/A2000G 1024 MB RAM
>>>> >
>>>> > * Mini-X 1024 MB RAM
>>>> >
>>>> > * mk802 (with female mini hdmi) 512 MB RAM
>>>> >
>>>> > * mk802 with A10s (s with a circle around it on the barcode label)
>>>> >
>>>> > * mk802ii (with male normal hdmi) 1024 MB RAM
>>>> >
>>>> > * r7 hdmi tv stick
>>>> >
>>>> > * UHost U1A hdmi tv stick
>>>> >
>>>> > * Wobo i5 TV Box
>>>> >
>>>> >
>>>> >
>>>> > Fedora 19 ARM should also work on the following devices:
>>>> >
>>>> > * A10 tablet sold under various names (whitelabel)
>>>> >
>>>> > * A13 tablet sold under various names (whitelabel)
>>>> >
>>>> > * A10s-OLinuXino-MICRO (Olimex)
>>>> >
>>>> > * A13-OLinuXino (Olimex)
>>>> >
>>>> > * A20-OLinuXino-MICRO (Olimex)
>>>> >
>>>> > * Coby MID7042 tablet
>>>> >
>>>> > * Coby MID8042 tablet
>>>> >
>>>> > * Coby MID9742 tablet
>>>> >
>>>> > * Cubieboard development board 512 MB RAM
>>>> >
>>>> > * DNS AirTab M82 tablet
>>>> >
>>>> > * EOMA68 A10 CPU card
>>>> >
>>>> > * H6 netbook
>>>> >
>>>> > * Hackberry development board
>>>> >
>>>> > * Hyundai a7hd tablet
>>>> >
>>>> > * iNet-97F Rev.2 (and clones) tablet
>>>> >
>>>> > * Mele A1000/A2000 512 MB RAM
>>>> >
>>>> > * Mele A3700
>>>> >
>>>> > * Mini-X 512 MB RAM
>>>> >
>>>> > * mk802 (with female mini hdmi) 1024 MB RAM
>>>> >
>>>> > * pcDuino development board
>>>> >
>>>> > * Point of View ProTab 2 IPS 9" tablet
>>>> >
>>>> > * Point of View ProTab 2 IPS tablet with 3g
>>>> >
>>>> > * XZPAD700 7" tablet
>>>> >
>>>> >
>>>> >
>>>> > Configuring the display output
>>>> >
>>>> > ------------------------------
>>>> >
>>>> >
>>>> >
>>>> > Multiple video outputs at the same time are not supported. By default
>>>> >
>>>> > hdmi output with EDID is used for all devices, except for
>>>> tablets/netbooks
>>>> >
>>>> > where the default output is the lcd.
>>>> >
>>>> >
>>>> >
>>>> > The default hdmi output with EDID will get the native resolution of
>>>> your
>>>> >
>>>> > TV / monitor and use that. Note that in order for this to work your TV
>>>> /
>>>> >
>>>> > monitor must be connected *and turned on*, before booting your device.
>>>> >
>>>> >
>>>> >
>>>> > The output resolution can be configured with the
>>>> disp.screen0_output_mode
>>>> >
>>>> > kernel cmdline value, which can be found in the extrargs part of
>>>> uEnv.txt in
>>>> >
>>>> > the uboot partition. The default uEnv.txt contains the following
>>>> value:
>>>> >
>>>> > disp.screen0_output_mode=EDID:1280x720p60
>>>> >
>>>> >
>>>> >
>>>> > This means try to use EDID and if no valid EDID info is found fallback
>>>> to
>>>> >
>>>> > 1280x720p60.
>>>> >
>>>> >
>>>> >
>>>> > The used output can be changed by adding disp.screen0_output_type=X to
>>>> the
>>>> >
>>>> > extraargs in uEnv.txt. With X being one of: 0:none; 1:lcd; 2:tv;
>>>> 3:hdmi; 4:vga
>>>> >
>>>> >
>>>> >
>>>> > Some per display type notes:
>>>> >
>>>> > -lcd outputs: Hardcoded to the native mode, disp.screen0_output_mode
>>>> is ignored
>>>> >
>>>> > -tv: For the cvbs output disp.screen0_output_mode must be set to one
>>>> of the
>>>> >
>>>> >   following: pal, pal-svideo, ntsc, ntsc-svideo, pal-m, pal-m-svideo,
>>>> pal-nc,
>>>> >
>>>> >   pal-nc-svideo. Note the -svideo variants should only be used on
>>>> boards with
>>>> >
>>>> >   an svideo connector, for composite out use the regular variants, ie:
>>>> >
>>>> >   disp.screen0_output_type=2 disp.screen0_output_mode=pal
>>>> >
>>>> > -hdmi: To override the EDID detected mode, drop the "EDID:" from the
>>>> >
>>>> >   disp.screen0_output_mode value and set it to the desired mode, ie:
>>>> >
>>>> >   disp.screen0_output_type=3 disp.screen0_output_mode=1360x768p60
>>>> >
>>>> > -vga: Does not support EDID, "EDID:" must be removed from the
>>>> >
>>>> >   disp.screen0_output_mode value otherwise it will be ignored.
>>>> interlaced
>>>> >
>>>> >   progressive and refreshrate settings specified are ignored, each
>>>> resolution
>>>> >
>>>> >   has hardcoded values for these. Example usage:
>>>> >
>>>> >   disp.screen0_output_type=4 disp.screen0_output_mode=1024x768
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > USB controller caveats
>>>> >
>>>> > ----------------------
>>>> >
>>>> > The OTG USB controller in host mode only supports a limited number of
>>>> >
>>>> > devices, plugging in a hub + mouse + keyboard typically will make
>>>> either
>>>> >
>>>> > the mouse or keyboard not work. This is a hardware limitation which we
>>>> >
>>>> > will likely not be able to work around.
>>>> >
>>>> >
>>>> >
>>>> > On tv-sticks and top-set boxes, simply avoid the otg connector,
>>>> instead
>>>> >
>>>> > use a hub in a regular host usb connector. Note on the mini-x the otg
>>>> / host
>>>> >
>>>> > marking is not always correct. If things don't work try using the OTG
>>>> >
>>>> > connector instead!
>>>> >
>>>> >
>>>> >
>>>> > On tablets and the gooseberry unfortunately only the otg connector is
>>>> >
>>>> > available. One solution there is using a single usb-device which is
>>>> >
>>>> > both a keyboard and a mouse at the same time. IE the receiver for
>>>> logitech
>>>> >
>>>> > wireless desktop sets.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Supported hardware components / features:
>>>> >
>>>> > -----------------------------------------
>>>> >
>>>> >
>>>> >
>>>> > Fedora 19 ARM for Allwinner A10 supports the following components:
>>>> >
>>>> > * CPU + PMU + RAM
>>>> >
>>>> > * Serial ports
>>>> >
>>>> > * MMC cards
>>>> >
>>>> > * Internal NAND storage (*)
>>>> >
>>>> > * Framebuffer on lcd / vga / hdmi / composite video
>>>> >
>>>> > * Sound both analog out and over hdmi
>>>> >
>>>> > * OTG USB controller (*)
>>>> >
>>>> > * Both standard USB host controllers
>>>> >
>>>> > * Wifi
>>>> >
>>>> > * Wired Ethernet
>>>> >
>>>> > * SATA
>>>> >
>>>> > * IR (untested at this time) (*)
>>>> >
>>>> >
>>>> >
>>>> > *) Not supported on A20, the A20 support in the Fedora 19 A10 images
>>>> is new,
>>>> >
>>>> > and as such the driver code for these has not been forward-ported from
>>>> the
>>>> >
>>>> > Allwinner source dump to the sunxi-3.4 kernel the Fedora 19 A10 images
>>>> use yet.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Unsupported hardware components:
>>>> >
>>>> > --------------------------------
>>>> >
>>>> >
>>>> >
>>>> > The following components require various proprietary blobs to be used,
>>>> and
>>>> >
>>>> > as such are not supported in the Fedora images. The kernel drivers for
>>>> them
>>>> >
>>>> > are present (usually as modules) (*), so if you add the necessary
>>>> blobs you
>>>> >
>>>> > might get these to work:
>>>> >
>>>> > * Mali 400 GPU
>>>> >
>>>> > * Cedar hardware video & audio decoding and encoding engine
>>>> >
>>>> > * G2D 2d engine
>>>> >
>>>> >
>>>> >
>>>> > *) Except for the A20
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Differences from stock Fedora
>>>> >
>>>> > -----------------------------
>>>> >
>>>> > * Since the A10 is not a very powerful soc some services which are
>>>> enabled by
>>>> >
>>>> >    default on Fedora are disabled in the image, see build-image.sh for
>>>> a list.
>>>> >
>>>> > * No plymouth: we log to a serial console for debugging so no pretty
>>>> splash.
>>>> >
>>>> >    Also we don't use an initrd, so removing the console=ttyS0,115200
>>>> from
>>>> >
>>>> >    the extraargs in uEnv.txt will give plymouth, but so late it hardly
>>>> matters.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > Rebuilding the Fedora 19 ARM for Allwinner A10 disk image
>>>> >
>>>> > ---------------------------------------------------------
>>>> >
>>>> >
>>>> >
>>>> > Building the Fedora 19 ARM for Allwinner A10 disk image consists of 2
>>>> steps
>>>> >
>>>> > 1) Building a uboot.tar.gz and rootfs.tar.gz "overlays", this is done
>>>> >
>>>> >     bu the build-boot-root-sh script
>>>> >
>>>> > 2) Combining uboot.tar.gz and rootfs.tar.gz with an official Fedora 19
>>>> arm img,
>>>> >
>>>> >     this combining is done by the build-image.sh script
>>>> >
>>>> >     The a10 image you downloaded is based on
>>>> Fedora-XFCE-armhfp-19-1-sda.raw
>>>> >
>>>> >
>>>> >
>>>> > These scripts are hosted here:
>>>> >
>>>> > https://github.com/jwrdegoede/sunxi-fedora-scripts.git
>>>> >
>>>> >
>>>> >
>>>> > A copy of the exact versions of these scripts used to build this
>>>> Fedora A10
>>>> >
>>>> > image can be found in the scripts directory of the uboot partition,
>>>> the
>>>> >
>>>> > kernel config used during the build can be found here too.
>>>> >
>>>> >
>>>> >
>>>> > If you want to exactly reproduce this image it is important to use the
>>>> >
>>>> > scripts from the scripts dir of the uboot partition, as the scripts
>>>> contain
>>>> >
>>>> > GIT tags used during the build to checkout the exact versions to
>>>> build.
>>>> >
>>>> >
>>>> >
>>>> > The pre-conditions these scripts expect to be met, and the exact usage
>>>> of
>>>> >
>>>> > them is documented in comments in the top of each script.
>>>>
>>>>
>>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to