Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ams(4) [netbsd man page]

AMS(4)							   BSD Kernel Interfaces Manual 						    AMS(4)

NAME
ams -- Apple Desktop Bus mouse driver for wscons SYNOPSIS
ams* at obio? wsmouse* at ams? DESCRIPTION
This driver provides the wscons(4) driver with support for Apple Desktop Bus mice. SUPPORTED HARDWARE
NetBSD is known to support the following ADB mice: o On-board trackpads and trackballs in PowerBook models o Apple Desktop Bus Mouse o Apple Desktop Bus Mouse II o Interex ADB Mouse o Logitech TrackMan o Logitech MouseMan o Microspeed Mouse Deluxe o Mouse Systems A3 Mouse o Most third-party ADB mice, trackballs, and trackpads are supported DIAGNOSTICS
ams0 at adb0 addr 3: 1-button, 100 dpi mouse This is a typical autoconfiguration message noting the presence of the ams mouse. SEE ALSO
adb(4), wscons(4), wsmouse(4), wsconsctl(8) BSD
September 21, 2003 BSD

Check Out this Related Man Page

BTMAGIC(4)						   BSD Kernel Interfaces Manual 						BTMAGIC(4)

NAME
btmagic -- Apple Magic Mouse SYNOPSIS
btmagic* at bthub? wsmouse* at btmagic? DESCRIPTION
The btmagic driver provides support for the Bluetooth ``Magic Mouse'' from Apple, Inc. As remote devices cannot be discovered by autoconfig, configuring a mouse is normally carried out with the btdevctl(8) program. The Magic Mouse uses the standard USB Human Interface Device protocol to communicate, but does not provide a proper HID Descriptor, and requires specific initializations to enable the proprietary touch reports. The Magic Mouse provides basic mouse functionality with two buttons, and the btmagic driver additionally interprets the touch reports to emu- late a middle mouse button when more than one firm touch is detected during a click event, plus horizontal and vertical scrolling for touch movements greater than a certain distance. The mouse has a base resolution of 1300dpi, which the driver scales by default to a less sensi- tive 650dpi, but this is adjustable with sysctl(8) along with the pressure needed to discern a firm touch, the minimum distance necessary to trigger scrolling and the additional downscale factor applied to scroll movements. btmagic interfaces to the system as usual through the wsmouse(4) driver, and the following properties are used during autoconfiguration: vendor-id Must be 0x05ac. product-id Must be 0x030d. local-bdaddr Local device address. remote-bdaddr Remote device address. link-mode This optional string represents the link mode of the baseband link, and may be one of 'auth', 'encrypt', or 'secure'. When the btmagic driver has configured, it will attempt to open a connection to the mouse and, if this fails or the connection is lost, will wait for the mouse to initiate connections. The Magic Mouse requires connections to be authenticated, and should accept a PIN of '0000' dur- ing the pairing process. SEE ALSO
bluetooth(4), bthub(4), wsmouse(4), btdevctl(8), sysctl(8) HISTORY
The btmagic driver was written by Iain Hibbert with reference to the Linux driver written by Michael Poole. BSD
October 11, 2010 BSD
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

DHCP Internet probleams

I have earthlink DSL and my SPARC 5 system is connected through a cable to my wireless netgear router. I dont have an account name, i dont have a domain name, I get my IP adress dynamically from my ISP, and I dont have a DNS Name but i do have 2 DNS IP adresses. Can someone plz help me set up... (14 Replies)
Discussion started by: vikster007
14 Replies

2. Shell Programming and Scripting

sed & awk--get section of file based 2 params

I need to get a section of a file based on 2 params. I want the part of the file between param 1 & 2. I have tried a bunch of ways and just can't seem to get it right. Can someone please help me out.....its much appreciated. Here is what I have found that looks like what I want....but doesn't... (12 Replies)
Discussion started by: Andy Cook
12 Replies

3. Shell Programming and Scripting

calling a program (w/ params) from within shell

Hi all, I need to call some script (s1) from within my shell script (s2). s1 accepts parameters and I want to feed it with values of params from my script. I tried many things but none work (I am so much of a beginner), please help one of my attempts : . . . param1="hehe" param2="haha" ... (12 Replies)
Discussion started by: Lorna
12 Replies

4. Shell Programming and Scripting

Shell script to find longest phrase

