Hello there.
I’m struggling with configuring drivers on Ubuntu for AG35.
From the scrap it don’t want to communicate properly (on windows everything is fine). As I can see, the main issue is that Ubuntu doesn’t assigns drivers to interfaces as lsusb -t returns me:
|__ Port 004: Dev 010, If 0, Class=[unknown], Driver=rndis_host, 480M
|__ Port 004: Dev 010, If 1, Class=[unknown], Driver=rndis_host, 480M
|__ Port 004: Dev 010, If 2, Class=[unknown], Driver=[none], 480M
|__ Port 004: Dev 010, If 3, Class=[unknown], Driver=[none], 480M
|__ Port 004: Dev 010, If 4, Class=[unknown], Driver=[none], 480M
|__ Port 004: Dev 010, If 5, Class=[unknown], Driver=cdc_acm, 480M
|__ Port 004: Dev 010, If 6, Class=[unknown], Driver=cdc_acm, 480M
|__ Port 004: Dev 010, If 7, Class=[unknown], Driver=[none], 480M
|__ Port 004: Dev 010, If 8, Class=[unknown], Driver=[none], 480M
After a bit of testing, it turned out that I need to make interface number 8 to use usbfs driver and some of the others to use option driver. So, basically if I do:
adb shell
exit
And then
sudo modprobe option
echo '2c7c 600a' | sudo tee -a /sys/bus/usb-serial/drivers/option1/new_id > /dev/null
It starts to work the way I need it (I can communicate via screen or sscom and use adb). But it’s a bit of hassle to do every time when I restart Ubuntu. Is there any other way? Am I missing something, perhaps? Or can I automate it somehow?