freebsd-ports/comms/hso-kmod/files/option-icon.conf.sample
Martin Wilke c92c5e1dd4 - Update to 20081023
Note:
	- now builds against the new MPSAFE TTY layer
	  (and still builds against the old one)
	- new product IDs added (0x7011 and 0x7501)
	- hsoctl now forks into background after a successful connection
	  (use -d to disconnect, -n to get the old behavior)

PR:		128422
Submitted by:	Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
2008-11-01 22:10:20 +00:00

7 lines
379 B
Text

attach 100 {
match "device-name" "umass[0-9]+";
match "vendor" "0x0af0";
match "product" "0x6911|0x6971|0x7251|0x7401|0x7011|0x7501";
match "devclass" "0x00";
action "sleep 1; /sbin/camcontrol cmd `/sbin/camcontrol devlist | /usr/bin/grep ZCOPTION | /usr/bin/awk '{match($11, /pass[0-9]+/); print substr($11, RSTART, RLENGTH) }'` -c '01 00 00 00 00 00' -i 1 i1 > /dev/null";
};