Jump to content
5 posts in this topic

Recommended Posts

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. :unsure:

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 by Khashoggi

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.

  • 2 weeks later...
×
×
  • Create New...