Инструкция по настройке кабеля на основе TUSB 3410
[взято с сайта linuxquestions.org , автор - elie.zedeck] :
-----------------------------------------------
1. Downloaded the latest kernel (currently 2.6.18.1). Extracted it to '/usr/src/kernels'. I downloaded it from Cybercafe, since I had not connection yet. If you don't want to compile kernel, skip to step 4; you will then need to make sure that the Kernel should be at least version 2.6.15.
2. Configured it with 'make oldconfig' and then 'make menuconfig', and under Device Driver -> USB Support -> USB Converter -> I enabled the TI 3410/5052 (just look for it in the USB converter section). Don't forget to enable all of the things you need as a module, not built-in (you usually need to press M instead of Y).
3. Compiled it with the 'make', and then 'make modules_install' and then 'make install'. You can now reboot, and you will see your new kernel listed in the boot menu (LILO or GRUB).
4. Now, go to the Kernel source directory (for me, it was /usr/src/kernels/linux-2.6.18.1) using simple 'cd /usr/src/kernels/...' (like in MSDOS), and type 'cd drivers/usb/serial' to go to the USB serial drivers.
5. Type 'kwrite ti_usb_3410_5052.c' to see the content of the driver file. DO NOT EDIT IT. Just go to line 20, and see the instruction. The file that it mentions as a hotplug script is the line from 24 - 68.
6. Copy it, and create a new file with that content; just REMOVE THE STARS (*) in front of each line.
7. Save the file in the place mentionned in line 20.
8. Now, open a new console, and then login as root. Type in 'dmesg -c' to clear the Kernel log (so as to make things clearer to see). Don't close the console, just press <Enter> for several times, because we will need to see what the kernel says
9. Plug the modem in the USB port. Type 'dmesg -c' again in the console, and you should see it saying about ttyUSB0 (means OK). If not, and then unplug the modem, and repeat step 7.
10. Use wvdial to connect to the Internet. Type 'man wvdial' for more informations of how to use wvdial, along with 'man wvdial.conf' for its configuration. You could begin with 'wvdialconf /etc/wvdial.conf'
11. When you finish configuring, add 'Stupid Mode = 1' in the configuration.
----------------------------------------------
Где посмотреть исходник драйвера в FC5? В /usr/src никаких исходников нет..
Т.к.
ti_usb_3410_5052.c обнаружился на
http://zchan.homeunix.net/lxr/source/drive...nux-2.6.16#1131 , то готовился было закинуть скрипт из его 20-68 строк в /etc/hotplug/usb, но в /etc нет никакой папки /hotplug! Что делать?