I haven't a white book live - I need your help:
Debian is great but I need USB ports.
Has anyone opened the unit and took some pictures of the board?
I think, there are some solder pads with D+ and D-
Has anyone seen kernel module for usb?
thanks
I haven't a white book live - I need your help:
Debian is great but I need USB ports.
Has anyone opened the unit and took some pictures of the board?
I think, there are some solder pads with D+ and D-
Has anyone seen kernel module for usb?
thanks
Google is your friend:
I found here some nice pics: http://www.smallnetbuilder.com/nas/nas-reviews/31314-wd-my-book-live-reviewed
maybe J8 (left top) is a unsoldered 4 pin usb connector
http://www.smallnetbuilder.com/images/stories/nas/wd_mybook_live/wd_mybook_live_inside.jpg
USB Device Filesystem is mounted:
http://forums.overclockers.co.uk/showthread.php?t=18233918
[~] # mount
procbususb on /proc/bus/usb type usbfs (rw)libusb is installed:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=102104
http://laborsklave.blogspot.com/2011/01/wd-mybook-live-testbericht.html
[~] # dpkg -l
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii libusb-1.0-0 2:1.0.6-1 userspace USB programming libraryThat's really nice. I think we have all we need for usb support
I don't know the path to libusb library - but can anybody run this two commands?
# testlibusb
# lsusb -vtplease post output from kernel message buffer
thanks
just yesterday I disassembled my book live mentioned J8 really looks as USB, more on that pin present voltages about 3.7v as it should be in USB ports. I soldered USB socket, and tried insert flash drive, unfortunately nothing was mounted and more I didn't see anything usb activity in dmesg log.
testlibusb an lsusb absent on device
Are running the usb kernel modules?
check it with
# lsmodplease send outputs of
# cat /proc/bus/usb/devices
# testlibusb
# lsusb -vt3.7v is a bit to much for D+/D- but not enough for Vcc.
The host sends 0 V for a Low level and 3.3 V for a High level.
The host expects 0 V to 0.8 V for a Low level and 2 V to 3.6 V for a High level.
Pin Name Description
1 VCC +5 V
2 D− Data −
3 D+ Data +
4 GND Groundjust yesterday I disassembled my book live
Hi,
Could you explain how to disasembly the WD Live ? I can't find a way to open it with no damage to the box. Pictures would be great!
Thx
hm… /proc/bus/usb/ empty , lsusb and testlibusb absent
rechecked voltage on first 3 pint just about 3.4volts
in dmesg log present following at startup
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
...
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
**dwc_otg: version 2.60a 22-NOV-2006**check the loaded kernel modules with
# lsmodplease send the measered voltage for every pin 1 to 4:
0V / 3,4V / 3,4V / 5,0V ??
hm…
dwc_otg: version 2.60a 22-NOV-2006
http://en.wikipedia.org/wiki/USB_On-The-Go
A Linux-NAS as slave USB make no sense. The usb-master needs full raw disk acces to slave or a own partition (smartphone sd card etc)…
please restart the my book and immediately copy the entire dmesg log
post it here or to http://pastebin.com
it's look like this sequence:
http://www.denx.de/wiki/view/DULG/LinuxRamdiskRoot
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
dwc_otg: version 2.60a 22-NOV-2006
dwc_otg: Shared Tx FIFO mode
dwc_otg: Using DMA mode
dwc_otg dwc_otg.0: DWC OTG Controller
dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 3
dwc_otg dwc_otg.0: irq 28, io mem 0x00000000
dwc_otg: Init: Port Power? op_state=4some infos to the CPU APM82181
http://myapm.apm.com/MyAMCC/retrieveDocument/PowerPC/APM82181/APM82181_PB4090.pdf
USB 2.0 OTG is the "normal" interface hardware and device driver
about voltages 0/3.4/3.4/3.4
lsmod empty (as I see in source usb embedded in kernel), in /lib/modules present just tcrypt.ko , scsi_wait_scan.ko , g_file_storage.ko
3.4V instead 5V on pin4 is a bad message for non self-powered devices
The sata disk need 3.3V / 5 V and 12V,. Therefore we have a 5V voltage inverter on board.
It could be that a cheap component for usb voltage (500mA) was not mounted on the PCB.
The output of lsmod can not be empty. lsmod is a wrapper for
# cat /proc/modulesin your dmesg I can't find loading the usb kernel modul
I think you must load the corresponding usb kernel module like here
# insmod /lib/modules/2.6.xyz/kernel/drivers/usb/host/ehci-hcd.koI reread your last message.
Do you mean WD compiled necessary device driver static into the kernel?
please list your module folder
busybox syntax
# find /lib/modules/ -followor gnu syntax
# find -L /lib/modules/yep, drivers compiled into kernel
about "find /lib/modules/ -follow", is following not enough ?
in /lib/modules present just tcrypt.ko , scsi_wait_scan.ko , g_file_storage.ko
here http://pastebin.com/PCp8GrB4 as i understand default kernel config.
is following not enough
Sorry, I thought it was a fragment. I've never seen so few modules.
WD has a new concept. Here a listing from my My Book World Edition (white light) with dozen of kernel modules
http://pastebin.com/KPTSW5KM
I'm not expert to read kernel make file for static <-> loadable kernel module.
I think you must (cross-)compile a loadable ehci usb kernel module.
is
# cat /proc/modules
also empty? I'm afraid so ;-)
yep, /proc/modules empty
I also have white light. inside modules folder there is modules.usbmap that empty on live and contain something on white. Does you know purpose of that file?
I'm unfortunately a little expert for white light usb support and usb kernel modules
see my long trouble thread with bleep and andrew_sh here:
http://mybookworld.wikidot.com/forum/t-225050/
there you can see some hints for debugging usb
for modules.usbmap see here:
http://linux.die.net/man/8/usbmodules
/lib/modules # cat /lib/modules/2.6.24.4/modules.usbmap | more
# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
usbtest 0x0003 0x0547 0x1002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x0I think you haven't a depmod in /sbin for generating modules.usbmap
please post a # ls -l /sbin/
you posted following file from sdk - are you sure that this is the kernel config file for mybook live ?
\gpl-source-mybooklive-010303\kernel_2.6.32-11\arch\powerpc\configs\44x\apollo_3G_nas_defconfigsbin content http://pastebin.com/wat3PH2U
yes, you are right I posted file from SDK. as I can understand wd-live board called apollo( there is also led drivers with same name), so look it's only one file that could be kernel config.
I was curious and bought a mybook live.
And you are right: This 4-pin usb-connector has GND, +3,3V, +3,3V and Vcc.
But Vcc is also 3,3V (connected with board voltage).
Datasheet: http://www.virtualpressoffice.com/JPContentAccessServlet?fileContentId=1000000010913&source=sd&showId=769
says, we need a USB-HUB (3,3V to 5V).
There is no USB-HUB on board.
I never heard of a developer usb port ;-)
lets try it