LinkUSB progress. Most of the problems are operating system ones.

In short I needed 2 changes:

1. Minor change in the code to recognize the internal version number
(LinkUSB V!.4) -- now in CVS and will be part of next release.

2. When it works, it works as both a LINK adapter (which needs the
change above) and as an emulated DS9097U adapter.

3. Some linux kernel modules for the FTDI USB/serial are broken. I'm
not sure whether it's the 64-bit kernel in general, or just the
OpenSUSE 2.6.25.20. Other versions of 32-bit SUSE work. Ubuntu 9.04
32-bit works. but only for a while.

Ubuntu module eventually failed after several hours of function with
this entry in dmesg:

BUG: unable to handle kernel NULL pointer dereference at 00000054
IP: [<c0132239>] lock_timer_base+0x8/0x35
*pdpt = 0000000008523001 *pde = 0000000000000000
Oops: 0000 [#1] SMP
last sysfs file:
/sys/devices/pci0000:00/0000:00:14.0/0000:02:0f.0/usb1/1-2/1-2.2/1-2.2:1.0/ttyUSB1/port_number
Modules linked in: ftdi_sio usbserial ip6t_LOG xt_tcpudp xt_pkttype
ipt_LOG xt_limit binfmt_misc af_packet ip6t_REJECT nf_conntrack_ipv6
ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter
ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack
ip_tables ip6table_filter ip6_tables x_tables ipv6 microcode fuse loop
dm_mod usb_storage rtc_cmos rtc_core rtc_lib e100 intel_agp pcspkr
i2c_piix4 mii shpchp sr_mod agpgart cdrom i2c_core pci_hotplug sg
ehci_hcd ohci_hcd uhci_hcd usbcore sd_mod crc_t10dif edd ext3 mbcache
jbd thermal_sys hwmon ide_pci_generic piix ide_core ata_generic
ata_piix libata scsi_mod dock [last unloaded: speedstep_lib]
Supported: No

Pid: 24764, comm: owhttpd Tainted: G          (2.6.27.23-0.1-pae #1)
EIP: 0060:[<c0132239>] EFLAGS: 00210282 CPU: 0
EIP is at lock_timer_base+0x8/0x35
EAX: 00000040 EBX: 00000040 ECX: e0198260 EDX: c125fe64
ESI: ffffffff EDI: 00000040 EBP: c125fe64 ESP: c125fe50
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process owhttpd (pid: 24764, ti=c125e000 task=c8113230 task.ti=c125e000)
Stack: 00000040 ffffffff 00000000 d0c9dc4c c0132277 c0144614 00000040 00000000
       c01322ba d0c9dc00 e2add0cb e1d395b4 c100b160 c05e013c 00000000 c125ff08
       00000000 c01449c6 e2ae6458 d0c9dc00 d640f920 e2abe79d c019c1a4 ffffffff
Call Trace:
 [<c0132277>] try_to_del_timer_sync+0x11/0x4a
 [<c01322ba>] del_timer_sync+0xa/0x14
 [<e2add0cb>] ftdi_close+0xc9/0xec [ftdi_sio]
 [<e2abe79d>] serial_close+0x8d/0x124 [usbserial]
 [<c028f4a2>] release_dev+0x1a6/0x441
 [<c028f822>] tty_release+0xf/0x18
 [<c0192f7d>] __fput+0x93/0x144
 [<c0190690>] filp_close+0x51/0x58
 [<c01906fe>] sys_close+0x67/0x9e
 [<c01049ad>] sysenter_do_call+0x12/0x21
 [<ffffe430>] 0xffffe430
 =======================
Code: b0 01 03 04 24 89 04 24 8b 44 24 10 39 04 24 78 07 8b 44 24 10
89 04 24 8b 04 24 83 c4 24 5b 5e 5f 5d c3 55 89 d5 57 89 c7 56 53 <8b>
5f 14 89 de 83 e6 fe 74 1f 89 f0 e8 4d 78 21 00 89 45 00 3b
EIP: [<c0132239>] lock_timer_base+0x8/0x35 SS:ESP 0068:c125fe50
---[ end trace e29443134a87c4ee ]---

So I think that we'll need to find the driver problem and get it
patched upstream. That means we'll need to generate a table of
working/non-working setups.

Paul Alfille





It works (with minor tweaking) on most platforms. On the initial test
machine (OpenSUSE with 2.6.25.20 kernel, 64bit) the driver doesn't
work. On Suse 10.2

On Wed, Jul 29, 2009 at 2:19 AM, William Brown<mahi...@earthlink.net> wrote:
> Paul
>
> Can you keep us updated about your progress with the linkusb.  I have an
> interest in using one too.
>
> Paul Alfille wrote:
>> Has anyone had success with the LinkUSB under linux?
>>
>> I just purchased one, and see this entry in dmesg:
>>
>> usb 1-2.3: new full speed USB device using uhci_hcd and address 5
>> usb 1-2.3: configuration #1 chosen from 1 choice
>> ftdi_sio 1-2.3:1.0: FTDI USB Serial Device converter detected
>> drivers/usb/serial/ftdi_sio.c: Detected FT232RL
>> usb 1-2.3: FTDI USB Serial Device converter now attached to ttyUSB0
>> usb 1-2.3: New USB device found, idVendor=0403, idProduct=6001
>> usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> usb 1-2.3: Product: FT232R USB UART
>> usb 1-2.3: Manufacturer: FTDI
>> usb 1-2.3: SerialNumber: A900a3Z7
>>
>> None the less, I can't talk even with a simple serial communication program.
>>
>> For control, I can talk to a standard LINK on /dev/ttyS0.
>>
>> uname -a:
>> Linux amd64 2.6.25.20-0.4-default #1 SMP 2009-06-01 09:57:12 +0200
>> i686 athlon i386 GNU/Linux
>>
>> Paul Alfille
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to