Hello,
I'm trying to connect a generic usb gamepad to my HP Touchpad (vendor:0079; product: 0006).
Right now i'm having trouble with the firmware, since android (i'm using CM10.1 Android 4.2.2 JB) does not have a module for this gamepad out of the box.
Could someone tell me how or where to get the module (the *.ko file) or compile it for my specs?
Thanks!
So after a few days of research i managed to compile the needed modules myself (feels good, man: )
Theoretically i need to insmod a hid-drff.ko module.
I did that and noticed, that i have an insufficient bus power error, even though my otg cable is powered through a Y cable (it's plugged in to the PC for testing purposes). If i run a command like echo -n 1 | tee /sys/bus/usb/devices/1-1/bConfigurationValue and the hid-drff.ko module (joystick driver) is loaded the tablet reboots.
But if i run the same command without the module there is enough power. I tried only loading the joydev.ko module without the joystick driver and though the gamepad is not working on it's own the usb/bt joystick app recognizes it.
I will buy the full usb/bt joystick app anyway, because of the easy joystick setup.
But it would be interesting to know why hid-drff.ko reboots the tablet as soon as the joystick gets enough bus power?
Related
Hey all, Just wondering if there is a way to get an Xbox 360 joypad working on the Galaxy note.
I have the OTG adaptor here, But If i recall correctly, joypads only work on Honeycomb.
Anyway, Connecting it up just makes the 360 joypad ring of light flash and then nothing.
Is there an app that adds support or is it a kernal only kind of thing.
I think it would be great to get it working on it as the galaxy note is amazing for gaming and my iControlpad doesnt cut it.
Code:
I'm running Midnote3 at the moment. My wireless keyboard and mouse are recognized through an OTG cable
The wireless Xbox receiver is not though. It gets power and connects to the controller, but does nothing else.
I've seen it working on honeycomb and ICS tablets. Surely it should work on the note.
Has anyone tried with an AOSP or AOKP rom?
How are these USB-OTG devices recognized?
What files do we need to recognize additional devices?
Would it be possible to port something from the Motorola Xoom?
edit:
USB/BT Joypad Center 1.93 recognizes an Xbox 360 controller, the light stops blinking and the controller is set to "1"
It doesn't get any input though.
Does anyone have version 5 of the above mentioned app? Maybe it works on that one.
Still think it's a kernel/driver issue.
edit2:
Flashed Imilka's v08. The controller is still not recognized.
edit3:
After some Googling I found that we need xpad.ko and ff-memless.ko in /lib/modules/.
Or we need to put them on the sdcard and run:
Code:
# insmod /path/to/file/ff-memless
# insmod /path/to/file/xpad.ko
This has to be done after each boot so we should make a startup script.
However, when I try to do this with the files found in this post. I get the following error:
Code:
insmod: init_module 'ff-memless.ko' failed (Exec format error)
I think these files are compiled for the Asus eee Pad Transformer, so they will not work on the Note.
My theory is, that if we take the source files from a Ubuntu distribution like this guy here.
And compile it for the Note, we should be able to insmod xpad.ko and ff-memless.ko
Hello there, I'm new at the raspberry Pi world, and I need to know if its possible to get dual monitor working on raspberry pi.
Like, I'll get a HDMI monitor, to display (media, videos), and I wanted to plug in a touch screen monitor to control.
Like a media center with a touchscreen monitor for the control and a HDMI monitor to display.
Is it possible? Easy?
Thnks in advc.
You can use an external device to clone display on both. (matrox etc)
I'm unsure if the Pi can handle two screen by itself, and you can plug only one screen to it, there's low chances an full usb screen could wrk because of drivers.
Regards
Magissia said:
You can use an external device to clone display on both. (matrox etc)
I'm unsure if the Pi can handle two screen by itself, and you can plug only one screen to it, there's low chances an full usb screen could wrk because of drivers.
Regards
Click to expand...
Click to collapse
The problem is that I dont want a clone display, i need a diferent screen....
If I got a full USB screen that supports linux drivers it should work, right?
Or maybe some USB/VGA? Dunno
caioketo said:
The problem is that I dont want a clone display, i need a diferent screen....
If I got a full USB screen that supports linux drivers it should work, right?
Click to expand...
Click to collapse
Yes it ***should***, but remember the Pi is not a power beast, if you put two uncloned 1080p screen it will probably lag.
Regards
Magissia said:
Yes it ***should***, but remember the Pi is not a power beast, if you put two uncloned 1080p screen it will probably lag.
Regards
Click to expand...
Click to collapse
The second screen will be a 7'' touchscreen just for controls, not 1080p... it can be ugly
Do you know anywhere I can buy this full USB display?
I know displaylink are suposed to have some full usb monitor/projector but i don't know anything about their support on linux.
Regards
Not sure its going to be able to handle two screens no matter the resolution (unless its like 800x480), the other issue is power, the display cant take its power via USB it will need to be self powered or you will need to get a powered usb hub
zacthespack said:
Not sure its going to be able to handle two screens no matter the resolution (unless its like 800x480), the other issue is power, the display cant take its power via USB it will need to be self powered or you will need to get a powered usb hub
Click to expand...
Click to collapse
What about two screens with something like a dual hdmi cable. Or one moniter to hdmi and one to composite.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Dual monitor using xrandr
You can have as many external displays as the number of ports permit. Whether it will slow down is another question. However, you can have a second monitor without much overhead. To reduce the overhead to drive big display, you can install a very light window manager. You should have X server installed. install the awesome window manager. Command to install it may vary with different linux distro. For Raspbian,
Code:
sudo apt-get install awesome
For Arch Linux,
Code:
sudo pacman -S awesome
Or Pidora,
Code:
sudo yum install awesome
After you install awesome, while you login to the system, select "awesome" as the environment rather than openbox or something (from the login manager)
Now comes the real job. The above steps were optional that would reduce any lags. Connect you display to Rpi. Now we have to query the displays connected using xrandr command
Code:
xrandr -q
Now it will display all the available displays. Now we have to manually tell which display to connect.
Code:
xrandr --output VGA1 --mode 1280x1024 --right-of LVDS1
This command tells the X server to show a desktop, which is logically placed right of your primary display, in the new monitor which is connected via your VGA port. If your are connecting to the HDMI port, the name will be different from VGA1. Check the output of xrandr -q and choose the correct one. Your will also get the name of your primary display from that command. In the example, LVDS1 is the primary display
If you are using awesome, you will have to learn a little bit how to get around there. Its usage is a little different than the conventional environments.
Thats it, you have two displays connected. A
nd dont forget the thanks button, desperately in need of them!
If you want a secondary display just for controlling may be a solution to implement a REST api based server on PI and a client on any smartphone.
you could try a DisplayLink USB docking station. they are basically powered USB hubs with a built in USB to DVI/VGA interface. I've used it before for a CEO's ultrabook. It was okay for documents and e-mail, but I'd not recommend it for users dealing with video (although now with USB3 it's probably much better)
For your purposes it may be perfect, plus it likely can power the Pi as well. udlfb (libdlo) is in the Linux kernel so it should be available on Pi distros.
You can run a 7inch Touch Screen and HDMI at the same time
New Official Raspberry Pi DSI screen launches .. Raspberry have release a 7inch touch screen that connects via the DSI giving the PI-2 the abilty to run separate displays on each as per this link ...
http://raspi.tv/2015/new-official-raspberry-pi-dsi-screen-launches
Quote from RasPi.TV Site ...
"As long as you’ve allocated 128 Mb RAM to GPU, dual-screen use is flawless. I plugged in my 23? Samsung HDMI TV and sent a video through HDMI with omxplayer --display 5 filename.mov This then played flawlessly while I messed around using the camera module on the DSI display. I had it showing live camera video output and also made it wrap live video round a spinning 3d teapot to try and stress the GPU. Neither display skipped a beat. You can see that in the video."
been using this kernel for awhile, and pleased with it. however, got myself a brand new wired xbox 360 controller, plugged it in with USB OTG, and the controller just sit there with all 4 parts of the ring blinking. it is completely unresponsive whatsoever. no button works.
tried it on my friend's console, working fine. tested on his pc, works fine. on my pc, ditto.
it just somehow failed on my s4.
so i borrowed his wireless controller, tested on my s4, and still, same result. blinking light with no response.
done some digging around the net, strangely everyone suggest the controller should work as simple as plug-and-play. but i couldn't get which android version they were at.
disabled OTG helper, USB mass storage enabler, revoked SU permission, still no luck.
is there any explanation to this? any workaround? thanks.
EDIT: strangely enough, a cheap 8$ controller works with this s4.
but i still want to use my xbox's though
I decided to make this a separate thread apart from the general questions post mainly for anyone who has a similar issue, it will be much easier to follow and ask questions, as well as update it myself when I have more data.
So to begin, I wiped my Touchpad with TPtoolbox v.40, installed CM11 4.4.4 with standard gapps and philz recovery. Everything was working great and going smooth until I tried to use a USB Logitech G11 keyboard and a wireless G700 mouse with the dongle attached to the keyboard. The touchpad will recognize the first device installed to the OTG cable but nothing else I plug into it unless the first device is removed. Let me give some examples of things I have tried.
----OTG Y cable (1 male Micro USB, 1 Female Micro USB power input, 1 Female USB) powered by PC or AC Power supply----
-TP>OTG>Keyboard>Mouse dongle = Keyboard input only
-TP>OTG>Non powered USB hub>Keyboard + Mouse = input based on first device plugged in, if both are plugged in when I plug in the hub, they keyboard always loads first but the mouse does work when keyboard is removed.
-TP>OTG>Non powered USB hub> Keyboard + wireless mini keyboard/mouse combo (Rii i8) + USB flash drive = Everything works, I can type with both the USB keyboard and the mini keyboard with functional mini mouse pad as well as access USB storage. However, when I add any type of dedicated mouse, be it my G700 or wired usb G500, neither work unless I remove the other two input devices.
Cont...
Continued from First Post
Notes: The OTG cable itself works fine using several devices, whether it be flash drives, external hdd, keyboards including a Rii i8 wireless keyboard/mouse combo (touch pad feature works as a mouse with the keyboard, probably because its considered one device.) but I cannot get it to work with a dedicated mouse in conjunction with a keyboard. If I remove the keyboard, again the mouse works fine on its own. If I have the mouse plugged in first, the mouse will work fine but the keyboard will not.
Some of you might be asking, why use a dedicated mouse if I can get the mouse pad on my mini keyboard to work? Gaming
Why not use a Bluetooth keyboard? I do not wish to purchase one and I enjoy my current keyboard
Does anyone have any ideas or a solution? Its driving me insane and I really want it to work with what I have. I even tried making a DIY OTG cable, same results haha.
Update 1: I know this combination works on other devices including Galaxy S3/4/5, and a POS tablet (Envizien or some crap), it really is slow haha but perfect for web and youtube. I figured if this same setup works on all these devices, why not my Touchpad... and here I am lol. Both mouse and keyboard are HID devices so it shouldn't be a problem. I know it has something to do with the touchpad itself, be it a settings and software hack, or I simply need to try a few different roms. I know the touchpad is capable of it, I have seen videos of it being done with what I have. That is what leads me to believe it may be ROM/kernel related.
Update 2: while creating the thread: I wiped the TP again using TPtoolbox v.41 and installed Shumash's Pacman ROM 4.4.4 hoping it was ROM related. No luck. I have attached an image that the TP does indeed recognize the keyboard if I plug it in after the Mouse but I am unable to type anything. I have set the language and default layout to be sure it didn't need to be set, again with no change. I will try an older ROM next to see if it will help.
Thanks again, cheers!
Paul
Help please
Tried 6 ROMs total with no luck.
4.3.1: Evervolv
4.4.2: Evervolv
4.4.4: CM11, EOS AIO, and 2 Pac man builds
Same symptoms with each.
Is anyone here with an HP Touchpad currently able to simultaneously use a keyboard and Mouse, wired or wireless through OTG?
Quick update: while running EV 4.3.1, I tried to test it again while at work and when I plugged the Mouse dongle into the USB hub, the mouse showed up but then wouldn't let me move it. I ordered a different OTG and USB Y Cable to better replicate what someone else was using in a youtube video. I just cant see how it works on every other device but this one though.
I really have no idea what to try next so i'm at a standstill.
pahlbrandt said:
Tried 6 ROMs total with no luck.
4.3.1: Evervolv
4.4.2: Evervolv
4.4.4: CM11, EOS AIO, and 2 Pac man builds
Same symptoms with each.
Is anyone here with an HP Touchpad currently able to simultaneously use a keyboard and Mouse, wired or wireless through OTG?
I really have no idea what to try next so i'm at a standstill.
Click to expand...
Click to collapse
Yep, just did it with my latest CM11 build. If it doesn't work for you, please provide kernel log (i.e. dmesg).
jcsullins said:
Yep, just did it with my latest CM11 build. If it doesn't work for you, please provide kernel log (i.e. dmesg).
Click to expand...
Click to collapse
My work Pc allows me to do basically nothing but visit and post on XDA, is there a way to get the log file through the tp using terminal emulator or another means through the pc without ADB?
Thanks BTW.
Edit: was able to use Terminal Emulator and will email it to myself and upload soon. I hope its what you were looking for haha.
OK attached is the dmesg using last attempted ROM, ev_tenderloin 4.4.2
Kernel Version: 3.4.80-tenderlon+
[email protected] #1
Edit:
jcsullins said:
Yep, just did it with my latest CM11 build.
Click to expand...
Click to collapse
I intend to go back to your CM11 build, as It seemed to be the smoothest and most reliable of those I tried so far. Im guessing when I do, the kernel will change so my attachment may be useless, i'm not sure. Can't do it here at work though, no Novacom for TPToolbox and the SD card partition is tiny if I were to try and do it using recovery.
New Log, no fix yet.
OK, I am back on cm-11-20141125-SNAPSHOT-jcsullins-tenderloin , attached is the kernel log.
pahlbrandt said:
OK, I am back on cm-11-20141125-SNAPSHOT-jcsullins-tenderloin , attached is the kernel log.
Click to expand...
Click to collapse
Did you plug in the keyboard and mouse before getting the log?
From that log, it doesn't look like you plugged in any OTG devices.
jcsullins said:
Did you plug in the keyboard and mouse before getting the log?
From that log, it doesn't look like you plugged in any OTG devices.
Click to expand...
Click to collapse
My apologies, I did not.
Added a second log:
dmesg = TP>OTG Ycable using PC usb power>Keyboard with mouse dongle plugged into the keyboard
dmesg2 = TP> OTG Y cable using AC power adapter> Unpowered USB hub> Keyboard and mouse dongle
Tried the new OTG and Y Cable seen in video that had it working. Didn't make a difference, I am guessing something is wrong with my Kernel like you mentioned. Find anything in my log that I can try and fix? @jcsullins
Thanks
pahlbrandt said:
Tried the new OTG and Y Cable seen in video that had it working. Didn't make a difference, I am guessing something is wrong with my Kernel like you mentioned. Find anything in my log that I can try and fix? @jcsullins
Thanks
Click to expand...
Click to collapse
I did not intend to suggest there was something wrong with the kernel.
I think the problem is you are trying to use an un-powered (or bus-powered) USB hub.
Use a (self)-powered USB hub instead.
jcsullins said:
I did not intend to suggest there was something wrong with the kernel.
I think the problem is you are trying to use an un-powered (or bus-powered) USB hub.
Use a (self)-powered USB hub instead.
Click to expand...
Click to collapse
I misunderstood, my apologies. I will look around at buying a powered USB hub. Can't seem to find any less than $20 with decent reviews, that's in Bluetooth keyboard realm.. I will look at both options I suppose. Thanks again.
Edit: I was just thinking, I had the BUS powered USB hub working with several devices at once, including the wireless mini keyboard, usb keyboard, and a USB flash drive. Wouldn't that be an indication that an Externally powered USB hub is not required? I find it strange that I can get everything to work fine except when it comes to using both a mouse and keyboard at the same time.
Hi I recently purchased online a micro-USB to RJ45 Ethernet adapter with a 3 port USB hub like these. It was insanely cheap so I thought why not. Reviews said in most cases it was plug and play, however, I am unable to get the ethernet to work. No network icon appears in the upper right and there does not seem to be any options for a network connection. The USB ports work and it was fun watching a mouse appear and an external keyboard work immediately upon plugin. They provided a driver CD and I sideloaded all the files (85mb) onto the Fire - Pictures folder. How do I install the drivers to get the ethernet to work?
Note: Using ES File Explorer I went to Network>LAN> tapped on Scan but nothing was found.
A side question is, does anyone know how to access the 'USB computer connection' menu (where it gives you the option of selecting 'Media device' MPT or 'Camera' PTP) in settings without plugging it into a PC via USB ie. from the settings menu?
Thanks
WXsky
Doubt there is a USB to RJ45 driver driver for this device as it was never intended to work with a wired network connection. As for your other question I don't believe that menu is available on non-rooted FireOS unless a tether has been established (and then only via notification).
Apparently it wasn't intended to work with an external keyboard or mouse but this adapter made it so it could. When I plug it into the Fire it gets power as indicated by a greenish yellow light. When I plug it into the ethernet cable another light appears and it is red so that means I have connectivity, just no driver installed I'm guessing.
Could anyone else weigh in on this please? I need a bit more than just a glib "No". As I mentioned I have the drivers. They were provided on a mini disc. How do I install them? Not totally familiar with Android or other Linux devices however I've dabbled with Ubuntu but nothing on these confounded tablets.
WXSky said:
Apparently it wasn't intended to work with an external keyboard or mouse but this adapter made it so it could. When I plug it into the Fire it gets power as indicated by a greenish yellow light. When I plug it into the ethernet cable another light appears and it is red so that means I have connectivity, just no driver installed I'm guessing.
Could anyone else weigh in on this please? I need a bit more than just a glib "No". As I mentioned I have the drivers. They were provided on a mini disc. How do I install them? Not totally familiar with Android or other Linux devices however I've dabbled with Ubuntu but nothing on these confounded tablets.
Click to expand...
Click to collapse
Just because you have a mini-disk does not mean the contents will work with this device or FireOS. I have yet to see an Android device support an Ethernet adapter via OTG; a brief Google search suggests it may be possible with a few select adapters and devices. Aside from driver both kernel and ROM (FireOS) must cooperate to secure the connection. Unlikely Amazon would include that intentionally leaving it to the underlying version of Android (5.1.1) to manage the interface. Given the complexities of establishing/maintaining an Ethernet data connection me thinks you have a project on your hands. Good luck.