Modify USB driver for fixed tty port mapping

From: Simon Wu (simonwu_at_nortelnetworks.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 16:59:33 -0500

Hello,

I need to connect 16 USB modems on the same PC. Due to USB tty port mapping
is dynamic, I often don't know which modem has which ttyUSB or ttyACM port.

Therefore, I want to modify the kernel's USB driver to achieve fixed
mapping.

Can anyone point me to any kernel development book webpage on how to
open/read/write to a file in the kernel? I plan to put the fixed port
mapping in a config file and have kernel read from it.

Thanks,

Simon



Relevant Pages

  • usb_insert_transfer panic with if_zyd
    ... When I use my ZyXEL G-220 Wireless USB Stick with the if_zyd driver, ... <ACPI PCI bus> on pcib0 ... device problem, disabling port 1 ... <Ethernet over FireWire> on firewire0 ...
    (freebsd-current)
  • 2.6.10-rc1 & ahci & IHC6R & 925X & raid1
    ... usb modules for console, usb keyboard, network and starting a shell. ... ACPI: PM-Timer IO Port: 0x808 ... PCI: PCI BIOS revision 2.10 entry at 0xfb768, ... usbcore: registered new driver hub ...
    (Linux-Kernel)
  • usb does not work on vias smp mainboard
    ... I installed kernel 2.4.21 on an via's mainboard, it seems that the usb ... number of MP IRQ sources: ... PCI Interrupt Link ... Port indicators are not supported ...
    (Linux-Kernel)
  • Boot time Bluetooth BUG: warning: (value > m) at hid-core.c:793
    ... When the USB reciever is already plugged-in at boot-time and the ... hub 2-2:1.0: USB hub found ... Interface Descriptor: ... Hub Port Status: ...
    (Linux-Kernel)
  • USB BADPAD Quirk broken again
    ... PCI: PCI BIOS revision 2.10 entry at 0xfb240, ... Uniform Multi-Platform E-IDE driver Revision: ... usb.c: new USB bus registered, ... Port indicators are not supported ...
    (Linux-Kernel)