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


ADVERTISEMENT

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

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

Fedora Installation :: Device Driver For Usb To Detect Device?

Sep 19, 2009

I am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.

View 1 Replies View Related

Hardware :: USB Device Is Not Claimed By Any Active Driver For Every Device

Nov 10, 2010

The error "USB device 6 (vend/prod 0x603/0xf2) is not claimed by any active driver." is in dmesg every time I connect my Logitech keyboard to my system. I also tried (all with the same error):
- Memory stick
- DVD-burner
- Compaq mouse

View 3 Replies View Related

Ubuntu :: Stop Update-grub2 Automatically Adding Entries For Specific Partitions?

Aug 20, 2010

I like to load other distro's via their own grub.

So at the min I add an entry to code...

however when update-grub2 is run it also adds its own entries (for arch linux).

Is there a way to stop the update-grub2 script automatically adding a entry on a specific partition ?

View 3 Replies View Related

CentOS 5 :: Specify The Device Driver When Mounting A Device?

Jul 28, 2010

I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?

View 3 Replies View Related

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:
Code:
knitter@knitter-laptop:~$ hcitool scan
Scanning ...
<address omitted><name omitted>
00:8D:31:8C:0C:0AKntSE
<address omitted><name omitted>

After getting the list of devices that were found I grab my phone's address and ask for the name.
Code:
knitter@knitter-laptop:~$ hcitool name 00:8D:31:8C:0C:0A
knitter@knitter-laptop:~$
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 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 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

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 :: 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 :: USB Devices Stop Responding When A New Device Is Inserted?

Oct 4, 2010

I'm running archlinux & just recently started having a problem where ALL USB devices will stop responding for a second when a new USB device is plugged in. dmesg doesn't provide any hints.For example, I've got my music on an external HD & it will stop playing for like ~30 seconds if plug in my camera or gamepad...This issue only seemed to start after my home partition was erased & re-created, though I don't see how these two issues could be related.I've been running a custom kernel (2.6.35-rc6) for the past few months, and that hadn't changed to spur this issue. Thinking it may have been something weird with the kernel, I even switched over 2.6.36-rc6-mainline, yet this did not remediate the issue.

View 2 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)

[code]....

View 3 Replies View Related

Software :: Stop The Sound Driver?

Jan 19, 2011

Kernel 2.6.21.5, Slackware 12.0 When I run alsaconf, the first thing it does is to say Quote: If ALSA is already running, you should close all sound apps now and stop the sound driver. By apps I understand things like aplay, mpg321, etc. Am I right? So stopping them is no problem: symply do not run them. But how do I stop the sound driver?

View 1 Replies View Related

Ubuntu Multimedia :: Install A Specific Display Driver?

Oct 21, 2010

I am running an ubuntu 10.10 with an Intel i3 on a Gigabyte motherboard. I use it mainly as an HTPC, so it is connected (via HDMI) to a Samsung LCD TV (LA40A450C1V).
Do I need to install a specific display driver? if so - how do i do that?

View 7 Replies View Related

Ubuntu Networking :: Wmp300n - Can't Stop Broadcom Driver To Use Ndiswrapper

Sep 26, 2010

We have a Lynksys wmp300n networking card and wants it to work with her new 64-bit system (Ubuntu 9.10). One of the files needed to use it in ndiswrapper was not on her CD and isn't available from their web site. After a few days, I found a Compaq driver .exe that contains the file and thought I was home free. The problem now is that I can't make the broadcom driver the system defaulted to to stop being used. My steps were:

sudo apt-get install network-manager
sudo ndiswrapper -i ~/Desktop/bcmwl5.inf
***//got a -> couldn't find "BCMWL564.SYS"
sudo ndiswrapper -r bcml5
***//got the sys file from a divers for a Compaq card I found a link to
sudo ndiswrapper -l
***//got nothing back
sudo ndiswrapper -i ~/Desktop/bcmwl5.inf
sudo ndiswrapper -l
[Code]....

* Now at this point I don't understand why the b43-pci-bridge driver is still being used nor what to do about it. Edit-> Not sure why it added asterisks in place of my false spaces that I used for indentation, but I can't seem to make it stop replacing them (or stop deleting normal spaces or ignoring and not rendering tabs).

View 1 Replies View Related

Ubuntu :: Mpd Controlled From Another Windows Computer?

Nov 21, 2010

Is there a windows (XP) based program that will control mpd running on a different Linux server?

I have mpd and mpc working on my text only server playing stuff throughout the house. My wife (having no Linux experience) would like to select songs, volume, etc, Can someone suggest a client that will run on Windows that will control the mpd via the lan?

View 2 Replies View Related

Debian Hardware :: Digital Cameras That Can Be Controlled?

Apr 3, 2010

Does anybody know of any digital cameras that can be controlled via Debian? I'm not speaking of a webcam but a digital camera, and I'd like to be able to send commands to the camera via usb; perhaps by means of a bash script that would take snapshots every x seconds for a total duration of y seconds.

View 2 Replies View Related

OpenSUSE Install :: Windows XP On Lvm Controlled Disk?

