The Canon LS 120PC (USB calculator, not what most of us think of as "LS-120") is fairly dopey by comparison to the Lexibook. It, too, advertises LEDs that it does not physically have.

But if NumLock is off, it simply refuses to go into "PC" mode at all, and remains stuck in calculator mode. So either one must configure NumLock to be initially set on, or have another keyboard with shared state that one can use to turn NumLock on.

It's an alternative way of handling the NumLock problem for calculator keypads. But a worse one, I think. One never has "Oh, the mode switch key isn't working because I forgot to set NumLock on. Again." moments with the Lexibook's approach.

#ComputerProgramming #HardwareRepair #BigClive #USBHID

This has led to two interesting, albeit expected, discoveries about the Lexibook USB Calculator:

1. Even though it physically has no lock keys nor LEDs, it knows about the NumLock LED and advertises via its USB report descriptions that it has LEDs.

This is so that it can track NumLock state; and when it sends (say) a "9" digit, it fakes a NumLock keypress to turn NumLock on before sending the HID usage for the "9" key on the calculator keypad.

I can see the NumLock flashing briefly on, on the other keyboard that I have configured to share the modifier state; as well as the codes in the USB input reports.

2. Even though it has a "00" key, even though it is a USB-only device, even though USB defines a HID usage for a "00" key on a calculator, and even though that appears to have been in the spec since 1996 … it still sends two successive [0] keypresses.

It doesn't send the right HID usage for its [±] key, either.

#ComputerProgramming #HardwareRepair #BigClive #USBHID

Beware programmers that carry screwdrivers!

I take a certain small amount of joy in the fact that, having discovered that my problem when testing my new USB HID program was that the test device itself was broken, I unscrewed the device's case, cleaned out some gunge, took the plastic shipping protection tab off the battery (sic!), put it all back together again; and it is working.

I'm not sure whether it was the muck or the lack of power that was the problem. I'd been operating it with only host power for some years, it has transpired; and maybe that was not quite enough to properly drive the keyboard matrix. (The optical mouse part was still working on host power.)

Now I can type digits on my USB calculator in its "PC" mode and see them come up on the computer screen. Hurrah!

I was on the verge of going to e-Bay and paying some bloke in Manchester a tenner for a new one. (-:

#ComputerProgramming #HardwareRepair #BigClive #USBHID

[Перевод] Создаём альтернативный SDK устройства при помощи Wireshark

Почти четыре года назад я писал о реверс-инжиниринге Stream Deck с целью получения полного контроля над устройством и устранения зависимости от ПО Stream Deck. Мне по-прежнему нравится это «железо», но ПО стало только хуже — теперь оно даже требует входа в аккаунт пользователя для скачивания расширений. Я стремлюсь максимально уважать приватность и выбор пользователей, поэтому если уж я хочу использовать устройство без аккаунта, то вам лучше предоставить мне такую возможность. К счастью, развивая идеи моей предыдущей работы над DeckSurf , я наконец-то набрался решимости вложиться по полной и сделать мой проект приемлемой альтернативой проприетарному ПО для этого крайне гибкого и универсального устройства с кнопками. В этом посте мы рассмотрим работу Stream Deck Plus — устройства ценой $179,99, которым вы, дорогой читатель, теперь сможете пользоваться, даже если не хотите устанавливать ПО его производителя.

https://habr.com/ru/companies/ruvds/articles/871698/

#wireshark #tshark #usbустройства #usbhid #sdk #open_source #обратная_разработка #ruvds_перевод

Создаём альтернативный SDK устройства при помощи Wireshark

Почти четыре года назад я писал о реверс-инжиниринге Stream Deck с целью получения полного контроля над устройством и устранения зависимости от ПО Stream Deck. Мне по-прежнему нравится это «железо»,...

Хабр

Как я создал устройство, которое может удаленно эмулировать мышку и клавиатуру на stm32

Всем привет, совсем недавно я начал изучать протокол USB на STM32F103C8 , а именно HID-устройства . Я такой человек, который не сильно любит теорию, но обожает учиться всему на практике, поэтому я тут же начал думать над будущим проектом. И я вспомнил, что совсем недавно заказал себе wifi модуль - ESP8266 .

https://habr.com/ru/articles/855750/

#stm32 #embedded #микроконтроллеры #esp #esp8266 #usb #usbhid #cubeide

Как я создал устройство, которое может удаленно эмулировать мышку и клавиатуру на stm32

1. Как появилась идея? Всем привет, совсем недавно я начал изучать протокол USB на STM32F103C8 , а именно HID-устройства . Я такой человек, который не сильно любит теорию, но обожает учиться всему на...

Хабр

@paulrickards Thanks for your comment! I found out it was specific to the core I was using... I switched cores (and libraries) and I can get a USB HID Raspberry Pi Pico to use 100ma instead of 250ma!

#raspberryPiPico #USB #USBHID

@paulrickards Wow! Good call... That's it.

• USB HID Current Required: 250mA

• USB MIDI Current Required: 100mA

I wonder if there's a workaround...

#raspberrypipico #usbhid #usbmidi #microcontrollers

I'm a bit disappointed the Raspberry Pi Pico draws too much power to be used as a USB HID device with an iPad or iPhone. This is something I used to do with the Teensy LC quite easily. (Luckily I have a *ton* of LC boards on hand!)

It can work with a powered USB hub but that's a lot of faff.

#raspberryPiPico #teensy #USBHID

This month I had an obsession with USB HID devices and I wrote a blog post about reverse engineering the Logitech CU0019 USB receiver.

https://dev.to/endes/usb-hid-down-the-rabbit-hole-reverse-engineering-the-logitech-cu0019-usb-receiver-4d6a

#reverseengineering #usbhid

USB HID Down the rabbit hole: Reverse engineering the Logitech CU0019 USB receiver

Recently, I have an obsession with USB HID devices. So let's go through this rabbit hole. These...

DEV Community

Used this as an opportunity to move from GitHub.

The Abelbeck Aquila Central Console (A2C2) repository can be found at https://git.abelbeck.info/a2c2

Yes, it's only a (non-bare) repo directory structure. Web frontend follows, when I have my client-side Javascript git rendering engine ready.

Use https://git.abelbeck.info/a2c2/.git for cloning.

#aviation #AquilaA210 #xplane12 #usbhid #circuitpython #RaspberryPiPico

Index of /a2c2