General :: Detection Of A Device When Plugged Through USB Port?
Apr 14, 2010tell me detection code of device when an external device is connected through USB port.
View 4 Repliestell me detection code of device when an external device is connected through USB port.
View 4 RepliesI have a firewire device on my pc, but I don't know if linux detects it. What is the best way to check if Linux (i'm using slackware) detects it?
View 1 Replies View RelatedI installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?
View 1 Replies View RelatedI have a Razer headset plugged in. Everytime I restart the computer I have to unplug/plug the headset to make it work. It even shows up the system:
lsusb
Bus 002 Device 002: ID 1532:001b Razer USA, Ltd
It does not show up as a valid sound device in system -> preferences -> sound.how I can make the headset "active" without replugging it to the computer?
uname -a
Linux unix 2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15
UTC 2011 i686 GNU/Linux
Using 9.10 on dual boot P4. Try to use a USR 9602 voip phone plugged into USB port (this device works on WinXP)It does not show in Sound Preferences. I have tried on a different computer with U9.10 and same problem
[Code]...
There are so many system information tools i figure that this one would be in the set. I just can't seen to find it.
View 9 Replies View RelatedI've been troubleshooting a friends computer and we've pretty well hit a brick wall. The issue at hand is the video card will not output properly. To be specific, it's an NVidia card with both DVI and VGA ports. We want it to output via the VGA and ignore the DVI because there's nothing plugged in there (the monitor we want to use doesn't support DVI). At any rate, the only time we can get the VGA to work is when we have another monitor plugged into the DVI port and dual head the system. When we do this it also adds an extra "Unknown Monitor" to the display panel. When we just use the DVI the extra "monitor" disappears. now we don't want to have monitor sitting here useless just so we can use the vga out, but there seems little else to do. We tried installing the Nvidia proprietary drivers through the software manager and yum and it failed both ways.
This is really frustrating because it seems like it should be such a simple thing but nothing works. Does anyone else have similar issues? is there something i can do to fix this? I apologize if i've not provided enough info, but ask and i'll post anything you need to diagnose.
been trying to use a rs232 device that uses the usb port. it calls for a virtual com port to be created. i am running on ubuntu 10 and get hella confused with the search results i have come across.some call for the usbdevfs which apparently doesn't exist under lucid. another had me do use some "magic" in getting it to work.they provided a script mountusbfs.sh
Code:
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
[code]....
of course when i tried it the domount command doesn't exist so i modified the above script replacing the domount with mount and it seemed to do something things. usbview is specified as the determining factor whether or not you have the usbfs mounted properly. it wants to use proc bus and ubuntu doesn't use that anymore apparenlty. i have read that i need to enable a usbmon (flag?option?) in the kernel to be set. which it isn't when i followed the steps to check.
i want to secure the USB port by any external device connection. so i need the code of detection of an external device when plugged in the USB port.
View 1 Replies View RelatedIn Ubuntu 9.10, I was successfully able to use my Pinnacle Dazzle DVC 100 (a cheap USB analog video capture device). I use it for backing up old video that is stored on tapes, and it isn't working with my current install of Ubuntu 10.04. When I plug the device in, it should be detected and the em28xx module should be loaded. This fails and /var/log/messages has the following:
Code:
Sep 25 16:13:18 kernel: [1196215.111898] usb 2-2: new high speed USB device using ehci_hcd and address 20
Sep 25 16:13:18 kernel: [1196215.266097] usb 2-2: configuration #1 chosen from 1 choice
[code]....
Startup script. I have a problem with an error on system boot:
hub 2-0:1.0:unable to enumerate usb device on port 5
This error is continuous, filling up my system logs. It is also a known kernel bug. I found a solution here: [URL] but it is only good after I boot. I have tried to make a startup script in /etc/init.d in the following manner.
sudo mkdir /opt/usb/
sudo gedit /opt/usb/usbproblem.sh
#!/bin/bash
# chkconfig: 345 91 19
# description: stop usb problem on startup
case $1 in
*)
echo "fixing usb problem"
cd /sys/bus/pci/drivers/ehci_hcd
sh -c 'find ./ -name "2-0:1.0" -print| sed "s/.///">unbind'
cd ~
esac
exit 0
#End of boot script
##
sudo cp /opt/usb/usbproblem.sh /etc/init.d
cd /etc/init.d
sudo chmod +x usbproblem.sh
sudo update-rc.d usbproblem.sh defaults 92 20
but it does not work.
If i install new hardware using a vmguest or physical system How can I detect it.
disk
nic
memory
etc.
In AIX we just run cfgmgr -v. Is there a similar command in Red Hat?
I am guessing a reboot will pick it up if the device drivers are common enough and in the kernel already.
I want to know how to do this dynamically with the system on-line if possible.
I want to write a piece of C/C++ Code which will tell me whenever the USB is plugged in to the system or when ever any USB Device is unplugged from the System.
View 1 Replies View Relatedi have this error in my log but i don't know why?
Quote:
Jun 19 20:34:08 localhost kernel: [352155.875643] hub 2-1:1.0: unable to enumerate USB device on port 2
Jun 19 20:34:08 localhost kernel: [352155.851515] usb 2-1.2: new low speed USB device using ehci_hcd and address 17
Jun 19 20:34:08 localhost kernel: [352155.677964] usb 2-1.2: device descriptor read/64, error -32
Jun 19 20:34:08 localhost kernel: [352155.503404] usb 2-1.2: device descriptor read/64, error -32
[code]....
The Motherboard is a Intel Desktop Board DH55TC, Sockel 1156, mATX, HDMI
After installation I boot a few times and used F15 on my Dell Inspiron 1564. But now I can't boot anymore. The screen just shows "unable to enumerate USB device on Port 4" and just hangs there with a blinking cursor below that line. I have no USB devices attached though.
View 2 Replies View RelatedI am trying to use the printer port. But, I get this
Code:
Broadcom EJTAG Debrick Utility v1.6r-hugebird
Failed to lock /dev/parport0: No such device or address
johnh@tux:~/Ubuntu One/hh$
run from johnh I permission denied sudo-ing I get above.
I'm running Slackware 13.37 64 bit. I run it on an HP2945SE AMD Turion x2. I am getting an error during boot up unable to enumerate USB device on port 5. It filters throughout the rest of the boot up commands / results. It doesn't seem to matter if things are plugged up to the USB ports or not. Also it doesn't seem to affect anything on the computer. Its just irritating.
View 2 Replies View RelatedDoing a dmesg I can see following lines
[ 130.876406] hub 1-0:1.0: unable to enumerate USB device on port 4
[ 130.876453] usb 3-2: USB disconnect, address 6
[ 131.200399] hub 1-0:1.0: unable to enumerate USB device on port 4
[ 131.396382] hub 1-0:1.0: unable to enumerate USB device on port 4
[code]....
That is what I have exactly pluged, the webcam on the top of my screen and an external mouse. Btw, I can plug USB devices with no problem, so I am skiping this error since long time ago, but I don't understand this message and I would love to do it.
Amarok 2 can search through music collection using ID3v2 tag's 'bpm' field. That would be very nice to retag the entire music collection so I can find the 'mood' of the track I like.However I've not found any beat-detection software that could have helped me. Have you ever used one? CLI, preferably. Also I'm interested if there's anything alike for tagging FLACs with the same 'bpm' field.
View 4 Replies View RelatedI installed Ubuntu 9.10 to my USB-HDD. After upadte, ubuntu can`t load with error:
usb 5-1: device description read/64: error -32
usb 5-1: device description read/8: error -71
hub 5-0:1.0: unable to enumerate USB device on port 1
The boot stopped after this strings.I reinstall the system, and I have this problem again.
I have a host and a client both running linux. Host has internet through eth2. Client needs to share that connection. The computers are connected directly using a crossover. I can ping from both fine. I figured I needed to port forward eth2 to eth0 to gain internet access in the client. How?
Code:
eth0 Link encap:Ethernet HWaddr 00:26:18:a6:fd:a3
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::226:18ff:fea6:fda3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]...
I am building a custom RedHat+<our-software> installer iso for our own appliance. I am using Red Hat 5.4. The appliances has two on-board eth interfaces. On the back panel of the appliance, these ports are marked 1 and 2. When I install RH, I find the device names assigned such as eth0/eth1 are arbitrary. I understand this is to be expected with kernels 2.6+. Most of our customers connect their eth cables to the port marked 1 on the back and assume they should configure eth0 to make the device reachable. However, sometimes port 1 gets assigned "eth1". This is not a blocking issue, but its going to confuse our customers and we wanted to make it easier on them.
From reading online discussion boards, I know HOW to switch the assignment of the eth names. However, what I am do not know is whether I need to switch them at all. So I have two questions
1) Is there anyway for me to tell which eth mac corresponds to which port on the back? Since they are soldered on the motherboard and not movable, I would think there would be some way to figure out that x mac address corresponds to the upper port (marked '1' etc).
2) Is there a way to tell this by running a linux command? We need to do this automatically so I need to be able to figure it out at install time from the kickstart post-install or similar.
After new installation of slackware 13 when I plugin usb device in the usb port it's print error:
And I have not premission on the device and I must mount the device handle. I
When I downloaded the motion detection sw "Motion" I found in the following path: /etc/motion/
motion.conf and 4 thread files in case of using several cameras.
Q1: Which language is that configuration file written?
Q2: I need to collect the source of Motion. Is that configuration file + the 4 thread files which in the /etc/motion directory only the source of the program neither there is some files in another paths I don't know?
If I forward port 5764 to port 80 to my VOIP device, I can nmap and get a proper connection. If I forward port 5764 to port 22 to my server, it comes up filtered. It even happens if I try forwarding port 80 to my server. So I'm sure it has something to do with my server, but I'm not sure.Here's my Linksys iptables:
Code:
:wanin - [0:0]
-A FORWARD -i vlan1 -j wanin
[code]....
Recently my Ubuntu 10.04 was booting slow and to figure out what was going wrong, I booted Ubuntu in text mode. There I found it was hanging on for 5-6 sec showing "unable to enumerate usb device to Port 1". I know it has something to do with Port1 / usb device, but could not understand and solve it.
View 3 Replies View RelatedMy computer won,t boot up anymore, i keep getting the following mistake message: Unable to enumarate usb device on port 2. Don,t know how to skip that, and continue to desktop.
View 6 Replies View RelatedHow is Motion Detection software interpreted, and who is responsible for the interpretation operation? Is motion.conf linked to a specific libraries?
View 10 Replies View RelatedI want to install a TUSB3410 USb to serial port device on suse 10.3.
View 1 Replies View RelatedI have (at least 4) native USB ports that contain flash drives. I know that the /dev/sd[abcd] devices are created in the order they were inserted, but say you have all four plugged in at boot time, or further, they can be plugged and unplugged in real time. At times, /dev/sdf, /dev/sdg, etc. are created as well. I'm ignoring external hubs for now.
I need to know which drive is plugged into the "top port on the front panel", etc, by physical location. From dmesg I can check right after booting and get the physical assignment of a PCI device, say, PCI 0000:00:10.3, as being assigned to the EHCI usb bus. From /proc/bus/usb/devices, and the "T:" field, I have learned that the physical connectors I'm interested are known as USB Bus 1, Port=00, Port=01, Port=04, and Port=05.
From lsusb I can see all sorts of information from the USB point of view, but with no /dev/sd references.
From /proc/scsi/scsi, I can see what scsi devices have been created, with a count consistent with the number of flash drives plugged in, but no USB data.
So, I can get lots of information from the USB storage point of view, and lots of information from the SCSI point of view, but nowhere can I find how to correlate them. In other words, if I want to mount the drive plugged into a given physical slot, how can I find the /dev/sd device I need to mount? udev isn't really interesting here, because I'm just looking for the information that udev would use to answer the same question.
I've done some heaving exploring in the /sys and /proc filesystems and have not yet found where the USB and SCSI worlds intersect.
The closest I have found is (where "Port" is the physical port number from above):
This seems to have some mapping to the physical port and references a "/dev/sd[a-z]" value, but I don't know how reliable it might be, nor do I know if my having to increment that physical port by 1 is meaningful. Anyone have a simpler approach?
So, my goal becomes
mount /dev/<sd that was created for the top slot> /mnt/top
mount /dev/<sd that was created for the bottom slot> /mnt/bottom etc.