Connect USB cable, Kindle-to-PC
From top level of Diags menu (with some whitespace editing):
Code:
diag> ?
diag> MUSCAT_WFO - System Diags - 76
~~~~ 1.1.30.291999 ~~~~
pcbId:0670309164410CQB
(DS INFO)-Device Setting
(TOUCH PLATE)-Touch Plate Test
(OTS)-Operator test suite
(o)-Misc individual diagnostics
(WIFI NART)-nART factory test
(USB EXPORT)-USB device mode
(o)-Reboot or Disable Diags
(POWER SUSPEND)-Lock screen
(X)-Exit
diag> usb export
get_input_from_stdin Received [USB EXPORT]
diag>[ 1973.276384] unregistered gadget driver 'g_ether'
ERROR: Module g_serial does not exist in /proc/modules
[ 1973.327902] g_file_storage gadget: controller 'fsl-usb2-udc' not recognized
[ 1973.355936] g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
[ 1973.372144] g_file_storage gadget: Number of LUNs=1
[ 1973.379591] fsl-usb2-udc: bind to driver g_file_storage
MUSCAT_WFO - USB EXPORT - 76
~~~~ 1.1.30.291999 ~~~~
pcbId:0670309164410CQB
USB device exported
Once you are done
Eject the USB device from the PC then
Battery capacity 76
(C)-to continue
(X)-Exit
*** Repeats at regular intervals as a reminder ***
Visible USB storage will appear on the PC in the usual manner for a Kindle-PC USB connection.
When done - -
Do not remove cable -
Eject the Kindle -
Do not remove cable -
Enter:
c
with the result of:
Code:
get_input_from_stdin Received [C]
diag>Cannot open xmlFile /mnt/base-us/USBnet.xml
NOT Found NFS path
[ 2023.245334] unregistered gadget driver 'g_file_storage'
ERROR: Module g_serial does not exist in /proc/modules
[ 2023.328600] usb0: MAC ee:59:00:00:00:15
[ 2023.332444] usb0: HOST MAC ee:29:00:00:00:15
[ 2023.356473] g_ether gadget: controller 'fsl-usb2-udc' not recognized; trying CDC Ethernet (ECM)
[ 2023.365208] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 2023.383334] g_ether gadget: g_ether ready
[ 2023.387789] fsl-usb2-udc: bind to driver g_ether
system: I mntroot:def:Making root filesystem writeable
[ 2023.443418] EXT3-fs (mmcblk0p2): using internal journal
ls: /var/local/log/messages_*.gz: No such file or directory
USB EXPORT: RESULT <PASS>
[ 2023.826147] g_ether gadget: high speed config #1: CDC Ethernet (ECM)
Now on the PC end of the cable connection (a recent Linux distribution shown here - outputs edited):
Code:
knc1:PW3-Serial> ip add
- - - -
6: enp3s9f3u5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ee:29:00:00:00:15 brd ff:ff:ff:ff:ff:ff
knc1:PW3-Serial> sudo ip address add 192.168.15.201/24 dev enp3s9f3u5
knc1:PW3-Serial> sudo ip link set up dev enp3s9f3u5
knc1:PW3-Serial> ip addr
- - - -
7: enp3s9f3u5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether ee:29:00:00:00:15 brd ff:ff:ff:ff:ff:ff
inet 192.168.15.201/24 scope global enp3s9f3u5
valid_lft forever preferred_lft forever
inet6 fe80::ec29:ff:fe00:15/64 scope link
valid_lft forever preferred_lft forever
Now find out what is working in that address range (my own PC edited out of report):
Code:
knc1:PW3-Serial> nmap 192.168.15.0/24
Starting Nmap 7.50 ( https://nmap.org ) at 2017-08-11 06:59 CDT
Nmap scan report for kpw1 (192.168.15.201)
Host is up (0.00011s latency).
Not shown: 996 closed ports
- - - -
Nmap scan report for 192.168.15.244
Host is up (0.0083s latency).
All 1000 scanned ports on 192.168.15.244 are closed
Nmap done: 256 IP addresses (2 hosts up) scanned in 7.16 seconds
So the Ethernet-over-USB is up and running.
The expected endpoint addresses have not change since the original K5.
Code:
knc1:PW3-Serial> telnet 192.168.15.244
Trying 192.168.15.244...
telnet: connect to address 192.168.15.244: Connection refused
knc1:PW3-Serial> ssh 192.168.15.244
ssh: connect to host 192.168.15.244 port 22: Connection refused
knc1:PW3-Serial> ping -c 3 192.168.15.244
PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data.
64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=0.410 ms
64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.280 ms
64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.403 ms
--- 192.168.15.244 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2026ms
rtt min/avg/max/mdev = 0.280/0.364/0.410/0.061 ms
I would guess we need to invent (or crib from somewhere) that missing file:
Code:
Cannot open xmlFile /mnt/base-us/USBnet.xml
NOT Found NFS path
To define what services we want diags to start on its end of the network connection.