Jump to content


Photo

CM7 nightly + Skate kernel source

- - - - -

  • Please log in to reply
24 replies to this topic

#21
dadashi

dadashi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,157 posts
  • Gender:Male
  • Devices:MonteCarlo + HTC EVO 3D

Excess drivers such as Infra Red, PCMCIA stuff... :D

Mind you that is the kernel only iirc... was looking at it earlier on.... :)

But would doubt it would fix the Bluetooth, GPS, as that is more likely a misconfiguration of the ROM built - using a wrong BoardConfig option prior to building the CM7. As for the Bluetooth - that definitely could be down to missing proprietary lib/binary that kickstarts the bluetooth or incorrect reference to it in /etc. :)

I think you're right about the wrong board config, could it be from the Blade...?

  • 0
MonteCarlo + HTC EVO 3D

#22
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,784 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b

I think you're right about the wrong board config, could it be from the Blade...?


Possibly, a straight copy from the blade's device tree could easily have had happened here...

  • 0
try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#23
dadashi

dadashi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,157 posts
  • Gender:Male
  • Devices:MonteCarlo + HTC EVO 3D
new kernel is fine :D

like you guessed, no GPS or Bluetooth fix...

Any chance of sorting out Tilas Skate cm7 rom for the Skate, just a quick look ;)

Edited by dadashi, 06 October 2011 - 02:49 PM.

  • 0
MonteCarlo + HTC EVO 3D

#24
t0mm13b

t0mm13b

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 1,784 posts
  • Gender:Male
  • Location:Ireland
  • Devices:GT-S8500,Zte Blade,SE ST15i
  • Twitter:@t0mm13b

new kernel is fine :D

Any chance of sorting out Tilas Skate cm7 rom for the Skate, just a quick look ;)


As I have stated - I do not have a Skate but....

The only difference with the Blade and Skate, spec wise, is the Bluetooth and Wifi share the same Broadcom chipset.

On the blade, it uses Atheros Wifi chip AR6002, as shown here:
BOARD_WPA_SUPPLICANT_DRIVER := AWEXT
WIFI_DRIVER_MODULE_PATH     := /system/wifi/ar6000.ko
WIFI_DRIVER_MODULE_NAME     := ar6000

For the Skate:
BOARD_WPA_SUPPLICANT_DRIVER := WEXT
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/dhd.ko"
WIFI_DRIVER_FW_AP_PATH := "/system/etc/fw_4319_apsta.bin"
WIFI_DRIVER_FW_STA_PATH := "/system/etc/fw_4319.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/fw_4319.bin,nvram_path=/system/etc/nv_4319.txt"
WIFI_DRIVER_MODULE_NAME := "dhd"
WPA_SUPPLICANT_VERSION := VER_0_6_X

Can you confirm the presence of those files ^^? (Perhaps, changing from WEXT to AWEXT perhaps?) :unsure:

As for the GPS, that could be down to this line in the AMSS_VERSION, if that mismatches, there's no GPS IIRC:
BOARD_GPS_LIBRARIES := libloc_api

BOARD_USES_QCOM_HARDWARE := true
BOARD_USES_QCOM_LIBS := true
BOARD_USES_QCOM_GPS := true
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := skate
BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 1240
BOARD_GPS_LIBRARIES := libloc
#BOARD_USES_GPSSHIM := true
#BOARD_GPS_NEEDS_XTRA := true

Might be worth trying to activate the GPSSHIM if you are having GPS problems, and using BOARD_GPS_NEEDS_XTRA.

Another tip/hint: possibly you may need to put in libloc_rpc and use RPC instead possibly...

Also, double check on the /etc/init.skate.rc file or similar, there should be one for the BlueTooth facility, on the blade it was init.bt.sh - a script that gets kickstarted when Bluetooth gets activated.

Edit: Note: you will have to recompile/rebuild the entire CM7 if the BoardConfig.mk or device_skate.mk gets changed!
Cheers,
B)

Edited by t0mm13b, 06 October 2011 - 03:02 PM.

  • 0
try{ not_laugh; }catch{ FAIL; }finally{ laugh; }

#25
dadashi

dadashi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,157 posts
  • Gender:Male
  • Devices:MonteCarlo + HTC EVO 3D
Thanks but that's a bit over my head, I've pm'd Tilal and hope others take notice....

  • 0
MonteCarlo + HTC EVO 3D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users