mtk_t7xx driver commands question

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
brcisna
Posts: 55
Joined: 2019-08-06 23:30
Has thanked: 6 times
Been thanked: 2 times

mtk_t7xx driver commands question

#1 Post by brcisna »

Debian 13

Code: Select all

uname -a
Linux server3 6.11.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23) x86_64 GNU/Linux
Have a Fibocom FM350-GL cellular modem working with for the first time.
With the native mtk_t7xx driver we get the following driver

Code: Select all

lsmod |grep t7xx
mtk_t7xx              147456  0
wwan                   28672  5 mtk_t7xx
  
the modem works great through ModemManager & NetworkManager and udev generates the following character devices

Code: Select all

  ls -l /dev/wwan*
crw------- 1 root root 245, 0 Dec 13 22:11 /dev/wwan0at0
crw------- 1 root root 245, 1 Dec 13 22:11 /dev/wwan0mbim0 
Can run AT commands through the /dev/wwan0at0 interface

After finding this documentation on this driver, which is pretty recent by the way. Am wanting to expose the adb & mipc ports to try and update firmware through these interfaces. All the software for these are very much Windows centric.
https://docs.kernel.org/networking/devi ... /t7xx.html
When i run the cat command suggested here in the linked documentation the devices are never found which when browsing they do not exist on this system.
When i do a 'locate t7xx' i never find anything such as t7xx shown ,other than the actual kernel module . Am probably misunderstanding what is shown in the documentation

Code: Select all

 0c:00.0 Wireless controller [0d40]: MEDIATEK Corp. T700 5G Modem [5G Solution 5000] (rev 01)
	Subsystem: Hewlett-Packard Company Device 8914
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0, IOMMU group 57
	Memory at 33ff1000000 (64-bit, prefetchable) [size=32K]
	Memory at f3000000 (64-bit, non-prefetchable) [size=8M]
	Memory at 33ff0800000 (64-bit, prefetchable) [size=8M]
	Capabilities: <access denied>
	Kernel driver in use: mtk_t7xx
	Kernel modules: mtk_t7xx
  
How do i figure out how to locate this device in sys to run the commands mentioned in the t7xx documentation,,,,,,,,in simple terms,,for a simple minded person :)

TIA

Aki
Global Moderator
Global Moderator
Posts: 4056
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 113 times
Been thanked: 535 times

Re: mtk_t7xx driver commands question

#2 Post by Aki »

Hello,
brcisna wrote: 2024-12-14 16:27 Debian 13
[..]
With the native mtk_t7xx driver we get the following driver

Code: Select all

lsmod |grep t7xx
mtk_t7xx              147456  0
wwan                   28672  5 mtk_t7xx
[..]
When i do a 'locate t7xx' i never find anything such as t7xx shown, other than the actual kernel module
[..]
How do i figure out how to locate this device in sys
[..]
You can probably use the find command: Hope this helps.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
sunrat
Site admin
Site admin
Posts: 7451
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 134 times
Been thanked: 665 times

Re: mtk_t7xx driver commands question

#3 Post by sunrat »

Moved to Testing and Unstable
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Aki
Global Moderator
Global Moderator
Posts: 4056
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 113 times
Been thanked: 535 times

Re: mtk_t7xx driver commands question

#4 Post by Aki »

Hello @brcisna,

Have you sorted it out ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply