Hi,
I 'd like to use my Diamond like modem, using usb-rndis-lite.
'Got no ip from the HTC.
If someone reached to connect, using hardy heron...
thx
Yep, I've got the exact same problem, also on Hardy Heron. In addition to usb-rndis-lite, I also tried WMWifiRouter but that didn't work either.
Is there anyone who's been able to use Internet sharing on the Diamond with any flavor of Linux?
I've got the same problem. all that synce stuff (sychronisation with evolution) works properly, but my network manager doesn't recognize the diamond. i'm using ubuntu 8.04
I'm using Hardy and have it working via bluetooth.
I've got Blueman 0.5 installed and set up a PAN for the phone to connect to the computer. I then just start the internet sharing on the phone, connect to the computer and it all works fine.
Hi
Do you have a detailed how to site, I've been searching for weeks on this one and still can't get it to work.
http://translate.google.com/transla...ogspot.com/2008/06/bluetooth-pan-network.html
The link above has a very brief how to, although I think it uses a slightly older version of blueman, it still works OK. Only thing I did differently was that instead of setting up DHCP in Blueman, I set it in the normal Network Configuration section.
Try SynCE to tether to a phone via USB
@all: I found a USB-based solution in a project called "SynCE 0.11" while searching over on PPCGeeks. I downloaded, installed & configured per the information on the following pages on Ubuntu 8.04, ThinkPad T42. I works great as a solid quasi-broadband wireless solution, as I use it to tether to my HTC/Sprint Mogul (CMDA/EVDO Rev. A) smartphone, which is running the new WM6.1 ROM.
http://forum.ppcgeeks.com/showthread.php?t=26508
http://www.synce.org/moin/SynceWithUbuntu
http://sourceforge.net/projects/synce/
I plan to continue to use this solution when I buy my next phone -- a Sprint Diamond Victor.
Best of luck.
@Desmondo: Thanks, that worked! The only problem with this solution is that the speed of Bluetooth is so low that it might be a waste of bandwidth on an HSDPA connection (although perhaps not always).
@malcontent510: Thank you! Unfortunately, those techniques don't appear to work for the Diamond. For some yet-to-be-determined reason, Ubuntu's dhcp client can't get an IP address from the Diamond over USB. See for instance
http://forum.xda-developers.com/showthread.php?t=340747&page=8
or
http://sourceforge.net/tracker/index.php?func=detail&aid=1909626&group_id=30550&atid=399601
Considering that it works over BT, it seems that it should be possible to get it working over USB as well so it would be really great to hear if someone had succeeded.
I tried that method over USB but couldn't get it to work either. I'm happy with using bluetooth at the moment as it's only for very occasional use.
Linux USB Tethering on Touch Pro Working via ICS
So I have had the same issue with the newer HTC phones and the usb-rndis-lite driver not getting a dhcp address from the phone. I have found a solutions and it requires changing the source code to the usb-rndis-lite files. I do not take ANY credit for this as I simply stumbled across this on my many google searches. All credit to José Oliveira for posting this solution. For the full version please see
Original Post
The Fix:
Code:
Step 1 - Install Pre-requisites
open a terminal (use same terminal in next steps)
Code:
$ sudo apt-get install subversion
Step 2 - Get the Source
Code:
$ svn co http://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
Step 3 - Modify the source (Diamond only)
Code:
$ gedit rndis_host.c
on line 524, find this bit
Code:
if (tmp <>hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
goto fail;
}
change it to this
Code:
if (tmp <>hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
retval = -EINVAL;
/* goto fail;*/
}
save the file
Step 4 - Compile and make and install
Code:
$ make
$ sudo ./clean.sh
$ sudo make install
Step 5 - Start the Internet Connection Sharing
On OLD Tytn II's open Comm Manager on your phone and click on the Internet Sharing Now make sure USB is selected and choose connect
On Diamonds it's a seperate program called Internet Connection Sharing
Step 6 - Plug in the Phone (USB)
You may need so select that device in NetworkManager or "sudo dhclient rndis0".
Verified on a HTC AT&T Fuze (Touch Pro)
-e
Related
Dont know if it is has been posted already but found this on a different forum
I'm pleased to announce that I have today released the full nag-free version of CABviaActiveSync free of charge, previously only available to MoDaCo Plus members.
The application has been updated to version 1.4, and now adds full Vista WMDC support (as well as XP ActiveSync support of course), including running smoothly with UAC enabled.
From my original posting:
QUOTE(Paul (MVP))
How can a small application change your mobile life? Here's how
Last week, nedge2k and I were lamenting how much of a nuisance it was to install CABs on the phone. Sure, it's not complex, but there are a bunch of applications out there to try and choose from that do it (one by myself from a long time ago included!), once you've installed a CAB you need to keep a copy of it for future installs, it doesn't integrate with ActiveSync and - well - in general, it's a bit painful.
With this in mind, I mentioned to nedge2k that writing an application to integrate CABs with the ActiveSync installer wouldn't theoretically be very hard. This morning, I actually got the inspiration to do something about it... so it's my pleasure to introduce CABviaActiveSync 1.3.
So how does it work?
- CvAS installs on your desktop PC, and adds a right-click context menu for CAB files
- When you click the menu, the CAB is automatically parsed, copied to your ActiveSync directory, and a regular ActiveSync install is initiated
- When the install is complete, the CAB file stays in the ActiveSync directory, meaning you can un/reinstall in future, without having to archive the CAB away somewhere.
For me, it's a serious time saver.
The application can be downloaded
Enjoy, and feedback is appreciated!
This is going to be great for all us habitual re-flashers / ROM testers out there. With so many of these wonderful tweak cabs and small freeware cabs floating its going to be a breeze to get my Wizard how I want it with a couple checkbox clicks.
Now I have to look into creating my own cabs for registry tweaks and configuring settings then things will be perfect in my XDA world.
Thanks a lot =)
error with activesync 4.5
getting following error:
this application has encountered an error: 0x0, with the following description:
The operation completed successfully.
Additional information:
unable to load the main module: c:\program files\cabviaactivesync\%appname%.exe or one of its dependencies.
error
i had to install microsoft net framework for my laptop to use
http://www.microsoft.com/downloads/...0b-f857-4a14-83f5-25634c3bf043&DisplayLang=en
I have downloaded your CAbActiveSync program. However, I do not fully understand what or how to use it. I was hoping that it would help me to solve my ActiveSync problem.
1. I have been playing around with trying to sync my Wizard T-Mobile MDA for weeks and consistly get an error 'ActiveSync cannot connect to the Windows Mobile powered device. To troubleshoot the problem, click OK.'
When I click on OK, I run Troubleshooter for ActiveSync. After running Troubleshooter for ActiveSync I receive:
'Unable to establish a connection between the PC and the device. Get up-to-date solutions to common connection problems. Please click the following link:
http://go.microsoft.com/fwlink/?LinkId=65257
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
No additional known issues have been found.
If you are still experiencing problems please send the results to Microsoft to help improve future versions.'
I have followed the link, sent the results to Microsoft (never received any reply) and tried everything to resolve this issue. I have tried to ActiveSync on my Desktop and Laptop and still cannot. I did sync months ago without any problems. I have exited my Firewall (Sygate) and Virus Checker (AVG) before I started to try ActiveSync. I have tried all versions of ActiveSync such as 4.2 and 4.5.0 Build 5096 which I am currently running. I am using the USB Connection
2. I have even tried to delete the partnership and reestablish it since I did get ActiveSync to work way back in Sept 06 many times. Since then I cannot connect my MDA to either my Laptop or Desktop. When I try to delete the partnership while in ActiveSync I try the following:
I Click on File: Delete Mobile Device is not an available option as it is not bold (it is grayed out) and when I click on it, nothing will happen and/or nothing did happen.
On my MDA screen for Comminucation Manager the ActiveSync option is not active. I can click on it and it takes me to ActiveSync on my phone and shows the last date that I accomplished a valid sync.
This is one frustrating operation.
Any help will be appreciated. Thank you in advance.
active sync
first i do now wish to people thinking this is my program i found it on another forum
if you has active sync working and you downloaded a cab file onto your computer instead of transfering onto your pocket pc then running you can run straight from the desktop
with regards to the active sync not working if it was me i would check the firewall then i would download the latest active sync from microsoft and then even check the lead i was connecting it with is not broken inside
other then that a expert maybe to help
easymob said:
with regards to the active sync not working if it was me i would check the firewall then i would download the latest active sync from microsoft and then even check the lead i was connecting it with is not broken inside
other then that a expert maybe to help
Click to expand...
Click to collapse
Thanks for your info. I did:
Close out my firewall and antivirus.
Uninstalled ActiveSync and then reinstalled it after I downloaded the latest version.
Used another USB cable to connect the MDA to the PCs. The PCs do recognize the MDA. However, ActiveSync cannot connect to the MDA.
So, thank you for your help. I am trying anything and everything to get this resolved to no avail. I have posted this on other forums but have not resolved this issue.
TonynMI
Nice 1 easymob,
I'd been trying to find something like this.
please share to who ever needs it
Or alternatively can install WinCE Cab Installer 1.1 by Chandratech. Download link is here
asctony said:
Thanks for your info. I did:
Close out my firewall and antivirus.
Uninstalled ActiveSync and then reinstalled it after I downloaded the latest version.
Used another USB cable to connect the MDA to the PCs. The PCs do recognize the MDA. However, ActiveSync cannot connect to the MDA.
So, thank you for your help. I am trying anything and everything to get this resolved to no avail. I have posted this on other forums but have not resolved this issue.
TonynMI
Click to expand...
Click to collapse
I have had this problem a couple of years ago, and I could resolve it as follows:
Open Network connections after you have connected your Device, and you will see a Local Area Connection xx that connects using a Windows Mobile Device. Open the Properties of that Local Area Connection and make sure that it uses all 3 items below:
- Client for Microsoft Networks
- File and Printer Sharing for Microsoft Networks
- Internet Protocol (TCP/IP)
When I had the connection problems I found that my connection only used 1 or 2. When I made sure that the checkbox for all 3 items were selected, ActiveSync worked again.
I hope this works for you as well.
Thanks for this One....
saved trouble on Vista's eFFin activesync problems...
hail to you ol' chief.
Hi:
Is there a version of this great program that will work on WM7?
Thanks!
Hi all,
Having a lot of problems trying to use a VNC server on my Vario 3.
I've installed PocketVNCServ 0.8.1-EN from pocketvnc.sf.net and its running listening.
Whenever I try to connect from my desktop to it (I've checked and the IP for my Kaiser is correct), and every time I get:
Code:
vncviewer PreferredEncoding=raw ZlibLevel=0 AutoSelect=1 169.254.2.1
VNC Viewer Free Edition 4.1.1 for X - built Sep 10 2007 17:17:04
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Wed Dec 5 10:36:43 2007
CConn: connected to host 169.254.2.1 port 5900
CConnection: Server supports RFB protocol version 3.5
CConnection: Using RFB protocol version 3.3
TXImage: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 6 (8bpp) rgb222
CConn: Using raw encoding
main: write: Connection reset by peer (104)
I've tried quite a few different connection parameters, auto detection, etc and none seem to work. I'm guessing its not matching the capabilities of the screen/resolution or something and giving up, can anyone give me a clue where I'm going wrong please?? I desperately need to get this working, and since I'm running under Linux cannot use the activesync solutions out there.
Cheers!
Andy
Do u have real vnc enterprise on the computer? They are really compatable with eachother. But idk about linux, works fine on Vista.
THis doesn't answer your VNC issue, but have you tried mymobiler.com ? Cool app (but for Windows, so you could try running it via Wine or in a VM session on Linux).
MyMobiler installs on Windows then on your next sync will install and connect to your phone. You can then pull your phone screen right up on your PC and control it as a window in Windows. Very handy.
I'll see if I can source vnc enterprise, but wasn't aware of any protocol differences between the software packages, something you're aware of?
And, unfortunately wine/crossover won't work with Activesync at all, due to many issues, so that isn't a possibility at present.
ekw, any chance you could enable debugging on your windows vnc client and see what encodings, screen resolution, etc it uses and I'll try to shove those settings into my vnc client by hand and see if it solves the problem??
ekw said:
Do u have real vnc enterprise on the computer? They are really compatable with eachother. But idk about linux, works fine on Vista.
Click to expand...
Click to collapse
No need for that - it works just fine with the free (!!!) TightVNC client, as has also been explained in http://wiki.xda-developers.com/inde...y) Pocket PC from another (desktop) computer?
BTW, as far as MyMobiler (and other alternatives) are concerned, I really recommend thoroughly reading the articles at http://wiki.xda-developers.com/inde... from both the desktop and the mobile device) - I've VERY thoroughly compared all these solutions to each other. ALL your questions will be answered in there.
Hi,
thanks for that, I'd already studied the wiki documents several times, and none referred to Linux compatibility, so was basing it around the TCP/IP methods.
It looks like the linux vnc clients operate very slightly differently to the Ultra/TightVNC clients for windows, as I tried this on a friends laptop and got a connection and remote control immediately.
So i used Crossover/Wine and installed UltraVNC to my kubuntu desktop, and sure enough that connected up and works fine.
I'll do some debugging to find what differences there are, as I should be able to easily use native linux VNC clients (its a transfer protocol underlying, so shouldn't be a compatibility problem).
So, I'll post back with further details as I'm sure others will want to do what I've been doing under Linux, as we're not all windows clones on our desktops ;-)
I cannot seem to figure out how to use my new 8925 as a wireless modem via Bluetooth as I had my 8525.
Via USB it seems to work but I have not had any luck with Bluetooth and of course the AT&T Tech support has no idea.
cademichaels said:
I cannot seem to figure out how to use my new 8925 as a wireless modem via Bluetooth as I had my 8525.
Via USB it seems to work but I have not had any luck with Bluetooth and of course the AT&T Tech support has no idea.
Click to expand...
Click to collapse
1, welcome to xda-devs
2, read the Internet Sharing + PAN BT client tutorials. There're several of them - Google for them.
I have solved my own problem. Duno if anyone else has the same issue.
Seems the tilt just comes missing the shortcut to the internet sharing.
If you want Internet Sharing via Bluetooth do the following steps
1- Open File Explorer
2- go to the "\Device\Windows" Folder
3- Touch and Hold on "Internet Sharing" and select COPY
4- Go to "\Device\Windows\StartMenu\Programs" and Touch and Hold and select PASTE
5- Restart Device
6- Enjoy!
you didnt have to copy the whole program, could have just made a shortcut to it.
you should also take a look at wmwifirouter
my XP desktop can't net share via bluetooth either but if i use USB my tilt shares just fine.
couldn't find anything helpful in the guides, just lots of references to the toshiba stack
Just like a any BT accessory, you must make your phone visible & pair it.
If you have a WiFi card on your laptop, try using WMWiFiRouter instead. It has been discussed many times in this forum.
XtreMe_G said:
you didnt have to copy the whole program, could have just made a shortcut to it.
you should also take a look at wmwifirouter
Click to expand...
Click to collapse
The file "Internet Sharing" was a link, the exe was something along the lines of intshar.exe or something. If you COPY instead of COPY SHORTCUT than your link wont have a pretty icon (its only 26byte file)
btw. wmwifirouter looked kool
Hi, i`ve been looking for a way to transfer files to the phone without using the USB cable.
I found: OnAir which does not work and SwiFTP which works but...
- i`m using Conectify to share my laptops internet connection. This in turn offers IP`s with DHCP.
Is there a way to name your phone to something fixed so that i can use it's name to connect?
If you have any other tips on how to do this, please feel free to let me know
qiuness said:
Hi, i`ve been looking for a way to transfer files to the phone without using the USB cable.
I found: OnAir which does not work and SwiFTP which works but...
- i`m using Conectify to share my laptops internet connection. This in turn offers IP`s with DHCP.
Is there a way to name your phone to something fixed so that i can use it's name to connect?
If you have any other tips on how to do this, please feel free to let me know
Click to expand...
Click to collapse
you can use WebSharing, connect using IP address + port number..
qiuness said:
Hi, i`ve been looking for a way to transfer files to the phone without using the USB cable.
I found: OnAir which does not work and SwiFTP which works but...
- i`m using Conectify to share my laptops internet connection. This in turn offers IP`s with DHCP.
Is there a way to name your phone to something fixed so that i can use it's name to connect?
If you have any other tips on how to do this, please feel free to let me know
Click to expand...
Click to collapse
on air does work fine on both 5.0.7 and froyo for me.
I suppose you're talking about Windows network. Is the phone rooted or not?
Non-rooted have no such option, but can use FTP. If you want to address it by a name - install DynDNS on the phone.
Rooted can change hostname to whatever you like (look up my thread about it in Development section - but it doesn't show on Windows network, since it's not NetBIOS name, it needs DNS server to be addressed) and/or install Samba+Netbios (look up Samba thread in Android General section, this one shows your phone as a computer on the Windows network with an SDCARD share, but it's a bit quirky - slows down when phone goes into sleep). Both things require interaction with O/S on a level of browsing system dirs, executing system commands and changing system text files. If you're not comfortable with it - I don't suggest trying.
I would just use ES File Explorer and pull the files from your Windows shares that you want rather than trying to go through all of the trouble to push a file to your phone.
Estrongs File Explorer does work very well browsing windows/smb shares over wifi. Astro can do this as well as an option for sftp for connecting to your linux box. As for a static IP you can do this manually from the wifi options in the phone. Or a nice app was made called WiFi Static, and is available free from the market.
A bit of a different choice, but Dropbox is free and can share files between any number of devices, in the cloud.
While this may not be something that most people may want to do, it's something that I wanted to figure out here at work since I have a tri-monitor setup and wanted to use my existing keyboard & mouse on my Atrix's webtop without having to get the HD dock and use a physical KVM. Another obstacle to overcome was the fact that my linux workstation (main machine) is on a separate, wired network from my Atrix, which is connected via a 3G/4G MiFi device. You'll want to make sure you're rooted in both android OS and the webtop OS. You'll also need lxterminal working in the webtop.
So you'll need to get a couple of Jaunty packages compiled for arm:
x11vnc
libvncserver0
Once downloaded, you'll need to get them onto the /osh partition for installation. I do this via adb:
adb push x11vncfiles/ /sdcard/tmp/
adb shell
su
mkdir /osh/tmp
cd /sdcard/tmp
cp *.deb /osh/tmp
sudo -H -u adas bash (switch you to adas user in webtop)
sudo /bin/bash (switches you to root in webtop; you may need to use sulogin)
chroot /osh
cd /tmp
dpkg -i *.deb
exit
Now on to testing...
If you are like me and need to be able to get to the webtop but it isn't on the same network that your desktop/laptop machine is on, you can use the USB cable and adb forward to handle the connectivity. A positive side-effect of this limitation is that x11vnc only needs to listen on the lo (localhost) interface, which helps keep that connection more secure.
LOCAL USB CONNECTION
In lxterminal in the webtop, run the following (as adas) for testing:
export DISPLAY=:0.0
x11vnc -noncache -nolookup -localhost
On your desktop/laptop, run the following:
adb forward tcp:5900 tcp:5900
Using a vnc viewing application (vncviewer, tightvnc, etc), connect to localhost:5900
If all worked out, you should see a remote view of your webtop
REMOTE WIFI CONNECTION
If your Atrix and desktop/laptop are on the same network (or can reach each other via routing), you can do the following steps to test:
In lxterminal in the webtop, run the following (as adas) for testing:
export DISPLAY=:0.0
ifconfig (notate the IP address for eth0)
x11vnc -noncache -nolookup -listen ip_addr_from_prev_step
On your desktop/laptop, run the following:
Using a vnc viewing application (vncviewer, tightvnc, etc), connect to ip_addr_of_atrix:5900
If all worked out, you should see a remote view of your webtop
AUTOMATING THE PROCESS
In order for the x11vnc process to spawn automatically, we need to add it to the lxsession autostart file. This file is read when lxsession starts up and in turn fires off whatever scripts are listed in there. The file is located at:
/etc/xdg/lxsession/LXDE/autostart
By default, the only thing listed in that file is start-oshwt-1.sh, which is a script located at /usr/local/bin. So to get x11vnc working, we add an additional entry into that file:
(as root in webtop): echo start-x11vnc.sh >> /etc/xdg/lxsession/LXDE/autostart
Then we need to create that script in /usr/local/bin:
vi /usr/local/bin/start-x11vnc.sh
Code:
#!/bin/sh
export DISPLAY=:0.0
cd ~
nohup /usr/bin/x11vnc -usepw -forever -nossl -logappend /home/adas/.vnc/x11vnc.log -noncache -nolookup -localhost -nofb -bg
(If you're using it on the same network, replace -localhost with -listen ip_addr like the example above)
Save that file, and make it executable:
chmod +x /usr/local/bin/start-x11vnc.sh
Also, we need to modify Tomoyo to allow it to run that script. Edit /etc/tomoyo/domain_policy.conf and around line 1440:
Code:
<kernel> /osh/usr/bin/lxsession
use_profile 3
Change the 3 to a 2.
Add the following lines to that section:
Code:
allow_execute /osh/usr/bin/x11vnc
allow_execute /osh/usr/local/bin/start-x11vnc.sh
FINAL TOUCHES
I wanted to be able to just move my mouse cursor to the right edge of my desktop machine and have it magiaclly jump to the atrix monitor. To do this, I use a piece of software called x2vnc. If you're using Windows, there's also a package called Win2VNC that will accomplish the same thing. With either software, you run the client (in my case, it's x2vnc) and tell it which direction your vnc server is located at. So to the right of my linux desktop would be east, so I run x2vnc like so:
x2vnc -east localhost:5900
And this connects me to the x11vnc instance running on the atrix. By moving my mouse to the right edge of my main screen, the cursor now appears on the webtop, and I'm able to mouse around and type using my desktop's keyboard.
USING X2X INSTEAD OF X2VNC/WIN2VNC
For anyone that would rather not install any additional packages, and are already running a local X server (XFree/Xorg/Cygwin) you can use x2x to directly connect to the X server running on the Atrix. In order to do this, you'd need to modify /etc/init.d/startXServer.sh and remove the -nolisten tcp from the startx lines and reboot. Then X will listen on port 6000 (for the first display) and that can be used via adb forward on your host machine. The keyboard entry still doesn't work in the Mobile View for some reason...still investigating this. But the mouse seems to function a lot better over native X; selecting text and dragging windows works fine, as does copy & paste.
The top section still applies (you'll need double-root), but the changes are rather minimal:
Code:
adb shell
su
sudo -H -u adas bash
sudo /bin/bash
vi /etc/init.d/startXServer.sh
At the bottom of this script you'll find the lines:
Code:
sudo -u adas -i /usr/bin/startx -- -nolisten tcp -layout HDMI vt2 &
else
sudo -u adas -i /usr/bin/startx /usr/local/bin/xnull -- -nolisten tcp -layout HDMI vt2 &
Remove the -nolisten tcp from both of those lines. Save that file.
You'll also need a method of giving your localhost access via xhost. This has to run under the user context that has the primary display (adas). Since I went to this method after the x11vnc method, I already have the /usr/local/bin/start-x11vnc.sh script setup. I modified this to not run x11vnc but to instead disable access controls for X connections:
Code:
cat /usr/local/bin/start-x11vnc.sh
#!/bin/sh export DISPLAY=:0.0
xhost +
With those set, reboot your phone. When ready, relaunch the webtop and either fire up x2x directly or via forwarding over adb like so:
adb forward tcp:6001 tcp:6000
x2x -east -to localhost:1 &
You should now be able to mouse around on your webtop. Typing in terminal, browser, etc works, but Mobile View is still not working. I think I have it narrowed down to that app (aiw) not responding to XKEYBOARD events. I'll know more once I get my usb hub working and can plug in a keyboard.
This is awesome. I noticed that everything works great but then when I try to click into my mobile view and use my keyboard it wont work there. So for instance once my vnc is up, i can type in firefox, lxterminal, etc etc. But once I click into the phones mobile view the keyboard just isnt recognized. Its pretty odd.
Again though. This is great. Thanks.
EDIT: After poking around some more, I guess I was mistaken. I must've been using my BT keyboard when I was typing in Handcent. The keyboard via vnc isn't being passed to the aiw (Mobile View) window. I'll try and get that resolved.
Awesome work. This is sweet.
Synergy?
Has anyone tried installing a program called Synergy?
It's a software KVM that lets you "place" another screen beside your current screen and lets you control it by moving your mouse beyond the edge of your screen. For example, you have a desktop monitor in front of you and a laptop to the left. Running the server program on the desktop (where the mouse and keyboard are plugged in) and the client program on the laptop, after a quick setup, you can move your desktop mouse+keyboard to control the laptop. You can't drag windows or files across but copy+paste does work for text between computers, which is very useful.
It's open source and runs on Linux so I don't see any reason the client software couldn't be installed on the webtop (may have to be compiled from source).
I can't post links in the forum yet but the software is at www dot synergy-foss dot org.
I don't have an Atrix (yet) so I can't test it but if VNC works then I don't see any reason that this shouldn't work.
The default port on Synergy is 24800, so substituting that in the tutorial should allow the same thing to be achieved.
If this works it would be one more reason to get the phone when it comes out in Canada (2 days)!
Yep, I tried synergy first, but unfortunately, it wouldn't work in my situation since the synergyc (client) runs on the phone and tries to connect to the syngerys (server) on my PC. I can't redirect ports in that direction over USB, so x11vnc it was.
For those on the same network, there's no reason it wouldn't work just fine. I actually use synergy on the other side of my tri-monitor setup to control our 50" plasma when doing demos and whatnot.
D'oh
I was hoping this was a "got usb host working" thread
Oh well...
/me begins learning about his phone to get that project started.
Does the hdmi cable need to be connected to phone after we setup vnc server to run automatically ? What happens after reboot without cable plugged in ..
The x11vnc server will autostart whenever the webtop is started for the first time. After that, I believe that entire X instance runs in the background. It's just idle, waiting for the next time you connect the hdmi cable/dock.
x2vnc auto reconnects by default, but for those that are forwarding tcp ports via adb, you'll have to recreate the port forward prior to it reconnecting.
agentdr8 said:
The x11vnc server will autostart whenever the webtop is started for the first time. After that, I believe that entire X instance runs in the background. It's just idle, waiting for the next time you connect the hdmi cable/dock.
Click to expand...
Click to collapse
Was your hdmi cable always plugged in your testing ?
I just tested this right now; disconnected both cables and rebooted. Once the phone was fully up, I plugged in usb and adb shell'd in:
Code:
[email protected]:~# ps aux | grep x11vnc
Unknown HZ value! (176) Assume 100.
root 4351 0.0 0.0 1648 528 ? S+ 08:42 0:00 grep x11vnc
[email protected]:~# uptime
Unknown HZ value! (171) Assume 100.
08:42:39 up 2 min, 0 users, load average: 2.29, 1.29, 0.50
[email protected]:~#
And then I plugged the hdmi in, selected Webtop from the popup, and reran that above:
Code:
[email protected]:~# !ps
ps aux | grep x11vnc
adas 4645 0.2 0.2 9832 2020 ? Ss 08:44 0:00 /usr/bin/x11vnc -usepw -forever -nossl -logappend /home/adas/.vnc/x11vnc.log -noncache -nolookup -localhost -nofb -bg
root 5258 0.0 0.0 1652 548 ? S+ 08:44 0:00 grep x11vnc
[email protected]:~# uptime
08:44:36 up 4 min, 0 users, load average: 1.26, 1.16, 0.53
[email protected]:~#
Not sure if usb host without a Motorola media hub / lapdock has been mentioned. I managed to get my Atrix working with full usb host by applying 5vdc to the usb power rail. Seems to work with any usb hub and keyboard / mouse combo long as 5vdc is present on the host side(phone microusb connector). This works in both webtop and normal android shell.
agentdr8 said:
EDIT: For anyone that would rather not install any additional packages, and are already running a local X server (XFree/Xorg/Cygwin) you can use x2x to directly connect to the X server running on the Atrix. In order to do this, you'd need to modify /etc/init.d/startXServer.sh and remove the -nolisten tcp from the startx lines and reboot. Then X will listen on port 6000 (for the first display) and that can be used via adb forward on your host machine. The keyboard entry still doesn't work in the Mobile View for some reason...still investigating this. But the mouse seems to function a lot better over native X; selecting text and dragging windows works fine, as does copy & paste.
Click to expand...
Click to collapse
Hey, this is great. I was wondering if you could make more of a step by step guide for this portion. I'm currently in the middle of getting Cygwin but just in case anything goes wrong haha. Thanks.
^^ Sure thing. I'll update the first post tomorrow.
usb host...?
@callen81 - You got USB host working?! I am highly interested in how this would work, but by applying 5v DC to USB, I don't exactly get what you mean. Could you possibly post a guide? I know a TON of people on this forum would love to hear how exactly you did it.
It's as easy as it sounds; you just connect a micro usb togo cable to a hub and make sure power goes back to the phone. Usually most hubs have a diode to make sure power can only come from the host port not to it. So I just hardwired +5vdc from the hub power socket.
Great work callen. Will give it a try. You may want to draw up a simple schematic or maybe some pics and start a new post in Dev or Accessories so others can benefit from your discovery.
agentdr8 said:
Great work callen. Will give it a try. You may want to draw up a simple schematic or maybe some pics and start a new post in Dev or Accessories so others can benefit from your discovery.
Click to expand...
Click to collapse
I just made a small film.
http://www.youtube.com/watch?v=shvFmLRUNGA
so agentdr8, great guide but im just havin to much trouble with tryin to get x2x workin. its bein a pain with cygwin on my windows box, and too much work for my osx box. im wonderin, would it be hard to just get X workin forwardin the webtop session straight over like ssh or even telnet :/
I haven't tried redirecting the entire webtop X session to a different X server...not sure how that would work out.
I did try some simple ssh forwarding and that works fine. You'd need to install openssh-server, openssh-client, and grep packages (use -i --force-overwrite for grep). You can then tunnel whatever you want over that ssh connection to the phone.