Author Topic: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?  (Read 7159 times)

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #15 on: June 12, 2021, 06:34:17 pm »
Success. The Ralink driver compiled and I'm on-line. Once again, thank you for your fine instruction.

You've taught me a great deal about kernel compiling. If the rt2800usb driver had not already been in the kernel, how difficult would it have been to insert it?

I've seen your other posts about compiling, and it sounds difficult.

Jake

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #16 on: June 12, 2021, 07:25:26 pm »
Success. The Ralink driver compiled and I'm on-line. Once again, thank you for your fine instruction.

You've taught me a great deal about kernel compiling. If the rt2800usb driver had not already been in the kernel, how difficult would it have been to insert it?

I've seen your other posts about compiling, and it sounds difficult.

Jake

Hi.
If the driver had not been in the kernel and the suplier didn ´t have a driver to compile with the headers it would be really difficult or impossible to make it work.
But if the suplier had  a driver compatible with the kernel, it would not be so difficult.
I am glad to hear that everything is fine.
Congratulations.
Good Luck !

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #17 on: June 12, 2021, 10:48:47 pm »
I couldn't have used Cosmo if you had not helped me find a way to the Ralink wifi--the usb modem, while cool, eats too much battery.

Did you ever compile usb modem compatibility for your gemini? More importantly, have you found a better desktop than kde pasma?

I'd like to use same setup from Stretch, openbox, lxqt, etc.

Do you thinks that's possible?

Jake
« Last Edit: June 13, 2021, 12:03:21 pm by jakfish »

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #18 on: June 13, 2021, 06:53:34 am »
I couldn't have used Cosmo if you had not helped me find a way to the Ralink wifi--the usb modem, while cool, eats too much battery.oo

Did you ever compile usb modem compatibility for your gemini More importantly, have you found a better desktop than kde pasma?

I'd like to use same setup from Stretch, openbox, lxqd, etc

Do you thinks that's possible?

Jake
Hi.
In the past I compiled everything for gemini. But I lost the configurations files.
Today I have only android installed in my gemini. And I  don´t use gemini anymore .It is left in my wardrobe.
In that ocasion it was too more complicated to compile inside gemini. It was more simple to compile in a computer.  I had to change a lot of files in the kernel tree in order to compile a kernel inside gemini.
I think  Adam Boardman has  made changes in the kernel tree to compile inside gemini.
Please see below:

https://github.com/gemian/gemian/wiki/KernelCompilation#cosmo

I think KDE is a better choice for cosmo. The buttons for bright, sound , keyboard bright and other shortcuts are  already configured..
If you install lxqt you will have to configure this. It will demand a lot of time.
So, the best  choice for Cosmo is KDE plasma.
And the best choice for gemini is lxqt .
Good luck.
« Last Edit: June 13, 2021, 06:58:57 am by cam1965 »

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #19 on: June 13, 2021, 11:59:39 am »
Give how much a modem drains battery, probably not worth compiling the Gemini 3.18 kernel. Just phone tether instead.

I saw a previous post of yours about the sudden absence of the ALT key for shortcut-making, and I can verify that--except for ALT-TAB, ALT key can't be part of the shortcut.

As I've done with my Gemini/Stretch, I'm going to keystroke as much as I can. I'll take your advice and stick to KDE Plasma. I've never used it: is there a way to increase the size of the systray icons? EDIT: https://askubuntu.com/questions/420598/how-do-i-change-the-icon-size-in-the-kde-status-bar/1030407#1030407

Setting it to iconSize=3 makes systray far more finger-friendly

For the Gem, I use this to notify-send uptime, battery, and weather:

Code: [Select]
#!/bin/sh
notify-send " up: $(uptime | sed 's/^.\+up\ \+\([^,]*\).*/\1/g') batt: $(cat /sys/class/power_supply/battery/device/power_supply/battery/uevent | grep -m 1 'POWER_SUPPLY_CAPACITY' | cut -c23-25)%" "$(curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=20902 \ | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3 \1/p')"

So I'll try to make all the machine monitors available by keystroke.

Is it possible to install another main menu, something more Win95-ish?  EDIT: Never mind, right-clicking main menu icon gives better choices.

Jake
« Last Edit: June 13, 2021, 02:49:46 pm by jakfish »

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #20 on: June 13, 2021, 03:09:49 pm »
Give how much a modem drains battery, probably not worth compiling the Gemini 3.18 kernel. Just phone tether instead.

I saw a previous post of yours about the sudden absence of the ALT key for shortcut-making, and I can verify that--except for ALT-TAB, ALT key can't be part of the shortcut.

As I've done with my Gemini/Stretch, I'm going to keystroke as much as I can. I'll take your advice and stick to KDE Plasma. I've never used it: is there a way to increase the size of the systray icons? EDIT: https://askubuntu.com/questions/420598/how-do-i-change-the-icon-size-in-the-kde-status-bar/1030407#1030407

Setting it to iconSize=3 makes systray far more finger-friendly

For the Gem, I use this to notify-send uptime, battery, and weather:

Code: [Select]
#!/bin/sh
notify-send " up: $(uptime | sed 's/^.\+up\ \+\([^,]*\).*/\1/g') batt: $(cat /sys/class/power_supply/battery/device/power_supply/battery/uevent | grep -m 1 'POWER_SUPPLY_CAPACITY' | cut -c23-25)%" "$(curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=20902 \ | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3 \1/p')"

So I'll try to make all the machine monitors available by keystroke.

Is it possible to install another main menu, something more Win95-ish?  EDIT: Never mind, right-clicking main menu icon gives better choices.

Jake
I don't  know if there is a possibility to install a main menu more win95-ish.
I have noticed that ALT + SPACE BAR works and you can type the first letters of the application and open it.
This shortcut is very useful.
Or you can assign a shortcut for an application that doesn't make use of ALT key.
For right click mouse use  ( ALT + SPACE  BAR ) and type  xdotool click 3.
Attached photos showing the use of ALT+ SPACE BAR and xdotool.

That is it.
Good Luck !
« Last Edit: June 13, 2021, 04:13:50 pm by cam1965 »

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #21 on: June 13, 2021, 10:39:43 pm »
Many thanks. That's some marvelous wallpaper.

Am I doing something wrong or is the Cosmo set up so if you have peripherals attached to the left usb-c, then you can't charge a/c in the right usb-c?

Peripherals seem to shut down the charging.

Jake

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #22 on: June 14, 2021, 06:40:10 am »
Many thanks. That's some marvelous wallpaper.

Am I doing something wrong or is the Cosmo set up so if you have peripherals attached to the left usb-c, then you can't charge a/c in the right usb-c?

Peripherals seem to shut down the charging.

Jake

I have confirmed this.
The same occurs in android ( when using a peripheral at the left usb port you can´t charge at the right usb port ).
I really don't know.
And the right USB port only works for charging.( in linux ).
If you connect  a peripheral it doesn't  work. ( USB right port )
In android it works for peripherals in both USB ports.
And in android you can use the peripheral in the right usb port and charge the cosmo in the left usb port at the same time.
Please see my post :
https://www.oesf.org/forum/index.php?topic=36570.0  (published on June 07).


 
« Last Edit: June 14, 2021, 07:19:19 am by cam1965 »

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #23 on: June 14, 2021, 10:59:15 am »
Disappointing, but thank you for your confirmation. I thought the problem was on my end.

This is unfortunate as even a usb wifi adapter sucks a lot of battery. Of course, my Cosmo hardware is so broken--speakers, wifi, bluetooth--that perhaps my battery is also at fault.

Jake

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #24 on: June 14, 2021, 12:20:41 pm »
Disappointing, but thank you for your confirmation. I thought the problem was on my end.

This is unfortunate as even a usb wifi adapter sucks a lot of battery. Of course, my Cosmo hardware is so broken--speakers, wifi, bluetooth--that perhaps my battery is also at fault.

Jake

OK.
If I find a solution for this I will let you know.
Thank you.
Good Luck !
« Last Edit: June 14, 2021, 02:24:39 pm by cam1965 »

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #25 on: June 27, 2021, 04:37:20 pm »
If anybody needs to get one of those cheapie Ralink wifi adapters going on the Cosmo, the rt2800 seems to be a discontinued chip.  The chip that appears most on ebay, etc is the mt7601u

Luckily, the Cosmo 4.4 kernel also has that module available for compilation. Thanks to all of cam1965's tutelage, I compiled the kernel once more to have both the rt2800 and the mt7601u available, and now both my wifi adapters get the Cosmo on-line.

Jake

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #26 on: July 29, 2021, 02:24:26 pm »
@cam1965--I have put holds on cosmo kernel, etc to keep my compiled kernel first and foremost.

But I now see that there's an updated kernel available. Have you recompiled it? Or are you content with your present kernel?

Jake

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #27 on: July 29, 2021, 03:29:37 pm »
@cam1965--I have put holds on cosmo kernel, etc to keep my compiled kernel first and foremost.

But I now see that there's an updated kernel available. Have you recompiled it? Or are you content with your present kernel?

Jake
Hi.
I am content with my compiled kernel. And I also have   marked  ( apt-mark hold ) to not update   kernel and kernel-headers. Because my kernel has a lot of modules that the  planet kernel don´t have.

You can see the changes  in

https://github.com/gemian/cosmo-linux-kernel-4.4

So, if there is a change that is important to you, you can recompile the kernel again.

« Last Edit: July 29, 2021, 03:40:29 pm by cam1965 »

jakfish

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #28 on: July 30, 2021, 02:37:26 pm »
I'll follow your lead and keep my current compilation. If you do recompile a future kernel, I'll be very interested to know your thinking.

Jake

cam1965

  • Sr. Member
  • ****
  • Posts: 410
    • View Profile
    • http://
Re: Will Cosmo/Linux Allow 3rd-party WIFI Adapter?
« Reply #29 on: July 30, 2021, 06:05:01 pm »
I'll follow your lead and keep my current compilation. If you do recompile a future kernel, I'll be very interested to know your thinking.

Jake

OK. Thank you. I will let you know.