All of lore.kernel.org
 help / color / mirror / Atom feed
* speedtouch for 2.6.0
@ 2003-12-28 15:01 Guldo K
  2003-12-29 12:34 ` Duncan Sands
  0 siblings, 1 reply; 13+ messages in thread
From: Guldo K @ 2003-12-28 15:01 UTC (permalink / raw)
  To: linux-kernel

Hello.
I'm trying to get this usb adsl modem to work
with the latest stable kernel.
I searched for this on the ML archive, and realized
that the kernel module should be used.
But I can't understand one thing (at least...)
which consequences does the new alcatel module
driver have on getting this modem to work?
Does it override kernel setup described on
the speedbundle site, or not?
How should the kernel be compiled?

Many thanks,

*Guldo*


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-28 15:01 speedtouch for 2.6.0 Guldo K
@ 2003-12-29 12:34 ` Duncan Sands
  2003-12-29 15:53   ` Guldo K
  0 siblings, 1 reply; 13+ messages in thread
From: Duncan Sands @ 2003-12-29 12:34 UTC (permalink / raw)
  To: Guldo K, linux-kernel

Hi Guldo, I assume you are using the kernel mode
driver (kernel module) and not the user mode driver
(pppoa2, pppoa3).  For that you need to compile the
kernel module.

> I'm trying to get this usb adsl modem to work
> with the latest stable kernel.
> I searched for this on the ML archive, and realized
> that the kernel module should be used.
> But I can't understand one thing (at least...)
> which consequences does the new alcatel module
> driver have on getting this modem to work?

It works the same as the module in 2.4.22 and later.
This module was originally only available outside the
kernel tree (it can be found for example in the
speedbundle on http://linux-usb.sf.net/SpeedTouch).
Now that it is in the kernel tree it is pointless to
compile it in the speedbundle (and it doesn't work
right now for 2.6 kernels).  Just turn it on in your
kernel .config and recompile your kernel.

> Does it override kernel setup described on
> the speedbundle site, or not?

Well, you still need to turn on ATM support etc,
but there is no need to patch the kernel for example.

> How should the kernel be compiled?

With

CONFIG_USB_SPEEDTOUCH=m

at least.

Ciao,

Duncan.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-29 12:34 ` Duncan Sands
@ 2003-12-29 15:53   ` Guldo K
  2003-12-29 16:14     ` Duncan Sands
  0 siblings, 1 reply; 13+ messages in thread
