OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Has anyone managed to get it to recognise the ethernet in their hub like it does in Android?
Sunyavadin
post May 19 2018, 09:46 AM
Post #1





Group: Members
Posts: 36
Joined: 17-April 18
Member No.: 821,211



Trying to hook my gemini up to my LAN (I don't have wifi at home, it's a short story involving my walls being concrete and rebar faraday cages) but I cannot even get the terminal to respond to ifconfig commands. Any help? First time on Debian, so used to having the handy graphical interface for network config of Ubuntu, any equivalents to that here that I am missing?
Go to the top of the page
 
+Quote Post
ArchiMark
post May 19 2018, 04:35 PM
Post #2





Group: Admin
Posts: 1,649
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Sorry, but Adam (dev for the DebianTP image) said in other thread in this forum section, said ethernet not supported yet. Probably will be supported in an upcoming updated image file.

Remember, the 'TP' in 'DebianTP' stands for 'Technical Preview'. So, the Debian file is like alpha stage.

Check out development status and notes at:

DebianTP

HTH,

Mark

Go to the top of the page
 
+Quote Post
Adam Boardman
post May 19 2018, 11:59 PM
Post #3





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



I was kind of hoping someone else would figure it out, I'm still focusing on Mobile Data/Calls/SMS just now, as more devices are out in the hands of folk Ethernet struck me as a nice easy task for someone to pick up.

Current builds are using cmst (a connman UI) for connectivity setup, it would show the Ethernet connection and probably auto-connect nicely and all that if the right USB drivers were being loaded.

The driver source is in the kernel tree: https://github.com/gemian/gemini-linux-kern...net/usb/r8152.c so just needs a kernel built with CONFIG_USB_RTL8152.
Go to the top of the page
 
+Quote Post
Sunyavadin
post May 20 2018, 08:36 AM
Post #4





Group: Members
Posts: 36
Joined: 17-April 18
Member No.: 821,211



Awesome, looking forward to it when it's done. Should make it easier to switch over to using it over Android more. Already transferred all my WIP documents and the like onto it from my laptop to edit in libreoffice on the go, just need reliable internet access in Debian and I'm sorted.
Go to the top of the page
 
+Quote Post
Atrom
post May 28 2018, 08:09 PM
Post #5





Group: Members
Posts: 3
Joined: 22-May 18
Member No.: 822,984



Just for my understanding/clarification..does the hub only work with android OS?
Go to the top of the page
 
+Quote Post
galodoido
post Jun 16 2018, 02:15 PM
Post #6





Group: Members
Posts: 156
Joined: 13-May 18
Member No.: 822,555



QUOTE(speculatrix @ Jun 16 2018, 04:45 PM) *
the generic usb hub with ether and card reader worked fine on my G with android. didn't have to do anything.


I was able to connect usb-c to usb adapter + my usb to ethernet adapter ( from my mac ) and the ethernet cable with success in my gemini.
The problem is that this kernel provided has no module support.
See my posts about how to compile kernel with modules support ( in my mac with linux ) . When I plugged my ethetnet cable to gemini it loaded some of the modules that I have compiled ( asix, usbnet, libphy and mii in this case ).The modules were compiled inside gemini. Only modules, because the kernel gave a lot of errors when compiled inside gemini. Asix is the module of the ethernet adapter.
It was a very hard work , but it is worthy ( you will have to select the configuration inside menuconfig ). I also compiled the drivers to my usb tv card and it works like a charm.In one of my previous posts, I posted a link in youtube showing this.( usb tv card ). To facilitate, the link is below :

https://www.youtube.com/watch?v=6ohN_9FOLRA...eature=youtu.be

I will attach a photo . ( ethernet working ).
Unfortunately, I am very busy and I cannot put the instructions here.
I also installed all the firmware available in debian repository ( free , non-free ). Install aptitude so you can search the packages ( aptitude search " package name " ).
Please see my posts and you will get all the necessary information.
Click on the photo to enlarge it.

I hope Brazil wins the World cup !
Attached thumbnail(s)
Attached Image
 
Go to the top of the page
 
+Quote Post
speculatrix
post Jun 17 2018, 02:03 AM
Post #7





Group: Admin
Posts: 3,693
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(galodoido @ Jun 16 2018, 11:15 PM) *
I also compiled the drivers to my usb tv card and it works like a charm.In one of my previous posts, I posted a link in youtube showing this.( usb tv card ). To facilitate, the link is below :


I love it, live TV on a Gemini.

this kind of innovative use of a Gemini is exactly what I was hoping for.
Go to the top of the page
 
+Quote Post
galodoido
post Jun 17 2018, 02:39 AM
Post #8





Group: Members
Posts: 156
Joined: 13-May 18
Member No.: 822,555



QUOTE(speculatrix @ Jun 17 2018, 07:03 AM) *
QUOTE(galodoido @ Jun 16 2018, 11:15 PM) *
I also compiled the drivers to my usb tv card and it works like a charm.In one of my previous posts, I posted a link in youtube showing this.( usb tv card ). To facilitate, the link is below :


I love it, live TV on a Gemini.

this kind of innovative use of a Gemini is exactly what I was hoping for.


It is really a nice device.

In android is easy to install a live TV USB device . Some USB or wifi devices already have native support and software.

In linux , you will also have to compile VLC ( change some links of libraries and install all dependencies ). Because the VLC provided in the debian repository doesn't work.
When compiling, a depency error may appear, so install the needed files. Also with the links of libraries not found. You will also have to generate a channels.conf file .

