gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: gpsd-dev Digest, Vol 136, Issue 8


From: Kuo, Danny
Subject: RE: gpsd-dev Digest, Vol 136, Issue 8
Date: Fri, 24 Feb 2023 04:47:05 +0000

Hi Gary and Team,

Looks like the github send out email in different time ordering, so I copy and 
answer Gary's question here:

What kind of Linux drivers use major device numbers 238 or 510?
Ans: I am not quit sure, maybe it is a proprietary number from Intel driver 
develop team, if below information not able to tell I will add driver developer 
into this discussion thread.

Do you know the driver name for those?
Ans: this is Intel E810 Ethernet chip which use "ice" driver, you can download 
from link https://sourceforge.net/projects/e1000/files/ice%20stable/
The latest version is ice-1.11.14

Maybe the lshw I asked for will help explain that.
Ans: info from lshw you can keep as record, it is 4 port NIC
# lshw -C network -businfo | grep E810-C
pci@0000:86:00.0  ens4f0        network        Ethernet Controller E810-C for 
SFP
pci@0000:86:00.1  ens4f1        network        Ethernet Controller E810-C for 
SFP
pci@0000:86:00.2  ens4f2        network        Ethernet Controller E810-C for 
SFP
pci@0000:86:00.3  ens4f3        network        Ethernet Controller E810-C for 
SFP

Since we know the E810 is a network card, with no GNSS on it, what is the 
device you are really working on?
Ans: E810 is controller name while there are lot of sku for different speed and 
purpose(datacenter or edge), the one with GNSS is "E810-XXV-4T", the "T" means 
time sync NIC. See below lspci output
And the product details you can download from 
https://www.intel.com/content/www/us/en/products/sku/211608/intel-ethernet-network-adapter-e810xxvda4t/specifications.html

# lspci -vvs 0000:86:00.0 | head -2
86:00.0 Ethernet controller: Intel Corporation Ethernet Controller E810-C for 
SFP (rev 02)
        Subsystem: Intel Corporation Ethernet Network Adapter E810-XXV-4T

BR
Danny

-----Original Message-----
From: gpsd-dev-bounces+danny.kuo=intel.com@nongnu.org 
<gpsd-dev-bounces+danny.kuo=intel.com@nongnu.org> On Behalf Of 
gpsd-dev-request@nongnu.org
Sent: Friday, February 24, 2023 8:27 AM
To: gpsd-dev@nongnu.org
Subject: gpsd-dev Digest, Vol 136, Issue 8

Send gpsd-dev mailing list submissions to
        gpsd-dev@nongnu.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/gpsd-dev
or, via email, send a message with subject or body 'help' to
        gpsd-dev-request@nongnu.org

You can reach the person managing the list at
        gpsd-dev-owner@nongnu.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of gpsd-dev digest..."


Today's Topics:

   1. Re: Request new serial name support for ubxtool and
      pygpsclient (Gary E. Miller)
   2. Re: Request new serial name support for ubxtool and
      pygpsclient (Gary E. Miller)
   3. Re: Request new serial name support for ubxtool and
      pygpsclient (Greg Troxel)
   4. RE: Request new serial name support for ubxtool and
      pygpsclient (Kuo, Danny)
   5. Re: Request new serial name support for ubxtool and
      pygpsclient (Gary E. Miller)


----------------------------------------------------------------------

Message: 1
Date: Thu, 23 Feb 2023 15:26:25 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Subject: Re: Request new serial name support for ubxtool and
        pygpsclient
Message-ID: <20230223152625.6b336206@spidey.rellim.com>
Content-Type: text/plain; charset="utf-8"

Yo Danny!

On Thu, 23 Feb 2023 23:04:01 +0000
"Kuo, Danny" <danny.kuo@intel.com> wrote:

> Thank for look into this issue, below compare two file difference, I 
> add stty command output, let me know if it help.
> 
> New driver/serial name:
> [cid:image002.png@01D9481E.27E52E10]
> 
> Original driver/serial name:
> [cid:image003.png@01D9481D.241C5BB0]

As Greg said, images are not helpful.  Cut and paste please.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: 
<https://lists.nongnu.org/archive/html/gpsd-dev/attachments/20230223/271c75fb/attachment.sig>

------------------------------

Message: 2
Date: Thu, 23 Feb 2023 15:31:39 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Subject: Re: Request new serial name support for ubxtool and
        pygpsclient
Message-ID: <20230223153139.264e4855@spidey.rellim.com>
Content-Type: text/plain; charset="utf-8"

Yo Danny!

On Thu, 23 Feb 2023 23:25:16 +0000
"Kuo, Danny" <danny.kuo@intel.com> wrote:

> New driver/serial name:
> [root@NGSNEXHPN06 ~]# ls -l /dev/gnss*
> crw-rw-rw- 1 root root 238, 0 Feb 24 07:00 /dev/gnss0
> [root@NGSNEXHPN06 ~]#
> [root@NGSNEXHPN06 ~]# file /dev/gnss0
> /dev/gnss0: character special (238/0)
> 
> Original driver/serial name:
> [root@NGSNEXHPN06 ~]# ls -l /dev/ttyGNSS*
> crw-rw---- 1 root dialout 510, 0 Feb 24 07:21 /dev/ttyGNSS_5e00
> [root@NGSNEXHPN06 ~]#
> [root@NGSNEXHPN06 ~]# file /dev/ttyGNSS_5e00
> /dev/ttyGNSS_5e00: character special (510/0)

What kind of Linux drivers use major device numbers 238 or 510?

Do you know the driver name for those?

Maybe the lshw I asked for will help explain that.

If not, we'll have to di into the dmesg output.

Since we know the E810 is a network card, with no GNSS on it, what is the 
device you are really working on?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: 
<https://lists.nongnu.org/archive/html/gpsd-dev/attachments/20230223/6f18e352/attachment.sig>

------------------------------

Message: 3
Date: Thu, 23 Feb 2023 18:43:53 -0500
From: Greg Troxel <gdt@lexort.com>
To: "Kuo, Danny" <danny.kuo@intel.com>
Cc: Frank Nicholas <frank@nicholasfamilycentral.com>,
        "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Subject: Re: Request new serial name support for ubxtool and
        pygpsclient
Message-ID: <rmi4jrc2bie.fsf@s1.lexort.com>
Content-Type: text/plain

"Kuo, Danny" <danny.kuo@intel.com> writes:

> Sorry the image not pass correctly, I resend the file status with text 
> format,

They arrived.  It was just that my MUA does not display them as I choose to 
read messages in plain text.  Thanks for accomodating how I do things, and also 
any members of the list with visual impairments.

> New driver/serial name:
> [root@NGSNEXHPN06 ~]# ls -l /dev/gnss*
> crw-rw-rw- 1 root root 238, 0 Feb 24 07:00 /dev/gnss0
> [root@NGSNEXHPN06 ~]#
> [root@NGSNEXHPN06 ~]# file /dev/gnss0
> /dev/gnss0: character special (238/0)
>
> Original driver/serial name:
> [root@NGSNEXHPN06 ~]# ls -l /dev/ttyGNSS*
> crw-rw---- 1 root dialout 510, 0 Feb 24 07:21 /dev/ttyGNSS_5e00
> [root@NGSNEXHPN06 ~]#
> [root@NGSNEXHPN06 ~]# file /dev/ttyGNSS_5e00
> /dev/ttyGNSS_5e00: character special (510/0)

As Gary said, you need to find out what drivers do those, and to see if they 
work, separately from gpsd.  Perhaps kermit, or some other terminal program.
Or you can run gpsd with high debug levels, after getting used to it with a 
normal USB-attached receiver.



------------------------------

Message: 4
Date: Fri, 24 Feb 2023 00:19:09 +0000
From: "Kuo, Danny" <danny.kuo@intel.com>
To: Greg Troxel <gdt@lexort.com>
Cc: Frank Nicholas <frank@nicholasfamilycentral.com>,
        "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Subject: RE: Request new serial name support for ubxtool and
        pygpsclient
Message-ID:
        
