CategoriesArchivesBlog Administration |
Tuesday, March 24. 2009Control Software for the Inland USB LED BadgeTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Thank you for this software. Works great, except . . .
When editing a graphical message, it seems unstable and crashes. When installing on Ubuntu 9.04, it is necessary to install development tools (I didn't note which ones) and also packages: libgtk2.0-dev libhid0 libhid-dev It was not clear that the program must be run as root. If not run as root, you get: Unable to allocate badge structure, or open device! which should go in the FAQ. Better yet, the message itself could suggest: Unable to allocate badge structure, or open device! Is this program not running as root? Maybe it is not root per se, but the fact that the program simply has insufficient permissions.
I don't recall having to be root to execute the program. The first thing I would do in this scenario is check the permissions on the device node.
Hi, I'm triing it but I think it doesn't even detect it.
Unable to allocate badge structure, or open device! Please ensure you have the proper permissions. this is what I get with lsusb: xa2@imladris:~$ lsusb Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 009: ID 10c4:82cd Cygnal Integrated Products, Inc. Bus 001 Device 006: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader Bus 001 Device 004: ID 413c:2106 Dell Computer Corp. Bus 001 Device 002: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 004: ID 059f:0c41 LaCie, Ltd Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor Bus 005 Device 002: ID 046d:c51b Logitech, Inc. V220 Cordless Optical Mouse for Notebooks Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Any help?
Very impressed with your work! It compiled and ran perfectly (though, under root as per previous comment).
What you created has certainly saved me the headache of finding Windows machines available to change my badge messages, whilst surrounded by my Linux-only machines. I'm dying of curiosity though: How did you reverse engineer that software? I would love to learn that process!
Thanks for the comment.
I reverse engineered it with a Winblows VM, a run-time debugger, a USB protocol analyzer, and plenty of patience. It's a matter of watching the data flow, postulating theories, and then proving those theories with code. The more you can affect the data sent, the easier it is to see how your changes effect that data. It's a lot of trial and error, really. Btw, I found your website rather interesting. Tim
I've never heard of Winblows; and a quick google just gives me a whole bunch of Windows rants. Could you possibly point me in the right direction, and more information on that USB analyzer?
And ya, haha, the website a work in progress.
FWIW I tried it with my badge (which is different but appears to be by the same manufacturer:
dmesg [ 4769.953757] usb 5-2: USB disconnect, address 3 [ 4771.680025] usb 5-2: new low speed USB device using uhci_hcd and address 4 [ 4771.906278] usb 5-2: configuration #1 chosen from 1 choice [ 4771.929483] generic-usb 0003:1241:1301.0007: hiddev97,hidraw4: USB HID v1.10 Device [HOLTEK LED Badge] on usb-0000:00:1d.3-2/input0 but nothing on lsusb So i tried your software anyway and got: >sudo usb-badge-gui Unable to allocate badge structure, or open device! Please ensure you have the proper permissions.
Awesome program. Except for the fact that Bill keeps me employed, I would use linux exclusively. This is just another example of great work by people who try to avoid the M$ tax.
Thanks!
Cool. Just picked one of these up on a whim at Microcenter myself, and felt sure that someone would have built Linux support. You are that person (and thus, a GENIUS)
Couple of thoughts. 1) make the udev rule a file in the .deb/rpm so that it gets installed with the package and no manual editing of additional files is needed. Right now, it fails silently on Ubuntu 10.04 due to permissions, until I went ahead and created the udev rule. 2) would be useful to have a cmdline utility as well as the GUI version. "what if" I wanted to plug this in to a headless system? Actually I originally thought I might be able to use this as a cheap way of displaying alerts at my desk machine. I'm now wondering if it will always say USB(.) when plugged in, and only display one of the programmable messages when disconnected? That would defeat the object of that idea, I guess.
Thank you so much for this brilliant program!
I just bought one of these devices just for funs, when much to my dismay, I discovered that you couldn't program messages in on the device itself, as I had been lead to believe... I'd need to install some random program written for windows I first turned to Wine, but decided against it in favor of looking for a native solution. my package manager turned up nothing, but Google brought me right to this page. I utilized your Debian binary repositories (I'm actually running Ubuntu, but it still worked fine...), installed it and it worked flawlessly. I didn't have to set any udev rules, but that may be due to me running several test systems in virtualbox, and the permissions already being set up so virtualbox can use USB devices (since the permissions group was set to vboxusers for me at least). Thanks once again! Also, for the benefit of others, here's my relevent specs: OS: Ubuntu 10.04 (kernel linux-2.6.23-24-generic-x86_64) USB Badge (as listed when plugging it in): generic-usb 0003:04D9:E002.000A: hiddev97,hidraw6: USB HID v1.10 Device [FURI KEYSHINE USB LED Badge] As listed in lsusb: ID 04d9:e002 Holtek Semiconductor, Inc. |
Calendar
Contact Me
Quicksearch |