FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - Superboy

Pages: [1]
1
Discussion - Drivers / Re: VCP driver on macOS 11
« on: November 28, 2020, 07:03:11 PM »
FYI also to this thread: I've tried to ask in Apple forums whether it would be possible to somehow utilize Apple's dext driver for FTDI devices with custom PID, but haven't got any answers...  :(

https://developer.apple.com/forums/thread/659891

I'm pretty sure I read somewhere you can subclass the Apple driver with a VIP/PID of your own and the Apple driver will load. I can't help you with exactly how though I'm afraid!

2
Discussion - Drivers / Re: VCP driver on macOS 11
« on: November 28, 2020, 07:01:22 PM »
Hello,

Thanks for the details.
Just to confirm you are seeing this error only on big sur with the inbuilt apple driver?

Best Regards,
FTDI Community


Yes, I can't load the FTDI driver at all.

I reinstalled Big Sur and initially it worked, but it has broken again. I think it may have something to do with VMWare Fusion, as it seemed to break when that was running. However I have since deleted all traces of Fusion (including kexts) and the problem persists.

The attachment shows the message that it has loaded the driver but then trying to access the serial ports with
Code: [Select]
screen again shows
Code: [Select]
SetTTY (fd 5): ioctl failed: Invalid argument.

Quite often attaching the FT2232 results in an enumeration error shown in the second attachment. Does Apple write their driver independently of yourselves? If so, i'll submit a big report to them.

Thanks.

3
Discussion - Drivers / Re: VCP driver on macOS 11
« on: November 23, 2020, 02:49:31 PM »
Thanks for the reply.

I'm using a FT2232HL, and the Apple driver returns "SetTTY (fd 5): ioctl failed: Invalid argument" when trying to use channel 0 with screen, and a similar error through Python:


Code: [Select]
File "/Users/user/.espressif/python_env/idf4.2_py3.9_env/lib/python3.9/site-packages/serial/serialposix.py", line 272, in open
    self._reconfigure_port(force_update=True)
File "/Users/user/.espressif/python_env/idf4.2_py3.9_env/lib/python3.9/site-packages/serial/serialposix.py", line 435, in _reconfigure_port
    termios.tcsetattr(
termios.error: (22, 'Invalid argument')

Strangely, trying to use channel 1 sometimes doesn't report an error though I can't test whether serial actually works as its pins aren't exposed appropriately on this board - they're usually for JTAG.

Another reason I need the FTDI drivers too is so that I can edit the Info.plist and prevent the serial driver from being loaded on the JTAG channel. A workaround before was to unload the Apple (and FTDI) driver, start the debugger and load the driver - which prevents the driver enumerating the JTAG channel. Loading and unloading the Apple dext seems to be unreliable at best right now, and even then it doesn't help with the ioctl error.

4
Discussion - Drivers / Re: VCP driver on macOS 11
« on: November 23, 2020, 02:51:52 AM »
It is now 5 months since the first developer beta of Big Sur, why is there still no updated driver? Can there be at least an update on how far along it is, 10%? 90%?

Pages: [1]