René's URL Explorer Experiment


Title: Stopped working overnight? Appears rules aren't being applied. · Issue #57 · python-ivi/python-usbtmc · GitHub

Open Graph Title: Stopped working overnight? Appears rules aren't being applied. · Issue #57 · python-ivi/python-usbtmc

X Title: Stopped working overnight? Appears rules aren't being applied. · Issue #57 · python-ivi/python-usbtmc

Description: Hello, I got python-usbtmc working yesterday, and was having a good time connecting to my Keysight Ocilloscope, running IDN queries, etc. All from my Raspberry Pi 3B+. I followed everything in the readme file, except the optional Kernel ...

Open Graph Description: Hello, I got python-usbtmc working yesterday, and was having a good time connecting to my Keysight Ocilloscope, running IDN queries, etc. All from my Raspberry Pi 3B+. I followed everything in the ...

X Description: Hello, I got python-usbtmc working yesterday, and was having a good time connecting to my Keysight Ocilloscope, running IDN queries, etc. All from my Raspberry Pi 3B+. I followed everything in the ...

Opengraph URL: https://github.com/python-ivi/python-usbtmc/issues/57

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stopped working overnight?  Appears rules aren't being applied.","articleBody":"Hello,\r\n\r\nI got python-usbtmc working yesterday, and was having a good time connecting to my Keysight Ocilloscope, running IDN queries, etc.  All from my Raspberry Pi 3B+.  I followed everything in the readme file, except the optional Kernel bit.  But this morning, it's not working!\r\n\r\nThe output from lsusb:\r\n\r\n```\r\npi@raspberrypi:~ $ lsusb\r\nBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\r\nBus 001 Device 005: ID 04d9:0007 Holtek Semiconductor, Inc. \r\nBus 001 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse\r\nBus 001 Device 023: ID 0957:0588 Agilent Technologies, Inc. \r\nBus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub\r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\n\r\n```\r\n\r\nMy usbtmc.rules file:\r\n\r\n```\r\n# USBTMC instruments\r\n\r\n# Agilent DSO1052B\r\nSUBSYSTEM==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"0x0957\", ATTRS{idProduct}==\"0x0588\", GROUP=\"usbtmc\", MODE=\"0660\"\r\n```\r\n\r\n\r\nMy Python3 code:\r\n\r\n```\r\n\u003e\u003e\u003e import usbtmc\r\n\u003e\u003e\u003e inst = usbtmc.Instrument(0x0957, 0x0588)\r\n\u003e\u003e\u003e print(inst.ask(\"*IDN\") \r\n```\r\n\r\nHowever, this morning the exact same code is returning:\r\n\r\n`usb.core.USBError: [Errno 13] Access denied (insufficient permissions)`\r\n\r\nThe Pi was left on overnight, too - so nothing should have restarted, etc.  The USB device was disconnected and reconnected in the morning.  I didn't change anything, other than I probably re-started Python.\r\n\r\n\r\nI've gone back through the readme (again, not the optional part) and I'm just not getting anywhere.  When plugged in, the device is added to `/dev/usbtmc0`.  Using `ls -all`, I get:\r\n\r\n```\r\npi@raspberrypi:/dev $ ls -all | grep usbtmc*\r\ncrw-------   1 root root    180, 176 Jun 11 14:13 usbtmc0\r\n```\r\n\r\nWhich doesn't look right to me.  I've done some udevadm debugging to try and highlight an issue, and I'm seeing this line, which looks wrong, as I'd expect the mode to be picked up from my usbtmc.rules file:\r\n\r\n`usbtmc0: Handling device node '/dev/usbtmc0', devnum=c180:176, mode=0600, uid=0, gid=0`\r\n\r\n\r\nDoes anyone have any thoughts?\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/fallingin2infinity","@type":"Person","name":"fallingin2infinity"},"datePublished":"2021-06-11T14:07:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/57/python-usbtmc/issues/57"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ecbc63d4-0067-8174-c0bd-7264bb279783
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9288:1F2208:58649BE:787BAC7:69783D13
html-safe-nonceef6cf87e6e7839fc78dcd544a0d5ad03e8a5b7d9ff2ba5e1ee95e09788f85d65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mjg4OjFGMjIwODo1ODY0OUJFOjc4N0JBQzc6Njk3ODNEMTMiLCJ2aXNpdG9yX2lkIjoiMjg0MTg5ODE0MTE4OTk0NjY0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbf91c4ca101011833a011968be5b87cc20d8aabb1a621cd37a9adb8eece4060a
hovercard-subject-tagissue:918798489
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-ivi/python-usbtmc/57/issue_layout
twitter:imagehttps://opengraph.githubassets.com/da09e5dfe4cfdfc56a74805f216ef88db4b55823903d43b7601e5658dd8c6757/python-ivi/python-usbtmc/issues/57
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da09e5dfe4cfdfc56a74805f216ef88db4b55823903d43b7601e5658dd8c6757/python-ivi/python-usbtmc/issues/57
og:image:altHello, I got python-usbtmc working yesterday, and was having a good time connecting to my Keysight Ocilloscope, running IDN queries, etc. All from my Raspberry Pi 3B+. I followed everything in the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefallingin2infinity
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/python-ivi/python-usbtmc git https://github.com/python-ivi/python-usbtmc.git
octolytics-dimension-user_id6889594
octolytics-dimension-user_loginpython-ivi
octolytics-dimension-repository_id10878556
octolytics-dimension-repository_nwopython-ivi/python-usbtmc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10878556
octolytics-dimension-repository_network_root_nwopython-ivi/python-usbtmc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release520b65a872113b919c1bbdb03834a50af15859fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues/57#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ivi%2Fpython-usbtmc%2Fissues%2F57
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ivi%2Fpython-usbtmc%2Fissues%2F57
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-ivi%2Fpython-usbtmc
Reloadhttps://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues/57
Reloadhttps://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues/57
Reloadhttps://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues/57
python-ivi https://patch-diff.githubusercontent.com/python-ivi
python-usbtmchttps://patch-diff.githubusercontent.com/python-ivi/python-usbtmc
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ivi%2Fpython-usbtmc
Fork 72 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ivi%2Fpython-usbtmc
Star 170 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ivi%2Fpython-usbtmc
Code https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc
Issues 23 https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues
Pull requests 9 https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/pulls
Actions https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/actions
Projects 0 https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/projects
Wiki https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/wiki
Security 0 https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/security
Insights https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/pulse
Code https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc
Issues https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues
Pull requests https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/pulls
Actions https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/actions
Projects https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/projects
Wiki https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/wiki
Security https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/security
Insights https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-ivi/python-usbtmc/issues/57
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-ivi/python-usbtmc/issues/57
Stopped working overnight? Appears rules aren't being applied.https://patch-diff.githubusercontent.com/python-ivi/python-usbtmc/issues/57#top
https://github.com/fallingin2infinity
https://github.com/fallingin2infinity
fallingin2infinityhttps://github.com/fallingin2infinity
on Jun 11, 2021https://github.com/python-ivi/python-usbtmc/issues/57#issue-918798489
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.