doc:appunti:hardware:lacie_d2_network
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:lacie_d2_network [2010/06/19 09:05] – niccolo | doc:appunti:hardware:lacie_d2_network [2014/02/15 22:48] – [Backporting minidlna] niccolo | ||
---|---|---|---|
Line 666: | Line 666: | ||
Here it is the binary and the source code of **{{: | Here it is the binary and the source code of **{{: | ||
+ | |||
+ | ===== The EEPROM ===== | ||
+ | |||
+ | With a proper kernel (2.6.32 with the above patch, or 2.6.37) the EEPROM content is exposed for read and write via the pseudo file **''/ | ||
+ | |||
+ | ^ Offset | ||
+ | | 0 | 6 | Ethernet MAC address. | ||
+ | | 6 | 1 | Power flag.\\ If set to **'' | ||
===== Disassembling the LaCie d2 Network ===== | ===== Disassembling the LaCie d2 Network ===== | ||
Line 1009: | Line 1017: | ||
Once **'' | Once **'' | ||
+ | |||
+ | ===== USB Sound ===== | ||
+ | |||
+ | When I attached an **USB audio stick**, this is what the '' | ||
+ | |||
+ | < | ||
+ | Bus 001 Device 002: ID 0c76:1607 JMTek, LLC. | ||
+ | </ | ||
+ | |||
+ | Then the kernel loads the proper drivers: | ||
+ | |||
+ | < | ||
+ | usb 1-1: new full speed USB device using orion-ehci and address 2 | ||
+ | usb 1-1: New USB device found, idVendor=0c76, | ||
+ | usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 | ||
+ | usb 1-1: Product: USB Headphone Set | ||
+ | usb 1-1: configuration #1 chosen from 1 choice | ||
+ | usbcore: registered new interface driver hiddev | ||
+ | input: USB Headphone Set as / | ||
+ | generic-usb 0003: | ||
+ | usbcore: registered new interface driver usbhid | ||
+ | usbhid: v2.6:USB HID core driver | ||
+ | usbcore: registered new interface driver snd-usb-audio | ||
+ | </ | ||
+ | |||
+ | Playing some mp3 tracks with **'' | ||
+ | |||
+ | < | ||
+ | modprobe snd_pcm_oss | ||
+ | mpg321 -o oss track1.mp3 | ||
+ | </ | ||
+ | |||
+ | Playing mp3 takes about 16% of CPU, 2% of memory and system load average remains near to zero. | ||
+ | |||
+ | ==== USB Audio volume problem ==== | ||
+ | |||
+ | On Linux kernel 2.6.32 (providing Alsa sound drivers 1.0.21) **the following USB audio dongle works as expected**, including the volume control: | ||
+ | |||
+ | < | ||
+ | Bus 001 Device 003: ID 0c76:1607 JMTek, LLC. audio controller | ||
+ | </ | ||
+ | |||
+ | There is a problem with some **other USB chips**, where **the volume control does not work**. When the volume control is set to the lower position, the audio is muted, but at any other position the audio is set to its maximum value. This is a chip wich has the problem: | ||
+ | |||
+ | < | ||
+ | Bus 001 Device 002: ID 1130:f211 Tenx Technology, Inc. TP6911 Audio Headset | ||
+ | </ | ||
+ | |||
+ | Here there is a [[https:// | ||
===== Other NAS comparison ===== | ===== Other NAS comparison ===== | ||
Line 1021: | Line 1078: | ||
| LaCie Network Space 1 TB | 400 Mhz Marvell 88F6082 Feroceon | | LaCie Network Space 1 TB | 400 Mhz Marvell 88F6082 Feroceon | ||
+ | ===== Backporting minidlna ===== | ||
+ | |||
+ | We run **Debian 6 Squeeze** on our LaCie d2 Network and we want it to be a [[wp> | ||
+ | |||
+ | Into a Qemu armel virtual machine we installed the packages required for Debian developing and build dependencies, | ||
+ | |||
+ | |||
+ | < | ||
+ | apt-get install build-essential dh-make debhelper dpatch | ||
+ | apt-get install libavcodec-dev libavformat-dev libavutil-dev libexif-dev \ | ||
+ | libflac-dev libid3tag0-dev libogg-dev libsqlite3-dev libvorbis-dev libjpeg-dev | ||
+ | wget http:// | ||
+ | dpkg -i debhelper_9.20120909~bpo60+1_all.deb | ||
+ | </ | ||
+ | |||
+ | Then we downloaded the minidlna sources and compiled the sources: | ||
+ | |||
+ | < | ||
+ | mkdir / | ||
+ | cd / | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | dpkg-source -x minidlna_1.0.24+dfsg-1.dsc | ||
+ | cd minidlna-1.0.24+dfsg | ||
+ | dpkg-buildpackage -rfakeroot | ||
+ | cd .. | ||
+ | </ | ||
+ | The resulting **{{.: | ||
===== Web Links ===== | ===== Web Links ===== | ||
Line 1027: | Line 1113: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// |
doc/appunti/hardware/lacie_d2_network.txt · Last modified: 2014/03/01 06:29 by niccolo