Hi Everyone, I am trying to write a shell script that can find the longest phrase that appears at least twice in an online news article. The HTML has been parsed through an HTML parser, converted to XML and the article content extracted. I have put this article content in a text file to work... (24 Replies)
Discussion started by: stargazerr
24 Replies

5. Shell Programming and Scripting

Does awk ever resolve params ?..

Hi, Does awk ever resolve params in the search pattern?.. The following awk doesnt know how to resolve ${tables}$ inside a loop. k=`awk '/${tables}$/ ${graph}` The search pattern has ${tables}$ and I am narrowing down my search with a $ at the end of string. So...this leaves me with a... (13 Replies)
Discussion started by: anduzzi
13 Replies

6. Shell Programming and Scripting

Problem with pipes on infinite streams

Here is an example code that shows the issue I have: #!/bin/bash counter() { seq 1000 | while read NUM; do echo $NUM echo "debug: $NUM" >&2 sleep 0.1 # slow it down so we know when this loop really ends done } counter | grep --line-buffered "" | head -n1 ... (10 Replies)
Discussion started by: tokland
10 Replies

7. Android

Will You Move to an Android Phone or Tablet?

Let's find out about users of Android. I'm becoming a big Android follower. You? After a lot of research, I am thinking to by the Samsung Galaxy S as soon as it updates to Android 2.2. I'm also closely following the release of the Samsung Galaxy Tab! (14 Replies)
Discussion started by: Neo
14 Replies

8. Android

Any Android Developers in the Forums?

I'm about to make the switch over to Android OS for my mobile phone. I'm thinking my first Android phone might be something like a Samsung Galaxy S or an HTC Desire HD, or I might wait for one of the new Android tablets coming out later this year (like the Samsung 7" tablet on Android). Was... (10 Replies)
Discussion started by: Neo
10 Replies

9. What is on Your Mind?

What Company Makes Your Mobile Phone?

Without getting into the exact models (which change all the time anyway), who makes your (primary) mobile phone? (35 Replies)
Discussion started by: Neo
35 Replies

10. Shell Programming and Scripting

How to call different programs based on requirement?

Hi Team, I have four shell scripts and i need to put it into one script and call based on requirement. For example: If server is Linux and version of my software version is 5 then it should call 1st scipt If server is Solaris and version of my software version is 6 then it should call... (16 Replies)
Discussion started by: darling
16 Replies

11. Shell Programming and Scripting

Remove duplicates, tried several programs not working

Hi all I tried to remove duplicates using all code mentione dbelow but its not wroking it's seems busy please check it sort -u filename.txt perl -lne 'chomp; if(!defined $x{$_}){$x{$_}=1;print}' inputfile out of attached files log file(input) log2file(output) (9 Replies)
Discussion started by: manigrover
9 Replies

12. BSD

Connecting a samsung galaxy siii to freebsd

I am connecting a samsung smartphone (galaxy s3) to a freebsd machine. It does not automatically mount. When plugging this machine in, the following message appears: ugen 7.2: <SAMSUNG> at usbus7 When disconnecting, the following message appears: ugen 7.2: <SAMSUNG> at usbus7 (disconnected)... (13 Replies)
Discussion started by: figaro
13 Replies

13. Shell Programming and Scripting

Building programs from separate makefiles

I have several makefiles to build various programs in a software suite (currently 4 programs). I want to create a main Makefile so that I can build everything I need. Unsure on the way I should proceed, for example using include fdtc.mk or calling $(MAKE) -f ./mk/Makefile nfdtc Here... (15 Replies)
Discussion started by: kristinu
15 Replies

14. Shell Programming and Scripting

Check and control params in parsing file

Hello, I would like to control and check the right parameters $1 must have 4 alphabetics digits among eora qora pora fora $2 must have 2 numerics digits 00 to 11 $3 must have 2 numerics digits 00 to 59 $4 must have 10 characters alpha numerics as 2013-02-26 For example : In case 5) if i... (15 Replies)
Discussion started by: amazigh42
15 Replies

15. Homework & Coursework Questions

Need help on how to execute several programs

1. The problem statement, all variables and given/known data: Get each of these programs to run. Prove that you've done this(use script). Give a description of each program along with sample executions. These are the exact programs we were given. 2. Relevant commands, code, scripts,... (11 Replies)
Discussion started by: FaTaL
11 Replies