[ltp] T21 /dev/ttyS0

David Grindrod linux-thinkpad@linux-thinkpad.org
Mon, 16 Sep 2002 16:17:37 +0100


--------------010106080106090307040203
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Try looking in the bios to see if it is anabled. It was disabled on my 
A31p although Windows 2000 recognised it with it disabled. In order for 
Linux to find the serial port then it does need to be enabled in the BIOS.

Dave

Rob Mayoff wrote:

>+---------- On Sep 16, Manolis Stamatogiannakis said:
>
>>Hi, I have installed gentoo linux on a TP T21.
>>There is no /dev/ttyS0 though. I am using devfs.
>>How do I create the serial port device? Did anybody
>>gave similar problems with linux on his TP?
>>
>>The serial driver is bult in the kernel (gentoo-2.4.19-r9).
>>Here is the part of the dmesg output:
>>
>
>If the serial ports aren't enabled at boot time, then devfs won't have
>the device nodes for the serial ports. In my experience, devfs will
>NOT create the device nodes later if you enable the serial ports after
>boot (using tpctl or setpnp), when the serial driver is built in to the
>kernel.
>
>If you absolutely need the serial ports without rebooting, and you're in
>this situation, then you can create the device nodes somewhere else, for
>example as /tmp/ttyS0 and /tmp/ttyS1.  The major number is 4 and the
>minor numbers are 64 (for ttyS0) and 65 (for ttyS1).
>
>I rebuilt my kernel with the serial driver as a module. This way, if the
>serial ports are disabled when I boot, I can enable them with tpctl or
>setpnp and then load the module. When the serial driver module loads, it
>creates the devfs device nodes if the serial ports are enabled.
>
>


--------------010106080106090307040203
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Try looking in the bios to see if it is anabled. It was disabled on my A31p
although Windows 2000 recognised it with it disabled. In order for Linux
to find the serial port then it does need to be enabled in the BIOS.<br>
<br>
Dave<br>
<br>
Rob Mayoff wrote:<br>
<blockquote type="cite" cite="mid:Pine.LNX.4.44.0209160935230.4909-100000@jet.dqd.com">
  <pre wrap="">+---------- On Sep 16, Manolis Stamatogiannakis said:<br></pre>
  <blockquote type="cite">
    <pre wrap="">Hi, I have installed gentoo linux on a TP T21.<br>There is no /dev/ttyS0 though. I am using devfs.<br>How do I create the serial port device? Did anybody<br>gave similar problems with linux on his TP?<br><br>The serial driver is bult in the kernel (gentoo-2.4.19-r9).<br>Here is the part of the dmesg output:<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>If the serial ports aren't enabled at boot time, then devfs won't have<br>the device nodes for the serial ports. In my experience, devfs will<br>NOT create the device nodes later if you enable the serial ports after<br>boot (using tpctl or setpnp), when the serial driver is built in to the<br>kernel.<br><br>If you absolutely need the serial ports without rebooting, and you're in<br>this situation, then you can create the device nodes somewhere else, for<br>example as /tmp/ttyS0 and /tmp/ttyS1.  The major number is 4 and the<br>minor numbers are 64 (for ttyS0) and 65 (for ttyS1).<br><br>I rebuilt my kernel with the serial driver as a module. This way, if the<br>serial ports are disabled when I boot, I can enable them with tpctl or<br>setpnp and then load the module. When the serial driver module loads, it<br>creates the devfs device nodes if the serial ports are enabled.<br><br><br></pre>
    </blockquote>
    <br>
    </body>
    </html>

--------------010106080106090307040203--