Go to advanced search

by lee
Sun Mar 26, 2017 12:25 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

Thank you for your piece of mind, I appreciate it. Now what do you think? If I connect this board to my Zero, will will it take my USB socket? Seems to me it connects directly to the both USBs so probably yes, but its worth a shot :) From the page you linked: "The original microusb port on Raspberr...
by lee
Sun Mar 26, 2017 11:54 am
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

The second one lee, you answeared to me, thanx :) See I am trying to put together pretty similar machine as you. My story is: 1. I need RPi Z to act as HID Keyboard to send some pieces of text to a PC to basically fill in a form. 2. I need to get the data I want to write from online server via Ethe...
by lee
Sun Mar 26, 2017 11:07 am
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

Hey guys, since we are pinning into GPIO. Will this work on RPi 2/3 ? Will what work? Attaching a NIC via GPIO? I don't see why not. Pretty sure the same limitations will apply, so it'll be 10Mbit if you're lucky. If you mean "make a Pi 2/3 emulate a USB host", no - must be a Pi Zero. I haven't tri...
by lee
Wed Jul 13, 2016 10:11 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

Very nice and usefull post! Btw: so it gets the same IP address every time, as trying to configure it in /etc/network/interfaces seems to do nothing I guess it is beacuse /etc/network/interfaces apllies before the NIC gets eth0. Any idea about this? I would use that NIC as dhcp, so i would need a f...
by lee
Sun Jun 19, 2016 7:33 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

So, it's not too bad actually; this reference was very helpful , especially with the official docs (chapter 10) , and a list of codes (or an easier to read version ). The author of hardpass provides the details here near the bottom under "Keyboard / Mouse / Joystick (HID)", and the scan program work...
by lee
Sun Jun 19, 2016 5:51 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

I was specifying in /boot/config.txt dtoverlay=enc28j60 in order to get the NIC to function, and then after boot, (using nmap to find it, then ssh'ing in and) running sudo dtoverlay dwc2 and ensuring with lsmod that the dwc2 module was loaded. However, it seems that this is a good chunk of where I a...
by lee
Sun Jun 19, 2016 4:04 pm
Forum: Troubleshooting
Topic: Setting up RPi Zero as a g_hid keyboard
Replies: 2
Views: 4620

Re: Setting up RPi Zero as a g_hid keyboard

Well, you seem to have gotten further than I have: https://www.raspberrypi.org/forums/viewtopic.php?t=151940&p=996351 However trying to run your script failed in different ways - on lines 24-27 should that read "hid.usb0" rather than "hid.0"? I think you also want to "modprobe libcomposite" at the b...
by lee
Sun Jun 19, 2016 1:17 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

The config is in a module now, instead of the main kernel. If you "sudo modprobe configs" you will get the /proc/config.gz appearing. I never knew that was a thing... it has been a long time indeed since I looked at compiling kernels! However, in this kernel, the support is modular rather than not ...
by lee
Sat Jun 18, 2016 11:43 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Re: Pi Zero as a USB keyboard (HID gadget)

I saw you say you were having problems with this on IRC earlier. I think this needs USB Gadget mode enabled in the kernel and it looks like the current kernels don't have this in # CONFIG_USB_GADGET is not set (that's a freshly apt-get upgraded 4.4.11-v7+ kernel) You may need to build your own kern...
by lee
Sat Jun 18, 2016 8:03 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 34
Views: 23265

Pi Zero as a USB keyboard (HID gadget)

I am trying to make a network-controlled keyboard emulator with a Pi Zero. I am using a NIC connected to GPIO as detailed here , and this part is working fine. The problem is I simply cannot persuade the g_hid module to load. I have been using gbaman's " method 2 " as a base for this (as I need to h...
by lee
Wed Jul 10, 2013 9:02 pm
Forum: Beginners
Topic: Network caller id
Replies: 30
Views: 24434

Re: Network caller id

If you need a USB modem, the Zoom USB Modem 3095 works well. No need to install drivers, and the RPi sees it as a serial port; it showed up as /dev/ttyACM0 for me. NCID has no problem at all talking to it when it is configured properly. I read this post and got a Zoom 3095 based off of it - whilst ...
by lee
Wed Oct 24, 2012 2:28 pm
Forum: HATs and other add-ons
Topic: Gertboard shipping date.
Replies: 279
Views: 35615

Re: Gertboard shipping date.

Consider shipping to u.s. ? Please To send it via Royal Mail with a delivery confirmation to the US it would be over £10 for just shipping cost (according to http://www.royalmail.com/price-finder based on 220g packed weight, within 10 days), so that would be $65ish total ... I don't care so long as...
by lee
Tue Oct 23, 2012 10:05 pm
Forum: HATs and other add-ons
Topic: Gertboard shipping date.
Replies: 279
Views: 35615

Re: Gertboard shipping date.

Just an FYI - I'm in Jersey, ordered a Gertboard kit from Farnell on 15/08/2012 16:12:24 and it arrived via UPS today (23/10/2012). Unfortunately, I now have no time to assemble or play with it. I might stick the unopened kit up on ebay for cost (probably below £40 including prepaying VAT and record...
by lee
Sat Mar 10, 2012 5:15 pm
Forum: General discussion
Topic: Will the second batch os Rpi's be enough for everyone?
Replies: 35
Views: 8735

Re: Will the second batch os Rpi's be enough for everyone?

I would happily take five right now, and that's just for playing around and prototyping - work would buy at least 20.

Go to advanced search