Re: usb-serial, ti driver loading 2 port instead of 1 port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 30, 2007 at 04:28:05PM +0000, john oliver wrote:
> Hi,
> 
> To save you reading all of this, my questions boil down to
> 
> 1) why might my EdgePort 1 port usb-serial adaptor register both 1 & 2 port
> devices.

It's not the adaptor, but the driver that supports both.

> 2) are there significant changes between kernel versions 2.4.30 and
> 2.6.15in this respect, where the earlier driver detects the 2 port
> only, and the
> latter the 1 port.

Probably, there are a _lot_ of changes between those two kernel
versions.

> details ..
> 
> I'm working with a mips based embedded board, running 2.4.31, and an Intel
> Host running 2.6.15. My Edge Port 1 USB to serial adaptor behaves
> differently on each.
> 
> PC
> ========
> When I connect the USB end to my PC, dmesg shows
> 
> drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport
> TI 1 port adapter
> drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport
> TI 2 port adapter
> [..]
> io_ti 4-2:1.0: Edgeport TI 1 port adapter converter detected

Yes, see the _driver_ says it supports both types of devices, yet only
the 1 port device was found.

So, is the device not working properly?

> The io_ti is built as a module for the PC
> 
> 
> mips board
> ===========
> I do not built it as a kernel module on this board, because I get errors
> (unresolved symbols tty_disc_ref and tty_ldisc_deref, think I need to update
> my busybox modutils), so I build them in.

That might be the problem right there, try fixing that first.

> When I connect the USB end to the board and look at dmesg I find
> 
> drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport
> TI 1 port adapter
> drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport
> TI 2 port adapter
> 
> but the 2 port adaptor has detected this time.

I don't see that in the logs.

Please show the full log messages.

Is this a little or big endian MIPS machine?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux