All of lore.kernel.org
 help / color / mirror / Atom feed
* Using the MAX3107
@ 2012-05-29 15:02 Ubdfu
  2012-05-29 15:55 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Ubdfu @ 2012-05-29 15:02 UTC (permalink / raw)
  To: linux-serial

Hello,

Please excuse my and be aware that I'm quite new to kernel hacking :-)

I'm currently trying to enable the RS485 support on the MAX3107 and 
continuously getting the error:
"max3107 spi2.0: interrup isn't serviced normally!"
Assuming it means interrupt it nevertheless does not help me to find the 
cause of the problem.

Added some patches form:
http://marc.info/?l=linux-serial&w=2&r=1&s=max3107&q=b

And changed the baudrate to the appropriate, set bit for rs458 mode.

Has anyone tried working with the MAX3107?

Thanks in advance
Marcel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using the MAX3107
  2012-05-29 15:02 Using the MAX3107 Ubdfu
@ 2012-05-29 15:55 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2012-05-29 15:55 UTC (permalink / raw)
  To: Ubdfu; +Cc: linux-serial

On Tue, 29 May 2012 17:02:41 +0200
Ubdfu <ubdfu@student.kit.edu> wrote:

> Hello,
> 
> Please excuse my and be aware that I'm quite new to kernel hacking :-)
> 
> I'm currently trying to enable the RS485 support on the MAX3107 and 
> continuously getting the error:
> "max3107 spi2.0: interrup isn't serviced normally!"
> Assuming it means interrupt it nevertheless does not help me to find the 
> cause of the problem.
> 
> Added some patches form:
> http://marc.info/?l=linux-serial&w=2&r=1&s=max3107&q=b
> 
> And changed the baudrate to the appropriate, set bit for rs458 mode.
> 
> Has anyone tried working with the MAX3107?

Not in rs485 mode and not for a while. The base code in drivers/tty/serial
should work for RS232 mode at least.

The trigger you are hitting implies that it got an event during
suspend/freezing or somehow tried to queue work when work was already
queued.

The current code doesn't cope with the device being on a shared interrupt
line, so my first guess would be that might be the problem ?

Alan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-29 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 15:02 Using the MAX3107 Ubdfu
2012-05-29 15:55 ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.