Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi All,
I have installed Solaris 10 on my AMD 64 3000+ system. I was playing with grub commands eeprom and bootadm commands. I screwed my boot-file and now am unable to boot the system. Gets error msg as "panic: cannot open /kernel/amd64/unix". I booted the system is filesafe and tried update the... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
A server that I am working on (SUN FIRE V240 , SOLARIS 10) doesn't boot because of a corrupted files system.
I tried to repair de file system, I also tried to to restore all the files systems with a backup of the server that I have but the message bellow appear
panic/thread=30002fc2060:... (8 Replies)
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT NETBSD
btsco
BTSCO(4) BSD Kernel Interfaces Manual BTSCO(4)NAME
btsco -- Bluetooth SCO Audio
SYNOPSIS
btsco* at bthub?
audio* at audiobus?
DESCRIPTION
The btsco driver provides support for Bluetooth SCO Audio devices through the audio(4) driver.
The btsco driver must be configured at run time with the btdevctl(8) program. The following properties are used by the btsco driver during
autoconfiguration:
local-bdaddr
Local device address.
remote-bdaddr
Remote device address.
service-name
The btsco driver matches the 'HF' and 'HSET' services. For the 'HF' service, the btsco device will, on open(2), listen for incom-
ing connections from the remote device. Otherwise, btsco will attempt to initiate a connection to the remote device.
rfcomm-channel
This integer value is not used directly, but will be stored and passed via the BTSCO_INFO ioctl as below:
SCO connections require a baseband connection between the two devices before they can be created. The btsco driver does not create this, but
can provide information to facilitate an application setting up a control channel prior to use, via the BTSCO_INFO ioctl(2) call on the mixer
device, which returns a btsco_info structure as follows:
#include <dev/bluetooth/btsco.h>
struct btsco_info {
bdaddr_t laddr; /* controller bdaddr */
bdaddr_t raddr; /* headset bdaddr */
uint8_t channel; /* RFCOMM channel */
int vgs; /* mixer index speaker */
int vgm; /* mixer index mic */
};
#define BTSCO_INFO _IOR('b', 16, struct btsco_info)
The btsco driver can be configured to act in Connect or Listen mode. In Connect mode, the btsco driver will initiate a connection to the
remote device on an open(2) call, whereas in Listen mode, open(2) will block until the remote device initiates the connection.
SEE ALSO bthset(1), ioctl(2), audio(4), bluetooth(4), bthub(4), btdevctl(8)HISTORY
The btsco driver was written for NetBSD 4.0 by Iain Hibbert under the sponsorship of Itronix, Inc.
BUGS
btsco takes no notice of the HCI Voice Setting in the Bluetooth controller, and this must be 0x0060 (the default) as alternate values are
currently unsupported.
BSD October 4, 2006 BSD