Device Drivers for System on Chip (SOC)
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to read the GPS data from my android phone inside the kernel space. The approach I am taking is to write a device driver for my GPS and request data through it. But unlike external devices I could not find the Vendor Id and device Id of the GPS hardware or the SOC on which it is installed.How to collect the details required for writing the driver?
Edit: I am using Pixel 2, which has Snapdragon 835, msm8995 chipset on which GPS is installed.
linux-kernel drivers proprietary-drivers
New contributor
add a comment |
up vote
0
down vote
favorite
I want to read the GPS data from my android phone inside the kernel space. The approach I am taking is to write a device driver for my GPS and request data through it. But unlike external devices I could not find the Vendor Id and device Id of the GPS hardware or the SOC on which it is installed.How to collect the details required for writing the driver?
Edit: I am using Pixel 2, which has Snapdragon 835, msm8995 chipset on which GPS is installed.
linux-kernel drivers proprietary-drivers
New contributor
On many phones, the GPS runs on a DSP-coprocessor, and the proprietary "OS" on the coprocessor(s) sends the data to the main CPU on request. So there won't be a specific device, you'll have to reverse engineer the proprietary firmware drivers for your specific brand of phone to find out how to access it. Yes, this situation is bad for people who want to write drivers...
– dirkt
Nov 19 at 6:59
Thanks for the reply. One clarification, please. So when you say "there won't be a specific device", are you saying there is no GPS hardware device? As much I understood about the DSP, there must be some hardware which is sensing the signal from the satellites and the DSP coprocessor is manipulating it. In which case this hardware could be the GPS device. Is this correct? Also please check my edited ques. I am using the Pixel 2 in which I believe there is a GPS installed on the chipset. Can you tell something about writing driver for this chipset GPS?
– Shashank shekhar Dubey
Nov 19 at 9:36
By "there won't be a specific device" I mean "you won't find an USB etc. device with vendor/device ID". There will be a GPS antenna (possibly integrated in the Wifi/Mobile antenna), an amplifier block, and a connection to an otherwise inaccessible DSP (likely a Hexagon-type DSP), but you won't see any of those from the main CPU. What you will see from the main CPU is a connection to the DSP, which will use some protocol to query the OS running on the DSP for GPS data. So you have to find out where this connection is, and use it.
– dirkt
Nov 19 at 10:55
I've tried to do the same for my phone (earlier Snapdragon), but it's not easy ... and I didn't invest enough time to find out enough details to use it.
– dirkt
Nov 19 at 10:57
ok..i got that. Thanks. I am new to these topics, can you suggest any useful resources for reading about SOC architecture and DSP processor.
– Shashank shekhar Dubey
Nov 19 at 11:34
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to read the GPS data from my android phone inside the kernel space. The approach I am taking is to write a device driver for my GPS and request data through it. But unlike external devices I could not find the Vendor Id and device Id of the GPS hardware or the SOC on which it is installed.How to collect the details required for writing the driver?
Edit: I am using Pixel 2, which has Snapdragon 835, msm8995 chipset on which GPS is installed.
linux-kernel drivers proprietary-drivers
New contributor
I want to read the GPS data from my android phone inside the kernel space. The approach I am taking is to write a device driver for my GPS and request data through it. But unlike external devices I could not find the Vendor Id and device Id of the GPS hardware or the SOC on which it is installed.How to collect the details required for writing the driver?
Edit: I am using Pixel 2, which has Snapdragon 835, msm8995 chipset on which GPS is installed.
linux-kernel drivers proprietary-drivers
linux-kernel drivers proprietary-drivers
New contributor
New contributor
edited yesterday
Rui F Ribeiro
38.2k1475123
38.2k1475123
New contributor
asked Nov 19 at 1:55
Shashank shekhar Dubey
11
11
New contributor
New contributor
On many phones, the GPS runs on a DSP-coprocessor, and the proprietary "OS" on the coprocessor(s) sends the data to the main CPU on request. So there won't be a specific device, you'll have to reverse engineer the proprietary firmware drivers for your specific brand of phone to find out how to access it. Yes, this situation is bad for people who want to write drivers...
– dirkt
Nov 19 at 6:59
Thanks for the reply. One clarification, please. So when you say "there won't be a specific device", are you saying there is no GPS hardware device? As much I understood about the DSP, there must be some hardware which is sensing the signal from the satellites and the DSP coprocessor is manipulating it. In which case this hardware could be the GPS device. Is this correct? Also please check my edited ques. I am using the Pixel 2 in which I believe there is a GPS installed on the chipset. Can you tell something about writing driver for this chipset GPS?
– Shashank shekhar Dubey
Nov 19 at 9:36
By "there won't be a specific device" I mean "you won't find an USB etc. device with vendor/device ID". There will be a GPS antenna (possibly integrated in the Wifi/Mobile antenna), an amplifier block, and a connection to an otherwise inaccessible DSP (likely a Hexagon-type DSP), but you won't see any of those from the main CPU. What you will see from the main CPU is a connection to the DSP, which will use some protocol to query the OS running on the DSP for GPS data. So you have to find out where this connection is, and use it.
– dirkt
Nov 19 at 10:55
I've tried to do the same for my phone (earlier Snapdragon), but it's not easy ... and I didn't invest enough time to find out enough details to use it.
– dirkt
Nov 19 at 10:57
ok..i got that. Thanks. I am new to these topics, can you suggest any useful resources for reading about SOC architecture and DSP processor.
– Shashank shekhar Dubey
Nov 19 at 11:34
add a comment |
On many phones, the GPS runs on a DSP-coprocessor, and the proprietary "OS" on the coprocessor(s) sends the data to the main CPU on request. So there won't be a specific device, you'll have to reverse engineer the proprietary firmware drivers for your specific brand of phone to find out how to access it. Yes, this situation is bad for people who want to write drivers...
– dirkt
Nov 19 at 6:59
Thanks for the reply. One clarification, please. So when you say "there won't be a specific device", are you saying there is no GPS hardware device? As much I understood about the DSP, there must be some hardware which is sensing the signal from the satellites and the DSP coprocessor is manipulating it. In which case this hardware could be the GPS device. Is this correct? Also please check my edited ques. I am using the Pixel 2 in which I believe there is a GPS installed on the chipset. Can you tell something about writing driver for this chipset GPS?
– Shashank shekhar Dubey
Nov 19 at 9:36
By "there won't be a specific device" I mean "you won't find an USB etc. device with vendor/device ID". There will be a GPS antenna (possibly integrated in the Wifi/Mobile antenna), an amplifier block, and a connection to an otherwise inaccessible DSP (likely a Hexagon-type DSP), but you won't see any of those from the main CPU. What you will see from the main CPU is a connection to the DSP, which will use some protocol to query the OS running on the DSP for GPS data. So you have to find out where this connection is, and use it.
– dirkt
Nov 19 at 10:55
I've tried to do the same for my phone (earlier Snapdragon), but it's not easy ... and I didn't invest enough time to find out enough details to use it.
– dirkt
Nov 19 at 10:57
ok..i got that. Thanks. I am new to these topics, can you suggest any useful resources for reading about SOC architecture and DSP processor.
– Shashank shekhar Dubey
Nov 19 at 11:34
On many phones, the GPS runs on a DSP-coprocessor, and the proprietary "OS" on the coprocessor(s) sends the data to the main CPU on request. So there won't be a specific device, you'll have to reverse engineer the proprietary firmware drivers for your specific brand of phone to find out how to access it. Yes, this situation is bad for people who want to write drivers...
– dirkt
Nov 19 at 6:59
On many phones, the GPS runs on a DSP-coprocessor, and the proprietary "OS" on the coprocessor(s) sends the data to the main CPU on request. So there won't be a specific device, you'll have to reverse engineer the proprietary firmware drivers for your specific brand of phone to find out how to access it. Yes, this situation is bad for people who want to write drivers...
– dirkt
Nov 19 at 6:59
Thanks for the reply. One clarification, please. So when you say "there won't be a specific device", are you saying there is no GPS hardware device? As much I understood about the DSP, there must be some hardware which is sensing the signal from the satellites and the DSP coprocessor is manipulating it. In which case this hardware could be the GPS device. Is this correct? Also please check my edited ques. I am using the Pixel 2 in which I believe there is a GPS installed on the chipset. Can you tell something about writing driver for this chipset GPS?
– Shashank shekhar Dubey
Nov 19 at 9:36
Thanks for the reply. One clarification, please. So when you say "there won't be a specific device", are you saying there is no GPS hardware device? As much I understood about the DSP, there must be some hardware which is sensing the signal from the satellites and the DSP coprocessor is manipulating it. In which case this hardware could be the GPS device. Is this correct? Also please check my edited ques. I am using the Pixel 2 in which I believe there is a GPS installed on the chipset. Can you tell something about writing driver for this chipset GPS?
– Shashank shekhar Dubey
Nov 19 at 9:36
By "there won't be a specific device" I mean "you won't find an USB etc. device with vendor/device ID". There will be a GPS antenna (possibly integrated in the Wifi/Mobile antenna), an amplifier block, and a connection to an otherwise inaccessible DSP (likely a Hexagon-type DSP), but you won't see any of those from the main CPU. What you will see from the main CPU is a connection to the DSP, which will use some protocol to query the OS running on the DSP for GPS data. So you have to find out where this connection is, and use it.
– dirkt
Nov 19 at 10:55
By "there won't be a specific device" I mean "you won't find an USB etc. device with vendor/device ID". There will be a GPS antenna (possibly integrated in the Wifi/Mobile antenna), an amplifier block, and a connection to an otherwise inaccessible DSP (likely a Hexagon-type DSP), but you won't see any of those from the main CPU. What you will see from the main CPU is a connection to the DSP, which will use some protocol to query the OS running on the DSP for GPS data. So you have to find out where this connection is, and use it.
– dirkt
Nov 19 at 10:55
I've tried to do the same for my phone (earlier Snapdragon), but it's not easy ... and I didn't invest enough time to find out enough details to use it.
– dirkt
Nov 19 at 10:57
I've tried to do the same for my phone (earlier Snapdragon), but it's not easy ... and I didn't invest enough time to find out enough details to use it.
– dirkt
Nov 19 at 10:57
ok..i got that. Thanks. I am new to these topics, can you suggest any useful resources for reading about SOC architecture and DSP processor.
– Shashank shekhar Dubey
Nov 19 at 11:34
ok..i got that. Thanks. I am new to these topics, can you suggest any useful resources for reading about SOC architecture and DSP processor.
– Shashank shekhar Dubey
Nov 19 at 11:34
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Shashank shekhar Dubey is a new contributor. Be nice, and check out our Code of Conduct.
Shashank shekhar Dubey is a new contributor. Be nice, and check out our Code of Conduct.
Shashank shekhar Dubey is a new contributor. Be nice, and check out our Code of Conduct.
Shashank shekhar Dubey is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482649%2fdevice-drivers-for-system-on-chip-soc%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
On many phones, the GPS runs on a DSP-coprocessor, and the proprietary "OS" on the coprocessor(s) sends the data to the main CPU on request. So there won't be a specific device, you'll have to reverse engineer the proprietary firmware drivers for your specific brand of phone to find out how to access it. Yes, this situation is bad for people who want to write drivers...
– dirkt
Nov 19 at 6:59
Thanks for the reply. One clarification, please. So when you say "there won't be a specific device", are you saying there is no GPS hardware device? As much I understood about the DSP, there must be some hardware which is sensing the signal from the satellites and the DSP coprocessor is manipulating it. In which case this hardware could be the GPS device. Is this correct? Also please check my edited ques. I am using the Pixel 2 in which I believe there is a GPS installed on the chipset. Can you tell something about writing driver for this chipset GPS?
– Shashank shekhar Dubey
Nov 19 at 9:36
By "there won't be a specific device" I mean "you won't find an USB etc. device with vendor/device ID". There will be a GPS antenna (possibly integrated in the Wifi/Mobile antenna), an amplifier block, and a connection to an otherwise inaccessible DSP (likely a Hexagon-type DSP), but you won't see any of those from the main CPU. What you will see from the main CPU is a connection to the DSP, which will use some protocol to query the OS running on the DSP for GPS data. So you have to find out where this connection is, and use it.
– dirkt
Nov 19 at 10:55
I've tried to do the same for my phone (earlier Snapdragon), but it's not easy ... and I didn't invest enough time to find out enough details to use it.
– dirkt
Nov 19 at 10:57
ok..i got that. Thanks. I am new to these topics, can you suggest any useful resources for reading about SOC architecture and DSP processor.
– Shashank shekhar Dubey
Nov 19 at 11:34