Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 89459 Details for
Bug 137161
udev pcmcia bluetooth initialisation rules/scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script to take handle PCMCIA Bluetooth devices
pcmcia.bluetooth (text/plain), 694 bytes, created by
Steven Newbury
on 2006-06-18 05:05:04 UTC
(
hide
)
Description:
Script to take handle PCMCIA Bluetooth devices
Filename:
MIME Type:
Creator:
Steven Newbury
Created:
2006-06-18 05:05:04 UTC
Size:
694 bytes
patch
obsolete
>#!/bin/bash ># ># pcmcia.bluetooth ># ># PCMCIA Bluetooth device initialization >#DEBUG=yes; export DEBUG >SYSFS=/sys > >cd /etc/hotplug >. ./hotplug.functions > >test -z "$MANFID" && MANFID="bcsp" >test "$MANFID" = "0000,0000" && MANFID="bcsp" >case $kernel in > ttyS*) DEVICE=$kernel > ;; > *) sleep 2; DEVICE=`ls $SYSFS$DEVPATH | grep tty | cut -d: -f2` > ;; >esac > >start_serial() { > stop_serial > debug_mesg $DEVICE $MANFID > /usr/sbin/hciattach -p $DEVICE $MANFID && \ > mesg $CARDNAME initialised >} > >stop_serial() { > if [ "`/usr/sbin/hciconfig`" != "" ]; then > killall -HUP hciattach > fuser -k -HUP /dev/$DEVICE > /dev/null > fi >} > >case "$ACTION" in > "add") start_serial > ;; > "remove") stop_serial > ;; >esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 137161
:
89458
| 89459