Beta from HD2 - for englishmen

Re: Beta from HD2 - for englishmen

Postby Virtual » 22 Oct 2010, 06:48

wellu wrote:...
That will show all input and print-commands in the console. It is funny when you press the arrow keys on your keyboard you can move menu options in o!play. It sends "Left", "Up", "Down" commands to DvdPlayer through telnet.

I will use that to help me debug the keyboard problem. I could even use my own program or shell script to poll keyboard commands from /dev/ and then send them to RootApp by launching RootApp through my program

./myscript RootApp DvdPlayer

lsmod show that usbkbd driver is loaded, but there is no keyboard device in /dev/input, only mice

I'll post any new findings here


http://www.mpcclub.com/forum/showthread.php?p=188013
:lol: :D
марсы: HDS7 (смотрелка AMP скин vrt )
HDR12 AMP (обычно сервер с RAM 256 и 2 SATA диска 2T+)//но очень иногда оцифровка видео
XTR PRO(AMP, HTTP(S) NFS SMB FTP сервер +trans2.90 + 2 SATA диска 2T+
сатурны: XTR Prodigy, R6S(512Mb_NAND), HD900A(_MD*) прошивка
User avatar
Virtual
 
Posts: 6865
Joined: 01 Oct 2010, 17:17
Location: RU

Re: Beta from HD2 - for englishmen

Postby Jarre » 22 Oct 2010, 12:52

are you looking for these input files..???
Attachments
input.zip
(25.15 KiB) Downloaded 234 times
Jarre
 
Posts: 81
Joined: 17 Oct 2010, 17:20

Re: Beta from HD2 - for englishmen

Postby wellu » 22 Oct 2010, 14:13

FarVoice wrote:
wellu wrote:Played around with this beta some more. There is a GUI options to turn all services on, so no need to add that FarVoice! Maybe for any new services those should be added to the GUI so people don't have to use telnet at all.

Where did you find it? Do you mean NAS rss menu? Please, tell me!

NAS rss

There are lotsa rss files not in use like the KenBurns_menu.rss

When Opera is running DvdPlayer takes about 97% CPU when just sitting in the home page. This is not good.
wellu
 
Posts: 13
Joined: 20 Oct 2010, 02:40

Re: Beta from HD2 - for englishmen

Postby wellu » 22 Oct 2010, 14:14



Yes I have seen it before :) I was just going to pass it here as my own idea :)
wellu
 
Posts: 13
Joined: 20 Oct 2010, 02:40

Re: Beta from HD2 - for englishmen

Postby FarVoice » 22 Oct 2010, 14:16

Jarre wrote:are you looking for these input files..???

These files already presents in your beta FW for HD2, and in official FW HD2 too
Keyboard don't working :(
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: Beta from HD2 - for englishmen

Postby wellu » 22 Oct 2010, 14:23

Jarre wrote:are you looking for these input files..???


Those are the driver files and they are already in the beta FW.

When you plug in a USB mouse the USB module creates a new device in /dev/input/mice and /dev/input/mouse0

Now if some program needs mouse input they just hook to that device.

Even you can hook to it with a command like "cat /dev/input/mouse0"

Then move your mouse around and you can see the all data that the mouse send on your screen. (ctrl+c when you want out)

The problem is that there is no device created for the keyboard. At least I can't find it.

Maybe they don't have keyboard support in the kernel yet I don't know. This is why I would like the SDK that has all sources for kernel too and if there is a ready toolchain to compile this all.
wellu
 
Posts: 13
Joined: 20 Oct 2010, 02:40

Re: Beta from HD2 - for englishmen

Postby FarVoice » 22 Oct 2010, 15:27

This is usbhid from IconBit HDS52L beta FW. Virtual said, that it's worked
Attachments
usbhid.zip
(16.65 KiB) Downloaded 228 times
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: Beta from HD2 - for englishmen

Postby wellu » 22 Oct 2010, 16:19

FarVoice wrote:This is usbhid from IconBit HDS52L beta FW. Virtual said, that it's worked


Did you try it yet?

I can see with dmesg that the mouse and keyboard are both detected and with lsmod you can see that usbkbd is also loaded.

This makes me believe that the usbhid is working, but it might be the hotplug binary that doesn't create the device for keyboard.

When I get home I will go through the mini-hotplug sources in the FWs and see if it creates keybaord device or not.

It is also possible to go throuhg al /sys/devices and try to find it there. If you find the MAJOR and MINOR numbers for it you can create the device yourself

mknod /dev/input/kbd c 13 64

which means "create device /dev/input/kbd. it is a character device and 13 is MAJOR and 64 the MINOR number for this device"
wellu
 
Posts: 13
Joined: 20 Oct 2010, 02:40

Re: Beta from HD2 - for englishmen

Postby FarVoice » 22 Oct 2010, 16:28

I don't try (haven't usb keyboard)
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: Beta from HD2 - for englishmen

Postby Virtual » 22 Oct 2010, 16:39

I try ;)
марсы: HDS7 (смотрелка AMP скин vrt )
HDR12 AMP (обычно сервер с RAM 256 и 2 SATA диска 2T+)//но очень иногда оцифровка видео
XTR PRO(AMP, HTTP(S) NFS SMB FTP сервер +trans2.90 + 2 SATA диска 2T+
сатурны: XTR Prodigy, R6S(512Mb_NAND), HD900A(_MD*) прошивка
User avatar
Virtual
 
Posts: 6865
Joined: 01 Oct 2010, 17:17
Location: RU

PreviousNext

Return to About Asus O!Play

Who is online

Users browsing this forum: No registered users and 19 guests