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

  1. 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/

  1. 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.

I wonder if you re-post this in the installation forum, or such; you might get more notice; the title may make folks think you want mobile broadband help; I think you want help on

No rule to make target kernel/bounds.c', needed by kernel/bounds.s’. Stop.
make[1]: *** [prepare0] Error 2

I sense folks only keep track of a few forums;

when I google on your error though

[ubuntu] no rule to make target kernel/bounds.c - Ubuntu Forums]([ubuntu] no rule to make target kernel/bounds.c)

I get comments from post #2 (Ubuntu) above of

installing the kernel sources using apt / aptitude / synaptic / whatsoever only puts the compressed source code into /usr/src. You need to uncompress the sources:

Code:
$ cd /usr/src
$ sudo tar -xvjf linux-source-$YOUR_VERSION_HERE.tar.bz2
Then just change into the new /usr/src/linux-source-$YOUR_VERSION_HERE directory and built your kernel like you used to

and from this

Old Nabble - Linux Winmodem Support - Discussion - 11c11040 Agere Systems HDA Modem and 2.6.27 Kernel

such comments as

are you sure the kernel_source package is installed? There would be a
directory called /usr/src/linux if it had been

and

Please start by installing the full kernel source instead of just the headers.

Is any of this of any help?