Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Noob scripting question with android ADB commands Post 302566704 by Onyoursix on Friday 21st of October 2011 12:02:09 AM
Old 10-21-2011
Oh man that command is money! Thank you!!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Noob learning Unix: backup commands

I am trying to learn some unix here and i have some question that i would like to ask: What's the most basic backup command? What is the command to pause a backup? What is the command to resume backup? Can we backup a job that is running ? How can we pause the backup of the job and than... (1 Reply)
Discussion started by: lotusx
1 Replies

2. Android

Example Linux Commands on Android

In case you are interested, here is a partial list of linux-like commands on Android OS: /sbin adbd devmgr recovery dfta init dfta.sh fat.format redbend_ua /system/bin (partial list) sh date netstat mount umount (0 Replies)
Discussion started by: Neo
0 Replies

3. Android

Android Scripting Environment: Shell Scripting and Android

I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies

4. UNIX for Dummies Questions & Answers

NOOB - Scripting to make an App work

Hello everyone. i work in a school and i ran into an application today that is a real pickle. i know how to make it work, but i would need to script it. The way to make it work would be to have a script check each local user profile on login, see if the directory already exists, do nothing... (27 Replies)
Discussion started by: jscan
27 Replies

5. Shell Programming and Scripting

Noob to Shell Scripting

Hello. I'm attempting to create a shell script to assist me by saving time with one of my hobbies. I am an Android Enthusiast and currently build a few roms for one of the devices. One of the roms I make is ported from a different device to mine (I get the original for the HTC Desire HD and... (3 Replies)
Discussion started by: JHutson456
3 Replies

6. Shell Programming and Scripting

Noob Expect Scripting Question

I'm having some difficulty with convincing Expect to do what I need.. I have a loop that waits for input, a specific phrase of text followed by a single word. I need Expect to capture that word following the specific phrase. It should then store the word in a variable. I'm fairly sure it's... (6 Replies)
Discussion started by: LongLeafTea
6 Replies

7. Shell Programming and Scripting

Shellscript to copy music from handy to pc over Android Development Bridge (ADB)

Hi Friends, I want to copy my .mp4 files from a file of my mobile to my pc using the programm adb (Android Development Bridge). My Script: ./copyfiletopc /sdcard/Playtube ~/musik/PlayTube \.mp4 #!/bin/bash # $1 = from dir # $2 = to dir # $3 = search # adb is the... (2 Replies)
Discussion started by: Bergiu
2 Replies

8. Android

Basic commands for android!!

Hi, I have a n android phone and just rooted it. I access it using 'terminal Emulator'. I performed many basic linux-like commands in the terminal like rm,ls,df,reboot etc and they are working fine. But many of them are not like man <something>, clear,du etc. Can any of you please help to... (20 Replies)
Discussion started by: shekhar_4_u
20 Replies

9. Shell Programming and Scripting

Noob to scripting needs some assistance

Hello, I am in a Unix class and have been out of town. I have been tasked to generate a couple of scripts and ahve never done it before. I have a virtual machine running Ubuntu. The task is below Prompt the system administrator for all valid input parameters Generate a menu to ask which... (1 Reply)
Discussion started by: jkeeton81
1 Replies

10. Shell Programming and Scripting

Total Noob BASH scripting question

Hello All, I have a file of ip addresses called activeips.txt What I'm trying to do is run a simple bash script that has a loop in it. The loop is a cat of the IP addresses in the file. The goal is to run 2 nmap commands to give me outputs where each address in the list has an OS... (11 Replies)
Discussion started by: Dirk_Pitt
11 Replies
ADB(4)							   BSD Kernel Interfaces Manual 						    ADB(4)

NAME
adb -- Apple Desktop Bus driver SYNOPSIS
adb* at obio? options MRG_ADB #include <machine/adbsys.h> DESCRIPTION
The Apple Desktop Bus (ADB) is the single-master, multiple-slave, low-speed serial bus interface used by Macintosh computers to connect input devices such as keyboards, mice, trackpads, trackballs, and graphics tablets to the machine. NetBSD provides support for the Apple Desktop Bus as found on all supported mac68k models, as well as macppc models with on-board ADB (PowerBooks and ``Old World'' models). The adb driver accesses the ADB controller using the so-called ``HWDIRECT'' method. This method of access bypasses the Macintosh ROM and uses only NetBSD routines for ADB access. This is the only method supported on macppc and is the default for mac68k systems. On mac68k systems there is an alternate method of accessing the ADB controller. With the Macintosh ROM Glue (MRG) method, the routines writ- ten for MacOS are used. To enable this method of ADB access, uncomment the line: options MRG_ADB in your kernel configuration file. The ioctl(2) call is used to control the ADB event device. The following is a list of available ioctl(2) commands: ADBIOC_DEVSINFO Get ADB Device Info The adb event device will return an array of information containing an entry for each device connected to the bus. Each entry contains the current address, default address, and handler ID for the corresponding ADB device. ADBIOC_GETREPEAT Get Keyboard Repeat Info Returns a structure containing the current keyboard repeat delay and keyboard repeat interval. ADBIOC_SETREPEAT Set Keyboard Repeat Rate Sets the keyboard repeat delay and interval to the values specified by argp. ADBIOC_RESET ADB Reset Perform a reset of the ADB which will reinitialize all of the devices attached to the bus. ADBIOC_LISTENCMD ADB Listen Command Send data to the register of the ADB device specified by argp. This command is not fully implemented at this time. SUPPORTED DEVICES
NetBSD includes support for the following ADB devices, sorted by driver name: abtn ADB mouse button? aed ADB event device akbd ADB keyboard ams ADB mouse apm APM emulation FILES
/dev/adb The ADB event device. DIAGNOSTICS
aed0 at adb0 addr 0: ADB Event device This is a normal autoconfiguration message noting the presence of the adb event device. adb0 at obio0 offset 0x16000 irq 18: 2 targets A standard autoconfiguration message indicating the initialization of the ADB subsystem. adb: no devices found. No ADB devices were found to be connected to the bus during autoconfiguration. adb: using %s series hardware support. Indicates the class of ADB hardware support the machine uses. adb: hardware type unknown for this machine. The ADB hardware in this machine is currently unsupported. adb: no ROM ADB driver in this kernel for this machine. The kernel lacks the necessary Macintosh ROM Glue (MRG) support for accessing the ADB hardware on this machine. adb: using serial console. A serial console will be used for user input rather than the ADB event device. adb: %s at %d. An ADB device of the type specified by %s has been found at location %d. SEE ALSO
aed(4), akbd(4), ams(4), apm(4) HISTORY
The adb interface first appeared in NetBSD 0.9. It has been under development ever since. AUTHORS
Bradley A. Grantham wrote the original adb driver, including the MRG support. The hardware direct interface was written by John P. Wit- tkowski. The PowerManager interface was written by Takashi Hamada. BUGS
o Not every class of ADB hardware is supported yet. o The talk command is currently unimplemented. o The listen command is not implemented yet. o Not all multi-button mice are currently supported. o Only mapped and relative-position ADB devices (i.e. keyboards and mice) are supported. Thus absolute-position and other exotic devices will not work. o Some of the diagnostic messages in this man page need to be updated. Some mac68k machines contain so-called dirty ROM. These machines are the: Mac SE/30, Mac II, Mac IIx, and Mac IIcx. Machines with dirty ROM may experience trouble booting if the MRG code is used, especially under the following conditions: o Both a keyboard and a mouse are not attached to the computer. o An extended keyboard is attached to the computer. On (some) machines with dirty ROM, the ROM indicates the presence of a ``ghost'' keyboard or mouse. When this non-existant device is probed for, the result is an infinite loop. This is believed to be triggered by the adb driver probing for extended mice, and non-EMP Logitech mice. BSD
September 21, 2003 BSD
All times are GMT -4. The time now is 09:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy