[Bug 554099] Re: Qualcomm Gobi 2000 3G (gobi_loader/qcserial) broken

Brian Candler 554099 at bugs.launchpad.net
Sat Oct 2 10:48:37 UTC 2010


The patch from comments #14 and #15 no longer applies cleanly to latest
Lucid kernel (2.6.32-25.44). An updated patch is attached.

Since I need to rebuild the modules every time a kernel update comes
out, I do it using the following script. It's based on the instructions
from comment #14 but also rebuilds thinkpad_acpi.

#!/bin/sh -ex
rm -rf linux-source-2.6.32 || true
tar -xvjf /usr/src/linux-source-2.6.32.tar.bz2
cd linux-source-2.6.32
patch -p1 < ../usb-wwan-2.6.32.diff
cp ../thinkpad_acpi.c drivers/platform/x86/

cp /lib/modules/`uname -r`/build/.config ../temp
cp /lib/modules/`uname -r`/build/Module.symvers ../temp
cp /lib/modules/`uname -r`/build/Makefile .

make O=../temp outputmakefile
make O=../temp archprepare
make O=../temp prepare
make O=../temp modules SUBDIRS=scripts
make O=../temp modules SUBDIRS=drivers/usb/serial/
make O=../temp modules SUBDIRS=drivers/platform/x86/

sudo cp ../temp/drivers/usb/serial/usb_wwan.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial/
sudo cp ../temp/drivers/usb/serial/qcserial.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial/
sudo cp ../temp/drivers/usb/serial/option.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial/
sudo cp ../temp/drivers/platform/x86/thinkpad_acpi.ko /lib/modules/`uname -r`/kernel/drivers/platform/x86/
sudo /sbin/depmod -a


** Patch added: "usb-wwan-2.6.32.diff"
   https://bugs.launchpad.net/ubuntu/maverick/+source/linux-backports-modules-2.6.32/+bug/554099/+attachment/1666035/+files/usb-wwan-2.6.32.diff

-- 
Qualcomm Gobi 2000 3G (gobi_loader/qcserial) broken
https://bugs.launchpad.net/bugs/554099
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list