Re: usb => serial port converter

2024-07-08 Thread Max Nikulin
anged. Some devices may advertise them as mass storage drives at first to autorun windows drivers installer. I would not expect it from a cheap serial port adapter though. See the usb-modeswitch package to change exposed USB interface from command line. Great! I had to add myself to the di

Re: usb => serial port converter

2024-07-08 Thread Paul Duncan
gs like RS-422 and RS-485, I would recommend a Moxa uPort 1150. Be aware that you will have to install the Moxa driver to use this - its not generally included with the kernel. Cheers, Paul. On Sun, 7 Jul 2024 at 22:02, Lee wrote: > What's everybody using for a usb => serial port c

Re: usb => serial port converter

2024-07-08 Thread Jeffrey Walton
On Mon, Jul 8, 2024 at 11:56 AM Lee wrote: > > On Sun, Jul 7, 2024 at 8:51 PM Andy Smith wrote: > > > > On Sun, Jul 07, 2024 at 06:02:18PM -0400, Lee wrote: > > > I tried plugging the dongle into my debian laptop but it didn't > > > recognize it :( > > > > In my experience USB serial gadgets on Li

Re: usb => serial port converter

2024-07-08 Thread Lee
On Sun, Jul 7, 2024 at 8:51 PM Andy Smith wrote: > > Hi, > > On Sun, Jul 07, 2024 at 06:02:18PM -0400, Lee wrote: > > I tried plugging the dongle into my debian laptop but it didn't > > recognize it :( > > In my experience USB serial gadgets on Linux tend to just work or > will never work. It work

Re: usb => serial port converter

2024-07-07 Thread tomas
On Sun, Jul 07, 2024 at 06:02:18PM -0400, Lee wrote: > What's everybody using for a usb => serial port converter? > > I got a new network switch and .. OhNoes!! how to I talk to the darn thing??? Most of them work with Linux anyway (some of them with some limitations). Stick

Re: usb => serial port converter

2024-07-07 Thread Andy Smith
Hi, On Sun, Jul 07, 2024 at 06:02:18PM -0400, Lee wrote: > I tried plugging the dongle into my debian laptop but it didn't > recognize it :( In my experience USB serial gadgets on Linux tend to just work or will never work. The default Debian kernels do have USB serial converter support enabled a

Re: usb => serial port converter

2024-07-07 Thread fxkl47BF
On Sun, 7 Jul 2024, Lee wrote: > What's everybody using for a usb => serial port converter? > > I got a new network switch and .. OhNoes!! how to I talk to the darn thing??? > > I went looking thru cabinets and came up with a keyspan usb -> serial > dongle; a qui

Re: usb => serial port converter

2024-07-07 Thread gene heskett
On 7/7/24 18:02, Lee wrote: What's everybody using for a usb => serial port converter? I got a new network switch and .. OhNoes!! how to I talk to the darn thing??? I went looking thru cabinets and came up with a keyspan usb -> serial dongle; a quick search found the site with drive

usb => serial port converter

2024-07-07 Thread Lee
What's everybody using for a usb => serial port converter? I got a new network switch and .. OhNoes!! how to I talk to the darn thing??? I went looking thru cabinets and came up with a keyspan usb -> serial dongle; a quick search found the site with driver downloads, but they a

Re: Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-28 Thread deloptes
Gene Heskett wrote: > The $2 ones were clones, and occasionally even better. I paid $40 for the > first troublesome POS. Before there were clones. I can second that - actually the originals are very reliable and good, but 10x the price of the Chinese clones. The Taiwanese have also a tool to chec

Re: Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-28 Thread Gene Heskett
On Thursday 28 May 2020 12:33:54 Steve McIntyre wrote: > Gene Heskett wrote: > >On Sunday 17 May 2020 11:56:51 John Conover wrote: > >> I have two Prolific PL2303 devices on a machine. The output of > >> lsusb is identical for both, including iSerial of 0, for both. > >> > >> Is there any way of d

Re: Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-28 Thread Steve McIntyre
Gene Heskett wrote: >On Sunday 17 May 2020 11:56:51 John Conover wrote: > >> I have two Prolific PL2303 devices on a machine. The output of lsusb >> is identical for both, including iSerial of 0, for both. >> >> Is there any way of doing udev SYMLINK+ with these devices? >> >> Thanks, >> >>

Re: Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-19 Thread Gene Heskett
On Tuesday 19 May 2020 04:39:55 Richard Hector wrote: > On 18/05/20 4:44 am, Gene Heskett wrote: > > On Sunday 17 May 2020 11:56:51 John Conover wrote: > >> I have two Prolific PL2303 devices on a machine. The output of > >> lsusb is identical for both, including iSerial of 0, for both. > >> > >>

Re: Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-19 Thread Richard Hector
On 18/05/20 4:44 am, Gene Heskett wrote: > On Sunday 17 May 2020 11:56:51 John Conover wrote: > >> I have two Prolific PL2303 devices on a machine. The output of lsusb >> is identical for both, including iSerial of 0, for both. >> >> Is there any way of doing udev SYMLINK+ with these devices? >> >

Re: Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-17 Thread Gene Heskett
On Sunday 17 May 2020 11:56:51 John Conover wrote: > I have two Prolific PL2303 devices on a machine. The output of lsusb > is identical for both, including iSerial of 0, for both. > > Is there any way of doing udev SYMLINK+ with these devices? > > Thanks, > > John TBT John, the best place

Dual Prolific PL2303 Serial Port USB devices have iSerial of 0?

2020-05-17 Thread John Conover
I have two Prolific PL2303 devices on a machine. The output of lsusb is identical for both, including iSerial of 0, for both. Is there any way of doing udev SYMLINK+ with these devices? Thanks, John -- John Conover, cono...@rahul.net, http://www.johncon.com/

Re: Serial Port Issues

2020-04-08 Thread songbird
Chris Rhodin wrote: > I figured it out. It was user error. When I diff'd the output of "stty" > from my laptop and server I saw the server had "-crtscts" and laptop had > "crtscts". It turns out minicom enables hardware flow control by default > and I had changed that default on my laptop somew

Re: Serial Port Issues

2020-04-07 Thread Joe
On Tue, 07 Apr 2020 08:24:50 -0500 "Martin McCormick" wrote: > deloptes writes: > > Chris Rhodin wrote: > > > > > Tonight I'll look at the serial port ioctls and see if I can spot > > > a difference there. I also try enabling flow control an

Re: Fwd: Serial Port Issues

2020-04-07 Thread Martin McCormick
deloptes writes: > Chris Rhodin wrote: > > > Tonight I'll look at the serial port ioctls and see if I can spot a > > difference there. I also try enabling flow control and fiddling with > the > > signals to see if that unstops it. > > Are you sure that

Re: Serial Port Issues

2020-04-07 Thread Joe
On Mon, 6 Apr 2020 22:53:25 -0700 Chris Rhodin wrote: > > Q: Is "stty" the right command line tool to check all of a serial > ports settings? > It Works For Me. I had a very simple serial requirement recently, and this did the job. Oh, as to 9600 Baud, if you plug

Re: Serial Port Issues

2020-04-07 Thread tomas
On Mon, Apr 06, 2020 at 11:59:14PM -0700, Chris Rhodin wrote: > I figured it out. It was user error. When I diff'd the output of "stty" > from my laptop and server I saw the server had "-crtscts" and laptop had > "crtscts" [...] Ah... I see. Thanks for posting the resolution, much appreciated :

Re: Serial Port Issues

2020-04-07 Thread Chris Rhodin
e it work. > > Chris > > > On Mon, Apr 6, 2020 at 10:53 PM Chris Rhodin wrote: > >> >> >> -- Forwarded message ----- >> From: Chris Rhodin >> Date: Mon, Apr 6, 2020 at 7:28 PM >> Subject: Re: Serial Port Issues >> To: >>

Re: Serial Port Issues

2020-04-07 Thread Chris Rhodin
> From: Chris Rhodin > Date: Mon, Apr 6, 2020 at 7:28 PM > Subject: Re: Serial Port Issues > To: > > > I have two devices I'm trying to connect to, a UPS and a network switch. > By default the UPS runs at 2400 baud and the switch runs at 9600 baud. > Befor

Re: Fwd: Serial Port Issues

2020-04-06 Thread deloptes
Chris Rhodin wrote: > Tonight I'll look at the serial port ioctls and see if I can spot a > difference there.  I also try enabling flow control and fiddling with the > signals to see if that unstops it. Are you sure that this is enabled in the BIOS, also some serial ports like H

Fwd: Serial Port Issues

2020-04-06 Thread Chris Rhodin
-- Forwarded message - From: Chris Rhodin Date: Mon, Apr 6, 2020 at 7:28 PM Subject: Re: Serial Port Issues To: I have two devices I'm trying to connect to, a UPS and a network switch. By default the UPS runs at 2400 baud and the switch runs at 9600 baud. Before connecting

Re: Serial Port Issues

2020-04-06 Thread tomas
i.e. RS-232). > > From the OP: " On this system a serial port can only receive data and not > transmit." > > Wouldn't that mean that (from the perspective of a program running on the > OP's > computer) that the serial port can read but not write? My rec

Re: Serial Port Issues

2020-04-06 Thread rhkramer
On Monday, April 06, 2020 03:50:59 AM to...@tuxteam.de wrote: > Besides, a wrong baud rate would much less explain that writing is > possible, but reading isn't. Not for classical "serials" (i.e. RS-232). From the OP: " On this system a serial port can only rece

Re: Serial Port Issues

2020-04-06 Thread Joe
On Mon, 6 Apr 2020 08:32:53 -0400 Greg Wooledge wrote: > On Mon, Apr 06, 2020 at 08:38:58AM +0100, Joe wrote: > > I doubt it's that. 9600 is a sort of default these days [...] > > ... 25 years ago. > You'd be surprised how much serial stuff there is around. A lot of it is based around low-po

Re: Serial Port Issues

2020-04-06 Thread Greg Wooledge
On Mon, Apr 06, 2020 at 08:38:58AM +0100, Joe wrote: > I doubt it's that. 9600 is a sort of default these days [...] ... 25 years ago.

Re: Serial Port Issues

2020-04-06 Thread deloptes
to...@tuxteam.de wrote: > What has agetty to do with not being able to access a port? > >> I doubt it's that. 9600 is a sort of default these days, and a serial >> port which could not use it would be of limited use. The XBee radio >> modules, for example, come fro

Re: Serial Port Issues

2020-04-06 Thread tomas
ng at root privilege, no luck. > > > > 'R you sure about the baud rate (9600)? It might be something higher > > ... also did you setup agetty accordingly? What has agetty to do with not being able to access a port? > I doubt it's that. 9600 is a sort of default the

Re: Serial Port Issues

2020-04-06 Thread Joe
600)? It might be something higher > ... also did you setup agetty accordingly? > > I doubt it's that. 9600 is a sort of default these days, and a serial port which could not use it would be of limited use. The XBee radio modules, for example, come from the factory running at 9600, th

Re: Serial Port Issues

2020-04-05 Thread deloptes
Chris Rhodin wrote: > I checked the permissions and group memberships but they're already > correct.  I also tried executing at root privilege, no luck. 'R you sure about the baud rate (9600)? It might be something higher ... also did you setup agetty accordingly?

Re: Serial Port Issues

2020-04-05 Thread Chris Rhodin
to...@tuxteam.de wrote: > Permissions? (they would have to be a bit funny, write but not read, > but hey, it'd be possible). I checked the permissions and group memberships but they're already correct. I also tried executing at root privilege, no luck. Chris

Re: Serial Port Issues

2020-04-05 Thread john doe
On 4/5/2020 3:06 PM, Chris Rhodin wrote: > Hi All, > > I have a rack mount server running a fresh install of Debian buster. On > this system a serial port can only receive data and not transmit. This is > true for both the built in serial port and USB to serial adapters. I'm

Re: Serial Port Issues

2020-04-05 Thread deloptes
to...@tuxteam.de wrote: > Permissions? (they would have to be a bit funny, write but not read, > but hey, it'd be possible). definitely, because it is usually read only for the group by default. $ ls -al /dev/ttyS1 crw-rw 1 root dialout 4, 65 Apr 5 11:40 /dev/ttyS1

Re: Serial Port Issues

2020-04-05 Thread songbird
wrote: ... > Permissions? (they would have to be a bit funny, write but not read, > but hey, it'd be possible). that was my first thought too... songbird

Re: Serial Port Issues

2020-04-05 Thread tomas
On Sun, Apr 05, 2020 at 06:06:43AM -0700, Chris Rhodin wrote: > Hi All, > > I have a rack mount server running a fresh install of Debian buster. On > this system a serial port can only receive data and not transmit. This is > true for both the built in serial port and USB to

Serial Port Issues

2020-04-05 Thread Chris Rhodin
Hi All, I have a rack mount server running a fresh install of Debian buster. On this system a serial port can only receive data and not transmit. This is true for both the built in serial port and USB to serial adapters. I'm testing this with a loop back cable and the command &qu

Re: Serial port software

2019-11-28 Thread deloptes
John Hasler wrote: > How close you can get to "proper RS232 serial port operation" > will probably be limited by the USB <-> serial chip in that cable. Haha indeed there is too much junk out there. I did some research years ago and bought one with prolofic chip (made in Tai

Re: Serial port software

2019-11-27 Thread Miles Fidelman
On 11/27/19 7:38 PM, John Hasler wrote: Paul Sutton wrote: We have need, at the South Devon Tech Jam to gain access to a switch that has a serial port, but using the serial port, (having issues using the switch ip address). I have a netbook running debian along with a usb -> 9 pin ser

Re: Serial port software

2019-11-27 Thread John Hasler
Paul Sutton wrote: > We have need, at the South Devon Tech Jam to gain access to a switch > that has a serial port, but using the serial port, (having issues using > the switch ip address). > > I have a netbook running debian along with a usb -> 9 pin serial > connector cable

Re: Serial port software

2019-11-27 Thread songbird
Paul Sutton wrote: ... > Hi > > We have need, at the South Devon Tech Jam to gain access to a switch > that has a serial port, but using the serial port, (having issues using > the switch ip address). > > I have a netbook running debian along with a usb -> 9 pin serial >

Re: Serial port software

2019-11-27 Thread Reco
Hi. On Wed, Nov 27, 2019 at 08:43:04AM +, Paul Sutton wrote: > "Something that gives as close to a proper RS232 serial port operation > as possible." busybox microcom -s /dev/ttyUSB... There's no need to install anything, you usually have busybox already. Reco

Re: Serial port software

2019-11-27 Thread Thomas Pircher
Paul Sutton wrote: > "Something that gives as close to a proper RS232 serial port operation > as possible." As someone mentioned already, cutecom is a nice graphical interface. If you work on the console then I'd suggest picocom. It has fewer features than minicom (e.g. ker

Re: Serial port software

2019-11-27 Thread Nate Bargmann
* On 2019 27 Nov 02:44 -0600, Paul Sutton wrote: > Hi > > We have need, at the South Devon Tech Jam to gain access to a switch > that has a serial port, but using the serial port, (having issues using > the switch ip address). > > I have a netbook running debian along with

Re: Serial port software

2019-11-27 Thread basti
Hello, use minicom or screen for example. screen -t 'ttyUSB0 115200 8n1' /dev/ttyUSB0 115200,-ixoff,-ixon On 27.11.19 09:43, Paul Sutton wrote: > Hi > > We have need, at the South Devon Tech Jam to gain access to a switch > that has a serial port, but using the seria

Serial port software

2019-11-27 Thread Paul Sutton
Hi We have need, at the South Devon Tech Jam to gain access to a switch that has a serial port, but using the serial port, (having issues using the switch ip address). I have a netbook running debian along with a usb -> 9 pin serial connector cable. and have been asked to install software

Re: wheezy: need help with serial port [really jessie, and now SOLVED]

2015-05-29 Thread D. R. Evans
bri...@aracnet.com wrote on 05/28/2015 09:47 PM: > what is the physical port, is it an actual rs-232 ? Yes. ( Amazingly, such things do still exist :-) ) But I figured it out this morning. I was being completely misled by the error message that came from the application, which made it seem that

Re: jessie: need help with serial port

2015-05-29 Thread Lisi Reisz
On Thursday 28 May 2015 23:55:31 D. R. Evans wrote: > Re-send, with the correct subject line. I keep getting wheezy and jessie > mixed up. Sorry. Would you find it easier to refer to Stable and Old Stable? Or 7 and 8 and confuse people like me? (The problem with numbers is that Testing (current

Re: wheezy: need help with serial port

2015-05-28 Thread briand
On Thu, 28 May 2015 16:52:18 -0600 "D. R. Evans" wrote: > Prior to installing debian, I have used several releases of *buntu on a > machine on which /dev/ttyS4 is used; *buntu always detected and allowed me to > use the port automagically. > > Wheezy, however, sees only ttyS0, S1, S2 and S3. As

Re: jessie: need help with serial port

2015-05-28 Thread Stuart Longland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 29/05/15 08:55, D. R. Evans wrote: > Re-send, with the correct subject line. I keep getting wheezy and > jessie mixed up. Sorry. > > > > Prior to installing debian, I have used several releases of *buntu > on a machine on which /dev/ttyS4 i

jessie: need help with serial port

2015-05-28 Thread D. R. Evans
Re-send, with the correct subject line. I keep getting wheezy and jessie mixed up. Sorry. Prior to installing debian, I have used several releases of *buntu on a machine on which /dev/ttyS4 is used; *buntu always detected and allowed me to use the port automagically. Jessie, however, sees o

wheezy: need help with serial port

2015-05-28 Thread D. R. Evans
Prior to installing debian, I have used several releases of *buntu on a machine on which /dev/ttyS4 is used; *buntu always detected and allowed me to use the port automagically. Wheezy, however, sees only ttyS0, S1, S2 and S3. As far as I have been able to determine, none of these is associated wi

Re: Data from a serial port

2014-10-06 Thread Ethan Rosenberg
On 10/05/2014 10:36 PM, Marty wrote: On 10/05/2014 03:50 PM, Ethan Rosenberg wrote: root@meow:/home/ethan# chown ethan /dev/ttyS0 root@meow:/home/ethan# ls -l /dev/ttyS0 crw-rw 1 ethan dialout 4, 64 Oct 4 23:00 /dev/ttyS0 root@meow:/home/ethan# $cat /dev/ttyS0|tee -a scale.txt bash: /dev/t

Re: Data from a serial port

2014-10-05 Thread Ethan Rosenberg
On 10/05/2014 10:36 PM, Marty wrote: cat /dev/ttyS0|tee -a scale.txt Excellent. Works!! Now, how do I read the contents of scale.txt? TIA Ethan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: Data from a serial port

2014-10-05 Thread Marty
On 10/05/2014 03:50 PM, Ethan Rosenberg wrote: root@meow:/home/ethan# chown ethan /dev/ttyS0 root@meow:/home/ethan# ls -l /dev/ttyS0 crw-rw 1 ethan dialout 4, 64 Oct 4 23:00 /dev/ttyS0 root@meow:/home/ethan# $cat /dev/ttyS0|tee -a scale.txt bash: /dev/ttyS0: Permission denied # adduser et

Re: Data from a serial port

2014-10-05 Thread Ethan Rosenberg
On 10/04/2014 12:56 AM, Joel Rees wrote: On Sat, Oct 4, 2014 at 11:05 AM, Jerry Stuckle wrote: On 10/3/2014 9:52 PM, Joel Rees wrote: On Sat, Oct 4, 2014 at 9:54 AM, Jerry Stuckle wrote: On 10/3/2014 8:19 PM, Joel Rees wrote: On Sat, Oct 4, 2014 at 5:52 AM, Jerry Stuckle wrote: On 10/2/20

Re: Serial Port Problems

2014-10-04 Thread Ethan Rosenberg
On 10/03/2014 03:33 PM, Dan Ritter wrote: On Fri, Oct 03, 2014 at 08:43:50AM -0400, Ethan Rosenberg wrote: Dear List - I am trying to capture data from a serial port and write it to a file. ethan@meow:/var/www$ cat /dev/ttyS0 > scale_value.html cat: /dev/ttyS0: Device or resource busy l

Re: Serial Port Problems

2014-10-04 Thread Jerry Stuckle
On 10/4/2014 10:48 AM, Markos wrote: > Dear Ethan, > > Your scale has a DB9, DB25 or USB connector? > > It is important to make sure that the cable you are using has the > correct pinout. > > Your scale has come with a cable from manufacturer or you set up the > communication cable yourself? >

Re: Serial Port Problems

2014-10-04 Thread Markos
information over the serial port automatically as soon as they are turned on, others send after setting the instrument by typing some commands at the keyboard, and there are some instruments which send information only after receiving commands by the computer. The manufacturer's manual s

Re: Data from a serial port

2014-10-03 Thread Joel Rees
On Sat, Oct 4, 2014 at 11:05 AM, Jerry Stuckle wrote: > On 10/3/2014 9:52 PM, Joel Rees wrote: >> On Sat, Oct 4, 2014 at 9:54 AM, Jerry Stuckle wrote: >>> On 10/3/2014 8:19 PM, Joel Rees wrote: On Sat, Oct 4, 2014 at 5:52 AM, Jerry Stuckle wrote: > On 10/2/2014 8:24 PM, Ethan Rose

Re: Data from a serial port

2014-10-03 Thread Jerry Stuckle
On 10/3/2014 9:52 PM, Joel Rees wrote: > On Sat, Oct 4, 2014 at 9:54 AM, Jerry Stuckle wrote: >> On 10/3/2014 8:19 PM, Joel Rees wrote: >>> On Sat, Oct 4, 2014 at 5:52 AM, Jerry Stuckle >>> wrote: On 10/2/2014 8:24 PM, Ethan Rosenberg wrote: > [...] In addition to Dan's commen

Re: Data from a serial port

2014-10-03 Thread Joel Rees
On Sat, Oct 4, 2014 at 9:54 AM, Jerry Stuckle wrote: > On 10/3/2014 8:19 PM, Joel Rees wrote: >> On Sat, Oct 4, 2014 at 5:52 AM, Jerry Stuckle wrote: >>> On 10/2/2014 8:24 PM, Ethan Rosenberg wrote: [...] >>> >>> In addition to Dan's comments - is your cable OK? Do you need a >>> straight-t

Re: Data from a serial port

2014-10-03 Thread Jerry Stuckle
On 10/3/2014 8:19 PM, Joel Rees wrote: > On Sat, Oct 4, 2014 at 5:52 AM, Jerry Stuckle wrote: >> On 10/2/2014 8:24 PM, Ethan Rosenberg wrote: >>> [...] >> >> In addition to Dan's comments - is your cable OK? Do you need a >> straight-through cable or a cross-over cable? Does the terminal >> requ

Re: Data from a serial port

2014-10-03 Thread Joel Rees
On Sat, Oct 4, 2014 at 5:52 AM, Jerry Stuckle wrote: > On 10/2/2014 8:24 PM, Ethan Rosenberg wrote: >> [...] > > In addition to Dan's comments - is your cable OK? Do you need a > straight-through cable or a cross-over cable? Does the terminal > require/honor DSR/TSR and RTS/CTS? If so, are thes

Re: Data from a serial port

2014-10-03 Thread Jerry Stuckle
gt; More info from the manual -- >>> >>> 9600 baud, 7 data bits, even parity, 1 stop bit >>> >>> Transmits weight and scale status whenever ASCII 'W' is sent by >>> the POS terminal. >> >> Well, one option would be to install minicom (apt

Re: Data from a serial port

2014-10-03 Thread Dan Ritter
On Thu, Oct 02, 2014 at 08:24:21PM -0400, Ethan Rosenberg wrote: > On 10/01/2014 03:20 PM, Dan Ritter wrote: > >On Sat, Sep 27, 2014 at 11:26:48PM -0400, Ethan Rosenberg, PhD wrote: > >>root@meow:/home/ethan# setserial -g /dev/ttyS[0123] > >>/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 > >>/dev/

Re: Serial Port Problems

2014-10-03 Thread Dan Ritter
On Fri, Oct 03, 2014 at 08:43:50AM -0400, Ethan Rosenberg wrote: > Dear List - > > I am trying to capture data from a serial port and write it to a file. > > ethan@meow:/var/www$ cat /dev/ttyS0 > scale_value.html > cat: /dev/ttyS0: Device or resource busy > lsof /dev/t

Re: Serial Port Problems

2014-10-03 Thread David Christensen
On 10/03/2014 05:43 AM, Ethan Rosenberg wrote: I am trying to capture data from a serial port and write it to a file. ethan@meow:/var/www$ cat /dev/ttyS0 > scale_value.html cat: /dev/ttyS0: Device or resource busy I also found that userland tools don't work very well with serial port

Serial Port Problems

2014-10-03 Thread Ethan Rosenberg
Dear List - I am trying to capture data from a serial port and write it to a file. ethan@meow:/var/www$ cat /dev/ttyS0 > scale_value.html cat: /dev/ttyS0: Device or resource busy root@meow:/var/www# cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16550A port:03F8 ir

Re: Data from a serial port

2014-10-02 Thread Ethan Rosenberg
parity, 1 stop bit Transmits weight and scale status whenever ASCII 'W' is sent by the POS terminal. Well, one option would be to install minicom (apt-get will find it for you), set your default serial port to /dev/ttyS0, set it at 9600,7,e,1. Then plug it in and see if tapping W

Re: Data from a serial port

2014-10-01 Thread Chris Bannister
On Wed, Oct 01, 2014 at 03:20:06PM -0400, Dan Ritter wrote: > > Well, one option would be to install minicom (apt-get will find > it for you), set your default serial port to /dev/ttyS0, set it > at 9600,7,e,1. Then plug it in and see if tapping W gets you > a response. > >

Re: Data from a serial port

2014-10-01 Thread Dan Ritter
gt; > > More info from the manual -- > > 9600 baud, 7 data bits, even parity, 1 stop bit > > Transmits weight and scale status whenever ASCII 'W' is sent by the POS > terminal. Well, one option would be to install minicom (apt-get will find it for you), set your d

Re: Data from a serial port

2014-09-30 Thread Bob Proulx
David Christensen wrote: > Ethan Rosenberg wrote: > >Wrote it myself. > > Then you need to learn how to program the serial port using whatever > language you picked. Your program will basically need to sit in a loop reading data from the point of sale serial port continuously

Re: Data from a serial port

2014-09-28 Thread David Christensen
On 09/28/2014 01:09 PM, Ethan Rosenberg wrote: Wrote it myself. Please reply to the list. Then you need to learn how to program the serial port using whatever language you picked. I initially learned serial port programming in C from a book: http://www.amazon.com/C-Programmers-Guide

Re: Data from a serial port

2014-09-28 Thread Chris Bannister
On Sat, Sep 27, 2014 at 11:13:28PM -0400, Ethan Rosenberg wrote: > Dear List - > > I have an Avery Berkel POS [Point Of Sale] scale which I wish to integrate > into a POS system. The output is sent to a RS232 port. I do not know how to > extract the data. Although this is not a Debian support qu

Re: Data from a serial port

2014-09-28 Thread Johann Klammer
On 09/28/2014 05:30 AM, Ethan Rosenberg, PhD wrote: Dear List - I have an Avery Berkel POS [Point Of Sale] scale which I wish to integrate into a POS system. The output is sent to a RS232 port. I do not know how to extract the data. Here is what I have about the RS232 port: ethan@meow:~$ dmes

Re: Data from a serial port

2014-09-27 Thread David Christensen
On 09/27/2014 08:26 PM, Ethan Rosenberg, PhD wrote: I have an Avery Berkel POS [Point Of Sale] scale which I wish to integrate into a POS system. The output is sent to a RS232 port. I do not know how to extract the data. Here is what I have about the RS232 port: ethan@meow:~$ dmesg | grep tty [

Data from a serial port

2014-09-27 Thread Ethan Rosenberg, PhD
Dear List - I have an Avery Berkel POS [Point Of Sale] scale which I wish to integrate into a POS system. The output is sent to a RS232 port. I do not know how to extract the data. Here is what I have about the RS232 port: ethan@meow:~$ dmesg | grep tty [0.00] console [tty0] enabled

Data from a serial port

2014-09-27 Thread Ethan Rosenberg
Dear List - I have an Avery Berkel POS [Point Of Sale] scale which I wish to integrate into a POS system. The output is sent to a RS232 port. I do not know how to extract the data. Here is what I have about the RS232 port: ethan@meow:~$ dmesg | grep tty [0.00] console [tty0] enabled

read and serial port

2014-05-13 Thread Michael Post
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, i created a bash-script to send something to serial port (/dev/ttyACM0) and read the result. Here my code: - --- DEV=/dev/ttyACM0 stty raw -F $DEV ispeed 38400 ospeed 38400 cread -cstopb -echo echo "@00P0?" > $DEV while

Re: text from serial port + IP camera + Debian for loss prevention?

2013-04-10 Thread Nick Lidakis
On Wed, Apr 10, 2013 at 06:28:44AM +0200, sp113438 wrote: > > > > I know there is a program that records audio. It records several > > seconds/minutes to memory and writes the interval to disk when a > > button is hit. > > I forgot it's name :-( > > You need something similar, but for video. > >

Re: text from serial port + IP camera + Debian for loss prevention?

2013-04-10 Thread Richard Owlett
it card machine. The other can be connected to a serial pole display. I understand that this second serial port outputs formatted text of all buttons pressed and transactions processed. This is also useful for overlaying this text with a CCTV camera connected to a DVR. Though, this setup limits ho

Re: text from serial port + IP camera + Debian for loss prevention?

2013-04-09 Thread sp113438
useful for overlaying this text with a CCTV camera > > > connected to a DVR. Though, this setup limits how you can search > > > for mistakes or theft, having to sift through hours of video. > > > > > > I'd like to do the following with Debian: Use the text fro

Re: text from serial port + IP camera + Debian for loss prevention?

2013-04-09 Thread sp113438
on server. > > Motherboard is a Tyan with real serial ports. > > > > We have a mid-line Casio cash register setup that has 2 serial > > ports. 1 is dedicated to the credit card machine. The other can be > > connected to a serial pole display. I understand that thi

Re: text from serial port + IP camera + Debian for loss prevention?

2013-04-09 Thread Doug
is dedicated to the credit card machine. The other can be connected to a serial pole display. I understand that this second serial port outputs formatted text of all buttons pressed and transactions processed. This is also useful for overlaying this text with a CCTV camera connected to a DVR. Thoug

text from serial port + IP camera + Debian for loss prevention?

2013-04-09 Thread Nick Lidakis
her can be connected to a serial pole display. I understand that this second serial port outputs formatted text of all buttons pressed and transactions processed. This is also useful for overlaying this text with a CCTV camera connected to a DVR. Though, this setup limits how you can search f

Re: using serial port read and write

2012-07-26 Thread Mike McClain
l for the serial ports of both machines. 'dmesg | grep serial' should tell you that the kernel has recognized both serial ports and neither is disabled in BIOS. Physically a serial port is comprised of a transmitter and a receiver, either can have a blown gate and be non functiona

Re: write to then read from the serial port

2012-07-17 Thread Chris Bannister
On Mon, Jul 16, 2012 at 08:23:10PM +0200, abdelkader belahcene wrote: > Hi, > Please I just need a small program which write a character ( or > several) then read it from that serial port. > I used a null modem ( since I have just on serial port device). > > I want a simple se

write to then read from the serial port

2012-07-16 Thread abdelkader belahcene
Hi, Please I just need a small program which write a character ( or several) then read it from that serial port. I used a null modem ( since I have just on serial port device). I want a simple serial connection. I consulted Howto on tdlp and other , nothing is simple for me, ?? I can write on

Re: Serial port with Lenny

2011-08-31 Thread Camaleón
On Wed, 31 Aug 2011 16:07:56 +0200, alex.padoly wrote: > How I can know if the serial port is active, gphoto2 doent find my > camera (OLYMPUS C-2000Z), this camera is supported by ghphoto2. Hum... check if it is listed: dmesg | grep -i tty And then review gphoto's FAQ: http://www

Re: Serial port with Lenny

2011-08-31 Thread Ivan Shmakov
>>>>> alex padoly writes: > How I can know if the serial port is active, gphoto2 doent find my > camera (OLYMPUS C-2000Z), this camera is supported by ghphoto2. Use statserial(8) to monitor the serial port state in real time. Try connecting and discon

Serial port with Lenny

2011-08-31 Thread alex . padoly
Hi, How I can know if the serial port is active, gphoto2 doent find my camera (OLYMPUS C-2000Z), this camera is supported by ghphoto2. Thanks you. Regards. Alex PADOLY

Re: serial port

2010-02-02 Thread Oleg
On Tue, Feb 02, 2010 at 05:16:31PM +0100, Jesus arteche wrote: > hello, > > Ok this question is about another linux distro, but I think is general for > all of them. How can I get this line when I make "dmesg | grep tty" : > > console [tty0] enabled > > I

serial port

2010-02-02 Thread Jesus arteche
hello, Ok this question is about another linux distro, but I think is general for all of them. How can I get this line when I make "dmesg | grep tty" : console [tty0] enabled I need to get enable the serial port...someone knows what i hav eto do...compile kernel, type some command... thanks

Finally Ending Quest for Working PCMCIA Serial Port Dell Enspiron

2010-01-18 Thread Martin McCormick
After some further study, it looks like the PCMCIA port may actually register as two devices with only one available for use. At least there is only one DB9 on the front of the adaptor. From syslog: Jan 18 06:11:41 delta kernel: [ 15.260818] :03:00.0: ttyS0 at I/O 0x3400 (i

Re: Never Ending Quest for Working PCMCIA Serial Port Dell Enspiron

2010-01-17 Thread Martin McCormick
Dale writes: > You could have a look at doing it with udev This does seem like what I need but I haven't gotten it to make one bit of difference yet. With the PCMCIA card out, no /dev/ttyS0 or /dev/ttyS1 devices are present. That modem which I believe to be a Winmodem, is probably /dev/tty

Re: Never Ending Quest for Working PCMCIA Serial Port Dell Enspiron

2010-01-17 Thread Dale
2010/1/17 Martin McCormick : >        The laptop in question has a built-in dialup modem which > doesn't even show up as a serial port in Linux. In the P.C.'s > setup screen, it doesn't show up there so I can't remove or move > it out of the way, but a PCMCIA

Never Ending Quest for Working PCMCIA Serial Port Dell Enspiron

2010-01-16 Thread Martin McCormick
The laptop in question has a built-in dialup modem which doesn't even show up as a serial port in Linux. In the P.C.'s setup screen, it doesn't show up there so I can't remove or move it out of the way, but a PCMCIA card installed containing a real truly RS-232 port

  1   2   3   4   >