Programming :: How To Create Virtual Driver For Parport?

May 20, 2010

How can I create virtual driver for parport?My notebook doesn't have LPT and I would like to write virtual driver for LPT (USB to LPT).I wrote driver for USB to microcontroller.I don't know how can I register "static const struct parport_operations" or function like this?static void write_parport(/*data*/){/* send data to USB */

View 3 Replies


ADVERTISEMENT

Programming :: How To Create Own Virtual Device

Mar 12, 2011

I want to try to create my own virtual device in Linux. Something simple, for example, a /dev/fortune virtual device that returns a line from fortune() each time you read from it.

I am willing to do my own research and study, I just need to know where to start. E.g., what to read or what to google, in order to get me where I want to go the fastest. I have some C/C++ and Ruby background.

View 2 Replies View Related

Programming :: Create A Device Driver For User Applications?

Feb 7, 2010

I have a user Application for transferring the data from one PC to the other PC using Ethernet Port, can we create a device driver for that ?? that means it should act like a virtual device, if we write data into /dev/some file, it should go the other PC

View 3 Replies View Related

General :: Create And Configure A Virtual SAN Disk And Work On It With Virtual Machines?

Jun 29, 2010

I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.

View 7 Replies View Related

Server :: Create A Virtual Host And Virtual Ip In Proftpd Centos?

Nov 22, 2010

I want to create a virtual host and virtual ip in proftpd linux centos. can anyone please help me on this,I'm new in linux.

View 8 Replies View Related

Ubuntu :: Stop The Loading Of The Parport And Lp Modules?

May 21, 2011

I am running 11.04 and would like to stop the loading of the parport and lp modules. I put entries in the /etc/modprobe.d/blacklist.conf file and ran update-initramfs -u. After a reboot lsmod shows both modules as being loaded.

View 4 Replies View Related

CentOS 5 Networking :: Macbook Pro 5,5 - Late 2008 - Wireless - Download The Broadcom Driver And Create A Driver Module

Feb 20, 2010

I have Centos5.4 loaded on a late 2008 MACBOOK Pro and would like to get wireless working. I've attempted to download the broadcom driver and create a driver module with no luck.

Using these instructions....

[url]

When I make the WLAN driver, I get this:

View 2 Replies View Related

Fedora Hardware :: Setting Correct Default Permissions On /dev/parport*

Jun 23, 2011

I know - who uses parallel ports any more? People like me with an excellent, but old, HP OfficeJetPro 1150C. This is an old problem marked [SOLVED] in the following link to nowhere:

[URL]

I'm at Fedora 13 - 2.6.34.8-68.fc13.i686.PAE

Problem
1. /dev/parport0 is not found by sane unless you reset permissions after each boot
2. hplip udev rules only seem to support usb devices.
3. there are no/dev/parport[0-9] rules in udev/rules.d anymore
4. Did I read something about these ports being handled by HAL ACLs? If so, how do you do it?

default:
ls -laF /dev/parport0
crw-rw---- 1 root lp 99, 0 Jun 23 07:48 /dev/parport0

must do at each boot: sudo chmod 666 /dev/parport0

View 4 Replies View Related

Software :: Sane Parport Canon N640P Scanner / Getting The Dialog 'No Devices Available'?

Apr 20, 2010

1. Unless root chmod's /dev/parport0 to include o+rw, a user running xsane just gets the dialog 'No devices available'. Should the canon_pp driver be installed as su root, perhaps? CUPS uses the same port for printing without problems. Which library or executable needs to have permissions changed to change to run as root?

2. The N640P has a printer output port built in. As I have only one parallel port, I piggy-back my printer through the scanner. This does not work for xsane in Copy mode: nothing prints until I close xsane and then all I get printed is a stream of binary characters, not an image. I guess the canon_pp driver is holding the port open in such a way that CUPS sees the device as being busy. Any ideas on how to combat that? I am a C programmer and quite happy to help by hacking the code, if I have a start point. It irritates me to have to boot the print server into WinXP just so scanning and copying work without fuss.

View 8 Replies View Related

OpenSUSE :: Cannot Create A New Virtual Machine In Xen

Jan 5, 2010

I have been unable to create any type of Windows VM in Xen. Every time it tells me that the processor(s) in the machine do not support full virtualization. After some research, I found several articles regarding the vmx setting in /proc/cpuinfo not showing up when the xen kernel is booted versus it showing up in the default kernel. Of course, I am not seeing the vmx extension in /proc/cpuinfo after I boot to the xen kernel. In the other posts where other people are in the same situation, the only resolution is to upgrade to the 2.6.16 xen kernel. I am already past that:

linux-vxke:~ # uname -r
2.6.31.8-0.1-xen

yet I am still unable to create any form of Windows VM. I have even seen that some people are able to create a partially virtualized Windows VM, and they report that the message is only a warning. However, I am unable to get past this message. I am running a Dell Optiplex 760 with an Intel Core 2 Duo E7300, and I have the VT-x setting enabled in the BIOS. Has anyone else seen this situation or have any thoughts on why this is happening?

View 6 Replies View Related

Ubuntu :: Create A Virtual Display?

Sep 11, 2010

I'm trying to add another virtual display for X (eg. :1) so I can use VNC on it instead of :0 I have x11vnc installed for that.

View 9 Replies View Related

Server :: Create A Virtual NIC For PPTPd?

Jan 4, 2011

I'm trying to setup PPTPd on my dedicated server and the IP ranges i put the in the config have to exist in one of the network interfaces otherwise the connection wont work,I currently only have eth0 with the direct internet IP which i can't use for this purpose,I need a new NIC with a LAN IP for this and I have no clue.

View 1 Replies View Related

CentOS 5 Networking :: How To Create Virtual IP's

Mar 29, 2011

I have one static IP, how can i turn it into multiple IPs so i can run multiple games on one machine.

View 2 Replies View Related

Fedora Servers :: Can't Create Virtual Machine

Jan 6, 2009

I used qemu sucesfully on F9 but I can't find it on F10. I can't create a virtual machine. I tried installing qemu from rpms that I found on their site without any luck. How can I create a virtual machine on F10?

View 2 Replies View Related

Fedora :: Can't Create Virtual Machine With QEMU/KVM

Nov 8, 2010

I just install QEMU and virtual machine manager to use virtualization, but virt-manager cannot run properly. I can create a VM, then mount CDROM ISO, startup. With Windows installation, it runs well until format partition step, after that it is disconected and exit with error related to VNC. I dont know why have this problem cause the packages that I installed is from Fedora repo and I think they have been tested.

Here are some infos:

Fedora 14 - kernel 2.6.35.6-45.fc14.i686.PAE
qemu-2:0.13.0-0.7.rc1.fc14.i686
libvirt-0.8.3-2.fc14.i686
virt-manager-0.8.5-1.fc14.noarch

View 1 Replies View Related

General :: Create A Virtual Serial / COM Port?

Mar 25, 2010

I'm currently working on a project for university that requires communication, via an RS232 link between a piece of hardware (I have designed and am currently testing) and some software(which need testing).

I was hoping to have my hardware finished by now so I could get on with testing the software over Easter.

The hardware does not work yet but I would still like to test the software.

Does any one know if there a way to make a virtual serial port that I could put data on and read data off while my program accesses it as a regular serial port so I can check my code?

I am using Ubuntu 9.10 and am happy to give any more information on request.

View 10 Replies View Related

General :: Create Virtual Lan Using Ubuntu 10.10 For Some Hypervisor?

Jul 14, 2011

I want to create virtual lan using ubuntu 10.10 for some hypervisor ,
I searched for docs but I couldn't get the required one ..

View 2 Replies View Related

OpenSUSE :: Virtual Box Driver Error

Dec 16, 2010

I installed Oracle VM virtual box from software installler.I want to run windows xp on it.But I'm getting following error whenever i click on start(note : I haven't installed xp just created the vdi.):First window: (VirtualBox - Error):Failed to open a session for the virtual machine WindowsXP.The virtual machine 'WindowsXP' has terminated unexpectedly during startup with exit code 1.

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing'/etc/init.d/vboxdrv setup'as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.and in the end Bug Buddy reports error.I saved the report file but where should i post it.(Provide link if possible)

View 9 Replies View Related

Fedora :: Create Virtual Hosts For Each User On Server?

Nov 11, 2009

I am trying to create virtual hosts for each user on my server using Name-based virtual hosts and then make a symbolic link to /home/userdir/html

Here is what I have for my virtual hosts:

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin tasha@ttu.edu
DocumentRoot /home/httpd
ServerName 128.118.118.7
ErrorLog logs/error_log
CustomLog logs/common
</VirtualHost>

What do I need to add to make it follow symbolic links in /home/userdir/html?

View 4 Replies View Related

Fedora Networking :: How To Create Virtual Network Adapter

Nov 11, 2010

I m facing problem in creating virtual network adpater. I want to have multiple mac address for a single NIC.

View 2 Replies View Related

OpenSUSE :: Error - Could Not Create The Java Virtual Machine

Dec 17, 2010

I am trying to run a .jar file, and I have both JDK and JRE installed. This is the error I keep getting.

Code:

jonathan@linux-d0g9:~> cd Downloads
jonathan@linux-d0g9:~/Downloads> java -jar RSBot2.jar
jonathan@linux-d0g9:~/Downloads>

[code].....

View 5 Replies View Related

General :: How To Create Virtual Folders From Saved Search

Jan 14, 2011

I would like to have on unix-like platforms, the same functionality as to Windows 7 Library folders (aka virtual folders) you see in Windows Explorer.Gnome Nautilus do that kind of virtual folders through saved search. But I want a system-wide solution, not a gnome-wide solution.Is there a tool that creates virtual folders from the concatenation of multiple search queries (the result of multiple find commands ?). The solution should index files for better performances and you should be able to define the default folder for copy operations.

