Re: [Replicant] i9305: Add support for rt2500usb wifi devices

2019-12-11 Thread Denis 'GNUtoo' Carikli
> [0001-Backport-rt2x00-from-linux-3.4.113.patch  text/x-patch (157743
>  bytes)] 
> [0002-rt2500-disable-PS-by-default.patch  text/x-patch (1782 bytes)] 
I've pushed the two patches above.

> [0003-i9305-enable-rt2500usb.patch  text/x-patch (1072 bytes)] 
I've resent this one with a modified commit message.
If there is no Ack/Nack it'll be pushed in one week.

Denis.


pgpRwF9cFtuIM.pgp
Description: OpenPGP digital signature
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant


Re: [Replicant] i9305: Add support for rt2500usb wifi devices

2019-11-10 Thread ni nhar
 


> WiFi adapters
> compatible with rt2500usb had an integrated firmware

Does that mean that usb rt2500 wifi cards require
non free software, but it is located on the usb
device?

___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant


Re: [Replicant] i9305: Add support for rt2500usb wifi devices

2019-10-19 Thread Kurtis Hanna
Hello,

This patch has been pending review for a very long time. Should we add
it to 6.0 0004? Attachments can be found here:
https://lists.osuosl.org/pipermail/replicant/Week-of-Mon-20170731/001364.html

In Solidarity,
Kurtis

Joonas Kylmälä:
> Hi,
> 
> The attached patches for kernel_samsung_smdk4412 enable support for wifi
> usb dongles that use RT2500USB chipset. The patch #2 is from
> 
> and is important to have because otherwise if power save is enabled some
> devices work only at a speed of 40kb/s.
> 
> The patch set was tested on i9305 device. Feel free to enable the kernel
> module on other devices.
> 
> Joonas
> 
> 
> ___
> Replicant mailing list
> Replicant@osuosl.org
> https://lists.osuosl.org/mailman/listinfo/replicant
> 
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant


Re: [Replicant] i9305: Add support for rt2500usb wifi devices

2018-03-19 Thread Kurtis Hanna
Hello,

Just curious, was this patch ever merged?

kurtis

Joonas Kylmälä:
> Joonas Kylmälä:
>>> How was the performance with low battery charge?
>> I think there were problems with the performance when I didn't include
>> that patch #2 that disabled power management. After applying that patch
>> I think it worked as well with the low battery as with the full charge.
>> However, I'm not 100% sure about this so you will have to wait till next
>> weekend when I can test this.
> 
> I finally got around testing this. When the patch #2 is applied the
> performance of wifi is very good whether the charge is 1% or 100%. If
> patch #2 is not enabled the performance is as bad (some kilobits) when
> the charge is 1% or 100%. To put it simply: the charge level does not
> have any effect on the performance of this wifi dongle.
> 
> Cheers,
> Joonas
> ___
> Replicant mailing list
> Replicant@osuosl.org
> https://lists.osuosl.org/mailman/listinfo/replicant
> 
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant


Re: [Replicant] i9305: Add support for rt2500usb wifi devices

2017-08-27 Thread Joonas Kylmälä
Joonas Kylmälä:
>> How was the performance with low battery charge?
> I think there were problems with the performance when I didn't include
> that patch #2 that disabled power management. After applying that patch
> I think it worked as well with the low battery as with the full charge.
> However, I'm not 100% sure about this so you will have to wait till next
> weekend when I can test this.

I finally got around testing this. When the patch #2 is applied the
performance of wifi is very good whether the charge is 1% or 100%. If
patch #2 is not enabled the performance is as bad (some kilobits) when
the charge is 1% or 100%. To put it simply: the charge level does not
have any effect on the performance of this wifi dongle.

Cheers,
Joonas
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant


Re: [Replicant] i9305: Add support for rt2500usb wifi devices

2017-08-13 Thread Joonas Kylmälä
Hi,

Wolfgang Wiedmeyer:
> As I understand, this chipset doesn't require firmware to be loaded 
> as it's already preinstalled.
That's correct.

> I searched for dongles that have RT2500USB/RT2571 and I had a hard 
> time finding any that I could buy in my country (Germany). Maybe 
> there is a way to get one second-hand. It's also important not to 
> confuse them with RT2571W (notice the "W" at the end) which use a 
> different driver and require non-free firmware to be loaded. For 
> these reasons, I wasn't yet able to test the patches. I basically can
> only test if they don't introduce any issues.
Debian wiki has quite comprehensive list of supported devices:
. I can also mail you the wifi card I
got (If I remember right, the model was Buffalo WLI-U2-KG54-AI).

> Did it work fine with RepWifi?

It worked well with RepWifi. No network errors appeared and I got speeds
of something like 1.5-3Mbit/s at least with F-droid. It might work in a
faster speed with some other service.

> How was the performance with low battery charge?
I think there were problems with the performance when I didn't include
that patch #2 that disabled power management. After applying that patch
I think it worked as well with the low battery as with the full charge.
However, I'm not 100% sure about this so you will have to wait till next
weekend when I can test this.

> Ok, regarding the big backport patch: did you just copy the driver 
> code or did you do any additional modifications to make it work with
> the older kernel?
I just copied it but after that I did one small modification to multiple
files: I kept the module (de-)initaliazing code from the old version of
the kernel, e.g:

"static int __init rt2500usb_init(void)
{
return usb_register(_driver);
}

static void __exit rt2500usb_exit(void)
{
usb_deregister(_driver);
}

module_init(rt2500usb_init);
module_exit(rt2500usb_exit);"

instead of the kernel 3.4.113 way:

"module_usb_driver(rt2500usb_driver);"

The usage of module_usb_driver() is not supported in the old kernel we
use but I think it could be supported if we would use the kernel compat
module (so that's another thing to think about).

Also, in my opinion it would be better to have this change I did in a
separate commit but the reason I didn't put it in separate commit was
that I think the kernel people have the mentality that no commit can
break the build (which would have happened because the old kernel
version doesn't have module_usb_driver()). What's your opinion on this?

Joonas
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant