OpenSUSE Hardware :: Permissions For Accessing Serial Ports?
Feb 3, 2010
I am unable to access a serial port as normal user in OS 11.2. The ownership for the port,/dev/ttyS0 belongs to root:dialout. Group dialout has RW permissions.So,I guess the user has to belong to 'dialout' group.Even after a user is included in dialout port,still the user is unable to access,"Permission is Denied".
Before OS 11.2,I used to make the users members of group "uucp" to get serial port access.I tried that also in OS 11.2,without luck.So,I have to be root to access it. This requirement itself seems to be one of the fossils of old time Linux where for normal usage of PC resources,one needed elevated privileges.I guess the trend now is to let the user do all PC work,but in a safe way.
View 1 Replies
ADVERTISEMENT
Feb 21, 2009
On my CentOS 5.2 install I've installed a dual-port serial card based on the NetMOS 9835 chipset. I've followed the serial instructions, but everything they tell me to do is already done - see setserial outputs below. I've compared these values to the lspci output (below, NetMos card is at the bottom of the output) for the card and it appears right. Problem being, I can't use the serial ports. Oh and I did use search, and looked at every 9835-related article before posting this :)
[Code]....
View 17 Replies
View Related
Jun 21, 2011
I have a bit of a dilemma. I'm attempting to use a microcontroller to send MIDI messages over a virtual serial port. I want to (eventually) read them with Mixxx. I'm using an FTDI chip, so I get a /dev/ttyUSB0. I've tried spikenzielabs' Serial-Midi program, but it doesn't see any serial ports. NOTEMIDI looks really old and won't compile on my 10.04 LTS machine.
View 2 Replies
View Related
Sep 3, 2011
I am trying to test GAINSCHA receipt printers on opensuse 11.4They have supplied drivers and filter. I have added filter to /usr/lib/cups/filter and drivers(ppd files) to /usr/share/cups/model/gainscha/. I can add the printer model and driver from Yast.The printer is a serial printer and I connect to it using 'usb-to-serial' converter. I can raw-print direct to printer by, ' echo hello > /dev/ttyUSB0 '. It works.Serial port parameters used while setting up Cups queue are correct. ( Tested via cutecom, opening port with the same parameters and writing to the port. It is also printing).Now when I print from any application, the job is held up in Cups queue for reasons, ' no permissions to port'. I tried becoming root and printing from kwrite.
View 3 Replies
View Related
Oct 30, 2010
I need to talk to several serial ports. I was thinking of having a bunch of USB to serial cables and then plugging all of them into a USB hub, which goes to the computer. What I want to know is, will I see each serial port as a separate thing? With 1 USB to serial cable and no hub, I see /dev/ttyUSB0. With this hub, will I see /dev/ttyUSB0, /dev/ttyUSB1, etc?
View 1 Replies
View Related
Jul 27, 2010
I am setting up my OMAP4 board. I pluged power cable and USB port.But my OMAP4 blaze does not find ttyUSB*. I tried the same OMAP4 on other Linux machine and it is connecting to /dev/ttyUSB2. Do you know any thing I need to configure on my Linux
View 2 Replies
View Related
Dec 5, 2008
I am about to write a program to listen and read data from /dev/ttyS0 and write the data to /dev/ttyS1 after processing. Also, the same time I need to listen to /dev/ttyS1 and write to /dev/ttyS0 if any data arrived at /dev/ttyS1.
View 9 Replies
View Related
Jan 16, 2010
Label on card: "I-440 PCI 4S1P IO Card"
Code:
# lspci -v
...
[code].....
View 3 Replies
View Related
Jun 1, 2010
I have a computer with 4 RS232 com-ports (MSI MS-9A19).
To each com-port, I have instruments attached that transmit data like this:
982000001088420<CR><LF>
982000001088421<CR><LF>
[code]....
View 9 Replies
View Related
Dec 12, 2010
I have recently installed an ltsp system, client and server. Everything works except i cannot get my client side serial ports to work or register for that matter. Can anyone point me to the steps i should take to get these working.
View 1 Replies
View Related
Dec 11, 2010
I am trying to write to the parallel port pins from a Perl program running Ubuntu Linux, to light up led's on a bread board. I've already accomplished this on this same box using a C program, but I cannot get my code below to work. I believe the problem is with the line:
$parport = Device::ParallelPort->new('auto:0');
I've tried different variables between the ('') ticks, but nothing has worked. I use Perl on my web pages for forms, but this has stumped me.
Code is below:
#!/usr/bin/perl require "subparseform.lib"; &Parse_Form; print "Set-cookie:
cart_id=1234; user_id=123;
"; print "Content-type: text/html
"; use strict; use CGI; use Device::ParallelPort;
# use Device::ParallelPort::drv; # use Device::ParallelPort::drv::linux # use Device::ParallelPort::drv::parport
# Set up your parallel port object and tell it what driver to use.
#my $parport = Device::ParallelPort->new('auto:0'); print "It works!!!";
View 1 Replies
View Related
Feb 24, 2010
I am running VirtualBox on CentOS 5.4 & am not able to connect the usb ports to the guest operating systems. When I click on the device menu & usb, the devices I have plugged in show up, but are greyed out. I had this problem on Mandriva when I first started using VirtualBox & had to put my user account in the USB group. My account is in the vboxusers group but there is no USB group on CentOS & I can't figure out how to give myself permission to the USB ports.
View 6 Replies
View Related
Nov 27, 2010
I am new user for redhat linux.I tried to install oracle 10g on rhel 5 using vmware.every time i am getting an error message permission denied
[oracle2 localhost tmp]$ cd database_10201/
[oracle2 localhost database_10201]$ ls
doc install response runInstaller stage welcome.html
[oracle2 localhost database_10201]$ sh r
response/ runInstaller
[oracle2 localhost database_10201]$ sh runInstaller
runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied
how to give all set of permissions to an user for accessing a folder..
View 1 Replies
View Related
Jan 13, 2010
I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0
in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but
cat < /dev/ttyS0. just prints out weird characters from what I type.
View 3 Replies
View Related
Oct 9, 2015
I am hoping to be able to get an old serial-touchscreen to work with a usb/serial adapter. I had this touchscreen working some years ago on different hardware. I would like to hook it to the machine I am setting up as a multimedia host with mythtv among other things.
Following the instructions I left behind when I got this to work way back when does not work. See [URL] ....
This info is a work around to get the xserver to see the touchscreen. [URL] ....
I do know that the touchscreen works as I am able to get garbage on the screen as in the first part of my howto. But I have not had any success getting xorg to see it. I wish I had posted a copy of the xorg.conf at the time, but......
There is an issue with the current xserver in testing that I am hoping the next update (in unstable) will fix when it gets pushed to testing. That is that Code: Select all# X -configure fails with a segfault. So I am not able to generate the xorg.conf needed to get it to work. I was going to post a bugreport, that is when I found out there is an update in unstable, so I am waiting for it to get pushed at the moment.
Anyway I am hoping that I can link /dev/ttyUSB0 to /dev/tty0 and get it to work. I would like some kind of guess as to my chances of success before I go to all the work of getting the monitor hooked to the host.
View 1 Replies
View Related
Mar 23, 2010
We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?
View 3 Replies
View Related
Dec 17, 2010
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
View 3 Replies
View Related
May 25, 2009
I recently got an Avocent ESP 2 MI serial to IP converter to read some info information out of my Solarpanel converters. When I try to build the linux driver on my HP DLl40, running OpenSuSE 11.0, from the source rpm espx-3.17-1.src.rpm the build process exits with an error.My google searches have come up empty, unfortunately.
The log file from the installation program follows below. I am unsure what I need to do next in order to get working driver.
[Code]...
View 2 Replies
View Related
Feb 9, 2011
a few day ago i have checked my application and make rs232 cable converter to communicated it. And not detected, why? FYI, this is my lsusb command, but in my dmesg, was not found. check this out, (usualy there is another rows, just like ".....converted to ttyUSB0....")
View 1 Replies
View Related
Sep 7, 2010
I discovered that I can activate my Kensington trackball by typing in a terminal:
sudo inputattach --microsoft /dev/ttyS0 After that I tried to automate that using Yast to place in /etc/sysconfig/inputattach: INPUTATTACH_DRIVERS="/dev/ttyS0:microsoft" It did not work. What am I doing wrong?
View 9 Replies
View Related
Apr 4, 2011
I have openSuse 11.1 and have just added a new serial port card. Do I need to do something to get the card going? My application doesn't seem to be getting data from the serial card. How would I test status. Do I use setserial .
View 9 Replies
View Related
Aug 11, 2010
How can I tell if my USB ports are 2.0 ports?
View 1 Replies
View Related
Jul 21, 2010
I have a usb serial adapter and was happily using minicom with it under openSUSE 11.2. I've upgraded to openSUSE 11.3 and I can only use minicom with this serial adapter as root. I had previously had problems writing to /var/lock under openSUSE 11.2 which I worked around by changing the minicom config to use /tmp as its lock file location.
Unfortunately my laptop doesn't have a built in serial port so I can't tell if its a general problem or something specific to the /dev/ttyUSB0 device. This is the output I get when I run minicom with my regular user account. I get the same output whether the lock file location is set to /tmp or /var/lock
Code:minicom usb0 Device /dev/ttyUSB0 lock failed: Permission denied. Before I started tinkering my user belonged to the following groups groups=16(dialout),33(video),100(users) I've since added 5(tty),14(uucp),21(console) but still no joy.
View 7 Replies
View Related
Mar 8, 2010
I am using Aten UC232A Converter to communicate with my micro-controller device using 3 wire interface ie txd, rxd and ground. Though the converter gets detected and driver loaded in my suse11.2. The operation does not work. following are the logs.
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
pl2303 4-2:1.0: pl2303 converter detected
usb 4-2: pl2303 converter now attached to ttyUSB0
[code].....
View 2 Replies
View Related
Jul 19, 2010
I want to mount a serial device. To get do the data section in the device and retrieve image files. Not even root can mount.
Code:
# ls -l /dev/ttyU*
crw-rw---- 1 root uucp 188, 0 Jul 20 13:07 /dev/ttyUSB0
# mount -t fuse /dev/ttyUSB0 /media/M65
/bin/sh: /dev/ttyUSB0: Permission denied
[Code]....
View 9 Replies
View Related
Dec 22, 2009
I am looking for a solution to administer my remote server running SUSE LINUX 10.1 (X86-64) - Kernel 2.6.16.13-4-smp. I have made changes to server and is able to see the boot process and also able to login to system through serial console.
My question, will I be able to administer the server through serial console incase if my root partition is corrupted and system has gone to maintenance shell(or root shell).
Also is there way to go directly to maintenance shell from grub(not talking about single user mode). I want to go maintenance shell where / partition is not mounted.
View 9 Replies
View Related
Dec 23, 2009
I'm installing OpenSuse 11.2 on some systems. Unfortunately the only mouse available is a serial mouse. Hence the installer doesn't recognize the mouse.And it is somewhat cumbersome using the TAB and ARROW keys to navigate the graphical installation.Does anyone know of a boot option I could use to get OpenSuse's installer to recognize a serial mouse ?
View 5 Replies
View Related
Apr 16, 2010
I just set up Suse 11.1 64bit and installed Virtual Box 3.1.6. I had it running previously with no problems, however, this time I can't get it to recognize any USB ports. In fstab I entered the line
None /proc/bus/usb usbfs devgid=1000,devmode=664 0 0
and ran mount -a (no go)
I loaded Vmware Player and it uses the USB ports perfectly fine (go figure) I added to the "none" line auto,
busgid=1000,busmode=0775,devgid= etc.
Still a no go - vmware uses them no matter what I have in "fstab" what am I missing with Vbox?
View 4 Replies
View Related
Jan 23, 2011
how to open firewall ports without using yast. The reason I'm asking is because I'm working on a .sh script for the installation of a couple of programs. Some ports need to be open for the programs to work, I find it really annoying to go to yast and type the ports manually every time. I've looked at /etc/sysconfig/SuSEfirewall2 but can't seem to find anything, I also know that after the changes I will have to stop start the firewall by running:
SuSEfirewall2 stop
SuSEfirewall2 start
View 4 Replies
View Related
Oct 20, 2009
I use libk8000 with Velleman K8000 IO-board. It works fine with a machine which have port integrated on the motherboard. But my new machine does not have LPT on the motherboard. Therefore I bought a PCI LPT-card which have two LPT ports.
It is a board from NetMos Technology. lspci -vvvv gives following.
05:02.0 Communication controller: NetMos Technology PCI 9815 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 2P0S (2 port parallel adaptor)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at e480 [size=8]
Region 1: I/O ports at e400 [size=8]
Region 2: I/O ports at e080 [size=8]
Region 3: I/O ports at e000 [size=8]
Region 4: I/O ports at dc00 [size=8]
Region 5: I/O ports at d880 [size=16]
Kernel driver in use: parport_pc
Kernel modules: parport_pc
In the libk8000 the data, status and control ports are statically defined. Are the I/O addresses and IRQ-line dynamically defined each time computer is restarted. Might they change in each boot or only when hardware is changed? If so any links to code that dynamically acquires these values would be good. Kernel supports this card because I can connect printer to it and it works. Where in the parport-subsystem is the code which acquires the IO and IRQ?
If the IO and IRQ don't change in each boot then what might be the data, control and status ports for LPT1 and LPT2 on the above lspci-listing? I have tried several combinations without result. On the motherboard LPT the ports are in increasing order with 1 byte. On the lspci-listing above there are 8 byte regions with each IO-address. The last one have 16-byte area - why ?
View 5 Replies
View Related