Dec 2, 2010

My system, OpenSuSE 11.3 (box2), has two physical disks in one volume group. One disk is almost empty. Unfortunately I need to install Windows XP as dual boot. (Yes, I know it would be easier to do this the other way around.) I plan to repartition the almost empty disk to make room for a Windows XP partition. The disk is NOT the primary master disk, because that's where my OpenSuSE 11.3 resides.

Will I break LVM if I install Windows XP? Will XP boot under lvm? Do I need to remove the disk from of the volume group before installing XP?

Box 2: OpenSuSE 11.3 || KDE 4.4.4 || 2.6.34.7-0.5-default || i686 AMD Athlon(tm) XP 2400+

View 7 Replies View Related

Software :: Multi User Web Controlled Jukebox?

Jun 16, 2010

I have a Linux (Fedora) server up in the attic which is connected to the whole-house speaker system. It has all my MP3s, etc. I would love to be able to control the sound output of that machine from multiple computers. Subsonic ([URL]... comes close -- it has the base functionality that I need (web control of server sound) However, I'm looking for something that handles the multi-user part better. Specifically, would like my users (children, wife) to have their own play lists and ratings. Would love if the tool could select from all of our favorites when I wanted to play music with dinner (including vetoes for the stuff some of ushate). And it doesn't seem like Subsonic allows rating at the song level.

View 1 Replies View Related

Ubuntu :: Disable The 'Pointer Can Be Controlled Using The Keypad' Function?

Jan 3, 2010

how to permanently disable the 'Pointer can be controlled using the keypad' accessibility function?There was a post about it on launchpad, that I used before and since updating to 9.10 I can't find it.It may be a Gnome bug, and its getting very irritating - maybe 10 - 12 times a day...

View 1 Replies View Related

Ubuntu :: List Of Apps That Can Be Controlled By A Remote Control?

Aug 2, 2010

Is there a list of apps in ubuntu that can be controlled by a remote control?

View 1 Replies View Related

General :: Changing The Property Of Inetd Controlled Service?

Jan 4, 2011

How to change the properties of inetd controlled services in Linux ? in linux it is xinetd controlled services.

View 3 Replies View Related

OpenSUSE Network :: Installing Driver Error - No Rule To Make Target `modules' - Stop

Apr 13, 2011

I am relatively new to linux and am running into a problem. I just got a new laptop and need to configure/install it's wireless driver but am getting an error when running "make". The error is: make[1]: Entering directory `/lib/modules/2.6.37.1-1.2-desktop/build' make[1]: *** No rule to make target `modules'. Stop.

I have scoured these forums and know that others have the same issue (when configuring other drivers/programs). I am sorry if this post is redundant. It sounds like the Makefile is pointing to the wrong directory. I am using opensuse 11.4, have make and gcc installed. My kernel is linux-2.6.37.1-1.2 (I just re-installed the desktop kernel to make sure it was up to date). The driver I am trying to install is located here: AUR (en) - rtl8192ce.

Another forum suggests pointing somewhere in the /usr/src/linux-2.6.37.1-1.2 directory instead. Is this correct? Should I be pointing to a folder within this? I am not a programmer but any description about what I am actually putting in this directory and why would be awesome (so I can learn a bit more). Or just helping me solve the problem would be great too.

View 9 Replies View Related

Ubuntu :: Way To Have Each X Screen Own Seperate Cursor Controlled Exclusively By Its Own Mouse?

Feb 20, 2011

I currently have my computer connected to my main monitor, as well as my TV. I am using the Nvidia Driver and they are running as separate X screens. I have currently run into the problem that if my wife is watching videos on the TV while I am surfing the web or something on the other monitor, we really need 2 seperate cursors.Is there some way to have each X screen own a seperate cursor controlled exclusively by its own mouse? Or is there some other solution to this that anyone can think of?

View 2 Replies View Related

Ubuntu Networking :: Get The Asus N13 WiFi To Be Controlled By The Network Manager App

Mar 11, 2011

I have eventually (a week's work) got my Ubuntu 10.04 to recognise my Asus N13 WiFi dongle (had to compile the source from Ralink with the "y" against the two things it tells you to if you want network manager to work (source that came with dongle wouldn't compile) and then set up rules (for some reason the driver - rt2870sta - wouldn't recognise the dongle until the rule about the vendor and product ID was in place; and the drivers that come with Ubuntu wouldn't recognise it even with the rule in place)).

Big thank you to chilli555 for all of the posts that got me this far.I would like to use the Network Manager app that comes with Ubuntu, to control the dongle. At the moment it will aknowledge when the driver has been loaded (have to do a modprobe), but does not "see" any of the many WiFi routers around my house, so I can't click on one to select one.

My only guess on this is that, to get the dongle to work I copied the config file that is part of the driver source files into /etc/Wireless/RT2870, and this is getting in the way. However, I have tried removing it and the network manager still doesn't work. Or is it because the network manager needs the dongle to be called "wlan0" and it's called "ra0"? If so, can you aliase this?

View 3 Replies View Related







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