Re: Error reading 1-wire
Paul Davis <ziggy <at> pumpkinbrook.com>
2011-02-03 02:49:10 GMT
I'm sorry. At first glance the device ID of 03:07.0 looked like USB to
me., but I guess it's PCI.
I think I'd still start with the basics and make sure everything is what
it appears to be. Are there any BIOS messages before system boot
regarding the add-in card? IRQs and IO ports? In the dmsg output are
there any messages relating to the ports? Anything from 'setpci' or
'setserial' in the logs? Is all of this consistent with what is seen in
/proc/interrupts (activity) , /proc/ioports, /proc/tty/driver/serial ?
You could also use 'lspci -vv' and take a peek at the card details. I'd
still look at lsmod after boot when things work. and then again when
they don't. A lot of this is what you would so if you cant get the card
to work (which I know is not your problem) but comparing between the
working and non-working states may show something, especially the 'lspci
Usually 16550A UARTS are pretty good, but your's would seem be unhappy
On 2/1/2011 5:39 PM, Mick Sulley wrote:
> Hi Paul,
> No it's not USB, I have added a card with two serial ports, so I have
> S0, the original port, then S1 and S2 which are the additional ports.
> The reason was that on my control PC I am running owfs for 1-wire and
> also X10 to drive some outputs, so I needed two serial ports. In order
> to test out stuff I have added a similar card to my desktop and it is
> there that I am having these problems, the control PC almost never
> On Tue, 2011-02-01 at 17:10 -0500, Paul Davis wrote:
>> I would suggest that you move the adapter to ttyS0, which should be the
>> built-in serial port with a 'real' UART and see how it works there.
>> Eliminate any USB vagueness.
>> The ttyS2 you are using is USB. I know from professional experience that
>> there are differences in USB serial implementations that can cause
>> quirkiness. Sometimes the drivers get unloaded, the system goes into
>> power saving mode (not necessarily sleep) and powers down the USB
>> device, or a number of other things can happen.
>> If you then move back to the USB serial device and this happens again,
>> do a 'lsusb' and make sure the device still shows up. Do a 'lsmod' and
>> make sure the kernel module is still loaded.
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!