From: Guldo K @ 2003-12-29 15:53 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

 > It works the same as the module in 2.4.22 and later.
 > This module was originally only available outside the
 > kernel tree (it can be found for example in the
 > speedbundle on http://linux-usb.sf.net/SpeedTouch).
 > Now that it is in the kernel tree it is pointless to
 > compile it in the speedbundle (and it doesn't work
 > right now for 2.6 kernels).  Just turn it on in your
 > kernel .config and recompile your kernel.

Thanks for your anwser.
I loaded all modules:
Module                  Size  Used by
uhci_hcd               30928  0 
speedtch               14096  0 
crc32                   4320  1 speedtch
tdfx                   37096  0 
pcspkr                  3300  0 
tdfxfb                 12456  0 
cfbimgblt               3136  1 tdfxfb

then configured all necessary files.
All fine. Nice green lights.

But when I ran pppd, I got:
pppd: /usr/lib/pppd/plugins/pppoatm.so:
 cannot open shared object file: No such file or directory
pppd: Couldn't load plugin /usr/lib/pppd/plugins/pppoatm.so

I looked for it and noticed it was in /usr/lib/pppd/2.4.20/,
so I linked it; but then I got:
pppd: libatm.so.1: cannot open shared object file: No such file or directory
pppd: Couldn't load plugin /usr/lib/pppd/plugins/pppoatm.so

Looks like I missed some piece of installation...

Could you help me?

Grazie,

*Guldo*


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-29 15:53   ` Guldo K
@ 2003-12-29 16:14     ` Duncan Sands
  2003-12-29 16:47       ` Guldo K
  0 siblings, 1 reply; 13+ messages in thread
From: Duncan Sands @ 2003-12-29 16:14 UTC (permalink / raw)
  To: Guldo K; +Cc: linux-kernel

> But when I ran pppd, I got:
> pppd: /usr/lib/pppd/plugins/pppoatm.so:
>  cannot open shared object file: No such file or directory
> pppd: Couldn't load plugin /usr/lib/pppd/plugins/pppoatm.so
>
> I looked for it and noticed it was in /usr/lib/pppd/2.4.20/,
> so I linked it; but then I got:
> pppd: libatm.so.1: cannot open shared object file: No such file or
> directory pppd: Couldn't load plugin /usr/lib/pppd/plugins/pppoatm.so
>
> Looks like I missed some piece of installation...
>
> Could you help me?

Hi Guldo, from your email I had understood that your setup worked under
2.4.  Is that right?  Then it should work under 2.6.  Anyway, the speedbundle (
http://linux-usb.sourceforge.net/SpeedTouch/download/index.html
) contains source code for an appropriate pppd + ATM library.

Ciao,

Duncan.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-29 16:14     ` Duncan Sands
@ 2003-12-29 16:47       ` Guldo K
  2003-12-29 17:04         ` Duncan Sands
  0 siblings, 1 reply; 13+ messages in thread
From: Guldo K @ 2003-12-29 16:47 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

Duncan Sands writes:
 > Hi Guldo, from your email I had understood that your setup worked under
 > 2.4.  Is that right?
It's not. I didn't tell you that my previous setup (2.4)
was about the user driver, not the kernel one.

 > Anyway, the speedbundle (
 > http://linux-usb.sourceforge.net/SpeedTouch/download/index.html
 > ) contains source code for an appropriate pppd + ATM library.
Thanks.
I tried to compile just ppp, but "make" resulted in:
cd chat; make  all
make[1]: Entering directory `/tmp/speedbundle-1.0/ppp/chat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/chat'
cd pppd/plugins; make  all
make[1]: Entering directory `/tmp/speedbundle-1.0/ppp/pppd/plugins'
gcc -o pppoatm.so -shared -g -O2 -I.. -I../../include -fPIC pppoatm.c -latm
pppoatm.c:19:17: atm.h: No such file or directory
In file included from /usr/include/linux/atmdev.h:12,
                 from pppoatm.c:20:
/usr/include/linux/atm.h:211: error: syntax error before "uint32_t"
/usr/include/linux/atm.h:213: error: syntax error before '}' token
/usr/include/linux/atm.h:217: error: parameter `addr' has incomplete type
pppoatm.c: In function `setdevname_pppoatm':
pppoatm.c:78: error: `T2A_PVC' undeclared (first use in this function)
pppoatm.c:78: error: (Each undeclared identifier is reported only once
pppoatm.c:78: error: for each function it appears in.)
pppoatm.c:78: error: `T2A_NAME' undeclared (first use in this function)
make[1]: *** [pppoatm.so] Error 1
make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins'
make: *** [all] Error 2

... and of course I don't understand anything of this....
Sorry.

*Guldo*


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-29 16:47       ` Guldo K
@ 2003-12-29 17:04         ` Duncan Sands
  2003-12-30  0:52           ` Guldo K
  0 siblings, 1 reply; 13+ messages in thread
From: Duncan Sands @ 2003-12-29 17:04 UTC (permalink / raw)
  To: Guldo K; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

On Monday 29 December 2003 17:47, Guldo K wrote:
> Duncan Sands writes:
>  > Hi Guldo, from your email I had understood that your setup worked under
>  > 2.4.  Is that right?
>
> It's not. I didn't tell you that my previous setup (2.4)
> was about the user driver, not the kernel one.
>
>  > Anyway, the speedbundle (
>  > http://linux-usb.sourceforge.net/SpeedTouch/download/index.html
>  > ) contains source code for an appropriate pppd + ATM library.
>
> Thanks.
> I tried to compile just ppp, but "make" resulted in:

Yeah, I was a bit brief :)  Look in the top-level Makefile (in
speedbundle) to see how to compile.  The easiest thing to
do though is probably to use the attached top-level Makefile,
which is the same as the current one except that it doesn't
compile the kernel module.  I didn't test it but it should work.

Ciao,

Duncan.

[-- Attachment #2: Makefile --]
[-- Type: text/x-makefile, Size: 1098 bytes --]

all: build

configure: configure-stamp
configure-stamp:
	./configure

build: configure-stamp build-stamp
build-stamp:
#	cd kernel_module && $(MAKE)
	cd linux-atm/src/lib && $(MAKE)
	cd ppp/pppd && $(MAKE)
	cd ppp/pppd/plugins && $(MAKE) C_INCLUDE_PATH=../../../linux-atm/src/include LIBRARY_PATH=../../../linux-atm/src/lib/.libs
	cd firmware && $(MAKE)
	cd firmware_loader && $(MAKE)
	cd hotplug_scripts && $(MAKE)
	cd ppp_scripts && $(MAKE)
	touch build-stamp

clean:
	rm -f build-stamp configure-stamp
	cd firmware && $(MAKE) clean
	cd firmware_loader && $(MAKE) clean
	cd hotplug_scripts && $(MAKE) clean
#	cd kernel_module && $(MAKE) clean
	cd linux-atm/src/lib && $(MAKE) clean
	cd ppp/pppd/plugins && $(MAKE) clean
	cd ppp/pppd && $(MAKE) clean
	cd ppp_scripts && $(MAKE) clean

install: build
#	cd kernel_module && $(MAKE) install
	cd firmware && $(MAKE) install
	cd firmware_loader && $(MAKE) modem_run
	cd hotplug_scripts && $(MAKE) install
	cd linux-atm/src/lib && $(MAKE) install
	cd ppp/pppd && $(MAKE) install
	cd ppp/pppd/plugins && $(MAKE) install
	cd ppp_scripts && $(MAKE) install

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-29 17:04         ` Duncan Sands
@ 2003-12-30  0:52           ` Guldo K
  2003-12-30  8:11             ` Duncan Sands
  0 siblings, 1 reply; 13+ messages in thread
From: Guldo K @ 2003-12-30  0:52 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

Duncan Sands writes:
 > Yeah, I was a bit brief :)  Look in the top-level Makefile (in
 > speedbundle) to see how to compile.  The easiest thing to
 > do though is probably to use the attached top-level Makefile,
 > which is the same as the current one except that it doesn't
 > compile the kernel module.  I didn't test it but it should work.
 > 
 > Ciao,
 > 
 > Duncan.

I couldn't compile.
I get the output below.
What's wrong with me?

*Guldo*

cd linux-atm/src/lib && make
make[1]: Entering directory `/tmp/speedbundle-1.0/linux-atm/src/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/speedbundle-1.0/linux-atm/src/lib'
cd ppp/pppd && make
make[1]: Entering directory `/tmp/speedbundle-1.0/ppp/pppd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd'
cd ppp/pppd/plugins && make C_INCLUDE_PATH=../../../linux-atm/src/include LIBRARY_PATH=../../../linux-atm/src/lib/.libs
make[1]: Entering directory `/tmp/speedbundle-1.0/ppp/pppd/plugins'
for d in rp-pppoe; do make -w -C $d all; done
make[2]: Entering directory `/tmp/speedbundle-1.0/ppp/pppd/plugins/rp-pppoe'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins/rp-pppoe'
make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins'
cd firmware && make
make[1]: Entering directory `/tmp/speedbundle-1.0/firmware'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/speedbundle-1.0/firmware'
cd firmware_loader && make
make[1]: Entering directory `/tmp/speedbundle-1.0/firmware_loader'
cd src && make 
make[2]: Entering directory `/tmp/speedbundle-1.0/firmware_loader/src'
gcc -Wall -I. -I/usr/include -I/usr/include -O2 -DVERSION=\"1.2-beta2\" -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c
In file included from /usr/include/linux/usb.h:4,
                 from pusb-linux.c:42:
/usr/include/linux/mod_devicetable.h:18: error: syntax error before "__u32"
/usr/include/linux/mod_devicetable.h:20: error: syntax error before "class"
/usr/include/linux/mod_devicetable.h:21: error: syntax error before "driver_data"
/usr/include/linux/mod_devicetable.h:31: error: syntax error before "__u32"
/usr/include/linux/mod_devicetable.h:33: error: syntax error before "model_id"
/usr/include/linux/mod_devicetable.h:34: error: syntax error before "specifier_id"
/usr/include/linux/mod_devicetable.h:35: error: syntax error before "version"
/usr/include/linux/mod_devicetable.h:36: error: syntax error before "driver_data"
/usr/include/linux/mod_devicetable.h:99: error: syntax error before "__u16"
/usr/include/linux/mod_devicetable.h:103: error: syntax error before "idProduct"
/usr/include/linux/mod_devicetable.h:104: error: syntax error before "bcdDevice_lo"
/usr/include/linux/mod_devicetable.h:105: error: syntax error before "bcdDevice_hi"
/usr/include/linux/mod_devicetable.h:108: error: syntax error before "bDeviceClass"
/usr/include/linux/mod_devicetable.h:109: error: syntax error before "bDeviceSubClass"
/usr/include/linux/mod_devicetable.h:110: error: syntax error before "bDeviceProtocol"
/usr/include/linux/mod_devicetable.h:113: error: syntax error before "bInterfaceClass"
/usr/include/linux/mod_devicetable.h:114: error: syntax error before "bInterfaceSubClass"
/usr/include/linux/mod_devicetable.h:115: error: syntax error before "bInterfaceProtocol"
/usr/include/linux/mod_devicetable.h:118: error: syntax error before "driver_info"
/usr/include/linux/mod_devicetable.h:135: error: syntax error before "__u16"
/usr/include/linux/mod_devicetable.h:138: error: syntax error before "dev_type"
/usr/include/linux/mod_devicetable.h:139: error: syntax error before "cu_model"
/usr/include/linux/mod_devicetable.h:140: error: syntax error before "dev_model"
/usr/include/linux/mod_devicetable.h:142: error: syntax error before "driver_info"
pusb-linux.c:66: error: redefinition of `struct usb_device_descriptor'
pusb-linux.c: In function `pusb_control_msg':
pusb-linux.c:164: error: structure has no member named `requesttype'
pusb-linux.c:165: error: structure has no member named `request'
pusb-linux.c:166: error: structure has no member named `value'
pusb-linux.c:167: error: structure has no member named `index'
pusb-linux.c:168: error: structure has no member named `length'
make[2]: *** [pusb.o] Error 1
make[2]: Leaving directory `/tmp/speedbundle-1.0/firmware_loader/src'
make[1]: *** [modem] Error 2
make[1]: Leaving directory `/tmp/speedbundle-1.0/firmware_loader'
make: *** [build-stamp] Error 2


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-30  0:52           ` Guldo K
@ 2003-12-30  8:11             ` Duncan Sands
  2003-12-30 15:55               ` Guldo K
  0 siblings, 1 reply; 13+ messages in thread
From: Duncan Sands @ 2003-12-30  8:11 UTC (permalink / raw)
  To: Guldo K; +Cc: linux-kernel

> I couldn't compile.
> I get the output below.
> What's wrong with me?

You are compiling against 2.6 kernel headers.
(Most people have 2.4 kernel headers in
/usr/include/linux, even if they are running a
2.6 kernel).  You will need to update the
firmware_loader directory.  Do the following:

        cvs -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch login

(just hit return if asked for a password).  Then do

        cvs -z 9 -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch co speedtouch

This creates a directory called speedtouch.  Replace the contents of the
firmware_loader directory with the contents of this new speedtouch
directory.  Now rebuild: in the top level of the speedbundle do

        make clean
        make
(become root)
        make install

> *Guldo*

Duncan.

> cd linux-atm/src/lib && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/linux-atm/src/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/speedbundle-1.0/linux-atm/src/lib'
> cd ppp/pppd && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/ppp/pppd'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd'
> cd ppp/pppd/plugins && make C_INCLUDE_PATH=../../../linux-atm/src/include
> LIBRARY_PATH=../../../linux-atm/src/lib/.libs make[1]: Entering directory
> `/tmp/speedbundle-1.0/ppp/pppd/plugins' for d in rp-pppoe; do make -w -C $d
> all; done
> make[2]: Entering directory
> `/tmp/speedbundle-1.0/ppp/pppd/plugins/rp-pppoe' make[2]: Nothing to be
> done for `all'.
> make[2]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins/rp-pppoe'
> make[1]: Leaving directory `/tmp/speedbundle-1.0/ppp/pppd/plugins'
> cd firmware && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/firmware'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/speedbundle-1.0/firmware'
> cd firmware_loader && make
> make[1]: Entering directory `/tmp/speedbundle-1.0/firmware_loader'
> cd src && make
> make[2]: Entering directory `/tmp/speedbundle-1.0/firmware_loader/src'
> gcc -Wall -I. -I/usr/include -I/usr/include -O2 -DVERSION=\"1.2-beta2\"
> -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c In file included from
> /usr/include/linux/usb.h:4,
>                  from pusb-linux.c:42:
> /usr/include/linux/mod_devicetable.h:18: error: syntax error before "__u32"
> /usr/include/linux/mod_devicetable.h:20: error: syntax error before "class"
> /usr/include/linux/mod_devicetable.h:21: error: syntax error before
> "driver_data" /usr/include/linux/mod_devicetable.h:31: error: syntax error
> before "__u32" /usr/include/linux/mod_devicetable.h:33: error: syntax error
> before "model_id" /usr/include/linux/mod_devicetable.h:34: error: syntax
> error before "specifier_id" /usr/include/linux/mod_devicetable.h:35: error:
> syntax error before "version" /usr/include/linux/mod_devicetable.h:36:
> error: syntax error before "driver_data"
> /usr/include/linux/mod_devicetable.h:99: error: syntax error before "__u16"
> /usr/include/linux/mod_devicetable.h:103: error: syntax error before
> "idProduct" /usr/include/linux/mod_devicetable.h:104: error: syntax error
> before "bcdDevice_lo" /usr/include/linux/mod_devicetable.h:105: error:
> syntax error before "bcdDevice_hi"
> /usr/include/linux/mod_devicetable.h:108: error: syntax error before
> "bDeviceClass" /usr/include/linux/mod_devicetable.h:109: error: syntax
> error before "bDeviceSubClass" /usr/include/linux/mod_devicetable.h:110:
> error: syntax error before "bDeviceProtocol"
> /usr/include/linux/mod_devicetable.h:113: error: syntax error before
> "bInterfaceClass" /usr/include/linux/mod_devicetable.h:114: error: syntax
> error before "bInterfaceSubClass" /usr/include/linux/mod_devicetable.h:115:
> error: syntax error before "bInterfaceProtocol"
> /usr/include/linux/mod_devicetable.h:118: error: syntax error before
> "driver_info" /usr/include/linux/mod_devicetable.h:135: error: syntax error
> before "__u16" /usr/include/linux/mod_devicetable.h:138: error: syntax
> error before "dev_type" /usr/include/linux/mod_devicetable.h:139: error:
> syntax error before "cu_model" /usr/include/linux/mod_devicetable.h:140:
> error: syntax error before "dev_model"
> /usr/include/linux/mod_devicetable.h:142: error: syntax error before
> "driver_info" pusb-linux.c:66: error: redefinition of `struct
> usb_device_descriptor' pusb-linux.c: In function `pusb_control_msg':
> pusb-linux.c:164: error: structure has no member named `requesttype'
> pusb-linux.c:165: error: structure has no member named `request'
> pusb-linux.c:166: error: structure has no member named `value'
> pusb-linux.c:167: error: structure has no member named `index'
> pusb-linux.c:168: error: structure has no member named `length'
> make[2]: *** [pusb.o] Error 1
> make[2]: Leaving directory `/tmp/speedbundle-1.0/firmware_loader/src'
> make[1]: *** [modem] Error 2
> make[1]: Leaving directory `/tmp/speedbundle-1.0/firmware_loader'
> make: *** [build-stamp] Error 2

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-30  8:11             ` Duncan Sands
@ 2003-12-30 15:55               ` Guldo K
  2003-12-30 16:02                 ` Duncan Sands
  0 siblings, 1 reply; 13+ messages in thread
From: Guldo K @ 2003-12-30 15:55 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

Duncan Sands writes:
 > You are compiling against 2.6 kernel headers.
 > (Most people have 2.4 kernel headers in
 > /usr/include/linux, even if they are running a
 > 2.6 kernel).  You will need to update the
 > firmware_loader directory.  Do the following:
 > 
 >         cvs -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch login
 > 
 > (just hit return if asked for a password).

It looks like this needs a connection... it couldn't find the server.
Of course, I'm offline when doing this. :-(

This is getting too frustrating...
Maybe I'd better get an ethernet modem, shouldn't I?

Anyway, thank you very much for your answers and your patience.

Happy 2004! :-)

*Guldo*

 > Then do
 > 
 >         cvs -z 9 -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch co speedtouch
 > 
 > This creates a directory called speedtouch.  Replace the contents of the
 > firmware_loader directory with the contents of this new speedtouch
 > directory.  Now rebuild: in the top level of the speedbundle do
 > 
 >         make clean
 >         make
 > (become root)
 >         make install
 > 


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-30 15:55               ` Guldo K
@ 2003-12-30 16:02                 ` Duncan Sands
  2004-01-06 18:29                   ` Guldo K
  0 siblings, 1 reply; 13+ messages in thread
From: Duncan Sands @ 2003-12-30 16:02 UTC (permalink / raw)
  To: Guldo K; +Cc: linux-kernel

> It looks like this needs a connection... it couldn't find the server.
> Of course, I'm offline when doing this. :-(

The famous catch-22 of setting up network connectivity...

> This is getting too frustrating...

You are nearly there.

> Maybe I'd better get an ethernet modem, shouldn't I?

Maybe you should start with 2.4 and not 2.6.

Ciao,

Duncan.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2003-12-30 16:02                 ` Duncan Sands
@ 2004-01-06 18:29                   ` Guldo K
  2004-01-06 20:21                     ` Duncan Sands
  0 siblings, 1 reply; 13+ messages in thread
From: Guldo K @ 2004-01-06 18:29 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

 > Maybe you should start with 2.4 and not 2.6.

Thanks for your help.

I compiled 2.4.22, and tried to install speedbundle;
but it looks like I still have the very same error
messages... I'd try and understand what kernel headers
*are* (sorry), but in the meantime I switched back to
the user driver.
One more thing to ask you: I discarded all the config
made for the kernel driver (I think so...), but as I plug
my modem in, the speedtch module is loaded.
I have to unload it in order to get modem_run to work
properly with the user driver.
Why is it so? How can I make speedtch not to be loaded
automatically, if I can?
(without recompiling the kernel)

Thank you very much!

 > Ciao,
 > 
 > Duncan.

Ciao,

*Guldo*


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2004-01-06 18:29                   ` Guldo K
@ 2004-01-06 20:21                     ` Duncan Sands
  2004-01-07  2:24                       ` Guldo K
  0 siblings, 1 reply; 13+ messages in thread
From: Duncan Sands @ 2004-01-06 20:21 UTC (permalink / raw)
  To: Guldo K; +Cc: linux-kernel

Hi Guldo,

> I compiled 2.4.22, and tried to install speedbundle;
> but it looks like I still have the very same error
> messages... I'd try and understand what kernel headers
> *are* (sorry), but in the meantime I switched back to
> the user driver.

Looks like your libc has 2.6 kernel headers.  I refer you to my
previous answer:

You are compiling against 2.6 kernel headers.
(Most people have 2.4 kernel headers in
/usr/include/linux, even if they are running a
2.6 kernel).  You will need to update the
firmware_loader directory.  Do the following:

        cvs -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch login

(just hit return if asked for a password).  Then do

        cvs -z 9 -d:pserver:anonymous@cvs.speedtouch.sourceforge.net:/cvsroot/speedtouch co speedtouch

This creates a directory called speedtouch.  Replace the contents of the
firmware_loader directory with the contents of this new speedtouch
directory.  Now rebuild: in the top level of the speedbundle do

        make clean
        make
(become root)
        make install


> One more thing to ask you: I discarded all the config
> made for the kernel driver (I think so...), but as I plug
> my modem in, the speedtch module is loaded.
> I have to unload it in order to get modem_run to work
> properly with the user driver.
> Why is it so? How can I make speedtch not to be loaded
> automatically, if I can?
> (without recompiling the kernel)

Remove the speedtch.o file in
/lib/modules/(kernelversion)/kernel/drivers/usb

Ciao,

Duncan.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speedtouch for 2.6.0
  2004-01-06 20:21                     ` Duncan Sands
@ 2004-01-07  2:24                       ` Guldo K
  0 siblings, 0 replies; 13+ messages in thread
From: Guldo K @ 2004-01-07  2:24 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

Duncan Sands writes:
 > Looks like your libc has 2.6 kernel headers.  I refer you to my
 > previous answer:
<cut>

Thanks a lot!
I didn't realized what exactly was needed...
I thought I could compile in 2.4.22, since 2.6.0
was not working...
Anyway I fixed it, thanks to the user module that
let me set up that cvs dir.
So now I'm writing on my neatly working Debian Sid,
with my nice kernel-driver-adsl-connection on
my 2.6.0 Linux.
I really thank you *VERY MUCH* for your GREAT help.
:-)))

All the best,

*Guldo*


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-01-07  1:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-28 15:01 speedtouch for 2.6.0 Guldo K
2003-12-29 12:34 ` Duncan Sands
2003-12-29 15:53   ` Guldo K
2003-12-29 16:14     ` Duncan Sands
2003-12-29 16:47       ` Guldo K
2003-12-29 17:04         ` Duncan Sands
2003-12-30  0:52           ` Guldo K
2003-12-30  8:11             ` Duncan Sands
2003-12-30 15:55               ` Guldo K
2003-12-30 16:02                 ` Duncan Sands
2004-01-06 18:29                   ` Guldo K
2004-01-06 20:21                     ` Duncan Sands
2004-01-07  2:24                       ` Guldo K

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.