[IPP] ipp-usb: exposing device serial number and vendor/device ID via TXT record

[IPP] ipp-usb: exposing device serial number and vendor/device ID via TXT record

Kennedy, Smith (Wireless & IPP Standards) smith.kennedy at hp.com
Wed Nov 13 21:05:57 UTC 2024


Hi Ira,

Assuming "ipp-usb" is a Linux OP IPP USB module, and it is sharing information about the USB connected printer on a network (loopback only? all interfaces?), it could provide these additional TXT record key/value pairs if it wants to. But I don't quite know why...USB devices are matched at a device level usually with a VID / PID / serial number. But we already know the printer implements IPP USB, so device model matching ought to be unnecessary and actually not useful. That is for vendor drivers.

An IPP USB interface is a class 7 (Printer) interface and subclass 1, that implements protocol 4 (IPP USB). Class 7 devices define a USB interface descriptor that includes things like the 1284 Device ID string. An IPP USB interface has the class 7 interface descriptor and also provides a protocol 4 specific "Device Info Descriptor" that has an "iIPPPrinterUUID" field, which is a pointer to a string descriptor containing the value provided by "printer-uuid".

Seems like one might need Alexander to provide more information...

Smith

/**
    Smith Kennedy
    HP Inc.
*/

On Nov 13, 2024, at 6:55 AM, Ira McDonald via ipp <ipp at pwg.org> wrote:

CAUTION: External Email
Hi Mike,

[Forwarded from OP mailing list]

This looks questionable, from the point of interoperability.  Comments to Alexander?

Cheers,
- Ira

Ira McDonald (Musician / Software Architect)
Chair - SAE Trust Anchors and Authentication TF
Co-Chair - TCG Trusted Mobility Solutions WG
Co-Chair - TCG Metadata Access Protocol SG
Chair - Linux Foundation Open Printing WG
Secretary - IEEE-ISTO Printer Working Group
Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG
IETF Designated Expert - IPP & Printer MIB
Blue Roof Music / High North Inc
http://sites.google.com/site/blueroofmusic<http://sites.google.com/site/blueroofmusic>
http://sites.google.com/site/highnorthinc<http://sites.google.com/site/highnorthinc>
mailto: blueroofmusic at gmail.com<mailto:blueroofmusic at gmail.com>
(permanent) PO Box 221  Grand Marais, MI 49839  906-494-2434


---------- Forwarded message ---------
From: Alexander Pevzner <pzz at apevzner.com<mailto:pzz at apevzner.com>>
Date: Wed, Nov 13, 2024 at 6:36 AM
Subject: ipp-usb: exposing device serial number and vendor/device ID via TXT record
To: Open Printing <printing-architecture at lists.linux-foundation.org<mailto:printing-architecture at lists.linux-foundation.org>>


Hi!

I want to be able to match devices, exported by the ipp-usb, with the
underlying USB devices, because every second user asks "where is my
newly connected USB printer?" and needs to be pointed to the list of the
network printers.

For this purpose I want to add a couple of parameters to the TXT record,
published by the ipp-usb:

     usb_SER=VCF9192281  ; Device serial number
     usb_HWID=0482&069d  ; Its vendor and device ID

However, if there are already standard names defined for this purpose,
I'd prefer to follow the standard. Please, point me to the right
direction at this case.

WDYT?

--

        Wishes, Alexander Pevzner (pzz at apevzner.com<mailto:pzz at apevzner.com>)


_______________________________________________
ipp mailing list
ipp at pwg.org
https://www.pwg.org/mailman/listinfo/ipp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241113/d9570a87/attachment.html>


More information about the ipp mailing list