Re: [RDD] Appliance dvd and joystick

2011-12-21 Thread Cowboy
On Wednesday 07 December 2011 08:16:34 pm Gary Hodder wrote:

> Hi Cowboy,
> 
> Done some more checking and googling and these disconnects are totally
> random. It looks as though this el cheapo joystick is picking up
> electrical interference causing the computers hub to disconnect.
> When I get time I'll build it into a shielded box.

 Balanced twisted pairs about always outperform shielded wire in every case.
 ( see my series in theBDR.net for the physics of why )

 Are you in a particularly noisy environment ?

-- 
Cowboy

http://cowboy.cwf1.com

"The last time somebody said, `I find I can write much better with a
word processor.', I replied, `They used to say the same thing about
drugs.'
-- Roy Blount, Jr.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Appliance dvd and joystick

2011-12-07 Thread Gary Hodder
On Wed, 2011-12-07 at 08:14 -0500, Cowboy wrote:
> On Wednesday 07 December 2011 12:02:10 am Gary Hodder wrote:
> > Is there a way to stop Centos from doing maintenance on the usb
> > joystick?
> 
>  Since I don't have a CentOS ( RedHat ) machine, I can't give you
>  a specific line anywhere, but I can surmise that it's triggered by
>  a cron job.
>  Start with crontab, and chase through the scripts line by line
>  until you find the USB culprit.
> 
Hi Cowboy,

Done some more checking and googling and these disconnects are totally
random. It looks as though this el cheapo joystick is picking up
electrical interference causing the computers hub to disconnect.
When I get time I'll build it into a shielded box.

Thanks
Gary.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Appliance dvd and joystick

2011-12-07 Thread Cowboy
On Wednesday 07 December 2011 12:02:10 am Gary Hodder wrote:
> Is there a way to stop Centos from doing maintenance on the usb
> joystick?

 Since I don't have a CentOS ( RedHat ) machine, I can't give you
 a specific line anywhere, but I can surmise that it's triggered by
 a cron job.
 Start with crontab, and chase through the scripts line by line
 until you find the USB culprit.

-- 
Cowboy

http://cowboy.cwf1.com

If I had a plantation in Georgia and a home in Hell, I'd sell the
plantation and go home.
-- Eugene P. Gallagher

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] Appliance dvd and joystick

2011-12-06 Thread Gary Hodder
Hi all,

I have a joystick setup as a gpi and works fine until Centos does
maintenance.

Dec  7 09:55:47 rivendell ripcd: ran local maintenance routines
Dec  7 09:56:35 rivendell kernel: hub 4-0:1.0: port 2 disabled by hub
(EMI?), re-enabling...
Dec  7 09:56:35 rivendell kernel: usb 4-2: USB disconnect, address 2
Dec  7 09:56:35 rivendell kernel: usb 4-2: new low speed USB device
using ohci_hcd and address 3
Dec  7 09:56:35 rivendell kernel: usb 4-2: configuration #1 chosen from
1 choice
Dec  7 09:56:35 rivendell kernel: input: DragonRise Inc.   Generic   USB
Joystick   as /class/input/input4
Dec  7 09:56:35 rivendell kernel: input: USB HID v1.10 Joystick
[DragonRise Inc.   Generic   USB  Joystick  ] on usb-:00:12.1-2

Usually this has been at 8:56 but today its done it at 9:56 in the
middle of a talk back show with add breaks.

Evan with a udev rule, 49.local.rules

BUS=="usb", SYSFS{product}=="Generic   USB   Joystick   ",
Kernel=="event**", Name="rivbutton1"
Above all on one line.

This works fine after a reboot but stops when Centos does maintenance.
The only way to get the macros going again is to close rdairplay and
restart rivendell daemons.
Is there a way to stop Centos from doing maintenance on the usb
joystick?

Thanks
Gary.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev