Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help on USB serial, TUSB3410 and custom devices

3 views
Skip to first unread message

Peter Hull

unread,
May 21, 2008, 11:29:35 AM5/21/08
to
Please can someone help me with finding some information on the
following topic:

I have a custom device which communicates via USB. It has a TI
TUSB3410 but with a different VID and PID (i.e. not the default Texas
Instruments ones). I know there is already a USB-to-serial driver in
the kernel for this chip which would do all I need but is it possible
to tell the kernel to associate this driver with our device? I would
then need it to run a hotplug script to set up the link to a user-
space application.

I think this would be an easy question for someone but I just can't
find a site with the appropriate information,

Thanks in advance

peter

Mark T.B. Carroll

unread,
May 21, 2008, 11:31:44 AM5/21/08
to
Peter Hull <peter...@gmail.com> writes:

> I have a custom device which communicates via USB. It has a TI
> TUSB3410 but with a different VID and PID (i.e. not the default Texas
> Instruments ones). I know there is already a USB-to-serial driver in
> the kernel for this chip which would do all I need but is it possible
> to tell the kernel to associate this driver with our device? I would
> then need it to run a hotplug script to set up the link to a user-
> space application.
>
> I think this would be an easy question for someone but I just can't
> find a site with the appropriate information,

Someone will have a better answer for you, but -

One thing that I've sometimes successfully done is look in the source
code for the device driver and found a list of device IDs it looks for
and added the extra device to that list, or substituted it for one of
the others I didn't care about, then recompiled and used that version.

Mark

Peter Hull

unread,
May 25, 2008, 5:18:13 PM5/25/08
to
I think I might have found something:
http://gate.brimson.com/downloads/ti_usb_2.6_release_notes-1.1.txt
in section 5 it talks about using different PIDs and VIDs.
It looks like the best approach would be to copy the existing driver
and substitute my IDs, like you said.
I've set up my device in OS X already and it's much easier on that
system. I just used the IO Kit to register for notifications when my
device was added and removed; no kernel or device drivers to worry
about!

Pete

On May 21, 4:31 pm, "Mark T.B. Carroll" <Mark.Carr...@Aetion.com>
wrote:

0 new messages