STRUCT PALM_EXT_CONNECTION_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct palm...nection_info(9)

hey bestie πŸ’– welcome to the Kernel API Manual β€” today’s main character is struct palm_ext_connection_info, and it’s literally the return-data struct for a PALM_GET_EXT_CONNECTION_INFORMATION request. no cap, it’s giving β€œsmall struct, specific job.” ✨


✨ SYNOPSIS ✨

ok so here’s the exact shape, bestie β€” copy it character-for-character, don’t freestyle it:

       struct palm_ext_connection_info {
           __u8 num_ports;
           __u8 endpoint_numbers_different;
           __le16 reserved1;
           struct {
             __u32 port_function_id;
             __u8 port;
             __u8 end_point_info;
             __le16 reserved;
           } connections[2];
        };

🌸 Members 🌸

  • num_ports β€” the maximum number of functions/connections in use. that’s the whole vibe of this field. πŸ‘‘
  • endpoint_numbers_different β€” this one is a lil flag, bestie: it will be 1 if the in and out endpoints numbers are different, otherwise it is 0. If the value is 1, then connections.end_point_info is non-zero. If the value is 0, then connections.port contains the endpoint number, which is the same for in and out. fr fr, that’s the whole tea. πŸ«–

πŸ¦‹ Description πŸ¦‹

The maximum number of connections currently supported is 2. that’s it β€” two. periodt. πŸ’…


πŸ’… SEE ALSO πŸ’…

  • Kernel file ./drivers/usb/serial/visor.h β€” go peek at the source-y lore if you’re curious πŸ‘€

xoxo, this cutie came from ./drivers/usb/serial, dated October 2026 β€” struct palm...nection_info(9) πŸ’–πŸ‘‘

πŸ“¦ where this page comes from