View 1 Replies View Related

Ubuntu Multimedia :: Create Virtual Drive From Cd Folders ?

Apr 11, 2010

I have one cd program, but the cd is corrupted (tried to make backup copy in windows xp with alcohol 52%, but got error at about 95%, and i can not use this cd any more in xp - only for few minutes, then it stops...)

I made few days ago one .iso image, but without cd drive i can not run it (has copyright protection).

The only thing i can do now is to copy cd data. But can i make from this cd folder some virtual cd image in ubuntu, which i could transform into .iso image (using alcohol 52% in xp to avoid copy protection and enable to use it without cd drive)?

View 1 Replies View Related

Ubuntu Servers :: Create A Virtual Host For A Php Project?

Apr 28, 2011

I needed to create a virtual host for a php project I'm working on. Rather than using command line and text editors, I installed webmin to accomplish this and hopefully perform other server configuration in the future. When I created the virtual host and tried applying the changes Apache wouldn't re-start, and still doesn't restart after complete re-boot. It's getting hung up at the end of apache2.conf, which is trying to include /etc/apache2/sites-enabled/000-default.

When I look at 000-default from a File Browser, it's a linked file to etc/apache2/sites-available/default I can open both the linked file and actual file in a text editor, and it looks fine. When I view the directory, /etc/apache2/sites-available from shell, the default file isn't visible. It seems this "invisibility" is probably related to the error, which is preventing start-up. Can anyone explain why the file would be visible from the Ubuntu File Browser GUI but not from the terminal, and how I can fix so apache can recognize this on start-up?

View 3 Replies View Related

Ubuntu :: Error - Could Not Create The Java Virtual Machine

Jan 17, 2010

im trying to install a .sh file for a online game but i get this error Unrecognized option: -XstartOnFirstThread Could not create the Java virtual machine.

View 1 Replies View Related

Networking :: Create Multiple Virtual Adapter For VLAN'S

Jul 3, 2010

I need to set a NAC (PacketFence) system , i would like to set in my case eth0 to work with several different VLAN'S i created ifcfg-eth0.2 copied from orginal ifcfg-eth0 and changed the ip and append VLAN=yes but when i am triyng to load ifcfg-eth0.2 i get error

I must missed something

My ifcfg-eth0 goes as follow

Code:

My ifcfg-eth0.2 goes as follow

Code:

View 2 Replies View Related

Server :: Create Postfix Virtual Users Without Dovecot

May 28, 2010

I just want to create virtual postfix users using static external file, without using dovecot as MDA or mysql db.

View 1 Replies View Related

Server :: Create A Virtual User System With Mysql?

May 27, 2011

I'm using dovecot pop3 server in my website. I tried to create a virtual user system with mysql. But it didn't work. Next I tried to debug my work with reading of dovecot log. I enabled logging in it by changing this values in /etc/dovecot/conf.d/10-logging.conf:

Code:
log_path=/var/log/dov
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes

After that I tried to login to the pop3 via telnet and it failed as usual. After I checked the log file (/var/log/dov), but it does not contain any information about that failed login. Only there was some information about starting up of dovecot! Does any body know that what is the problem and why dovecot doesn't log that?

View 8 Replies View Related

Software :: Apache 2 Redirect - Create Virtual Servers?

Feb 25, 2009

I believe I finally have a very secure config for apache2 that will only use SSL or port443.

Problem is how do I redirect all my users who dont type in https:// to the proper SSL port 443?

Do I have to create Virtual Servers? If so how?

Or is there a Redirect command?

Code:

View 4 Replies View Related

Software :: Create Aliases And Virtual Table In Postfix?

May 26, 2010

I'm using rhel5 i configured postfix on it. need is to create virtual table and virtual.db. How can i create these

View 1 Replies View Related







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