On android , I've installed an old game ( WOLFENSTEIN 3D ) . Old, but good times ( MS DOS ). Runs really well.
The keyboard makes a difference.

This device has a lot of possibilities.

I am really enjoying it.
Go to the top of the page
 
+Quote Post
speculatrix
post Jun 24 2018, 03:15 AM
Post #9





Group: Admin
Posts: 3,693
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



I have two USB combo hub + memory card reader + ethernet devices.

Neither give me a working ethernet device sad.gif

"ifconfig -a" shows nothing. didn't see anything useful


The older one has a USB-A connector, so I connected it to the G with a generic USB-C to A socket. It claims to be USB 3, has two USB ports, a microSDHC card slot, a full sized USB card and a gigabit ethernet port with LEDs. The LEDs come on when connected. The USB ports and the micro memory card slot works. The ethernet port shows LEDs, but nothing happens on the G. It will only work on the left hand USB port.
CODE
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 002 Device 004: ID 05e3:0743 Genesys Logic, Inc. SDXC and microSDXC CardReader
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


The newer one has a USB-C connector. It claims to be USB 3, has two USB ports, a microSDHC card slot, a full sized USB card and a gigabit ethernet port without LEDs (I didn't realise the lack of LEDs when I ordered it). It works on both USB ports on the G.
CODE
Bus 001 Device 007: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 001 Device 006: ID 1908:0226 GEMBIRD
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub



When I connect a hub, I see this in /var/log/syslog
CODE
Jun 24 11:12:10 localhost systemd-udevd[4254]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/soc/11270000.usb3_xhci/usb2/2-1/2-1.1 2 4': No such file or directory
Jun 24 11:12:10 localhost systemd-udevd[4257]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/soc/11270000.usb3_xhci/usb2/2-1/2-1.3 2 5': No such file or directory
Jun 24 11:12:11 localhost systemd-udevd[4263]: could not open moddep file '/lib/modules/3.18.41+/modules.dep.bin'
Go to the top of the page
 
+Quote Post
Sunyavadin
post Sep 7 2018, 06:00 PM
Post #10





Group: Members
Posts: 36
Joined: 17-April 18
Member No.: 821,211



Just checking in to see if we ever got an update on this, since what Speculatrix described was pretty much exactly my experience, any USB hub I hook up, everything works except ethernet. Which is problematic as my place is a faraday cage which kills wifi signals stone dead, so any effort to grab any packages I need's only possible by wiring it up to one of the dozens of cables I have running to every corner of my flat.
Go to the top of the page
 
+Quote Post
Sunyavadin
post Sep 7 2018, 06:08 PM
Post #11





Group: Members
Posts: 36
Joined: 17-April 18
Member No.: 821,211



Although ofc a lot of this is moot until I can get it to actually *do* anything with the commands I try and type into the terminal, not just give me a new line.

Can't get linux to do what you want if you can't get it to recognise a sudo apt-get install command....
Go to the top of the page
 
+Quote Post
Adam Boardman
post Sep 7 2018, 11:06 PM
Post #12





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



I've not re-read this thread to understand exactly what its asking, but if your asking for the Planet supplied ethernet+usb hub to work, then the latest kernel for gemian does indeed have this working.

You'd need to:
CODE
sudo apt install gemini-kernel-image-3.18

Then the appropriate 'dd' to write it to your chosen boot partition & reboot.

As a side note I didn't get the modules based kernel build to work on the build machine, though it would be nice someday to figure that out. In the mean time if there are other kernel modules that people want added then let me know. Also the ramdisk used is the old one so the stowaways booting kernel is not yet usable, you just get the root linux flavour.

https://github.com/gemian/gemini-linux-kern...9d256d11cafR401
Go to the top of the page
 
+Quote Post
Eric BF
post Sep 29 2018, 08:38 AM
Post #13





Group: Members
Posts: 78
Joined: 25-June 18
Member No.: 824,997



QUOTE(Adam Boardman @ Sep 8 2018, 08:06 AM) *
Then the appropriate 'dd' to write it to your chosen boot partition & reboot.

The instructions from the TP2 site say to "install the kernel to the relevant partition (boot/boot2/boot3)" but that it is not possible to know which has been used. Do these three partitions correspond to the sequence defined by the partition/flashing tool? I.e. does "boot" mean the default OS (booted up with ESC until vibration only), etc.?

I have Debian as my default OS. It would be good to have confirmation as to which partition to dd the new kernel image to.

Thanks,
eric
Go to the top of the page
 
+Quote Post
Adam Boardman
post Sep 29 2018, 09:43 AM
Post #14





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



The boot/boot2/boot3 refer to the partition labels as defined in the scatter file you flashed the device with, you can see which key combination will boot from which partition: https://github.com/gemian/gemini-keyboard-a...wiki/Bootloader
Go to the top of the page
 
+Quote Post
Eric BF
post Sep 29 2018, 01:55 PM
Post #15





Group: Members
Posts: 78
Joined: 25-June 18
Member No.: 824,997



QUOTE(Adam Boardman @ Sep 29 2018, 06:43 PM) *
The boot/boot2/boot3 refer to the partition labels as defined in the scatter file you flashed the device with, you can see which key combination will boot from which partition: https://github.com/gemian/gemini-keyboard-a...wiki/Bootloader

Thanks. So "boot" it is. Interesting that the numbering of partitions is off by one when comparing the NN in /dev/mmcblk0pNN (linked to by the .../boot* entries) and the Multi_Boot file from the flashing tool.
I think I'll wait until tomorrow to try the new kernel.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 8th December 2019 - 09:58 AM