Re: Help on USB serial, TUSB3410 and custom devices



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...@xxxxxxxxxx>
wrote:
Peter Hull <peterhul...@xxxxxxxxx> 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

.



Relevant Pages

  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • two scary syslog kernel messages
    ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
    (Debian-User)
  • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
    ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
    (Linux-Kernel)