Skip to contentSkip to conversation

Problem with uart and acpi

DISCUSSION Henning Heinold 2 participants 4 messages Feb 25, 2010 – Mar 9, 2010 ACPI

lore
Share & tools
lore
#0 lore raw

Hello,

we got some viliv x70 ez, atom based netbooks with wifi, bt, gsm, gps and touchscreen.

I got all running now under ubuntu with latest stable kernel 2.6.32.8 except the gps. Viliv claims it is a sirf3 chip. It is connect to on irq 3(verified it under windows, where of course the gps works), the 8250 modul run fine
and show me the that the uart is connected to ttyS1. Unfornatly when the 8250_pnp is loaded the following occurs:

[    3.368311] serial 00:0c: activated
[    3.376287] serial 00:0c: disabled

So it seems something(acpi maybee) is disabling it and of course there is no output when I connect to the uart and run gpsd.

So any help which got me further is appreciate.

Here some more info's:

/sys/devices/pnp0/00\:0c/firmware_node/hid -> PNP0501

/sys/devices/pnp0/00\:0c/firmware_node/path -> \_SB_.PCI0.SBRG.UAR2

In the attachment is the code I found in the DSDT.dsl for UAR2.

Bye Henning.

                Device (UAR2)
                {
                    Name (_UID, 0x02)
                    Name (_HID, EisaId ("PNP0501"))
                    Name (CRS, ResourceTemplate ()
                    {
                        StartDependentFn (0x00, 0x00)
                        {
                            FixedIO (
                                0x02F8,             // Address
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3}
                        }
                        EndDependentFn ()
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        If (And (ESTS, 0x04))
                        {
                            If (And (ESTS, 0x40))
                            {
                                Return (0x0F)
                            }
                            Else
                            {
                                Return (0x0D)
                            }
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        Return (CRS)
                    }

                    Method (_DIS, 0, NotSerialized)
                    {
                        If (And (ESTS, 0x20))
                        {
                            Store (EDAT, DBG8)
                            Sleep (One)
                            Store (0xBF, ESTS)
                            Store (0xBF, DBG8)
                        }

                        Sleep (One)
                        Store (D2FD, DBG8)
                        Sleep (One)
                        Store (D2FD, DBG8)
                        Store (0xCD, DBG8)
                    }
#1 lore raw
Quoted 10 lines · Henning Heinold

we got some viliv x70 ez, atom based netbooks with wifi, bt, gsm, gps and touchscreen.

I got all running now under ubuntu with latest stable kernel 2.6.32.8 except the gps. Viliv claims it is a sirf3 chip. It is connect to on irq 3(verified it under windows, where of course the gps works), the 8250 modul run fine
and show me the that the uart is connected to ttyS1. Unfornatly when the 8250_pnp is loaded the following occurs:

[    3.368311] serial 00:0c: activatedq
[    3.376287] serial 00:0c: disabled

Could you set CONFIG_PNP_DEBUG_MESSAGES=y, boot with "pnp.debug", and attach the complete dmesg log, please?

Thanks,
Bjorn

#2 lore raw
Quoted 9 lines · Bjorn Helgaas
Quoted 8 lines · Henning Heinold

we got some viliv x70 ez, atom based netbooks with wifi, bt, gsm, gps and touchscreen.

I got all running now under ubuntu with latest stable kernel 2.6.32.8 except the gps. Viliv claims it is a sirf3 chip. It is connect to on irq 3(verified it under windows, where of course the gps works), the 8250 modul run fine
and show me the that the uart is connected to ttyS1. Unfornatly when the 8250_pnp is loaded the following occurs:

Quoted 5 lines
Quoted 2 lines
[    3.368311] serial 00:0c: activatedq
[    3.376287] serial 00:0c: disabled

Could you set CONFIG_PNP_DEBUG_MESSAGES=y, boot with "pnp.debug", and attach the complete dmesg log, please?

Ping, did you make any progress on this? I'd like to help resolve it if it's still a problem.

Bjorn

#3 lore raw

Quoting "Bjorn Helgaas" <[email protected]>:

Quoted 7 lines
Quoted 2 lines

Could you set CONFIG_PNP_DEBUG_MESSAGES=y, boot with "pnp.debug", and attach the complete dmesg log, please?

Ping, did you make any progress on this? I'd like to help resolve it if it's still a problem.

Bjorn

Oh Hi Bjorn,

somehow I overseen your e-mail. Unfornatly we don't have the viliv anymore. Maybe we have a slightly chance to get one again and then I will send the dmesg with debug.

Bye Henning