-
Notifications
You must be signed in to change notification settings - Fork 51
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
LabelManager PC "ValueError: The device has no langid" #93
Comments
Looks like this model is already supported and your printer is just borked. You acan also install XP on a virtual machine and see if it's even working with original software. |
Thanks tomek, I didn't want to jump hoops to get a old xp working on bare metal just to test it, because I can not attach the device to any virtualbox VM/OS on my linux mint host. Maybe it is really broken; due to the error I was rather considering I hit a bug than having a device coming up on the bus but not bringing one specific field all the time. |
I can hardly stretch the fault to dymoprint if this printer can't even maintain a stable USB connection with an OS. After all, dymoprint is not a driver. :) There are a few simple hardware things worth checking. If it is battery equipped, like I said before, I would measure its voltage. Maybe it should just sit connected via USB long enough to precharge said battery. Maybe USB cable is crap and can't deliver enough current. |
Thank you for your tips, as far as I know it is not battery equipped and it has an external psu, so I guess voltage is not an issue. So it's an pyusb issue if any. Sorry for that, thank you for your time. |
Thanks a lot for your investigations @Silverstar! If the issue is that the LabelManager PC leaves |
Thank you @maresb (and @tomek-szczesny of course) for your work on dymoprint! I do not know if it's a faulty device or "regular" (non spec) behaviour of the device. I found pyusb/pyusb#139 as well when I learned about non conforming devices. I might try to patch pyusb according #139 but I have to dig into it. Can't tell when that will be. I'll report back. @jbbgameich may I ask you, do you have the Labelmanager PC with or without "II"? |
Just saying, if something has the USB logo on it or its packaging, it must conform to USB standards. So I wouldn't count on some Dymo product being nonconformant. |
🤨 I think Benson Leung would disagree |
Well, we must not kill each other, but some people do it anyway. |
@Silverstar The device is not my own, but from a hackerspace I'm sometimes at. |
Or maybe you guys are right and Dymo did release a nonconformant product. But I see in that PyUSB thread that workarounds are there so if one of them works it may be implemented. |
Regarding usb standard, I think in 2001 (? year from the manual I could find) due to Windows was the dominant platform and usb just really started going and such errors in implementation of the device were simply fixed in the windows driver. Hacky drivers been standard these days, remember that there were no general drivers and most stuff needed a reboot. But still, maybe my unit is faulty, so I'll still test that ancient piece under the classic conditions (and or patched pyusb). Thank for checking @jbbgameich no hurry, I won't be so fast either ;) One of the things I want to add: thank you for your participation. I know that thing is old and I could just buy a new model but if it's not broken, it prints the same stuff as a PnP would and also even bigger, 24mm, tapes. That's my motivation to get this thing working. |
I couldn't go to sleep without at least testing one thing: manually setting a langid in util.py lines 314ff by commenting out the |
My printer still works with the current version of dymoprint. It is reported as:
|
Small update: I just obtained another LabelManager PC for testing. When switching the units, I found that I'm dumb. I powered my one with a wrong power supply - 9V~ ... |
At some point someone hacked a power delivery trigger into the one at my hackerspace, so its now USB-C powered. Maybe that is an option for you as well. |
I've been following the project hoping my old labelmanager PC will be supported one day and I was lucky #83 - now I'm trying to get it working, but it doesn't.
I can't tell for sure if the device is working anymore at all since I don't have any windows xp around anymore and at the last windows system in this house (W10) it's just toggling connected/disconnected all the time but I guess due to different driver architecture nowadays.
dymoprint 2.2.1.post1.dev20+g0a33ed7
Permissions should be alright since
and
udevadm commands are done as given, plug out/in, logout/login, reboot, ...
dmesg snippet:
and lsusb -v:
Thank you in advance!
The text was updated successfully, but these errors were encountered: