> Because it is NOT 0x10007... It is OCTAL 010007 -- which just
> happens to map to hexadecimal 0x1007
> --
> WulfraedDennis Lee Bieber KD6MOG
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> HTTP://wlfraed.home.netcom.com/
>
blaine <[EMAIL PROTECTED]> wrote:
>
>...I haven't been able to find many resources specifically in
>this area, but there are a few package that are vaguely mentioned,
>including fcntl and termios. But the web doesn't seem to have a lot
>of documentation on fcntl, particularly information thats fro
On 2008-03-04, blaine <[EMAIL PROTECTED]> wrote:
>> It looks like the fastest speed supported by python termios on
>> Linux is B460800 (uses a constant of 0x1004). If you look in
>> /usr/include/..., baud rates do go up to 921600 (which uses a
>> constant of 0x1007).
>>
>> Try using the appropria
> It looks like the fastest speed supported by python termios on
> Linux is B460800 (uses a constant of 0x1004). If you look in
> /usr/include/..., baud rates do go up to 921600 (which uses a
> constant of 0x1007).
>
> Try using the appropriate constant from /usr/include/... (for
> the target pla
On 2008-03-04, blaine <[EMAIL PROTECTED]> wrote:
>> Try using the appropriate constant from /usr/include/... (for
>> the target platform, of course).
>>
>> --
>> Grant Edwards grante Yow! Please come home with
>> at me .
>
> It looks like the fastest speed supported by python termios on
> Linux is B460800 (uses a constant of 0x1004). If you look in
> /usr/include/..., baud rates do go up to 921600 (which uses a
> constant of 0x1007).
>
> Try using the appropriate constant from /usr/include/... (for
> the target pl
On 2008-03-03, blaine <[EMAIL PROTECTED]> wrote:
> I do have a question though. In the termios module, I am attempting
> to set the baud rate to 921600, which is what we use with
> 'cutecom' (because minicom does not have this as an option) and is
> what the supplier recommends. When I try to se
> pyserial is pure python, so I don't see how it's going to be
> any more painful than something you write yourself. If you
> want something that's more of a transparent object wrapper
> aroudn the Posix serial interface, there's PosixSerial.py (upon
> which pyserial's posix support is based):
>
>
On 2008-03-03, blaine <[EMAIL PROTECTED]> wrote:
> As far as PySerial goes - were trying to stick to built-in
> modules since cross compiling to an arm processor is being a
> little bit of a pain for us.
pyserial is pure python, so I don't see how it's going to be
any more painful than something
On Mar 3, 12:31 pm, Bjoern Schliessmann wrote:
> It doesn't only work, it's the preferred way (if you don't use
> advanced wrappers like pyserial). For the basics see
>
> http://www.easysw.com/~mike/serial/serial.html
[...]
> What is the relationship between read/write, the baud rate, and
> effici
blaine wrote:
> So my question is this - what is the easiest way to interface to
> this "serial" device?
>
> I don't imagine a straight read() and write() command to
> /dev/ttyusb0 is the most efficient (if it even works)
It doesn't only work, it's the preferred way (if you don't use
advanced w
> So my question is this - what is the easiest way to interface to this
> "serial" device?
>
http://pyserial.sourceforge.net/
or perhaps
http://pyusb.berlios.de/
--
http://mail.python.org/mailman/listinfo/python-list
Hey everyone,
We have a usb spectrometer device that we have finally got working
in linux (we were provided linux only drivers). The device has a
Silicon Instruments cp2101 serial-to-usb chip onboard, and we loaded
the kernel module cp2101.c after taking the device apart to see what
was on the i
13 matches
Mail list logo