Skip to contentSkip to conversation

cmtp, capidrv and kernel 2.6

Bluez-users Matthias Thomae 2 participants 4 messages Jan 30, 2004 – Feb 3, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi Marcel et al,

could anyone give a hint what changes are necessary from kernel 2.4.X to 2.6.X to get an isdn dialup setup via cmtp and capidrv (i4l)?

I have a very well working setup for 2.4.22-mh2, essentially following Marcel's (BTW excellent :) instructions from http://www.holtmann.org/linux/bluetooth/isdn.html and had a quick try using the same setup on an unpatched 2.6.2-rc2 vanilla kernel, getting the following symptoms:

- cmtp and kernelcapi are loaded and connecting to an AP-X works
- capiinfo and capiinit complain about not being able to load kernelcapi, although it is already loaded
- capidrv isn't loaded automatically any more
- "/etc/init.d/isdnutils start" complains about /dev/isdnctrl (because of missing capidrv?)
- when modprobing capidrv the console is flooded with messages

I use debian/unstable with the latest isdn and capi packages (3.3-7).

Do I need any kernel patches (e.g. the i4l patch from http://rcum.uni-mb.si/~uvp00845b/)?
Do I have to modify the module loading definitions in /etc/modutils?
Does pppdcapiplugin work without additional kernel patches?

Regards.
Matthias

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Matthias,

Quoted 2 lines

could anyone give a hint what changes are necessary from kernel 2.4.X to 2.6.X to get an isdn dialup setup via cmtp and capidrv (i4l)?

the I4L and CAPI ISDN subsystem of 2.6 must be resynced and I hope Karsten Keil is doing this very soon. For now apply the i4l-t9bk22 patch and try again.

Quoted 7 lines

I have a very well working setup for 2.4.22-mh2, essentially following Marcel's (BTW excellent :) instructions from
http://www.holtmann.org/linux/bluetooth/isdn.html and had a quick try using the same setup on an unpatched 2.6.2-rc2 vanilla kernel, getting the following symptoms:

- cmtp and kernelcapi are loaded and connecting to an AP-X works

You have to load capi.ko by hand and mount the capifs.

Quoted 2 lines

- capiinfo and capiinit complain about not being able to load kernelcapi, although it is already loaded

Known problem, because the new modprobe complains with an error if a module is already loaded. The CAPI utils needs to be patched.

Quoted 1 line

- capidrv isn't loaded automatically any more

Can't tell you why, but simply load it :)

Quoted 2 lines

- "/etc/init.d/isdnutils start" complains about /dev/isdnctrl (because of missing capidrv?)

Maybe the scripts need a little bit 2.6 cleanup.

Quoted 1 line

- when modprobing capidrv the console is flooded with messages

The capidrv itself is an CAPI application and the 2.6 CAPI subsystem is a little bit talky, because the debug stuff is on by default.

Quoted 1 line

I use debian/unstable with the latest isdn and capi packages (3.3-7).

With the i4l-t9bk22 the CAPI part should work perfect.

Quoted 2 lines

Do I need any kernel patches (e.g. the i4l patch from
http://rcum.uni-mb.si/~uvp00845b/)?

Yes.

Quoted 1 line

Do I have to modify the module loading definitions in /etc/modutils?

Not that I know of.

Quoted 1 line

Does pppdcapiplugin work without additional kernel patches?

No.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hi Marcel,

Quoted 6 lines · Marcel Holtmann
Quoted 1 line

could anyone give a hint what changes are necessary from kernel 2.4.X to 2.6.X to get an isdn dialup setup via cmtp and capidrv (i4l)?

the I4L and CAPI ISDN subsystem of 2.6 must be resynced and I hope Karsten Keil is doing this very soon. For now apply the i4l-t9bk22 patch and try again.

Thank you for your hint, I tried again and it seems to work now :)))

Quoted 3 lines
Quoted 1 line

- cmtp and kernelcapi are loaded and connecting to an AP-X works

You have to load capi.ko by hand and mount the capifs.

Ok, that's one that I missed.

Quoted 3 lines
Quoted 1 line

- capidrv isn't loaded automatically any more

Can't tell you why, but simply load it :)

Well, I had to learn that there is the directory /etc/modprobe.d first...

Quoted 4 lines
Quoted 2 lines

- "/etc/init.d/isdnutils start" complains about /dev/isdnctrl (because of missing capidrv?)

Maybe the scripts need a little bit 2.6 cleanup.

Don't think so, that was due to the missing capidrv.

Quoted 3 lines
Quoted 1 line

I use debian/unstable with the latest isdn and capi packages (3.3-7).

With the i4l-t9bk22 the CAPI part should work perfect.

Seems to :)

Quoted 3 lines
Quoted 1 line

Do I have to modify the module loading definitions in /etc/modutils?

Not that I know of.

Well, I copied them to the new /etc/modprobe.d, e.g.:
alias char-major-43 capidrv
alias char-major-44 capidrv
alias char-major-45 capidrv

Quoted 3 lines
Quoted 1 line

Does pppdcapiplugin work without additional kernel patches?

No.

But it seems to with the i4l-t9bk22 patch :)

Cheerio
Matthias

maintainer
#3 lore raw

Hi Matthias,

Quoted 5 lines
Quoted 3 lines

the I4L and CAPI ISDN subsystem of 2.6 must be resynced and I hope Karsten Keil is doing this very soon. For now apply the i4l-t9bk22 patch and try again.

Thank you for your hint, I tried again and it seems to work now :)))

the full ISDN update for 2.6 is much bigger.

	ftp://ftp.isdn4linux.de/pub/isdn4linux/kernel/v2.6

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users