Ferret-Simpson Posted January 22, 2007 Share Posted January 22, 2007 In linux, serial ports that are not automatically detacted can be configured by the setserial command if you already know the address and irq. setserial /dev/ttyS0 port 0x0220 irq 4 autoconfigure Sets the /dev/ttyS0 to port address 0x220 irq 4, automatically choosing port type (16550 etc) I am already aware that there is no setserial in Darwin/MacOS X, but I NEED to configure the internal port. No, an external USB adaptor is NOT an option. Is there a way to modify the system to add a "Setserial" command, or any similar command or other way to achieve the same result? (Configuring a serial port address to an internal port number and IRQ? I don't want a no. Link to comment https://www.insanelymac.com/forum/topic/39550-internal-non-recognised-serial-ports/ Share on other sites More sharing options...
Khashoggi Posted January 23, 2007 Share Posted January 23, 2007 (edited) Go to the /system/library/extensions directory and find the Apple16x50Serial.kext. Edit the plist inside to correspond to the correct port address setting and the correct vendor/id's. If it is a standard 16x50 uart serial interface the port should be activated when you load the kext or reboot. Edited January 23, 2007 by Khashoggi Link to comment https://www.insanelymac.com/forum/topic/39550-internal-non-recognised-serial-ports/#findComment-282397 Share on other sites More sharing options...
Ferret-Simpson Posted January 24, 2007 Author Share Posted January 24, 2007 There were two plist files inside the kext: info.plist and version.plist I'll say it, I had a look through the code and neither of them seemed to deal with hardware vendor id's or ports. . . There were two "Plugin" kexts inside the package aswell, I didn't have a chance to look in those, might it be possible that they do the dirty work? So far I've managed to track down the VID for Wacom: 056a Add that to the 0x220 port and IRQ and all I seem to be missing is the PID and a place to put them. PID is possibly F004 but I can't say for certain. Link to comment https://www.insanelymac.com/forum/topic/39550-internal-non-recognised-serial-ports/#findComment-283290 Share on other sites More sharing options...
paringas Posted February 3, 2007 Share Posted February 3, 2007 Any news on the subject. Possible to add entries like, say, IOPort to the kext to get irq/port number sorted? or you need to recompile the actual driver's binary with the right settings? Link to comment https://www.insanelymac.com/forum/topic/39550-internal-non-recognised-serial-ports/#findComment-292374 Share on other sites More sharing options...
Ferret-Simpson Posted February 7, 2007 Author Share Posted February 7, 2007 Should I even ask why you're posting in here? Yours already works! Link to comment https://www.insanelymac.com/forum/topic/39550-internal-non-recognised-serial-ports/#findComment-296292 Share on other sites More sharing options...
Recommended Posts