Author Topic: Cosmo Linux firmware v3 has been released with Cosmo Cover Display support.  (Read 10208 times)

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
https://support.planetcom.co.uk/index.php/Linux_for_Cosmo

"The latest Linux Debian firmware v3 is now available!

This release contains a Cover Display (CoDi) implementation for Linux which provides a number of new features, such as:

 -  Mouse Control - you can now use the CoDi display as a trackpad when the unit is open
 -  Phone Control - you can browse contact and place/accept calls from the Codi screen while the unit is closed
 -  Device Control - you can switch OFF/reboot Cosmo from the CoDi display
 -  Contacts can be updated by the gka-contacts-qt application or directly from the dialer app"

I have tested it. Upgraded from my previous version. Some functions work, other doesn't work  like expected. But I have to say that I have my own compiled kernel and not the kernel from Planet. But Cover Display works.
Please note: If you plan to update your current Linux installation to the latest version, please make sure that you manually install CoDi firmware v15 on android first.
Please post comments.
Thank you.
« Last Edit: November 20, 2020, 09:15:03 am by Varti »

oida

  • Newbie
  • *
  • Posts: 26
    • View Profile
I just installed it.
-runs smoother and faster.
-Mouse emulation with CoDi is very sluggish and has no support for right click. So Gemian is still not operateable without a right mouse button.
-mobile network still does not work, even with connman
-Cannot add new user so the device is very insecure
-still no keyboard backlight
-not worth the update imho if you have some programs installed

« Last Edit: November 19, 2020, 06:10:15 pm by oida »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Downloaded the new v3 linux file to my Cosmo.

Did 'Change the partition table of your Cosmo'. Choose option 4, Reserve 30GB for Android and 90 GB for Linux. Went OK.

Have problem with the 'Install Custom OS on your Cosmo' step...here's what I see:

Quote
Device is multi-boot
Detecting old-style custom installers, please wait...
E: /bin/sh failed with status 127
Detecting new-style custom installers, please wait...

It's been about 45 minutes since the last line.....with no further text, still says "please wait..."
Seems like something is not working....

Any suggestions???


Thanks for any input on this.

Mark

« Last Edit: November 20, 2020, 09:45:03 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Downloaded the new v3 linux file to my Cosmo.

Have problem with the next steps...

Quote
Once you downloaded the zip archive you will have to extract its content onto your microSD card:

1. Using the Files app (do not use File Manager app) locate the ZIP archive
2. Tap the archive file to reveal the cosmo-customos-installer folder
3. Long tap on that folder, select Extract to... and finally select the root folder of the microSD card as destination.
4. Complete the ZIP extraction process.
5. Your microSD card should now contain a folder named cosmo-customos-installer with several files inside it.

When I try doing step 2 above using the 'Files' app, it just puts a checkmark next to the file. It does not 'reveal the cosmo-customos-installer folder' as it says in directions.

Also, if I get to that folder, do you see the 'Extract to' option they mention?

Thanks for any input on this.

Thanks,

Mark

Please install "file manager plus ". It is a very good file manger ( play store ). Then long tap the zip file , click  more and extract. Please make sure to do this on to your micro  sd card. Or you can extract the files in your computer with a micro sd card reader. This is for a new linux install.
You can also upgrade your linux install with the instructions provided by Planet.
Good luck.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Downloaded the new v3 linux file to my Cosmo.

Have problem with the next steps...

Quote
Once you downloaded the zip archive you will have to extract its content onto your microSD card:

1. Using the Files app (do not use File Manager app) locate the ZIP archive
2. Tap the archive file to reveal the cosmo-customos-installer folder
3. Long tap on that folder, select Extract to... and finally select the root folder of the microSD card as destination.
4. Complete the ZIP extraction process.
5. Your microSD card should now contain a folder named cosmo-customos-installer with several files inside it.

When I try doing step 2 above using the 'Files' app, it just puts a checkmark next to the file. It does not 'reveal the cosmo-customos-installer folder' as it says in directions.

Also, if I get to that folder, do you see the 'Extract to' option they mention?

Thanks for any input on this.

Thanks,

Mark

Please install "file manager plus ". It is a very good file manger ( play store ). Then long tap the zip file , click  more and extract. Please make sure to do this on to your micro  sd card. Or you can extract the files in your computer with a micro sd card reader. This is for a new linux install.
You can also upgrade your linux install with the instructions provided by Planet.
Good luck.

Thanks for the tip!


Meanwhile, I managed (finally....) to get Files to work and extract file onto SD card...

So, was editing my post above yours while you were responding.

Please read new error situation with install of OS.....

Thanks!
« Last Edit: November 20, 2020, 09:44:39 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

LinuxGuy

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Hi Cam1965,



    Mouse Control - you can now use the CoDi display as a trackpad when the unit is open
    Phone Control - you can browse contact and place/accept calls from the Codi screen while the unit is closed
    Device Control - you can switch OFF/reboot Cosmo from the CoDi display


Did update to Codi V15 and Linux V 3 (no complete install necessary - only: https://support.planetcom.co.uk/index.php/Manual_Update_Linux_v3 )

 Mouse Control : works, but sluggish -> I dont use it.

 Phone Control/Device Control: doesnt work! What a pitty - phone usage with codi would be so handy :-(

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1266
    • View Profile
I have merged the news item and the topic under the Cosmo board. I have also noticed that the entire News board was set to read-only, so it was not possible to make any reply on it, this has been now fixed.

Varti

EDIT: thread now split again as requested.
« Last Edit: November 20, 2020, 09:14:11 am by Varti »
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Hi Cam1965,



    Mouse Control - you can now use the CoDi display as a trackpad when the unit is open
    Phone Control - you can browse contact and place/accept calls from the Codi screen while the unit is closed
    Device Control - you can switch OFF/reboot Cosmo from the CoDi display


Did update to Codi V15 and Linux V 3 (no complete install necessary - only: https://support.planetcom.co.uk/index.php/Manual_Update_Linux_v3 )

That is what I did.

 Mouse Control : works, but sluggish -> I dont use it.

Yes, mine too.

 Phone Control/Device Control: doesnt work! What a pitty - phone usage with codi would be so handy :-(

Yes !  The phone rings but I can't answer the call from  codi buttons . I had to open the lid and answer the call and then close the lid to speak  . Also to end a call I had to open the lid also. No history calls logs.
« Last Edit: November 20, 2020, 06:01:33 am by cam1965 »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Downloaded the new v3 linux file to my Cosmo.

I extracted the file folder to my microSD card. There are 3 files inside the folder.

Is it OK that they are inside the folder or should they moved out of the folder to the root level of the card?

I did the step 'Change the partition table of your Cosmo'.

Chose option 4, 'Reserve 30GB for Android and 90 GB for Linux'. Went OK.

Now have problem with the 'Install Custom OS on your Cosmo' step...here's what I see:

Quote
Device is multi-boot
Detecting old-style custom installers, please wait...
E: /bin/sh failed with status 127
Detecting new-style custom installers, please wait...

It's been about 45 minutes since the last line.....with no further text, still says "please wait..."
Seems like something is not working....

Any suggestions???


Thanks for any input on this.

Mark
« Last Edit: November 20, 2020, 09:59:07 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Downloaded the new v3 linux file to my Cosmo.

I extracted the file folder to my microSD card. There are 3 files inside the folder.

Is it OK that they are inside the folder or should they moved out of the folder to the root level of the card?

I did the step 'Change the partition table of your Cosmo'.

Chose option 4, 'Reserve 30GB for Android and 90 GB for Linux'. Went OK.

Now have problem with the 'Install Custom OS on your Cosmo' step...here's what I see:

Quote
Device is multi-boot
Detecting old-style custom installers, please wait...
E: /bin/sh failed with status 127
Detecting new-style custom installers, please wait...

It's been about 45 minutes since the last line.....with no further text, still says "please wait..."
Seems like something is not working....

Any suggestions???


Thanks for any input on this.

Mark

If you have extracted the files , there are 8 files inside the folder , not 3.
(Cosmo_Installer_Debian_kde.sh, Cosmo_Installer_Rooted_Android.sh, Cosmo_Installer_TWRP.sh, gemian-cosmocom-kde-plasma.img, linux-cosmo-boot.img, list_installers.sh, root-boot.img, twrp.img )
You have to put the folder cosmo-customos-installer-v3 to the root of sd card.
I did not test this. I have installed the old version of this installer.
If the problem persists try to install the older version.
Good luck.
« Last Edit: November 20, 2020, 04:07:31 pm by cam1965 »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Re: Cosmo Linux firmware v3 has been released with Cosmo Cover Display support.
« Reply #10 on: November 20, 2020, 03:57:17 pm »
THANK YOU for the info!

Checked again and there are only 3 files in the folder:

gemian-cosmocom-kde-plasma.img
linux-cosmo-boot.img
root-boot.img

So, that's why I had problem......

Re-downloading file and will try again.....

THANKS!

Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Re: Cosmo Linux firmware v3 has been released with Cosmo Cover Display support.
« Reply #11 on: November 20, 2020, 05:27:14 pm »
Re-downloaded file and this time I got all 8 files after extracting!

Tried installing OS and it worked!

Right now all is good, running KDE and it is working OK....

Can use CoDi display as trackpad....

So, right now, pretty happy.....

 :)

Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

gweber

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Cosmo Linux firmware v3 has been released with Cosmo Cover Display support.
« Reply #12 on: November 21, 2020, 10:48:26 am »
Gentlemen,
How long does the battery charge lasts using Linux? I can barely use Linux for six hours before the battery is depleted. I don't know if clock scaling works (the system reports the clock changes), and it seems that core disabling works, because some apps become sluggish. But both actions don't seem to make any difference on battery charge consumption. Disabling CODI on Android allows me to use Cosmo for almost three days with one charge, with moderate use.

gabs5807

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Cosmo Linux firmware v3 has been released with Cosmo Cover Display support.
« Reply #13 on: November 21, 2020, 02:27:45 pm »
On the closed thread "New Linux Update With New Mouse Button Functionality Using CODI Buttons" https://www.oesf.org/forum/index.php?topic=36404.0

@mibry wrote:

Quote
The codi-app is installed to /home/cosmo/.config/autostart/codi.desktop, you have to copy the same to the same location of the user you created.

This did not work on my cosmo. And starting the script from codi.desktop on a terminal, it is running but i got an error "Exception: unable to open database file" at start - and CoDi mouse did not work:

Code: [Select]
$ python3 /usr/lib/codi/codiServer.py
Listening...
Codi Linux Server
Device mtk-kpd found.
Exception: unable to open database file
-> SetCoDiStatus
-> SetMouse
-> DateTimeInfo
-> DoNotDisturbStatusInfo
-> BTStatusInfo
-> WiFiStatusInfo
-> ModemSignalInfo
-> MTKDataChangeAlert
-> MTKDataChangeAlert
-> WiFiStatusInfo
<= org.freedesktop.UPower.Device {'UpdateTime': 1605985039, 'TimeToEmpty': 9725, 'Voltage': 3.98, 'EnergyRate': 4.036516, 'EnergyFull': 11.72508, 'Energy': 10.9043244} []
-> BatteryLevelInfo
...

Examine the script did not show an access to a database  ??? so i don't see what is missing ...

Edit: the same error came in user cosmo.
But using CoDi i see:

Code: [Select]
...
-> MTKDataChangeAlert
-> MTKDataChangeAlert
-> WiFiStatusInfo
<- MouseInfo
mode = 1
x_coord = -23
y_coord = -13
<- MouseInfo
mode = 1
x_coord = -9
y_coord = 23
<- MouseInfo
mode = 1
x_coord = -6
y_coord = 25
<- MouseInfo
...

2nd edit:
i rebooted the system several times now it works as expected - sorry for confusing here ???.
« Last Edit: November 21, 2020, 02:57:12 pm by gabs5807 »
Amongst many other Computers and Phones i'm using a Gemini PDA WIFI+G4 and a Cosmo Communicator both with German keyboard, all with SailfishOS and Debian ;-)

LinuxGuy

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Cosmo Linux firmware v3 has been released with Cosmo Cover Display support.
« Reply #14 on: November 21, 2020, 04:23:13 pm »


Can use CoDi display as trackpad....

So, right now, pretty happy.....

But can you use CoDi for phone calls under Linux?