[Gta04-owner] Linux 3.2-rc4 - now with wifi

Christoph Mair christoph.mair at gmail.com
Sat Dec 3 10:50:30 CET 2011


On Sat, Dec 3, 2011 at 6:31 AM, NeilBrown <neilb at suse.de> wrote:
>
> hi all,
>
>  I've updated my mainline gta04 kernel tree to 3.2-rc4.
>    git://neil.brown.name/gta04 merge
Great! Thank you!

> The main new functionality is wireless.  The details for enabling wireless
> are slightly different than with the hw-validation kernel.
>
> 1/ the reset line is /sys/class/gpio/gta04:wlan:reset
>    write 0 to reset, 1 to release the reset
>   The "reset" line is active-low.
>
> 2/ After power-on and reset you need to trigger a card-detect signal.
>   This requires making gpio/gta:wlan/cd go high, then low.  Card-detect
>   is active-low too.
>
> so:
>
> VDD=3150000
> # VDD=2800000
> echo 1 > /sys/class/gpio/gta04:wlan:cd/value
> echo "0" >/sys/class/gpio/gta04:wlan:reset/value # activate reset
> echo "$VDD" >/sys/devices/platform/reg-virt-consumer.4/max_microvolts
> echo "$VDD" >/sys/devices/platform/reg-virt-consumer.4/min_microvolts
> echo "normal" >/sys/devices/platform/reg-virt-consumer.4/mode
> echo "1" >/sys/class/gpio/gta04:wlan:reset/value # release reset
> echo 0 > /sys/class/gpio/gta04:wlan:cd/value  # edge triggers interrupt.


I get this:
[  233.414855] device: 'mmc1:0001': device_add
[  233.419311] bus: 'mmc': add device mmc1:0001
[  233.423828] PM: Adding info for mmc:mmc1:0001
[  233.432250] bus: 'mmc': driver_probe_device: matched device
mmc1:0001 with driver mmcblk
[  233.450561] bus: 'mmc': really_probe: probing driver mmcblk with
device mmc1:0001
[  233.466156] mmcblk: probe of mmc1:0001 rejects match -19
[  233.472381] device: 'mmc1:0001:1': device_add
[  233.489593] bus: 'sdio': add device mmc1:0001:1
[  233.494445] PM: Adding info for sdio:mmc1:0001:1
[  233.502929] bus: 'sdio': driver_probe_device: matched device
mmc1:0001:1 with driver libertas_sdio
[  233.532501] bus: 'sdio': really_probe: probing driver libertas_sdio
with device mmc1:0001:1
[  233.595855] libertas_sdio: probe of mmc1:0001:1 failed with error -16

Any hints?

Best regards,
  Christoph


More information about the Gta04-owner mailing list