-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
probe of ppgpio@0 failed with error -22 #57
Comments
It sounds like you'll need to disable
Or if another device is using spi0 you might need to comment that out. |
Done but still have: |
Looks like a conflict with i2c1. You could try commenting out
|
Ok it looks after that parport correct running driver. But how about EEPROM? I2C is not available after this operation. |
I think the fact that it is not available from linux does not prevent it from being accessed during boot. For flashing, which involves temporarily enabling i2c, I think you should be able to follow the instructions here, even with |
Yeah, the flashing instructions point you to using i2c0 rather than i2c1. However, it may be easier to use the GPIO-based i2c driver instead, that can be dynamically loaded without reboot and is apparently officially recommended in preference to using i2c0. I haven't tested it yet, though, but you would do it like this:
|
As a side note, I'm curious to see how pi-parport fits into the astroberry picture. Mentioning the i2c conflict, it's in the list of the number of things we'd like to change in a future revision, along with making other adjustments to ease the simultaneous connection of an RTC, GPS, power button, etc. |
After boot and loading modules as in instruction I had something like this:
Mar 8 18:45:29 astroberry kernel: [ 3497.542536] parport: loading out-of-tree module taints kernel.
Mar 8 18:45:36 astroberry kernel: [ 3504.134802] pinctrl-bcm2835 3f200000.gpio: pin gpio11 already requested by 3f204000.spi; cannot claim for ppgpio@0
Mar 8 18:45:36 astroberry kernel: [ 3504.134833] pinctrl-bcm2835 3f200000.gpio: pin-11 (ppgpio@0) status -22
Mar 8 18:45:36 astroberry kernel: [ 3504.134848] pinctrl-bcm2835 3f200000.gpio: could not request pin 11 (gpio11) from group gpio11 on device pinctrl-bcm2835
Mar 8 18:45:36 astroberry kernel: [ 3504.134859] parport-gpio ppgpio@0: Error applying setting, reverse things back
Mar 8 18:45:36 astroberry kernel: [ 3504.134963] parport-gpio: probe of ppgpio@0 failed with error -22
Mar 8 18:45:56 astroberry kernel: [ 3524.533219] ppdev: user-space parallel port driver
Any suggestions?
Best regards,
Maciej
The text was updated successfully, but these errors were encountered: