How to add /dev/pts and devpts to TV?

Ideas and dreaming will go this forum
Post Reply

User avatar
juusso
SamyGO Moderator
Posts: 10034
Joined: Sun Mar 07, 2010 6:20 pm

How to add /dev/pts and devpts to TV?

Post by juusso » Tue Oct 04, 2011 10:11 am

Hi,

is here any chance to compile and add the device pts to TV? Somehow inject as modules and then mount?

If we look closer, here isn`t such device compared to B and C series models:

Code: Select all

@ bin $ cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  5 /dev/tty
  5 /dev/console
  7 vcs
 10 misc
 13 input
180 usb
189 usb_device
204 ttyS
204 ttySD
233 hidraw
234 usb_endpoint
235 mfc
236 nrss
237 Mspi
238 Ci
239 avd
240 playback
241 record
242 se
243 dp
244 Jpeg
245 mpeg
246 tsdqueue
247 tsd
248 aio
249 ae
250 mali
251 gfx
252 sys
253 dbg
254 sdp_i2c
 
Block devices:
  1 ramdisk
259 blkext
  7 loop
  8 sd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
137 bml
138 stl
139 tfsr
179 mmc
Also we need devpts filesystem (???) to be mounted also with command to get telnetd script working:

Code: Select all

mount devpts /dev/pts -t devpts
As we see, here isn`t devpts in filesystem list:

Code: Select all

@ bin $ cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   debugfs
nodev   sockfs
nodev   pipefs
nodev   anon_inodefs
nodev   tmpfs
        squashfs
nodev   ramfs
        vfat
        ntfs
        xfs
nodev   mqueue
nodev   oprofilefs
        rfs
nodev   usbfs
nodev   fuse
        fuseblk
nodev   fusectl
nodev   rpc_pipefs
nodev   nfs
According the explanation about virtual devices, after the /dev/pts mount command we don`t get the error "filesystem devpts not supported by kernel", but we get the:

Code: Select all

./busybox mount -t devpts devpts /dev/pts
mount: mounting none on /dev/pts failed: No such device
Shouldn`t it mean, that this isn`t dissabled in kernel level, but we just miss the device and devpts filesystem on TV?

could we add those by makedev or mknod?
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: How to add /dev/pts and devpts to TV?

Post by arris69 » Tue Oct 04, 2011 10:28 am

juuso wrote:Hi,

is here any chance to compile and add the device pts to TV? Somehow inject as modules and then mount?
...
no, pty is one of 'core level' functions. with old kernels (2.4..) it was possible to buld it as module but with recent kernels
it's not rentable (at least for me) you can get shell over webserver and php

hth
arris

User avatar
juusso
SamyGO Moderator
Posts: 10034
Joined: Sun Mar 07, 2010 6:20 pm

Re: How to add /dev/pts and devpts to TV?

Post by juusso » Tue Oct 04, 2011 11:35 am

Yes, i know and i use shell over webserver. But it is not really comfortable, some functions are missing here (mc).
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[D] Brainstorm”