Device not found
Rick Murray (539) 13840 posts |
I sporadically see this when rebooting my machine. It’s quite likely something of mine, however the problem is that “Device not found” is not terribly descriptive. It’s there a way to report “Device <blah> not found” or somesuch? |
John Williams (567) 768 posts |
De vice is in das workshop? |
Chris Johnson (125) 825 posts |
I get it almost every time I shut down, on both the ARMX6 and the IGEPv5. The only time I might not get it is if I have used booted one machine and not accessed the NAS. It would appear to be related to usb devices, although that could include networking as well of course. I just ignore it. |
Colin (478) 2433 posts |
Rick Is that at shutdown or startup? I get it occasionally at shut down on my ARMX6 – usually after testing usb stuff. For what it is worth it’s ErrorBlock_DeviceFS_DeviceNotKnown and occurs if a device is deregistered with DeviceFS more than once or the swi DeviceFS_CallDevice is used after a device has been deregistered with DeviceFS. I can’t see that the network on an ARMX6 is involved as it doesn’t use DeviceFS. The IGEPv5 does use EtherUSB. The problem has to be either a usb based module or a serial based module. |
Grahame Parish (436) 481 posts |
I’ve seen the message on shutdown, and I think it may be related to using a USB KVM. If you switch to and from the RISC OS machine during a session I don’t think it reuses the same handle when the keyboard/mouse are disconnected/reconnected via the KVM. Now I mostly only use the KVM for the monitor in RISC OS, but continue to use it fully with other computers and I no longer see the message |
Chris Johnson (125) 825 posts |
That is certainly possible. I use an old Belkin KVM to switch only a wireless mouse/keyboard between ARMX6 and IGEPv5. When I only boot the ARMX6, then the KVM is never switched. I do not see the message at closedown if I only fireup the ARMX6. |
Rick Murray (539) 13840 posts |
Pi1 and now Pi2, at shutdown. |
Rick Murray (539) 13840 posts |
And since there’s no reporting, no address, no backtrace, and no UI… It’s kind of hard to work out what’s causing this… |
John Rickman (71) 646 posts |
think it may be related to using a USB KVM. No KVM but get "Device not found” when I have been using USB devices. |
Chris Johnson (125) 825 posts |
When I power up and use only the ARMX6, I do not get the ‘Device not found error’ when closing down. If I power up only the ARMX6, use the KVM to switch the mouse/keyboard away from the ARMX6 (the other machine connected to the KVM is unpowered), wait a few seconds and switch back again, then doing a closedown results in the error message being shown. Thus it looks as if one reason for getting the message is use of a usb KVM. |
Evan Clark (3437) 1 post |
I’ve been seeing this since installing HID on an Iyonix over ten years ago, and also now on an ARMX6. It seems that if a USB device is unplugged then plugged in again, HID opens a new device handle but doesn’t close the old one. Try using CloseFile or similar to see the effect. It seems quite benign, so I’ve never reported it. |
Chris Johnson (125) 825 posts |
Now that could be it. I use HID. I now see that switching keyboard/mouse away and back again opens three new endpoints, and does it every time. |
Grahame Parish (436) 481 posts |
I also use HID, so that may well be the problem I’m seeing too. |
Rick Murray (539) 13840 posts |
I don’t use HID. Found it too crashy. So… |