4 |
|
|
5 |
* Notes * |
* Notes * |
6 |
|
|
7 |
The DKU2 cable, supplied for example with the nokia 7600, is a straight-through lead which connects the phone to a USB port. By default, the usb device exposes two endpoints which provide AT-like modem emulation. This kernel module sets an alternative configuration to enable two further endpoints which enable Fbus communication. |
The DKU2 cable, supplied for example with the nokia 7600/6230, is a |
8 |
|
straight-through lead which connects the phone to a USB port. By default, |
9 |
|
the usb device exposes two endpoints which provide AT-like modem emulation. |
10 |
|
This kernel module sets an alternative configuration to enable two further |
11 |
|
endpoints which enable Fbus communication. |
12 |
|
|
13 |
Patches are in gnokii/patches. There is one for 2.4.22 - I expect it'll work with most 2.4 kernels, and one for 2.6.9. |
Patches are in gnokii/patches. There is one for 2.4.22 - I expect it'll |
14 |
|
work with most 2.4 kernels, and one for 2.6.9. |
15 |
|
|
16 |
The driver connects two ttys - after connecting the phone dmesg gives: |
The driver connects two ttys - after connecting the phone dmesg gives: |
17 |
Nokia AT Port: |
Nokia AT Port: |
18 |
usbserial.c: Nokia 7600/DKU2 driver converter now attached to ttyUSB0 (or usb/tts/0 for devfs) |
usbserial.c: Nokia 7600/6230 DKU2 driver converter now attached to ttyUSB0 (or usb/tts/0 for devfs) |
19 |
Nokia FBUS Port: |
Nokia FBUS Port: |
20 |
usbserial.c: Nokia 7600/DKU2 driver converter now attached to ttyUSB1 (or usb/tts/1 for devfs) |
usbserial.c: Nokia 7600/6230 DKU2 driver converter now attached to ttyUSB1 (or usb/tts/1 for devfs) |
21 |
gnokii must be configured to use the second of these - in this case /dev/ttyUSB1 |
gnokii must be configured to use the second of these - in this case /dev/ttyUSB1 |
22 |
|
|
23 |
|
|
24 |
* Install * |
* Install * |
25 |
|
|
26 |
- Get / configure / build a set of kernel sources. |
- Get / configure / build a set of kernel sources. |
27 |
- cd /usr/src/linux/drivers/usb/serial |
- make sure that you are running this kernel, and /lib/modules/`uname -r`/build |
28 |
- patch < patch_file |
points to the kernel sources directory |
29 |
- cd ../../.. |
- cd $gnokii_sources/patches/kernel_2.{4,6} |
30 |
- make xconfig |
- make |
|
- Enable the module (USB support / USB serial converter support / USB Nokia Serial Driver) |
|
|
- make modules |
|
31 |
- Become root |
- Become root |
32 |
- make modules_install |
- make install |
33 |
- modprobe nokia_dku2 |
- modprobe nokia_dku2 |
34 |
- dmesg |
- dmesg |
35 |
- Look for the lines as shown above! |
- Look for the lines as shown above! |