Tampilkan postingan dengan label modem Lenovo T510. Tampilkan semua postingan
Tampilkan postingan dengan label modem Lenovo T510. Tampilkan semua postingan

Senin, 13 September 2010

Mobile broadband HSDPA modem Lenovo T510

Hallo,

i want to install a driver for the Mobile broadband HSDPA modem of the Lenovo T510 nootebook because it dosent work with the Networkmanager.
I use opensuse 11.3 whith the kernal 2.6.34-12.

So what i want to do:


------------------------
1) get attached patch
2) install and extract kernel source

sudo apt-get install linux-source
tar xjf /usr/src/linux-source-2.6.32.tar.bz2

3) patching and compilation (only drivers/usb/serial subdirectory)

mkdir temp

cd ./linux-source-2.6.32
patch -p1 < ../usb-wwan-2.6.34.diff

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/

4) copy resulting modules to kernel modules directory

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 /sbin/depmod -a
-------------------------



If I compile: make O=../temp prepare i get a mistake.

The exactly mmessage is:

Using /usr/src/linux-2.6.34-12 as source for kernel
GEN /usr/src/temp/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'


Do anyone know how i can solve this problem?

Best regards.