Skip Menu |

This queue is for tickets about the Device-BCM2835 CPAN distribution.

Report information
The Basics
Id: 83056
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Device-BCM2835

People
Owner: MIKEM [...] cpan.org
Requestors: oskar.norin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Missing variable in Device::BCM2835 BCM2835_PWM
Date: Wed, 30 Jan 2013 21:01:51 +0100
To: bug-Device-BCM2835 [...] rt.cpan.org
From: Oskar Norin <oskar.norin [...] gmail.com>
Hi Start with saying thanks for a perfect library for Perl, I think this is a feature request and not a bug. I have used it a lot but run into problems with handling PWM for my Raspberry PI rev B. What I think I miss in the library is the BCM2835_PWM base variable for handling PWM functions. This became available in c lib BCM2835 in version 1.13 but I guess that the Perl library is older that that. According to my understanding I need the base address for handing the PWM registers on the Raspberry. My knowledge about Perl is too weak to attack the Perl lib myself and I kindly ask for help for adding the variable to the library. Please correct me if I'm wrong. Best regards Oskar Norin Sweden
Subject: Re: [rt.cpan.org #83056] Missing variable in Device::BCM2835 BCM2835_PWM
Date: Thu, 31 Jan 2013 07:00:06 +1000
To: bug-Device-BCM2835 [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Hello, Thanks for your report. New version 1.5 has been uploaded to CPAN that should fix this problem. Cheers. On Wednesday, January 30, 2013 03:02:06 PM Oskar Norin via RT wrote: Show quoted text
> Wed Jan 30 15:02:05 2013: Request 83056 was acted upon. > Transaction: Ticket created by oskar.norin@gmail.com > Queue: Device-BCM2835 > Subject: Missing variable in Device::BCM2835 BCM2835_PWM > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: oskar.norin@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83056 > > > > Hi > Start with saying thanks for a perfect library for Perl, I think this is a > feature request and not a bug. > > I have used it a lot but run into problems with handling PWM for my > Raspberry PI rev B. > > What I think I miss in the library is the BCM2835_PWM base variable for > handling PWM functions. This became available in c lib BCM2835 in version > 1.13 but I guess that the Perl library is older that that. > According to my understanding I need the base address for handing the PWM > registers on the Raspberry. > > My knowledge about Perl is too weak to attack the Perl lib myself and I > kindly ask for help for adding the variable to the library. > > Please correct me if I'm wrong. > > Best regards > Oskar Norin > Sweden
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Subject: Re: [rt.cpan.org #83056] AutoReply: Missing variable in Device::BCM2835 BCM2835_PWM
Date: Thu, 31 Jan 2013 07:54:19 +0100
To: bug-Device-BCM2835 [...] rt.cpan.org
From: Oskar Norin <oskar.norin [...] gmail.com>
Hi I think you did a typo or I miss understood the variables that where available in earlier versions. In the new version variable BCM2835_GPIO_PWM exists two times in the new version, it existed one time in version 1.4, but I thought that it wasn't the same as bcm2835_pwm from the library. Best regards Oskar
Subject: Re: [rt.cpan.org #83056] AutoReply: Missing variable in Device::BCM2835 BCM2835_PWM
Date: Thu, 31 Jan 2013 18:09:40 +1000
To: bug-Device-BCM2835 [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Hi again, OK, duplicates of BCM2835_GPIO_PWM have now been removed in new upload 1.6. I see now that you are in fact referring to bcm2835_pwm, not BCM2835_GPIO_PWM In the past, I have not exposed those base registers, such as bcm2835_gpio bcm2835_spi0 and bcm2835_pwm Im not even sure its a good idea to expose them at the Perl level. What is it you are trying to achieve? Cheers. On Thursday, January 31, 2013 01:54:29 AM Oskar Norin via RT wrote: Show quoted text
> Queue: Device-BCM2835 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83056 > > > Hi > I think you did a typo or I miss understood the variables that where > available in earlier versions. > In the new version variable > > BCM2835_GPIO_PWM > > exists two times in the new version, it existed one time in version 1.4, > but I thought that it wasn't the same as bcm2835_pwm from the library. > > Best regards > Oskar
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.