by ygator » Fri Aug 05, 2011 10:56 pm
I am on a dockstar and normally use the standard kernel.
However, I have a dockstar I use wireless on and the usb adapter I have is n, but the driver disallows it from doing n.
So I made the patch below. I am now going to recompile a new kernel with this patch, plus minix fs and bt sco support and give that a try.
I am trying to setup an easy way to build a kernel.
I made a shell script to get the kernel files
$this->bbcode_second_pass_code('', '#!/bin/bash
LOC=https://github.com/archlinuxarm/PKGBUILDs/raw/master/core/kernel26/
for f in 2.6.39.config PKGBUILD archlinuxarm.patch kernel26.install kernel26.preset
do
wget ${LOC}$f
done
')
I've added my patch to the PKGBUILD and then did a makepkg --asroot -As
I used to run it with -Acs, but that wipe everything out after it was done.
This works, but I want to leave everything out so it does not take another 4 hours to rebuild.
Does anyone know the command to rebuild and package it up without it trying to reapply the patches and everything else?
$this->bbcode_second_pass_code('', '--- linux-2.6.39.3/drivers/staging/rtl8712/usb_intf.c.0 2011-07-09 02:16:06.000000000 -0400
+++ linux-2.6.39.3/drivers/staging/rtl8712/usb_intf.c 2011-07-15 22:26:35.000000000 -0400
@@ -59,7 +59,7 @@
{USB_DEVICE(0x07B8, 0x8188)},
/* ASUS */
{USB_DEVICE(0x0B05, 0x1786)},
- {USB_DEVICE(0x0B05, 0x1791)}, /* 11n mode disable */
+ {USB_DEVICE(0x0B05, 0x1791)},
/* Belkin */
{USB_DEVICE(0x050D, 0x945A)},
/* Corega */
@@ -170,8 +170,6 @@
MODULE_DEVICE_TABLE(usb, rtl871x_usb_id_tbl);
static struct specific_device_id specific_device_id_tbl[] = {
- {.idVendor = 0x0b05, .idProduct = 0x1791,
- .flags = SPEC_DEV_ID_DISABLE_HT},
{.idVendor = 0x0df6, .idProduct = 0x0059,
.flags = SPEC_DEV_ID_DISABLE_HT},
{.idVendor = 0x13d3, .idProduct = 0x3306,
')