Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - phenigma

Pages: 1 ... 61 62 [63] 64 65 ... 103
931
Developers / Re: qOrbiter gets some Pi
« on: August 28, 2012, 06:11:03 pm »
Awesome!  Let me know when you have the build figured out, I would love to *actually* try qOrbiter on my pi...  Oh and we can more or less transfer the build process to the builder then as well.

J.

932
Developers / Re: Raspberry Pi builder
« on: August 28, 2012, 06:07:07 pm »
I'm on the verge of submitting the build script changes that I am using.  I am working my way through a build now and fixing up some multi-arch include issues.

The biggest issue I am having right now is that I cannot get the arm mysqld to run in a qemu chroot.  I keep getting segfaults.  I'm working around this right now by running mysqld outside the chroot and sharing the database across multiple chroot builders (raspbian wheezy armhf & ubuntu lucid i386).

The createbuilder script I am using creates a raspbian builder, it also creates ubuntu builders, with shared source tree and shared database.

I have an initial device template for the rpi and I'm researching the MD detection/creation process to see how to proceed there.

Builds take a long time under qemu, there is a lot of waiting to see if the build succeeds/fails.

Once possy accepts the build script changes I will likely request svn access so I can apply patches as I go, it is much more efficient than having to ask and wait for others to apply patches.  This is the primary reason I am not creating patches regularly as I go, it becomes difficult to manage

J.

933
Developers / Re: QOrbiter: Updated
« on: August 26, 2012, 08:19:51 am »
That is looking amazing golgo!!

J.

934
Feature requests & roadmap / Re: raspberry pi
« on: August 25, 2012, 04:57:36 pm »
And this http://www.raspberrypi.org/archives/1839 is even more good news :)
Hardware decode for VC-1 and MPEG-2 available.

-Coley.


Woo hoo!  That pushes aside a large stumbling block for an omxplayer device.

J.

935
Users / Re: Requesting Help (small wiring project)
« on: August 22, 2012, 02:21:24 am »
You ARE having way too much fun!  ;-)  Let me know if there is anything else I can help with/provide.

J.

PS, keep having fun!

936
Users / Re: Requesting Help (small wiring project)
« on: August 21, 2012, 11:24:05 pm »
Perhaps the pin floats on a convex bubble above its' contact, kind of like joystick D-pad or old keyboard?  If that is the case then it is achieving gnd first AND normally open functionality like I plan to do on the circuit, all at the pin level.  That is an great idea for me to add into my build.

It's floating on a spring, or similar, and is not N/O, it is connected all the time.

J.

937
Users / Re: Requesting Help (small wiring project)
« on: August 21, 2012, 10:18:58 pm »
The caps will be important, as those are for DC power conditioning and noise suppression, so Armor Gnome will need to match those values in his build.  You could always post a pic of the parts if they're surface mount, and we could figure out the values for him.

As the same power adapter is used to plug directly into the webdt OR the cradle, the cap is likely not a requirement.  It will be smoothing any ripple in the DC voltage and suppressing noise as you suggest.  I can read the part numbers if they are required but I would expect they are not entirely necessary in this case. 

On the original cradle the four outer pins are raised to 'make' the gnd connection before the +'ve, as you have suggested AG should do.

I have used USB pins on mobos straight to the USB and I have pulled them from cases where the mobo leads went to a board with caps and diodes before going to the USB housing.  Both have worked so I wasn't overly concerned with that side of it.  On the iPhone USB hardwired dock I need to power up the WebDT with the orbiter running and see if the detection of USB storage causes any problems.  I have no reason to suspect it would but its an easy test to see how the iPhone is handled if present at startup, when coming out of suspend and detected while running.

This is not specifically indicicative of you iphone but I was unable to get my WebDT cradle usb ports to charge my Android phone last night.  I only tried once and didn't muck with it to determine what the issue may be.  My android phone *does* charge if I simply connect gnd and +5v.

J.

938
Users / Re: Requesting Help (small wiring project)
« on: August 21, 2012, 02:37:41 pm »
You're welcome.  :)  There are also two guide posts on the docking station that 'guide' the webdt onto the cradle so that the pins only contact the locations they are supposed to.  You may try to incorporate something like that to prevent mis-alignment of your webdt/cradle pins.  These posts mesh with small holes on either side of the pin locations.

J.

939
Users / Re: Requesting Help (small wiring project)
« on: August 21, 2012, 03:11:15 am »
Well.  I have the following, based on the diagrams on the wiki page (note that these power pins differ from what is on the wiki):

P1 @ pins 9, 12, 13, 16.  These pins are in a square group.  No protection from plug to pins. (+ve)
P2 @ pins 1, 4, 15, 18 & 7.  First 4 pins are the two outer sets of two pins.  (gnd)  Connected to all usb grounds and usb housings as well.

I read exactly the same resistance from these pins to the power connector as I read resistance from my leads alone, makes the pins to power connector = 0 ohms.

There is a small cap between +'ve and gnd.  A few more caps around the usb connectors.

This is the cradle that came with the WebDT 366LXs that I own.
The model of this board is DT-375 Cradle Board Rev 1.1 with an attached DT-375 Cradle Usb Board Rev 1.1
The cradle is model ACC-008-10, Input DC12V, 3.5A

Four pins for +/gnd is much more realistic to me for the current requirements of an in-use charging webdt with peripherals attached.

J.

940
Yes, thanks, I should have included 'after doing the upgrade on the core'.  Thanks!

J.

941
Users / Re: Requesting Help (small wiring project)
« on: August 20, 2012, 11:02:15 pm »
The wall-wort plug I am housing inside the cradle is other than the PC standard 110-120V line plug, exactly the same as the OEM charger.  12v 3.5A.  Something I am wondering now is if the cradle takes a higher Amp power supply? 

Same power supply, no additional requirements for power.  I *believe* the charger charges the pad and the usb ports on the cradle are then powered from the pad, not the charger directly.  What portion(s) of a cradle would you like pics of?

J.

942
Or upgrade your core, and then run /usr/pluto/bin/Diskless_CreateTBZ.sh as root. Delete your MD and create it again.

L3mce, could we not just hit the 'Rebuild Image' button which removes the dir in /diskless/XX and re-extracts from the diskless image created by /usr/pluto/bin/Diskless_CreateTBZ.sh back to the same diskless/XX location?  This way I keep any devices that were configured on that MD but still get the benefit of the update without deleting the MD completely.

BTW, I have a GT210, same as in your example, I have been assuming you don't need the data from it as it is identical to your example. - [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2)

J.

943
Feature requests & roadmap / Re: Bloated MDs
« on: August 18, 2012, 07:51:33 pm »
Hi, great topic!  Figure I'll put my 2 cents in here as I understand things as I am working on an alternate MD right now.

I don't really think the MDs are bloated.  That will depend on you point of view I suppose but many appreciate the functionality.  My MDs occupy 2.7GB of space each on my core (without Game_Player).  Even with 5 MDs I only consume 22GB of space on my core.  I can't even buy an HD of less than about 30GB (20GB for SDD) these days and can even get an SSD for $50 in that size.  My personal feeling is to leave the stuff in place and don't hit the 'Start KDE' button unless you want to.  Removing KDE entirely would not quite save ~1GB per MD.  I don't see a space concern/savings.  I don't see significant 'bloat'.

Since I tossed this out there I will be the one to have a first crack at it and will submit what I come up with for everyone to review.  Typically I overthink things but in this case I might be thinking its too easy of a change.  The DVD installer adds some desktop applications on the hybrid/core.  It was odd to me then that the Diskless_Setup by default actually creates more desktop applications and programs.  If there is discussion about the usefulness of a desktop environment lets keep it to media director only.  The core/hybrid has a desktop now and if you want to add little progs or apps then put them there or work on changing the primary installer.

The difference in applications is more about where the packages come from than what is intentionally being installed.  The hybrid/core packages are taken directly from a kubuntu live cd, the MD files are built through package installation.  The liveCD has packages removed, by the kubuntu team, to allow for it to live within the small space of a single CD.  The MD diskless image is created and the package 'kubuntu-desktop' is installed from repository, which installs all of kubuntu and all of the packages you see on an MD.  In my recollection of the setup procedures this is the primary difference in the packages available on the core and on an MD.  This also causes some services to be started on MDs that are not run on the core, iirc.

My proposal and the task I believe I am up to involved the Diskless_Setup only, it is something I think I have the ability to change myself with my limited programming ability.  Correct me if I am completely off the wall but this is how I think the process works.

A new device is plugged into the network and looks for a DHCP to point it towards a bootloader.
DCErouter (specifically tftpboot.cfg) creates a few new directories based on its MAC address and points it to initrd and vnlinuz
The new device uses these as kernel= and boot=, and builds its image in root=<core>/?/nfs
Based on the content of vnlinuz and initrd, combined with polled info from various scripts the MD image is created just as it would install itself on a computer with a ubuntu install cd.
-add my changes
Because bootloaders can have options in the menu.1st file (sorry I know grub best, even though lmce I think uses something else because of the APPEND options) I believe I can add options here that will point to alternative initrd and vnlinuz versions.
Default option = just like it is now
Option1 = load initrd and vnlinuz that install different applications
Option2 = load initrd and vnlinuz that install different applications
Option3 = load initrd and vnlinuz that install different applications

