Ubuntu :: Accessing A USB Device Using Perl5 On 10.10?

Sep 19, 2010

Did anyone have a problem accessing a USB device using perl5 on ubuntu 10.10? I have a script written in perl that was working fine on ubuntu 10.04, when accessing /dev/ttyUSB0 (USB to serial port)

In the current version this script freeze or goes to an infinite loop when accessing the ttyUSB device. any thoughts?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Accessing Usb Storage Device On Router?

Apr 10, 2010

I am using a Belkin F5D 8235-4 ver 2 wireless router. My linux box is connected direct. I have a 16G flash drive installed in the usb port on the router that I want to use for storage so I can dump files I share with my other machines on the network. Windows sees this usb and works fine by just using the web browser and using 192.168.2.1usb no problem. Then I try to use my unbuntu and can not for the life of me figure out how to set up a permanent link to that drive in linux. I would like to have a direct connection on my desktop. Of course I tried Belkin and was told we do not support Linux.

View 4 Replies View Related

Hardware :: Mounting And Accessing A Usb Device?

Jun 1, 2010

So I am using a debian 5.0.4 version of Linux with a command-line interface (the bash shell).I have been trying to get my usb device to be readable, which I suppose means I need to run a mount command like mount -t usbfs /dev/usb /media/usb But I have not had any luck getting to access my usb drive...I run lsusb and find that it is attached, I can find it in the /proc directory, but I cannot access my usb drive

View 2 Replies View Related

Hardware :: Accessing Device Driver From C Application

Jun 14, 2011

I wrote device driver to USB device, I can see it is alive and sending the data that I set it to send from the shell

Code:
cat /dev/myDev
How can I read from the device using C code?
I've tried to open it as a file and read it's content to buffer but noting returns..

Code:
char bufferin[500];
FILE* myDev = fopen("/dev/myDev", "r+");
size = fread(bufferin, 500, 500, myDev);

View 2 Replies View Related

Software :: How To Check Which Process Is Accessing Device?

Feb 7, 2010

I wonder if there is a command that can tell me which process is accessing a folder, say, /mnt? Sometimes I forgot which process is accessing /mnt and therefore cannot umount /mnt.

View 4 Replies View Related

Server :: Mdadm Continually Accessing Raid Device

Dec 4, 2010

I have an Linksys NSLU2 with four usb harddrives attached to it. One is for the os, the other three are setup as a RAID5 array. Yes, I know the raid will be slow, but the server is only for storage and will realistically get accessed once or twice a week at the most. I want the drives to spin down but mdadm is doing something in the background to access them. An lsof on the raid device returns nothing at all. The drive are blinking non-stop and never spin down until I stop the raid. Then they all spin down nicely after the appropriate time.

They are Western Digital My Book Essentials and will spin down by themselves if there is no access. What can I shutdown in mdadm to get it to stop continually accessing the drives? Is it the sync mechanism in the software raid that is doing this? I tried setting the monitor to --scan -1 to get to check the device just once, but to no avail. I even went back and formatted the raid with ext2 thinking maybe the journaling had something to do with it. There are no files on the raid device, it's empty.

View 12 Replies View Related

Ubuntu Installation :: Error: Modifications Require Authentication At /usr/share/perl5/smbldap_tools.pm Line 1187

Nov 22, 2010

I recently upgraded our ldap server to Ubuntu 10.04.1 (64-bit). In the past, I've been able to use smbldap-useradd to create new ldap and samba users but am having problems since the upgrade. For starters, /etc/smbldap-tools was empty, which caused smbldap-useradd to bomb out with configuration-related errors. After following some tips on how to create the config files, I've gotten as far as being able to run smbldap-useradd but am now getting this error:

Error: modifications require authentication at /usr/share/perl5/smbldap_tools.pm line 1187, <DATA> line 466.

I've got the correct credentials set up in /etc/smbldap-tools/smbldap_bind.conf. I can login and make changes just fine through phpldapadmin with the same credentials, but smbldap-useradd just doesn't want to work.

View 3 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):

Code:

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

[code]...

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

Software :: Cann't Find The Device Created Through Device Mapper In /proc/partitions?

May 15, 2011

Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!

View 2 Replies View Related

Fedora Hardware :: Full Speed USB MSC Device Detected As Input Device?

Apr 7, 2011

I am working on an embedded system, which is an USB MSC device that supports some vendor specific scsi commands. I am using FC10 laptop as USB host for testing, and it runs some small apps based on sg3. All has been well for ~ a week. The FC10 laptop is able to communicate with the device and retrieve data. Suddenly, starting from today, the laptop is not able to properly detect the device. When plugged-in, the MSC device is detected as input device (I thought). This is observed from "dmesg" output and changes in "/dev/input/".The device under development is running at full speed. When I connect to winXP, no problem. A windows file explorer pops up, showing the content of the drive.Also, the FC10 has no problem with other USB flash drive (high speed).

View 1 Replies View Related

Slackware :: VirtualBox - Windowsxp Guest - No Sound - Unknown Audio Device - In The Windows Device Manager

Mar 11, 2010

For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?

View 13 Replies View Related

Hardware :: Possible To Access An IrDA Device As A Serial Device Such As /dev/ttyUSB0?

May 24, 2011

the message from dmesg for the IrDA device:

[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200
[ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[code]...

View 1 Replies View Related

Hardware :: Retrofitting A Device File For A Mass Storage Device?

Jan 7, 2010

here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as

Code:
UDEV [1262910483.475886] add /class/video4linux/video0 (video4linux)
lsusb tells:

[code]...

View 4 Replies View Related

Server :: Lifekeeper Error - DEVICE FAILURE On SCSI Device - /dev/add

Sep 17, 2009

Since May 12,2009. Our system lifekeeper has the error log "lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add'", but it ran normally. Until last week, it failover to the standby server. The disk still running, the error still come out.

View 3 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

Software :: Getting Device Info From Device File?

Sep 26, 2010

Let's say I have a joystick in `/dev/input/js0`, how do I find out which device is it on `/sys/bus/usb/devices/`?

View 2 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 :: Get The Card Number And Device Number On System For Attched USb Audio Device?

Oct 1, 2010

how to get the card number and device number on system for attched USb audio device?

View 3 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?

Aug 14, 2009

I 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 Related

Fedora :: Cannot Add Device In HP Device Manager?

Jun 28, 2010

Running Fedora 13, I cannot add my HP J4680 through the HP Device Manager. I get an error message saying that the print queue cannot be started and it asks me to restart CUPS. I tried restarting CUPS and adding the device. It did not work. The printer is on my home network wirelessly. I can add it through the CUPS web interface and print, but then I cannot access the scanner. I tried adding the device after it was already added through CUPS, but that did not work. I would like to use the scanner; I don't really care about the fax.

View 8 Replies View Related

Ubuntu :: Reboot And Select Proper Boot Device Or Insert Boot Media In Selected Boot Device And Press A Key

Apr 16, 2011

Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.

All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.

View 9 Replies View Related

Ubuntu :: Accessing 2nd HDD From Distro?

Feb 19, 2010

My Desktop only has a 60GB HDD which I am running Linux Xuuntu on. I just found a 40GB HDD that I install into the desktop as well. What I really wanna do with it is wipe it clean and then format it to be accessible from my Linux Distro like "Extra Memory" for storing things like music etc. I'm having trouble doing this. It reads in Gparted but not quite sure what I need to do to do this.

View 2 Replies View Related

Ubuntu :: Accessing Windows XP / 7 From 10.04

Dec 27, 2010

I am using ubuntu 10.04 and I want to access remote machine having windows xp/7 installed on it. I don't want GUI of it but I want it's command prompt to be opened in my machine so that I can execute various commands on remote machine. Is there any application available for it? I tried using "rdesktop" but it gives gui and I want command prompt. Also I tried using "winexe" but its giving various errors of NT_STATUS.

View 3 Replies View Related

Ubuntu :: Accessing A Website That Has 127.0.0.1 Set As Its IP

Jan 17, 2011

Every time I try and visit this website I get brought to my default localhost page. I've pinged the website and my terminal reads:

64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.027 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.030 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.026 ms
64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.028 ms

I've also thrown the domain into [URL] to make sure it wasn't something up locally... again it came up as 127.0.0.1. Is there any way I'd be able to access this site?

View 5 Replies View Related

Ubuntu / Apple :: Accessing OSX From 11.04?

Jul 8, 2011

So I recently downloaded ubuntu 11.04 and have it running alongside OSX on my Macbook Pro. I'd like to access the files (specifically music) on the OSX partition.

View 5 Replies View Related

Ubuntu :: 9.10 -- Accessing The GRUB Menu?

Jan 18, 2010

It took me 3 shots at installing 9.10 (some people are just a little slow) in dual mode with Vista, but I finally got it right. As a by-product of stumbling around like that I now have multiple entries in the GRUB menu and would like to remove the ones I no longer need. How do I do that? I assume each menu entry represents a chunk of code that is, likewise, no longer needed. I would like to free up that space. How can I make sure I'm deleting the correct version?I also wonder how I can copy/paste the menu here to make it easier for all to see.Finally, I assume the latest entry in the menu is shown first. Is there any way to get at time and date when entries are made

View 9 Replies View Related







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