I just found out that it won't be possible to use SlimPort and USB devices at the same time.
Video and USB are switch at the connector.
Video and USB are switch at the connector.
What obvious reasons? Personal experience with three different sets of wireless mice+keyboard combos suggest different to me.mouses generally have a lower consumption than Keyboards, for obvious reasons.
What obvious reasons? Personal experience with three different sets of wireless mice+keyboard combos suggest different to me.
But if a step up transformer would do, then maybe a cell wouldn't be needed, right? A college kid could build one from components from his labs.
Do we know if it outputs any kind of voltage right now? I would be willing to try the step us with some flash memory over the next few weeks but don't know what kinds of changes we would need to make in the kernel.
Sent from my Nexus 4 using Tapatalk 2
I like the idea. Might be a little niche for a hardware company to develop it though. It might not be as elegant as a OTG cable with a battery imbedded, but I'm sure you could just connect an external battery via micro USB to the Y cable and thus you have something portable without the need for a power outlet. Please correct me if I am wrong on this, I've never tested it myself.Yes. This! A battery powered USB OTG cable!
To OP, are you planning to develop a kernel and maintain it or just the develop the OTG functions?
For the auto-enabling OTG support, maybe make an app to manually enable it? Or we could persuade Stickmount's developers to incorporate an "enable OTG" button.
Sorry, but the meaning of this post eludes me!Realized this when connecting my N4 to a ps3 to copy my awesome r32 pic I took GT5, but nope...
NEXUS 4=Richard mille watch
Your photo shows a "Powerbank". Did you actually get this working with it? Or since you said "demo", was this just a picture without actually having used the powerbank in a test with your Nexus 4?Just for demonstration:
https://docs.google.com/file/d/0B9iCmVd0p0sdWFZ3V1hEdHZEbUE/edit?usp=sharing
But for me is it kind of useless without SlimPort.
Noc2, I'm trying to figure out why my setup isn't working with the power bank. It's not the same as your Trekstor, but I would think it should be working similarly. So I need to see what else is different. For the USB OTG cable, are you using one like osi13 mentioned in post #40 (it is like OTG and Y-cable combined), or are you using a "standard" OTG cable, connected to a separate Y-cable (like the OP mentioned originally)?No it's not just a picture. It's actually working without any external power source. It's a 2200 mAh Powerbank by Treckstore
http://www.amazon.de/gp/aw/d/B007HJGH54/ref=mp_s_a_1?qid=1361698196&sr=8-1&pi=SL75
Sent from my Nexus 4 using xda app-developers app
I wonder if you could take another picture where I could see the entire cables and how they are attached, etc. I don't seem to be very good at visualizing this stuff without seeing it all. Thanks.
Thanks, Noc2, I really appreciate it. I'm baffled as to why my setup with the power bank isn't working. It does work with a powered usb hub. Maybe when I see your next picture, I'll see another way to try.I'm currently not at home. But I will take another picture tomorrow. I don't use any Y-cable. The powerbank is directly plugged into the usb hub with a micro usb female to usb male adapter.
Sent from my Nexus 4 using xda app-developers app
$ fastboot boot myboot.img
$ adb connect 192.168.0.108:5555
(or whatever your phone's IP is)
$ adb shell
shell@android:/ $ ls /sys/kernel/debug/msm_otg/
shell@android:/ $ su
root@android:/ $ echo host > /sys/kernel/debug/msm_otg/mode
motg->pdata->otg_control = OTG_USER_CONTROL;
Didn't have enought posts to post there . Next kernel will be in the development section.
Basically only the one line in the OP, and I used the default config. The kernel also writes a bit of debug info to dmesg (lines with '(jm)'). It does nothing functional, but helped me figure out what to edit. If you want the diff, I can post it here, but it's really not so interesting.
fastboot boot zImage
creating boot image...
creating boot image - 4421632 bytes
downloading 'boot.img'...
OKAY [ 0.272s]
booting...
OKAY [ 0.121s]
finished. total time: 0.393s
root@android:/ # df
Filesystem Size Used Free Blksize
/dev 936.2M 32K 936.2M 4096
/mnt/secure 936.2M 0K 936.2M 4096
/mnt/asec 936.2M 0K 936.2M 4096
/mnt/obb 936.2M 0K 936.2M 4096
/system 827.8M 397.8M 430M 4096
/cache 551.7M 70.6M 481.2M 4096
/data 5.7G 3.8G 1.8G 4096
/persist 15.8M 4.2M 11.6M 4096
/firmware 64M 53.2M 10.8M 16384
/mnt/shell/emulated 5.7G 3.8G 1.8G 4096
/mnt/shell/emulated/0 14.6G 24K 14.6G 8192
root@android:/ # mount | grep emulated
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/8:1 /mnt/shell/emulated/0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/sda1 /data/media/0/usbStorage/sda1 vfat rw,dirsync,nosuid,nodev,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0