Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,773
» Latest member: Slice Master
» Forum threads: 16,285
» Forum posts: 117,304

Full Statistics

Latest Threads
Booting Issues
Forum: PineNote Software
Last Post: d2minik
Yesterday, 12:44 PM
» Replies: 22
» Views: 16,102
Window Maker Live for Pin...
Forum: Linux on Pinebook Pro
Last Post: vajak
12-24-2025, 06:00 AM
» Replies: 2
» Views: 386
Rrkisp issue with CSI cam...
Forum: Linux on Quartz64
Last Post: lystar
12-24-2025, 02:34 AM
» Replies: 1
» Views: 3,765
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
12-24-2025, 12:11 AM
» Replies: 80
» Views: 45,632
Fedora + Phosh for PinePh...
Forum: PinePhone Software
Last Post: shanehill@mail.com
12-23-2025, 09:12 PM
» Replies: 75
» Views: 201,012
Trixie - bring up the On ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
12-23-2025, 04:34 AM
» Replies: 0
» Views: 82
On-Screen Keyboard Arrow ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
12-23-2025, 04:25 AM
» Replies: 11
» Views: 6,084
Armbian has been released...
Forum: News
Last Post: ArmbianForSBCs
12-23-2025, 01:36 AM
» Replies: 21
» Views: 32,328
Alarm clock doesn’t work
Forum: Mobian on PinePhone
Last Post: biketool
12-23-2025, 12:12 AM
» Replies: 14
» Views: 24,448
Diagnosing and fixing fai...
Forum: PinePhone Pro Software
Last Post: biketool
12-22-2025, 11:59 PM
» Replies: 7
» Views: 626

 
Lightbulb Pinebook Remapping Keyboard with Xmodmap
Posted by: MarkHaysHarris777 - 09-04-2017, 12:55 PM - Forum: Linux on Pinebook - Replies (1)

Greetings, 

This is a follow-up to the "dead Alt keys issue" on my Pinebook;  the corner pin(12) of the 8051 is bent, which resulted in dead Alt keys (both of them); neither one send scancodes from my keyboard.

What I did to get full functionality (including AltGr key) is to connect a usb numeric keypad to the Pinebook, and then use xmodmap (part of the x11-xserver-utils package) to remap the keysym(s) kp_left and kp_right and  kp_begin  to Alt_L and Alt_R and  Control_R!

I did not have xmodmap installed on my xenial-i3 image, so I had to install it with :

       sudo apt install x11-xserver-utils

1) the first step is to build an xmodmap file of the current mapping :

       xmodmap -pke  >xmodmap_original

       The file is human readable...   study it.

2) second step is to copy the original file, and then edit the copy :

       cp  xmodmap_original  xmodmap_changes

original

Code:
keycode  83 = KP_Left KP_4 KP_Left KP_4
keycode  84 = KP_Begin KP_5 KP_Begin KP_5
keycode  85 = KP_Right KP_6 KP_Right KP_6


changed
Code:
keycode  83 = Alt_L Meta_L Alt_L Meta_L
keycode  84 = Control_R NoSymbol Control_R
keycode  85 = Alt_R Meta_R Alt_R Meta_R


3) save the changes file and then activate your new xmodmap with :

       xmodmap  ~/xmodmap_changes


Congratulations !   The keypad  left and right are now  Alt_L and Alt_R !

Notes:

   You can check the new keysym(s) with the tool  xev.  xev can be used to check your entire keyboard, and mouse;  it will report the scancode (keycode) and keysym for all keys including the numeric keypad.

   This only works in x11.  What we're doing here is to set a different keysym in x11 for a given scancode.  So, in x11, in the above example,  scancode(s) 64 and 108 now do nothing in x11;  and the scancode(s)  83 and 85  now take on new meaning(s)  ...  new keysyms !  

   The kp_begin  (keypad 5)  has been remapped as Control_R ;  interesting because the Pinebook doesn't even have a Control_R  !

   The changes are lost with reboot;  unless, the xmodmap is executed at startup in rc.local, or as a systemd service one-shot !


Shy


  What video options are available for ROCK64?
Posted by: WhiskerBiscuit - 09-04-2017, 12:35 PM - Forum: General Discussion on ROCK64 - Replies (1)

I was planning on using my ROCK64 as an OpenVPN server, Torrent server and a Air Video (iOS) server to stream to iOS clients and basically operate the unit in headless mode.

But since I have a big fat 4K TV it would be a shame to let the HDMI port not go to use.  Are there software packages that would allow me to view the content my Air Video server streams to iOS clients? I have to install the proper codecs on the SBC in order for this to work, so I asssume I should be able to send the content to the HDMI port.  I've used predecessors of Kodi on other servers.  Are there similar options available for the Rock?  What about infrared options so I can control the thing with my universal remote?


  Pine64 Starter Kit
Posted by: marillionkb5 - 09-04-2017, 11:52 AM - Forum: General Discussion on PINE A64(+) - Replies (2)

Hi,

Looking for a bit of advice, have just got a Pine64 starter kit and have put it together, however the power supply doesn't
have the slot on pieces for the plug part that goes in the mains socket, does anyone know if this is normal as there didn't
seem to be room left in the box for it :-)