There are options in the web-admin and warnings about kernel version on MDs so that part I don't think I have any control over.  I have tinkered though and adjusted the bootloader on the core to point a specific MAC address to a custom folder which booted TinyCore, DSL, 12.04 LTS and openWRT on different machines around my house.  I never got my own custom dsl+squeezebox configuration to boot however and is what led me to the idea of taking LMCE's setup and changing it to my desire.

I believe that I can take all of the source code needed to compile LMCE diskless, change and remove certain components and then compile and make options in the bootloader menu to select that version.  Is that an accurate statement?  Obviously I would need to debug and repeat a lot of effort but because I am only altering working source code, I would assume I am only looking at minor necessary work.  The years of hard work and coding behind current LMCE remains and I am just the jack-wagon that stripped some off.

If some off-the-shelf hardware doesn't quite fit the bill for a full MD, why not have the option to boot as audio only MD?  If an MD is going on the bedroom wall where a keyboard will never touch it why not have the ability to boot it without a desktop?  If I want to build a minimal media MD for use as an intercom outdoors, why can't I load a boot template designed for just that?  These are all just pipe-dreams of mine at this time as I haven't done yet any modification or compiling of lmce code.  I have just booted other pre-compiled kernels using lmce tftpboot. 

Issues/Challenges I see:
There is no 'bootloader' per se.  PXE loads kernel/initrd (common if the MAC is not found, from diskless/XX if the device exists) which bootstraps the running kernel from the diskless/XX directory.  Grub is not used on the MDs as they are PXE booted, which occurs before grub would have a chance to run.  This behaviour cannot be changed without significant user interaction to install grub on the MD before attempting the first boot.  This would significantly detract from the 'plug and play' nature of the system.

Your statements about adding bootloader options and "If an MD is going on the bedroom wall where a keyboard will never touch it why not have the ability to boot it without a desktop?" are contradictory.  Remember that an MD is not intended to have a keyboard and mouse connected and as such there is likely no interaction between the user and the bootloader on an MD.  This is desired behaviour and likely how it should remain.  There is a reason that there is no user interaction with the MD until the AVWizard which allows for many different input devices to manipulate it, including game controllers and IR remotes, which cannot interact with a bootloader.  Adding a bootloader is going to significantly add to the boot time of the media director everytime it boots.  This, to me, is not desireable and would degrade the experience significantly.

What you are trying to achieve IS doable though... The 'right' way to approach this???:
"If some off-the-shelf hardware doesn't quite fit the bill for a full MD, why not have the option to boot as audio only MD?" - This is exactly what device templates are for.  All MDs are currently built on the 'Generic PC as MD' device template.  That doesn't have to be the case.  Device templates could, *should*, be created for different devices that cannot act as a full MD.  This give you the ability to add that device and have an lmce core create the device (and associated diskless folders, etc.) within its' capabilities.  This could be as simple as the device being recognized under the alternate device template on first PXE boot, or if the device is capable of a Full MD but you want less, you could add the 'less of a MD' device template manually and enter the MAC address into the webadmin.  As you have already discovered the nfsboot folders can be altered/changed to accomodate any device.  Those folders can be setup properly (and automatically) through the use of device templates.

Existing functionality of MDs, and the current method of Diskless_Setup, should be left entirely intact as it is desireable for many.  New DTs that create new (different) directory structures under /diskless/XX/ at the moment the DT is added would be my recommendation.  This will require changes to Diskless_Setup as well, but would leave existing MD generation the way it is.  This is what I am attempting with the Raspberry Pi. I haven't made it to the DT/autosetup part yet.

Hopefully this novel of a comment clears up what I plan to do and how I plan to do it.  After everyone has a laugh at my ignorance please feel free to correct me. :)

No laughing.  I don't intend to sound too critical either, I tend to over-analyze and point out down-sides, it's a back character trait of mine.  But I understand what you are trying to do and think it could be very useful if applied in a way that is consistent with the mechanics of the existing system.

J.

944
Users / Re: We have a 1004 beta
« on: August 16, 2012, 07:01:23 pm »
Those trying 1004 for the first time, please be aware of the fact that on the snapshots, you do NOT need to run Diskless_CreateTBZ.sh as it is embedded. Network installs will still require it. From snap install you just have to plug an MD in and roll.

Great news!  This will make setup sooo much easier for people!

J.

945
Users / Re: We have a 1004 beta
« on: August 15, 2012, 03:02:07 pm »
Great stuff!  Congrats Everyone!

J.

Pages: 1 ... 61 62 [63] 64 65 ... 103