Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2023, 09:48 AM   #1
stevejoung
Member
stevejoung began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Device: Kindle Paperwhite
Reading from USB port

Thanks to information here I have successfully jailbroken my PW1 and installed KUAL v2.7. and have explored the OS using kterm. I have successfully written a few scripts which run perfectly.

I would now like to be able to use the USB port to read a USB stick but also to be able to attach other USB devices, however if I attach a USB device and run "lsusb" I get the message "/sys/bus/usb/devices: No such file or directory".

How do I set up the OS to read the USB port?
stevejoung is offline   Reply With Quote
Old 01-04-2023, 12:08 PM   #2
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
The first step is to see whether the kindle even detects the USB device. Run
Code:
dmesg -H | tail
before and after plugging in and see what happens.
j.p.s is offline   Reply With Quote
Advert
Old 01-04-2023, 01:06 PM   #3
stevejoung
Member
stevejoung began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Device: Kindle Paperwhite
Quote:
Originally Posted by j.p.s View Post
The first step is to see whether the kindle even detects the USB device. Run
Code:
dmesg -H | tail
before and after plugging in and see what happens.
Code:
dmesg -H | tail
results in the warning
Code:
dmesg: unrecognized option '-H'
BusyBox v1.17.1 (2015-06-23 04:01:55 PDT) multicall binary.
I tried it as root as well as a user, in both cases the same warning. Do I need to install another version of dmesg?
stevejoung is offline   Reply With Quote
Old 01-04-2023, 01:12 PM   #4
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
My mistake, I usually run dmesg on a pc after connecting a kindle.

Run as root on the kindle without the -H.
j.p.s is offline   Reply With Quote
Old 01-04-2023, 05:18 PM   #5
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
You should read this (incredibly cringe worthy, sometimes vomit inducing) thread about USB OTG support: https://www.mobileread.com/forums/sh...d.php?t=187802

Also this: https://web.archive.org/web/20120918...off.com/?p=139

TL;DR you can make it work but it requires a bunch of kernel modules to bring the USB port up in OTG mode in the first place and yet more of them to add support for mass storage devices and whatever filesystem that they're formatted with. You may or may not need to use a powered USB hub as well.
katadelos is offline   Reply With Quote
Advert
Reply

Tags
usb drive


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Story HD usb port Gardenman iRiver Story 3 08-02-2020 03:19 PM
Aura ONE dead USB port anacreon Kobo Reader 0 10-09-2018 05:07 AM
PW1 lost PADs for serial port, but found signals near USB port uniqdom Kindle Developer's Corner 1 04-29-2015 08:45 AM
How long will the usb port last? pwright2 Kindle Fire 9 04-18-2013 12:55 PM
USB Port Replicator? walt526 enTourage Archive 3 06-22-2010 10:31 AM


All times are GMT -4. The time now is 01:51 AM.


MobileRead.com is a privately owned, operated and funded community.