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

Output of command is "? ?" #5

Closed
Cakeday opened this issue May 2, 2024 · 1 comment
Closed

Output of command is "? ?" #5

Cakeday opened this issue May 2, 2024 · 1 comment

Comments

@Cakeday
Copy link

Cakeday commented May 2, 2024

cakedayy@potato:~/utils/hddtemp$ sudo ./hddtemp-lt 
/dev/sda:  ?  ?

cakedayy@potato:~/utils/hddtemp$ which smartctl
/usr/sbin/smartctl

cakedayy@potato:~/utils/hddtemp$ sudo smartctl -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-6.1.89-15498-gf9afb0b2911b] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sda: Unknown USB bridge [0x7825:0xa2a4 (0x4101)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

# After specifying -d sat...
cakedayy@potato:~/utils/hddtemp$ sudo smartctl -a -d sat /dev/sda | grep Temperature
194 Temperature_Celsius     0x0022   120   112   000    Old_age   Always       -       27
slowpeek added a commit that referenced this issue May 24, 2024
This resolves issue #5
@slowpeek
Copy link
Owner

Since 0.2.5 you can use the new --hint option to overcome this problem. Check the README for the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants