Ubuntu :: HCItool Does Not Return Specific Device Name

Jun 30, 2010

I've just installed Ubuntu 10.4 and was trying to use a small bash script for which I need hcitool to return the device name. The problem is that hcitool returns nothing when I query for the device's name using the address. The address was found using hcitool's scan option, so I know the device is responding. Also, I can pair the laptop with the phone using gnome's bluetooth application, what I can't do is get hcitool to return the device's name. I've tried scanning for other devices and querying for their names, and I tried using another laptop with Ubuntu installed to get the phone's name, in all cases hcitool returns the device's name, only when issuing the query from my mac to this specific phone does hcitool fail.

I'm issuing the following commands:
knitter@knitter-laptop:~$ hcitool scan
Scanning ...
<address omitted><name omitted>
<address omitted><name omitted>

After getting the list of devices that were found I grab my phone's address and ask for the name.
knitter@knitter-laptop:~$ hcitool name 00:8D:31:8C:0C:0A
As you can see, when scanning for devices I get both the address and the name, but when asking for the name I get nothing, and I really needed to use the hcitool name <address> command for the script as it would make things easier.

View 2 Replies


Ubuntu Multimedia :: How To Make Pulseaudio Use Only A Specific Device

Aug 12, 2010

I am trying to setup a complex audio system, but I won't bore you with the details (unless you ask). Basically, I want to have pulseaudio only use one specific device and ignore the rest of the devices.

View 9 Replies View Related

Ubuntu Networking :: Can Disable A Specific Wireless Device

May 17, 2011

11.04 64 bit I just picked up a new high-gain usb wireless adapter that I would like to use for a while in place of the built in wireless adapter in my desktop. It is detected and works just fine. My question is this: Is there any way I can disable just the built in adapter and leave the new one active (or visa versa?) I don't want to remove the built-in one as there will be occasions that I will want to use both.

View 6 Replies View Related

Ubuntu :: Assign Specific Joystick Device Path To It / Controller?

Oct 13, 2010

Currently I have 5 HID's I would like to use on the system at any given time. However, I have the problem of them using different device paths depending on what order I plug them in... Which wreaks havoc on qjoypad and also my music software which looks for a specific device number, which may or may not be the same as it was last time.

For example, I have 2 rock band drum controllers which I use to send MIDI signals. I need them always assigned to the same device path, so that I don't have to change the settings in my music software every time I run it, to make sure it's looking at the right controller

Or if I am going to play games with a gamepad, but I also have the drums hooked up, the gamepad may be assigned to /dev/input/js2, so I create my qjoypad profile.... Let's say the next day I reboot with the drums not plugged in, the gamepad is now /dev/input/js0, and the qjoypad profile won't work because it is looking for that gamepad at /dev/input/js2... So I would either have to create a new profile, or hook the drums back up in the same order ... Or something

It's just a mess...

Is there any way to tell Ubuntu to say "/dev/input/js0 is always Playstation gamepad", "/dev/input/js1 is always drum pad 1", etc.?

Or some way to do away with /dev/input scheme altogether and somehow link directly to the name of the device?

View 1 Replies View Related

Ubuntu Networking :: NetworkManager Tries To Connect To Wrong Device / Get To A Specific?

Oct 15, 2010

I have a ZTE 3G USB modem (MF645).
When I plug it, 5 devices appear: /dev/ttyUSB[0-4]. The modem device is /dev/ttyUSB2, and I can successfully connect wvdial on it.
NetworkManager detects the modem, however, it tries to connect to /dev/ttyUSB1 instead, and fails.

How does NM decides which device to connect to?
Is it possible to instruct it to connect to a specific device?

View 1 Replies View Related

General :: Resume From Suspend With Specific Device

Oct 23, 2010

I was trying to get this feature: wake up my htpc from s3 with my remote control and the solution is to modify /proc/acpi/wakeup and a descriptor in /sys. Here are the details: I'm using a Microsoft IR receiver for MCE remote that appears as dev 2 of bus 2 in lsusb

root@htpc:~# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 045e:0714 Microsoft Corp.
Bus 001 Device 005: ID 045e:0715 Microsoft Corp.
Bus 001 Device 004: ID 045e:0707 Microsoft Corp. Wireless Laser Mouse 8000
Bus 001 Device 003: ID 045e:070c Microsoft Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub....

That's USB0 I have to enabled, why not usb 1 or 2 (bus 2 in lsusb)? Moreover why are all the disabled/enabled preceded with a star and S4 and not S3 mentioned? Nevertheless that wasn't enough to get it work. I looked in gconf-editor in apps/gnome-power-manager/general but I have no can-suspend or something similar... (I'm running on 10.10, with 10.04 I could suspend only once, afterwards the computer didn't go to suspend, just black screen then login screen). So I looked in /sys/ and found that 'cat /sys/bus/usb/devices/2-1/power/wakeup' (notice the 2.1 as bus 2 device 2 (0,1,...) gave 'disabled' so a echo enabled > /sys/bus/usb/devices/2-1/power/wakeup and now I can wake-up with the remote when I want.

What I don't understand:
Why USB0 in /proc/acpi/wakeup ?
Why have to change in /proc and /sys ?
Is it possible to automate this to get it work even if I change the usb port the receiver is plugged in ?

View 1 Replies View Related

Ubuntu Servers :: Program/Process Route To Specific Network Device?

Jul 30, 2010

Is there a way to bind specific programs to specific network devices (not IPs, since I have dynamic IPs)?

For example, I wish for irssi to route through eth0 and w3m to route through eth1. Keep in mind these devices have dynamic IPs, so I cannot attached them to an IP.

The solution cannot be accomplished through route since route pivots on IPs not devices.

View 1 Replies View Related

Ubuntu :: Staticly Assign Device Names (/dev/sda, Etc.) To Specific Hard Drives?

Feb 20, 2011

This is one of those questions where I highly suspect that the answer will be something like ". . .just stinks bein' you, kid."My setup:I have Ubuntu 10.04 x64 (desktop) installed on a computer with a bunch of SATA ports, including one e-SATA on the backBecause of the way the hardware works with these ports, the *external* port is the first SATA port, a second SATA port inside becomes #2, and a cluster of four ports (that can be made into a (ahem!) RAID array become ports 3 through 6.

All ports are configured as SATA (PATA emulation)My boot drive is located on SATA-2 (the inside connector), a four disk "MD" raid array is located on SATA 3-6, and I have an external HD enclosure that I plug into the e-SATA connection.

With all six drives plugged in, they get ordered like this:
/dev/sda - External drive
/dev/sdb - Internal operating system drive (bootable)


View 3 Replies View Related

General :: Ifconfig Return "unknown Interface: No Such Device"

May 9, 2010

I'm trying to install a Linux driver for my wireless network card (D-Link DWL-G510) on my Red Hat Linux 7.1 machine with a kernel. I downloaded the serial monkey driver from the sourceforge site and was able to successfully compile the rt73 module and load it into the kernel. The problem now is that everytime I issue the command ifconfig wlan0 up it keeps returning with the following error message: wlan0: unknown interface: No such device.

I'm at a loss as to what to do here. I specifed wlan0 as the alias for the rt73 module in the modules.conf and also tried to load the driver with the command modprobe rt73 ifname=wlan0 (this specifies the interface name according to the instructions packaged in the driver), but the error message still keeps coming up.

Is there something else I need to do in Linux to configure the wlan0 part or is the module not recognizing the wireless network card? It would be quite strange if it is the later since all information from the Internet is indicating this is the linux driver I should be using for mentioned wireless card.

View 1 Replies View Related

Hardware :: Forcing Specific Driver For Device Through Udev

Oct 5, 2010

My co-workers and I are trying to develop a USB device, which uses an FTDI chip as a USB-serial controller. The thing is, we would ideally like to set a custom idVendor and idProduct on the FTDI chip. The problem occurs that when we set custom idVendor and idProduct values, udev(7) loads the "usb" driver. If we leave the idVendor and idProduct values to their originals, udev(7) loads the "ftdi_sio" driver. The whole reason for the custom idVendor and idProduct values is so that I can (hopefully) write a udev(7) rule to map that particular device to a specific entry in /dev. Is there a way to write a udev(7) rule so that you can forcefully load a particular driver for a device? Is there something else that could be done to get a similar result?

View 2 Replies View Related

Hardware :: How To Stop Device From Being Controlled By Specific Driver

Apr 5, 2011

I am working on getting into driver development in Linux, I am developing a driver for the Hanvon GraphicPal drawing tablet.I have started writing a driver that actually detects the device when it is plugged in, so far thats all it does, it needs a lot more work. However, testing it is really hard because when I plug in the device normally, it gets picked up by usbhid or hidraw (not sure which), so the only way to get my driver to pick it up is to unload usbhid ("sudo rmmod usbhid") and then plug in the device. However, unloading usbhid kills my usb keyboard... which, as you can imagine, makes typing difficult, making it hard to develop drivers or even to reload usbhid. So is it possible to stop that specific device from being picked up by usbhid or hidraw and only by my driver?

View 2 Replies View Related

General :: Permissions - Mount Device With Specific User Rights?

Aug 8, 2011

How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:

dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000

View 1 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc


View 12 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related

Programming :: Replace Specific Character After Specific Line By Awk?

Jul 19, 2010

I want to replace specific character in a file after every specific line. example as follows.

O 000000000000000000
A 111111111111111111
C 222222222222222222


View 2 Replies View Related

Server :: Redirect Specific Ip To Specific Web Page?

Jul 1, 2009

I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log

src blacklist {


View 1 Replies View Related

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Ubuntu Multimedia :: Unable To Open Device /dev/dsp - Device Or Resource Busy

Apr 13, 2010

All my music editing software programs say, "unable to open device /dev/dsp.Device or resource busy." How can I fix this?

View 3 Replies View Related

Ubuntu :: Mdadm: Cannot Open Device /dev/sdb1: Device Or Resource Busy

Jun 11, 2011

I rebooted my server and out of nowhere the RAID5 array won't assemble. I've tried everything I could think of to reassemble the thing. I fear that the array is ruined, but I can't imagine how. Here are various bits of information: The simplest failure (with and without partition numbers, which have not been needed in the past):


richard@nas:~$ sudo mdadm --assemble --verbose /dev/md0 /dev/sd[bcd]
mdadm: looking for devices for /dev/md0
mdadm: cannot open device /dev/sdb: Device or resource busy


View 5 Replies View Related

General :: Ubuntu - Find The Device Node File For USB Device?

Aug 23, 2011

I've bought an X10 Home Automation USB interface: the CM15.

This is the information lsusb gives:

skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)

But this tells me nothing about where the device file is! How can I find that, or create one myself?

View 1 Replies View Related

Ubuntu :: How To Return To 9.10 From 10.04

Aug 4, 2010

how can i return to 9.10 from 10.04?

View 8 Replies View Related

Ubuntu :: Can't Return To Windows 7

Mar 22, 2010

i tried to install brug theme so i cant return to windows 7 which files should i paste here.

when i click to windows 7 option in grub boot menu it just returns me "GRUB"

View 9 Replies View Related

Ubuntu :: Return To # In Terminal?

May 19, 2010

after i start a process in terminal and you lose the # how do i get it back without quiting the process?

View 4 Replies View Related

Ubuntu :: Run Program From CLI Then Return?

Jan 9, 2011

I'm trying to figure out the syntax needed to run a command that will spew out output (which I don't need) but go back to allowing me to run other commands without closing that program.Basically I run:



and it starts and gives output but I want to run other commands without needing to open a new tab or close that program.

View 4 Replies View Related

Ubuntu :: Way To Return Default Theme In 9.10?

Apr 2, 2010

Is there any way to return default theme, in 9.10? because i have installed full mac theme and i really messed everything up, but now i'm bored, so is there any way restore everything easy?

View 2 Replies View Related

Ubuntu :: How To Return To Default Settings

Jun 7, 2010

I need the command for returning my ubuntu netbook remix (newest version) to default settings. The problem is that when I installed a theme, the next time I booted the OS the screen starts blinking and when I enter my admin password, no icons appear. My laptop is Dell 1525.

View 4 Replies View Related

Ubuntu :: CTRL-ALT-F7 Fails To Return To X11?

Aug 13, 2010

This is a problem which has been plaguing me ever since the upgrade from Karmic to Lucid.

I used to be able to log into any one of the seven TTYs.

CTRL-ALT F1-six all work fine. Problem is if I log into one I can't get back to the GUI.

Immediately after the upgrade, I was told by some people that this was deprecated along with startx and I should use sudo gdm service start instead.

This doesn't work for me If I have to open a terminal when a nasty game freezes and I have to kill it from a terminal.

View 9 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved