[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen serial console has only 7 bit?



I tried to use the Xen serial console, as described in http://wiki.xen.org/wiki/Xen_Serial_Console . I also used the resulting xvc0 device as a console of the DOM0 Linux.

Everything was working fine, and I could explore the features of the Xen console. Almost everything... Finally I discovered, that when logging in to Linux on the serial console, I could not use german umlauts. It seemed as if the most significant bit was masked off during input.

After a long search, what I was doing wrong I saw this line of code inside the Xen serial driver:

http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/drivers/char/serial.c;h=c583a48c0823e7bf2619a1a63f05da3bfbd20e3d;hb=HEAD#l300

OK, this explains the behaviour. But what is the intention of this line? Shouldn't this actually be something like

if (handle & SERHND_HI)
{
    c &= 0x7f;
}
return c;

--
Manfred HÃrtel, DB3HM    mailto:Manfred.Haertel@xxxxxxxxxxxx
                         http://rz-home.de/mhaertel

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.