Hi,
Yesterday I found out, that a Mini Usb-B connector fits
in the Socket of the Touch HD. But before I blow it up,
I want ask first if charging works, or will it burn?
I searched the forums but couldnt find the answer,
I think it will be great if this question with the appropriate
answer is in the FAQ after that.
thanks Avalun.
works fine
hi,
thanks for the answer, but can you tell me how to I
can block that Ubuntu creates a new eth device if I
plug in the HD? Somehow it doesn't matter which option I select
if I use the standard USB Cable.
thanks in advance.
That's a whole different question!
I'm not a linux user so I can only go by what I read back when I had a TYTN. You could try http://multisync.sourceforge.net/news.php but SynCE seems a lot newer http://www.synce.org/moin/
See also this thread http://forum.ppcgeeks.com/showthread.php?t=55209
hi stuart,
thanks for the answer, nice to know that I actually can sync with my ubuntu netbook but my problem is the following:
i am using wireless lan (ath0) with my ubuntu and if i plug my cell with a generic usb cable in (for charging), then it creates a eth1 device, changes the routing table and nameservers, no matter
which option I select on the Blackstone.
so i have to switch them back every time.
Sometimes I only want to plug it in for charging, and it should do nothing else.
ok i found it out, how to avoid that it sets the route automatically:
If you have the Gnome Network Manager running on Ubuntu, it will setup your device as the new default network connection. Check what ethernet device was given to your device with by running the following command in a terminal after you have connected your device:
/sbin/ifconfig -a | grep 80:00:60:0f:e8:00 | cut -d " " -f 1
then add the next line to /etc/network/interfaces:
Click to expand...
Click to collapse
iface <interface of your device> inet dhcp
Click to expand...
Click to collapse
This will make Gnome Network Manager ignore the interface. Then restart the networking with the command:
sudo /etc/init.d/networking restart
Click to expand...
Click to collapse
You are going to need to disable any firewalls or configure them. I don't know how to do this, but I have seen lists of the necessary ports.
from:
http://ubuntuforums.org/showpost.php?p=6258719&postcount=6/
Dear all
I want to connect a usb printer to an android device like android tv box to share it through LAN. Does anybody know an application can make android device to be a print server, or how can i make andoid device to be a print server
Thanks
Have you managed to do anything. ?
+1
I guess there is still no solution to this. I have same setup with a TV-Box, but can't figure out how to share over the network. I tried Servers Ultimate and the LPD print server it has, but had no luck getting it to work. I think we would need CUPS built in to the kernel of our device ROM.
I hope someone comes up with a solution. Doesn't seem like a big challenge.
If only google Cloud Print could see the attached USB printer and make it accessible.
You can set up Linux chroot (I used Linux Deploy) to install a cups server and share printer over the network. I am using this solution for a long time and it does the job.
krzysiek.karolak1 said:
You can set up Linux chroot (I used Linux Deploy) to install a cups server and share printer over the network. I am using this solution for a long time and it does the job.
Click to expand...
Click to collapse
Do u have tutorial for this? thanks
I am also interested in this.
ket_92 said:
Do u have tutorial for this? thanks
Click to expand...
Click to collapse
It will take some time for you if you haven't used linux and if you do not have idea about how to execute any of the steps I mention below.
Follow these steps:
* Root your phone
* Install Linux Deploy from play store
* Select distribution as Ubuntu in Linux Deploy and install it (this will take time as it will download the linux image and install it)
* In the config options, select VNC or SSH (this is only to install the cups package)
* Login to the linux machine (running on your android phone) using SSH or VNC
* Install cups, cups-daemon packages (run command "sudo apt-get install cups cups-daemon")
* Start cups daemon: run command "sudo /etc/init.d/cups start"
* Install system-config-printer-gnome if using VNC (run command "sudo apt-get install system-config-printer-gnome")
* If using VNC, connect to the machine using a VNC client and run "sudo /usr/share/system-config-printer/system-config-printer.py". In the screen, add your printer and share it to be used over network
* If using SSH, connect to the machine and add your printer using lpadmin (this is a bit advanced, use VNC to avoid and set the printer easily)
Ok, if I set it like this, do I need to start that Linux after every reboot or it will work automatically? I would also like to use my Android TV box as a scanner server, cause I have HP MFP printer.
Thank you @krischat1001 for the steps.
I'm trying to make my printer working with this method (Brother DCP-165C connected to Khadas VIM2)
The Linux Deploy is running well with CUPS installed. The printer USB port was correctly identified (I think), I installed the cupswrapper official driver and selected it while adding the printer.
The problem is the printer never was triggered by CUPS, even while all the jobs are listed as done. I tried print a test page using CUPS and also print from another computer where the CUPS server was added.
What I can see in the printer screen is a fast message "Receiving data", for 100ms or so, on the exact moment I start a print job (this is the normal message shown while printing). But nothing is printed.
Is there any idea on whats going on?
fearbrain said:
Thank you @krischat1001 for the steps.
I'm trying to make my printer working with this method (Brother DCP-165C connected to Khadas VIM2)
The Linux Deploy is running well with CUPS installed. The printer USB port was correctly identified (I think), I installed the cupswrapper official driver and selected it while adding the printer.
The problem is the printer never was triggered by CUPS, even while all the jobs are listed as done. I tried print a test page using CUPS and also print from another computer where the CUPS server was added.
What I can see in the printer screen is a fast message "Receiving data", for 100ms or so, on the exact moment I start a print job (this is the normal message shown while printing). But nothing is printed.
Is there any idea on whats going on?
Click to expand...
Click to collapse
Hi,
Im planning to repurpose one of our old MXQ Pro Android TV Box into a C.U.P.S. print server soon.
I'm really interested whether you've managed to identify the root cause or fix for this issue.
I would first check whether firewall and whether port 631 is allowed in the local network; I would then also check whether C.U.P.S. listener is configured to any print service request in cupsd.conf.
Dshah79 said:
Hi,
Im planning to repurpose one of our old MXQ Pro Android TV Box into a C.U.P.S. print server soon.
I'm really interested whether you've managed to identify the root cause or fix for this issue.
I would first check whether firewall and whether port 631 is allowed in the local network; I would then also check whether C.U.P.S. listener is configured to any print service request in cupsd.conf.
Click to expand...
Click to collapse
It was a driver problem. I found the specific driver for my printer, and everything is working well now.
Good luck!
I am trying to do the same for an old android phone. Have installed Ubuntu using Linux deploy, installed Cups, Printer Config Gnome, as discussed in this forum.
Printer is Epson L130. Gutenprint supports it, a user post in their forum confirms it.
But nothing happens when I connect my phone to the printer using USB. Neither CUPS nor Printer GNOME detects a new printer.
I have tried 3 different rooted phones: Moto Atrix 2, Xiaomi Mi 3, Moto X Play with same result. I am using the stock kernel and Rom.
lsusb does not show my printer.
lsusb -t however shows the printer in one of the nodes.
Are you guys on a custom kernel/rom?
Any suggestion would be appreciated.
avisekjena said:
I am trying to do the same for an old android phone. Have installed Ubuntu using Linux deploy, installed Cups, Printer Config Gnome, as discussed in this forum.
Printer is Epson L130. Gutenprint supports it, a user post in their forum confirms it.
But nothing happens when I connect my phone to the printer using USB. Neither CUPS nor Printer GNOME detects a new printer.
I have tried 3 different rooted phones: Moto Atrix 2, Xiaomi Mi 3, Moto X Play with same result. I am using the stock kernel and Rom.
lsusb does not show my printer.
lsusb -t however shows the printer in one of the nodes.
Are you guys on a custom kernel/rom?
Any suggestion would be appreciated.
Click to expand...
Click to collapse
Hi,
are you able to connect Epson L130 with the android device as a print server. Please let me know, as I have also the same printer.
krischat1001 said:
It will take some time for you if you haven't used linux and if you do not have idea about how to execute any of the steps I mention below.
Follow these steps:
* Root your phone
* Install Linux Deploy from play store
* Select distribution as Ubuntu in Linux Deploy and install it (this will take time as it will download the linux image and install it)
* In the config options, select VNC or SSH (this is only to install the cups package)
* Login to the linux machine (running on your android phone) using SSH or VNC
* Install cups, cups-daemon packages (run command "sudo apt-get install cups cups-daemon")
* Start cups daemon: run command "sudo /etc/init.d/cups start"
* Install system-config-printer-gnome if using VNC (run command "sudo apt-get install system-config-printer-gnome")
* If using VNC, connect to the machine using a VNC client and run "sudo /usr/share/system-config-printer/system-config-printer.py". In the screen, add your printer and share it to be used over network
* If using SSH, connect to the machine and add your printer using lpadmin (this is a bit advanced, use VNC to avoid and set the printer easily)
Click to expand...
Click to collapse
How do I connect VNC viewer from a laptop? I'm of course in the same wifi network.
whats-in-a-name said:
How do I connect VNC viewer from a laptop? I'm of course in the same wifi network.
Click to expand...
Click to collapse
(I was trying from my browser, which didn't work) Now installed a vncviewer and was asked for credentails, so YES it works.
This is a confusing thread, but I just want to state that I can print from my Android phone to my old-but-networked HP Laserjet 2100tn printer without using an Internet print server and without installing or using Linux.
Newer Mopria-certified printers are even easier to set up to print from Android.
1. On Android, I installed an "lpd" print server which outputs PDF level 1.3
2. But my printer doesn't accept PDF - my printer wants PCL-5 instead
3. So I added a muPDF "faux printer driver" to "render" the PDF to a bitmap
This converts the PDF to a bitmap and then to PCL-5, which is then sent to the old networked printer via the Android "print server".
I gave up on CUPS though as nothing seemed to work with my Android-12/Windows-10 setup.
I have found a very simple solution.
1. Make a USB server using your android mobile connected to printer with the app "
VirtualHere USB Server"2. Install the " VirtualHere client" in your windows/mac etc.
3. Connect the printer to your android mobile.
4. Run the server
5. In the windows , the client will detect the usb hub.
Now you are good to go.
Make sure that both server and client are connected over same network.
As long as I have the requisite SDK files and a terminal on an Android device, or if I'm doing this programmatically in an app I'd develop, can I use adb to push a file from one device to another that's connected via USB? The devices will be a Nexus 4 and probably a Nexus 7. The N7 would be the sender, fwiw. I'm hoping that it's not required that the device executing the adb push commands be a computer as opposed to a mobile device.
I'm assuming that I can find a cable that's micro USB (if that's what it's called) at both ends to connect the two devices.
Is it possible to do the same thing via a Bluetooth connection? Or can adb only recognize a device connected via USB?
maigre said:
As long as I have the requisite SDK files and a terminal on an Android device, or if I'm doing this programmatically in an app I'd develop, can I use adb to push a file from one device to another that's connected via USB? The devices will be a Nexus 4 and probably a Nexus 7. The N7 would be the sender, fwiw. I'm hoping that it's not required that the device executing the adb push commands be a computer as opposed to a mobile device.
I'm assuming that I can find a cable that's micro USB (if that's what it's called) at both ends to connect the two devices.
Is it possible to do the same thing via a Bluetooth connection? Or can adb only recognize a device connected via USB?
Click to expand...
Click to collapse
If you tried this you would need a usb otg cable for connecting the devices. But I don't think ADB client software exists on phones just computers. Why would you want his when Android has multiple better choices? Turn on NFC and tap the device backs together for example.
shadowofdarkness said:
If you tried this you would need a usb otg cable for connecting the devices. But I don't think ADB client software exists on phones just computers. Why would you want his when Android has multiple better choices? Turn on NFC and tap the device backs together for example.
Click to expand...
Click to collapse
I have adb on my Nexus devices. I didn't even put it there, though BusyBox might have. It's in /system/bin. I can execute commands from a terminal. But I haven't tried it with another device. I'll get an OTG cable.
I'd use NFC or make one of the devices a ftp server, but that doesn't meet the needs of the project I’m working on. This isn't for personal use or convenience. I need to have one device send another a file within a certain physical environment that precludes those things.
maigre said:
I have adb on my Nexus devices. I didn't even put it there, though BusyBox might have. It's in /system/bin. I can execute commands from a terminal. But I haven't tried it with another device. I'll get an OTG cable.
I'd use NFC or make one of the devices a ftp server, but that doesn't meet the needs of the project I’m working on. This isn't for personal use or convenience. I need to have one device send another a file within a certain physical environment that precludes those things.
Click to expand...
Click to collapse
Hello Maigre,
Have you finished your experiment with the OTG cable ? I would try to do the same kind of operation.
And if I add and USB cable to the USB-OTG cable, do you know if it's working ? (I found only a micro-USB male to USB female OTG cable, and I would use it with a USB male to micro-USB male cable).
Thank you in advance,
Greg
Hi,
So I am trying to setup the below SSHFS app for Android on my phone:
https://play.google.com/store/apps/details?id=com.chaos9k.sshfsandroid
The dev has not responded to my emails and provides next to no instructions...
Here is what I have done on my own:
On my Pc:
1. Setup Cygwin SSH modules
2. Am able to connect via putty to my home PC through both my internal and external IPs (basically yes SSH server is working as a service on my PC and I can connect from my own network and off of it on another windows PC)
3. Port 22 is forwarded in my router
So prereq one to one this app of needing SSH server setup on home computer is met
Next up on my phone:
1. I am rooted on a Samsung Galaxy S4
2. Have Busy Box
3. Phone is 4.2 which the app experimentally supports
4. I have FUSE module support on my phone
So I believe from the above my phone meets the prereqs to mount SSHFS shares.
On to the app itself:
To setup a share I have specified the following:
1.Name : has no bearing just for user ease
2.Host: using my external IP
3.Remote Path: Have tried all sorts of paths to files on my PC (including just basic /\ and blanks)
4.Mount Point:\mnt\SSH (have confirmed this works as previously it would not accept my mount point. This folder is mounted and the app can see it)
5. Automount (checked)
7. User name and Passwords...used the same ones I used in putty to connect to my server
So with all of the above I keep getting the below error:
/SH:<stdin>[1]:readlink:not found:No such file or directory.
I believe the above error is because I am not properly inputting my remote path I would like to mount....I ideally would like to mount my entire D drive....but for the sake of getting this started I would like to be able to mount anything just to prove it works.
Like I mentioned I can use a laptop on a different WIFI network to connect to my SSH server and browse files...so in theory this should work...If anyone can help me sort out the proper remote path syntax I would really appreciate the help.
Hello all,
As I'm not allowed to post in development forum due to low post count, this seems to me the ideal place. I have a custom USB WiFi stick that I need to use with my Android phone. I was able to build to build the driver module in the kernel and the device drivers are detected as well. I have verified it using dmesg as well as there is a light on stick that turns green when the drivers are recognized and firmware is loaded.
However, I am unable to see the WiFi for the USB stick (which have it's own AP) in the list of available WiFis on my mobile device. I tried to Google it on the Internet, but there is limited help available. One possible solution I found is to disable wlan0 interface which I tried in adb shell using command:
ifconfig wlan0 down
However, I was unable to run this command in adb shell. Can someone tell how to disable or turn off wlan0 interface in Android using adb shell?
Also, are there any other possible solutions to the problem I stated?
Thank you.