<DS0PR11MB6445A47D08F834E3036C8422ECA89@DS0PR11MB6445.namprd11.prod.outlook.com>
        
Content-Type: text/plain; charset="us-ascii"

Hi team,

Thanks for comments, Intel did few debug already, 1. with "-p" flag on gpsd cli 
the gpsd can access to the device /dev/gnss*. But the "-p" flag is not 
necessary to old driver on /dev/ttyGNSS* 2. with "-p" on gpsd, the ubxtool can 
work 3. some APIs like stty, gpsctl, gpsmon shows ioctl error, this is not 
happen on old driver /dev/ttyGNSS*

So, my quest is:
Is this relate to the serial name /dev/gnss* not in gpsd code or it is relate 
to the write access to the device /dev/gnss*

Sorry that I am new to gpsd and appreciate your help.
Danny

-----Original Message-----
From: Greg Troxel <gdt@lexort.com>
Sent: Friday, February 24, 2023 7:44 AM
To: Kuo, Danny <danny.kuo@intel.com>
Cc: Frank Nicholas <frank@nicholasfamilycentral.com>; gpsd-dev@nongnu.org
Subject: Re: Request new serial name support for ubxtool and pygpsclient

"Kuo, Danny" <danny.kuo@intel.com> writes:

> Sorry the image not pass correctly, I resend the file status with text 
> format,

They arrived.  It was just that my MUA does not display them as I choose to 
read messages in plain text.  Thanks for accomodating how I do things, and also 
any members of the list with visual impairments.

> New driver/serial name:
> [root@NGSNEXHPN06 ~]# ls -l /dev/gnss*
> crw-rw-rw- 1 root root 238, 0 Feb 24 07:00 /dev/gnss0
> [root@NGSNEXHPN06 ~]#
> [root@NGSNEXHPN06 ~]# file /dev/gnss0
> /dev/gnss0: character special (238/0)
>
> Original driver/serial name:
> [root@NGSNEXHPN06 ~]# ls -l /dev/ttyGNSS*
> crw-rw---- 1 root dialout 510, 0 Feb 24 07:21 /dev/ttyGNSS_5e00
> [root@NGSNEXHPN06 ~]#
> [root@NGSNEXHPN06 ~]# file /dev/ttyGNSS_5e00
> /dev/ttyGNSS_5e00: character special (510/0)

As Gary said, you need to find out what drivers do those, and to see if they 
work, separately from gpsd.  Perhaps kermit, or some other terminal program.
Or you can run gpsd with high debug levels, after getting used to it with a 
normal USB-attached receiver.



------------------------------

Message: 5
Date: Thu, 23 Feb 2023 16:27:00 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Subject: Re: Request new serial name support for ubxtool and
        pygpsclient
Message-ID: <20230223162700.7bf5f062@spidey.rellim.com>
Content-Type: text/plain; charset="utf-8"

Yo Danny!

On Fri, 24 Feb 2023 00:19:09 +0000
"Kuo, Danny" <danny.kuo@intel.com> wrote:

> 1. with "-p" flag on gpsd cli the gpsd can access to the device 
> /dev/gnss*. But the "-p" flag is not necessary to old driver on
> /dev/ttyGNSS* 2. with "-p" on gpsd, the ubxtool can work 3. some APIs 
> like stty, gpsctl, gpsmon shows ioctl error, this is not happen on old 
> driver /dev/ttyGNSS*

That makes no sense.  The device is opened before  the gpsd -p opton has any 
effect.

Last time I'm going to ask: what driver is makeing /dev/GNSS*

> So, my quest is:
> Is this relate to the serial name /dev/gnss* not in gpsd code or it is 
> relate to the write access to the device /dev/gnss*

You can keep asking questiosns, but if I don't get any answers I'm just going 
to ignore you.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: 
<https://lists.nongnu.org/archive/html/gpsd-dev/attachments/20230223/0ed7be59/attachment.sig>

------------------------------

Subject: Digest Footer

_______________________________________________
gpsd-dev mailing list
gpsd-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gpsd-dev


------------------------------

End of gpsd-dev Digest, Vol 136, Issue 8
****************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]