Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown OS on Homepod gen 2 #2517

Open
NebzHB opened this issue Oct 6, 2024 · 8 comments
Open

Unknown OS on Homepod gen 2 #2517

NebzHB opened this issue Oct 6, 2024 · 8 comments
Labels

Comments

@NebzHB
Copy link
Contributor

NebzHB commented Oct 6, 2024

Hi

Describe the bug

Homepod gen 2 are recognized as Unknown OS

Error log

2024-10-06 10:46:03 DEBUG [pyatv.scripts]: Running with pyatv 0.15.1
2024-10-06 10:46:03 DEBUG [pyatv.storage.file_storage]: Loading settings from /root/.pyatv.conf
2024-10-06 10:46:03 DEBUG [pyatv.support.net]: Binding on *:5353
2024-10-06 10:46:03 DEBUG [pyatv.support.net]: Binding on 127.0.0.1:0
2024-10-06 10:46:03 DEBUG [pyatv.support.net]: Binding on 192.168.1.50:0
2024-10-06 10:46:03 DEBUG [pyatv.support.net]: Binding on 10.16.8.218:0
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Cuisine at 192.168.1.231:49153 via Protocol.Companion ({'rpmac': '1', 'rphn': 'e683219371f4', 'rpfl': '0x627B2', 'rpha': 'c34a71225bc8', 'rpmd': 'AudioAccessory5,1', 'rpvr': '604.1', 'rpad': '7393c0f57e7b', 'rphi': 'e40ec52b9749', 'rpba': '73:DF:69:C6:C6:6B'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Cuisine at 192.168.1.231:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '43:B9:6E:05:2A:FA', 'deviceid': '5E:86:8C:86:50:8D', 'c': '1', 'fex': 'AMp/StBrNbwQoS4', 'features': '0x4A7FCA00,0xBC356BD0', 'flags': '0x98404', 'gid': 'E5E06F52-3F47-4557-B2E8-89F57F6D036A+1E788F81-2169-4617-92C1-46DB3D850740', 'igl': '1', 'gcgl': '1', 'model': 'AudioAccessory5,1', 'protovers': '1.1', 'pi': '1b3eb50d-664e-42cf-924e-d36cdc18487c', 'psi': '5D868C86-508D-41FD-A1A2-1A3F05EFBC27', 'pk': '74a9d9c811eab748a1850d171fe35783a06d67d310735cadc40ae12c86d8ee3d', 'srcvers': '800.74.2', 'osvers': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered 5E868C86508D@Cuisine at 192.168.1.231:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FCA00,0xBC356BD0', 'sf': '0x98404', 'md': '0,1,2', 'am': 'AudioAccessory5,1', 'pk': '74a9d9c811eab748a1850d171fe35783a06d67d310735cadc40ae12c86d8ee3d', 'tp': 'UDP', 'vn': '65537', 'vs': '800.74.2', 'ov': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Chambre at 192.168.1.108:49153 via Protocol.Companion ({'rpmac': '1', 'rphn': '7874f2169e93', 'rpfl': '0x627B2', 'rpha': '0681f928b4ca', 'rpmd': 'AudioAccessory1,1', 'rpvr': '604.1', 'rpad': '38f2bde0a3f0', 'rphi': 'f430f519966e', 'rpba': 'AE:6A:6A:BC:95:C1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Chambre at 192.168.1.108:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '6C:C2:03:8B:BA:7A', 'deviceid': '56:5F:43:74:2F:AA', 'c': '2', 'fex': 'AMp/StBrNbwQoS4', 'features': '0x4A7FCA00,0xBC356BD0', 'flags': '0x98404', 'gid': '3C4CE6F2-F480-4D68-BD54-4B70DC7AF186+AD314C18-C46E-4659-BB7A-A2A51E9E181C', 'igl': '1', 'gcgl': '1', 'model': 'AudioAccessory1,1', 'protovers': '1.1', 'pi': 'd2eaf123-7320-4ad9-97d2-525ef18a60f5', 'psi': '555F4374-2FAA-4560-84D8-5845D93728CE', 'pk': '29f275e243306dfac546b1ba68c7f81014adb8273ff34f52569684e4392e00ac', 'srcvers': '800.74.2', 'osvers': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered 565F43742FAA@Chambre at 192.168.1.108:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FCA00,0xBC356BD0', 'sf': '0x98404', 'md': '0,1,2', 'am': 'AudioAccessory1,1', 'pk': '29f275e243306dfac546b1ba68c7f81014adb8273ff34f52569684e4392e00ac', 'tp': 'UDP', 'vn': '65537', 'vs': '800.74.2', 'ov': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Salon at 192.168.1.240:49153 via Protocol.Companion ({'rpmac': '2', 'rphn': 'ab1f5cd77948', 'rpfl': '0x8627B2', 'rpha': '301096699744', 'rpmd': 'AudioAccessory6,1', 'rpvr': '604.1', 'rpad': 'bd5cff7a6840', 'rphi': '9538b0563e99', 'rpba': '19:95:42:73:0E:2D'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Salon at 192.168.1.240:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '7D:B0:75:61:CD:02', 'deviceid': 'D6:0F:05:33:79:27', 'c': '1', 'fex': 'AMp/StBrNbwQoS4', 'features': '0x4A7FCA00,0xBC356BD0', 'flags': '0xb8c04', 'gid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'igl': '0', 'gcgl': '1', 'gpn': 'AppleTV Salon', 'psgsz': '3', 'psgtp': '1', 'psgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgm': '2', 'pgmid': '2', 'pgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgcgl': '1', 'tsid': '45FF0C32-81DD-5E4F-8229-7E091D2E4DE0', 'tsm': '2', 'model': 'AudioAccessory6,1', 'protovers': '1.1', 'pi': '22a3e368-c726-46f7-a6f9-f63584407482', 'psi': 'D60F0533-7927-4A27-9F31-8891811ADDDF', 'pk': '106f35c0566565eabec30701854c726c75a58a88527dc5414616f36551dd955f', 'srcvers': '800.74.2', 'osvers': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered D60F05337927@Salon at 192.168.1.240:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FCA00,0xBC356BD0', 'sf': '0xb8c04', 'md': '0,1,2', 'am': 'AudioAccessory6,1', 'pk': '106f35c0566565eabec30701854c726c75a58a88527dc5414616f36551dd955f', 'tp': 'UDP', 'vn': '65537', 'vs': '800.74.2', 'ov': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Salon (2) at 192.168.1.96:49153 via Protocol.Companion ({'rpmac': '2', 'rphn': 'c2c0ff1d97b1', 'rpfl': '0x627B2', 'rpha': 'd1617aae0236', 'rpmd': 'AudioAccessory6,1', 'rpvr': '604.1', 'rpad': 'b83073663726', 'rphi': '10c66f7d60c3', 'rpba': '6C:CE:1A:45:08:5C'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered Salon (2) at 192.168.1.96:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '75:B1:71:3F:21:E6', 'deviceid': '5E:20:08:20:13:B2', 'c': '1', 'fex': 'AMp/StBrNbwQoS4', 'features': '0x4A7FCA00,0xBC356BD0', 'flags': '0xbac04', 'gid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'igl': '0', 'gcgl': '1', 'gpn': 'AppleTV Salon', 'psgsz': '3', 'psgtp': '1', 'psgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgm': '2', 'pgmid': '1', 'pgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgcgl': '1', 'tsid': '45FF0C32-81DD-5E4F-8229-7E091D2E4DE0', 'tsm': '2', 'model': 'AudioAccessory6,1', 'protovers': '1.1', 'pi': '0a02e63b-d311-43f1-8aa2-7577484a574d', 'psi': '5C200820-13B2-43AD-BB9F-34AFC4779049', 'pk': '25c84f9a9475cb9249f621fdd04a3ecd76ef16f8ccd7a0cf867f416fd310d1dc', 'srcvers': '800.74.2', 'osvers': '18.0', 'vv': '1'})
2024-10-06 10:46:06 DEBUG [pyatv.core.scan]: Auto-discovered 5E20082013B2@Salon (2) at 192.168.1.96:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FCA00,0xBC356BD0', 'sf': '0xbac04', 'md': '0,1,2', 'am': 'AudioAccessory6,1', 'pk': '25c84f9a9475cb9249f621fdd04a3ecd76ef16f8ccd7a0cf867f416fd310d1dc', 'tp': 'UDP', 'vn': '65537', 'vs': '800.74.2', 'ov': '18.0', 'vv': '1'})
Scan Results
========================================
       Name: Cuisine
   Model/SW: HomePod Mini, tvOS 18.0
    Address: 192.168.1.231
        MAC: 5E:86:8C:86:50:8D
 Deep Sleep: False
Identifiers:
 - 5E:86:8C:86:50:8D
 - 5E868C86508D
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Unsupported
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded

       Name: Chambre
   Model/SW: HomePod, tvOS 18.0
    Address: 192.168.1.108
        MAC: 56:5F:43:74:2F:AA
 Deep Sleep: False
Identifiers:
 - 56:5F:43:74:2F:AA
 - 565F43742FAA
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Unsupported
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded

       Name: Salon
   Model/SW: HomePod (gen 2), Unknown OS 18.0
    Address: 192.168.1.240
        MAC: D6:0F:05:33:79:27
 Deep Sleep: False
Identifiers:
 - D6:0F:05:33:79:27
 - D60F05337927
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Unsupported
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded

       Name: Salon (2)
   Model/SW: HomePod (gen 2), Unknown OS 18.0
    Address: 192.168.1.96
        MAC: 5E:20:08:20:13:B2
 Deep Sleep: False
Identifiers:
 - 5E:20:08:20:13:B2
 - 5E20082013B2
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Unsupported
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded

How to reproduce the bug?

atvremote scan --debug on a network with homepod gen2 (I have a gen1 "Chambre" recognized correctly and a mini "Cuisine" too)

What is expected behavior?

tvOS or homeOS (don't know...)

Operating System

Linux

Python

3.9

pyatv

0.15.1

Device

Homepod gen2 tvOS 18.0

Additional context

no

@NebzHB NebzHB added the bug label Oct 6, 2024
@postlund
Copy link
Owner

postlund commented Oct 6, 2024

Yeah, looks like that conversion is missing!

@postlund
Copy link
Owner

postlund commented Nov 3, 2024

I'm planning on making a new release today, so I'll try to squeeze this in.

postlund added a commit that referenced this issue Nov 3, 2024
Add Apple TV 1, update some tables and fix OS bug.

Relates to #2517
postlund added a commit that referenced this issue Nov 3, 2024
Add Apple TV 1, update some tables and fix OS bug.

Relates to #2517
postlund added a commit that referenced this issue Nov 3, 2024
Add Apple TV 1, update some tables and fix OS bug.

Relates to #2517
@postlund
Copy link
Owner

postlund commented Nov 4, 2024

Fixed in 0.16.0.

@postlund postlund closed this as completed Nov 4, 2024
@NebzHB
Copy link
Contributor Author

NebzHB commented Nov 5, 2024

Thx

@NebzHB
Copy link
Contributor Author

NebzHB commented Nov 5, 2024

Dear, it's still discovered as "HomePod (gen 2), Unknown OS 18.1"

@postlund
Copy link
Owner

postlund commented Nov 5, 2024

Can you double check that you actually have 0.16.0?

@NebzHB
Copy link
Contributor Author

NebzHB commented Nov 5, 2024

yes i'm sure :

2024-11-05 14:23:44 DEBUG [pyatv.scripts]: Running with pyatv 0.16.0
2024-11-05 14:23:44 DEBUG [pyatv.support.net]: Binding on *:5353
2024-11-05 14:23:44 DEBUG [pyatv.support.net]: Binding on 127.0.0.1:0
2024-11-05 14:23:44 DEBUG [pyatv.support.net]: Binding on 192.168.1.50:0
2024-11-05 14:23:44 DEBUG [pyatv.support.net]: Binding on 10.16.1.118:0
2024-11-05 14:23:47 DEBUG [pyatv.core.scan]: Auto-discovered Salon at 192.168.1.33:49153 via Protocol.Companion ({'rpmac': '2', 'rphn': '8e033fd5abb1', 'rpfl': '0x627B2', 'rpha': '8934374c0ad7', 'rpmd': 'AudioAccessory6,1', 'rpvr': '610.71.1', 'rpad': '44a3716d4840', 'rphi': '4a813e192f02', 'rpba': 'E7:93:7F:C6:DC:00'})
2024-11-05 14:23:47 DEBUG [pyatv.core.scan]: Auto-discovered Salon at 192.168.1.33:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '47:1B:36:AD:27:0C', 'deviceid': '5E:20:08:20:13:B2', 'c': '1', 'fex': 'AMp/StBrNbwQoS4', 'features': '0x4A7FCA00,0xBC356BD0', 'flags': '0xbac04', 'gid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'igl': '0', 'gcgl': '1', 'gpn': 'AppleTV Salon', 'psgsz': '3', 'psgtp': '1', 'psgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgm': '2', 'pgmid': '1', 'pgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgcgl': '1', 'tsid': '45FF0C32-81DD-5E4F-8229-7E091D2E4DE0', 'tsm': '2', 'model': 'AudioAccessory6,1', 'protovers': '1.1', 'pi': '0a02e63b-d311-43f1-8aa2-7577484a574d', 'psi': '5C200820-13B2-43AD-BB9F-34AFC4779049', 'pk': '25c84f9a9475cb9249f621fdd04a3ecd76ef16f8ccd7a0cf867f416fd310d1dc', 'srcvers': '830.10.2', 'osvers': '18.1', 'vv': '1'})
2024-11-05 14:23:47 DEBUG [pyatv.core.scan]: Auto-discovered 5E20082013B2@Salon at 192.168.1.33:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FCA00,0xBC356BD0', 'sf': '0xbac04', 'md': '0,1,2', 'am': 'AudioAccessory6,1', 'pk': '25c84f9a9475cb9249f621fdd04a3ecd76ef16f8ccd7a0cf867f416fd310d1dc', 'tp': 'UDP', 'vn': '65537', 'vs': '830.10.2', 'ov': '18.1', 'vv': '1'})
2024-11-05 14:23:47 DEBUG [pyatv.core.scan]: Auto-discovered Salon (2) at 192.168.1.141:49153 via Protocol.Companion ({'rpmac': '2', 'rphn': 'cda59ae17219', 'rpfl': '0x627B2', 'rpha': 'fe1a8b4f4333', 'rpmd': 'AudioAccessory6,1', 'rpvr': '610.71.1', 'rpad': '585939d3707c', 'rphi': '6c7d6f6d1edd', 'rpba': 'A7:97:3B:89:D1:7F'})
2024-11-05 14:23:47 DEBUG [pyatv.core.scan]: Auto-discovered Salon (2) at 192.168.1.141:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '4D:CC:A6:5C:7D:D2', 'deviceid': 'D6:0F:05:33:79:27', 'c': '1', 'fex': 'AMp/StBrNbwQoS4', 'features': '0x4A7FCA00,0xBC356BD0', 'flags': '0xb8c04', 'gid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'igl': '0', 'gcgl': '1', 'gpn': 'AppleTV Salon', 'psgsz': '3', 'psgtp': '1', 'psgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgm': '2', 'pgmid': '2', 'pgid': 'F2FB9F79-6DC9-5A7F-8D48-B948B7EC942C', 'pgcgl': '1', 'tsid': '45FF0C32-81DD-5E4F-8229-7E091D2E4DE0', 'tsm': '2', 'model': 'AudioAccessory6,1', 'protovers': '1.1', 'pi': '22a3e368-c726-46f7-a6f9-f63584407482', 'psi': 'D60F0533-7927-4A27-9F31-8891811ADDDF', 'pk': '106f35c0566565eabec30701854c726c75a58a88527dc5414616f36551dd955f', 'srcvers': '830.10.2', 'osvers': '18.1', 'vv': '1'})
2024-11-05 14:23:47 DEBUG [pyatv.core.scan]: Auto-discovered D60F05337927@Salon (2) at 192.168.1.141:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FCA00,0xBC356BD0', 'sf': '0xb8c04', 'md': '0,1,2', 'am': 'AudioAccessory6,1', 'pk': '106f35c0566565eabec30701854c726c75a58a88527dc5414616f36551dd955f', 'tp': 'UDP', 'vn': '65537', 'vs': '830.10.2', 'ov': '18.1', 'vv': '1'})

Scan Results
========================================

       Name: Salon
   Model/SW: HomePod (gen 2), Unknown OS 18.1
    Address: 192.168.1.33
        MAC: 5E:20:08:20:13:B2
 Deep Sleep: False
Identifiers:
 - 5E:20:08:20:13:B2
 - 5E20082013B2
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Unsupported
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded

       Name: Salon (2)
   Model/SW: HomePod (gen 2), Unknown OS 18.1
    Address: 192.168.1.141
        MAC: D6:0F:05:33:79:27
 Deep Sleep: False
Identifiers:
 - D6:0F:05:33:79:27
 - D60F05337927
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Unsupported
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: NotNeeded

@postlund
Copy link
Owner

postlund commented Nov 5, 2024

Ah, I see the problem now. I will try to resolve it as soon as I can.

@postlund postlund reopened this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants