Download ✸✸✸ DOWNLOAD
Download Driver Mygica T119
i’ve been following the development for a few years now, but am just now getting into the details of kernel development. for the most part, i am familiar with how the kernel works and how to write a driver, but was not sure how well the driver would run on the platform. i have my doubts, but i don’t want to test it with my hardware if it’s not going to work properly.
when an unmodified linux kernel is started, it executes the built-in device drivers, so i assumed the mygica driver would be loaded automatically. that was not the case. according to the driver source, the device can be automatically loaded by the kernel if the config_usb_tusb30 = m, and the user space library tusb30 is linked, so i decided to see if i could get the driver running.
on the menu where a usb device is plugged in, one can check the vendor and product ids and easily tell which device the driver is intended to handle. i didn’t have the device connected to the pc at the time, so i fired up my android and connected the device (via usb otg cable) to the phone, and started the app. the device was listed in the list, and when the app was started, it tried to open the file /dev/tusb30/ttyusb0. that’s what the program was trying to do, but the driver had no device with that name. the driver would later try to open the file /dev/ttyusb0.
it seems that the driver needs to be compiled with the config_usb_tusb30=m at build time. by default, the driver is built with that support, but this can be disabled by building the driver without that option and it should work. there are some other configuration options that can be set at build time. i chose to see what would happen if those were enabled as well.