olegk0 / rk3188-kernel

Other
0 stars 0 forks source link

/dev/ttyACM kernel module for USB modem on K-R42 media player. #1

Open nmr50 opened 4 years ago

nmr50 commented 4 years ago

Hello Oleg! I'm using your dx05_nand_debian_1.1.1.img on Kingnovel K-R42 media player, and not a long time ago I decided to make this r42 device as phone spammers' block host.

I did found .pl script that is working nice on the notebook with USRrobotics USR5637 USB modem, but when I attach this USB modem to my r42 I cannot find /dev/ttyACM, 'tho modem is being recognized: [Mon Dec 9 11:15:08 2019] usb 2-1.2: new high speed USB device number 15 using usb20_host [Mon Dec 9 11:15:08 2019] usb 2-1.2: New USB device found, idVendor=0baf, idProduct=0303 [Mon Dec 9 11:15:08 2019] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=10 [Mon Dec 9 11:15:08 2019] usb 2-1.2: Product: USB Modem [Mon Dec 9 11:15:08 2019] usb 2-1.2: Manufacturer: U.S.Robotics [Mon Dec 9 11:15:08 2019] usb 2-1.2: SerialNumber: 0000002

dmesg -T is showing this: crw-rw---- 1 root tty 4, 5 2019-10-29 16:13 tty5 crw-rw---- 1 root tty 4, 6 2019-12-09 11:18 tty6 crw-rw-rwT 1 root root 5, 0 2019-12-09 11:18 tty crw-rw-rwT 1 root root 5, 2 2019-12-09 11:18 ptmx -- As you can see - no ttyACM device is created after USB modem was attached.

What I found about this ttyACM0 on ubuntu forums: The ttyACM0 device comes from a CDC modem interface. Unless it's compiled in your kernel you probably wont see the ttyACM0 devices.

Can you - PLEASE - make new version of dx05_nand_debian_1.1.1.img with mentioned "CDC modem interface", and - if its possible - with updated debian to the version 10, with fresh kernel number etc ?

Or - maybe there exists a simple way to compile only "CDC modem interface" module and put it to kernel folder, to let linux know about this module, so I can get /dev/ttyACM without recompiling all the stuff ?

Thanks in advance! Благодарю заранее!:) -t

olegk0 commented 4 years ago

Hello You are mistaken, I did not build image dx05_nand_debian_1.1.1.img And for a long time I did not deal with this kernel. Sorry.