Oleg Verych wrote:

> On 1/8/08, Raúl Sánchez Siles <[email protected]> wrote:
>> Steve Underwood wrote:
>>
>> > Hi,
>> >
>> > In about June we fixed the Linux driver for the TUSB3410, and got the
>> > USB FET tools working under Linux. Did anyone feed the fix back to the
>> > driver's maintainer, so it can get into the standard Linux
>> > distribution? If not we need to sort that out now.
>> >
>> > Steve
>> >
>>
>>   I had it somewhat working up to some months ago, but I decided to
>>   upgrade
>> to 2.6.24rc7 linux kernel, where I hadn't been so successful.
>>
>>   I applied the patch here[1] from Oleg Verych which I think should be
>> enough as what code patching refers.
> 
> This one is old and have some problem wims with >2.6.21 kernels.
> I've submitted a new one here back in November [0].
> 
> [0] TIUSB 3410 <ftp://flower.upol.cz/dts/Lin0001/>

  Thanks a lot Oleg, this is working. I those files into a dir and also had
to copy some other files from Linux source in drivers/usb/serial: bus.c
console.c  ezusb.c  generic.c

  Then I made sure I had FW_LOADER, CONFIG_USB_SERIAL and
CONFIG_USB_SERIAL_TI defined as modules (M) in my kernel config. I added
the Makefile I'm attaching and finally did in the dir where everything was:

  1- make -C /usr/src/linux-2.6 M=$(pwd) modules
  2- make -C /usr/src/linux-2.6 M=$(pwd) modules_install

  Step 2 as root, just in case I also did "depmod -a"

  I know you probably know this, but I post it here just in case it could
help any other.
  
> 
> Note, that while configuring, firmware loader must be selected
> (i've forget to add this in patch)
> 
> A symlink to the firmware of the standard win32 drivers
> must be placed in "/lib/firmware/tiusb3410.i51". No udev/sysfs stuff is
> needed.

  Well I also did this, got it from the ez430 CD, thought there the name is
not exactly the same.
> 
> There is also a binary version, which was working for me in 2.6.22. Try
> it, if anything changed in ABI, module loading will safely fail.
> 

  Well, I change my running Linux often, hence I prefer knowing how to build
from source.

  Now I aim into using the usbserial module from vanilla or at least get a
working patch against 2.6.24. I saw there's a thread about that in
linux-usb-devel. I'll try to look into it carefully later.

  Regards,

-- 
Raúl Sánchez Siles
#
# Makefile for the USB serial device drivers.
#

# Object file lists.


obj-$(CONFIG_USB_SERIAL)                        += usbserial.o

usbserial-obj-$(CONFIG_USB_SERIAL_CONSOLE)      += console.o
usbserial-obj-$(CONFIG_USB_EZUSB)               += ezusb.o

usbserial-objs  := usb-serial.o generic.o bus.o $(usbserial-obj-y)

obj-$(CONFIG_USB_SERIAL_TI)                     += ti_usb_3410_5052.o

Reply via email to