thanks in advance
--
Mark Kennedy


Rainbow Red Sun Rising
Posted by: MarkHaysHarris777 - 09-04-2017, 06:24 AM - Forum: Community and Events - No Replies

   


Red Sun Rising !

Shy


  DOA ?
Posted by: msargent - 09-04-2017, 05:56 AM - Forum: Getting Started - Replies (4)

Originally bought my PineA64+ 2GB during the original Kick Starter campaign but took me a while to get around to opening the box - OK quite a while...

But it appears to be DOA. 

I downloaded the Debian Jessie MATE  from the 'official' website wrote it to an approved SD card, connected everything, applied power and nothing.
I checked pulled the power connection, reseated all the cables (USB - mouse/kbd, Ethernet, HDMI) and SD card, then replugged in the power and again nothing.

I rolled over the mouse and no light. Checked the keyboard caps & num lock keys and also no light.
Pulled power and swapped kbd & mouse cables, reconnected power. This time got light on mouse but nothing on kdb lock lights and still no boot.

Pulled power and again reseated all cables and SD card. Now no light on the mouse again.

All during these attempts nothing shows up on the monitor.

Ideas?


As a side note the mouse, keyboard, monitor, ethernet, etc. are all used frequently when working with my Raspberry Pi boards, so not a kbd / mouse / monitor / enet cable problem.


  pinebook xenial - module snd-usb-usx2y missing
Posted by: richard - 09-04-2017, 04:25 AM - Forum: Linux on Pinebook - No Replies

I tried to use pinebook as audio recording machine with a tascam US122, which works fine with most linux flavours after installing alsa-firmware package. But the linux version shipped with the pinebook (upgraded to 3.10.105-bsp-1.2-ayufan-77) lacks the module snd-usb-usx2y, so the soundcard is not recognized.

Downloading the source (alsa-driver-1.0.25+dfsg) and trying to compile (when running configure) gives

Code:
.
.
checking for directory with ALSA kernel sources... /home/richard/Downloads/alsa-driver-1.0.25+dfsg/alsa-kernel
checking for directory with kernel source... /lib/modules/3.10.105-bsp-1.2-ayufan-77/build
checking for directory with kernel build... /lib/modules/3.10.105-bsp-1.2-ayufan-77/build
checking for kernel linux/version.h ... no
The file /lib/modules/3.10.105-bsp-1.2-ayufan-77/build/include/INCLUDE_VERSION_H does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/3.10.105-bsp-1.2-ayufan-77/build).

I could not find out where to get the kernel sources or appropriate include file (version.h). So I'ld like to get some hints how to get/compile that kernel module.

Don't say pinebook is not usable for that task - I tried out with a focusrite saffire 6 USB and audacity, and that worked out of the box even with overdub in high bitrates.

Thanks for your support.

Edit: Linked ../generated/uabi/linux/version.h to /lib/modules/3.10.105-bsp-1.2-ayufan-77/build/include/linux/version.h, so configure could go on. But now it stops with "error: You have built-in ALSA in your kernel.". Does that mean I would have to compile the whole kernel by myself? I think it is not worth trying; if snd-usb-usx2y will not be included in the official kernel in the near future, I'ld have to get some standard compliant USB soundcard.


  how to download AOSP and BSP
Posted by: awaysu - 09-03-2017, 11:48 PM - Forum: Android on Pine A64(+) - Replies (1)

Hi~
This is my first time to build Android for A64, but I have a question for download AOSP and BSP source code. I have downloaded "Source code (zip)" from "https://github.com/ayufan-pine64/android-7.1/releases/tag/0.3.5", but it seem only teach download repo and github-release. I also saw "manifest.xml", but how to download source code with one file "manifest.xml"? Where can I find the step? Many thanks!


  Submitted Support Ticket, 3 Months no response
Posted by: preimmortal - 09-03-2017, 11:37 PM - Forum: General - Replies (4)

Hi,

I submitted a support ticket back in May to try to get the bad GB Ethernet hardware issue resolved, but I still haven't received a reply.
For my application of the Pine, I really need the gigabit ethernet working.
If this is the wrong forum for this post, please point me in the right direction.

Thanks


  PXE boot w/ SPI Flash
Posted by: bourg - 09-03-2017, 08:09 PM - Forum: Linux on PINE A64-LTS / SOPINE - Replies (2)

I'm interested in the mid-term prospect of sopine clusters.  Trying to minimize both unit cost and deployment costs, I'd prefer not having to purchase storage for each sopine compute module.  Is a solution available to a) network boot / pxe boot sopine compute modules and b) do so from just the SPI flash, with no other local storage?  Documentation and/or SPI Flash images for this welcomed.  I'd obviously need a server on the network to provide network booting resources. 

Bonus question - I've seen writings about a 7 module board being in-development for sopine.  Can an "imperfect" dev / PoC / pre-release board be purchased?


  Gravity sensor
Posted by: Little_Johnny - 09-03-2017, 06:29 PM - Forum: POT modules - Replies (1)

is there a gravity sensor for the pine A64 ? , its needed for gaming in android