USBHID device Not Loaded for B01 Pogoplug

This forum is for all other ARMv5 devices

Re: USBHID device Not Loaded for B01 Pogoplug

Postby WarheadsSE » Thu Jun 16, 2011 9:51 pm

I'm glad you understand the point, but I'd like to point out the difference in NAND sizes.

Sheeva: 512M
OXNAS: 128M, with only ~13MiB actually allocated to uboot & 2 copies of CE kernel, which I must squeeze between.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: USBHID device Not Loaded for B01 Pogoplug

Postby tux » Fri Jun 17, 2011 7:39 am

$this->bbcode_second_pass_quote('mteel', 'I') meant no harm, but know that many of us are busy and have 4 kids and a wife and a full time job, and support several open source projects, etc.


:D I tick all those boxes.
tux
 
Posts: 21
Joined: Wed Jun 08, 2011 9:56 am
Location: Oxford UK

Re: USBHID device Not Loaded for B01 Pogoplug

Postby tux » Tue Jul 26, 2011 2:04 pm

Is this resolved?

Just wondering as I have been considering a weather station for a while and came across one for a good price so about to buy. Be great if the Pogo running Archlinux will recognise it.
tux
 
Posts: 21
Joined: Wed Jun 08, 2011 9:56 am
Location: Oxford UK

Re: USBHID device Not Loaded for B01 Pogoplug

Postby WarheadsSE » Tue Jul 26, 2011 2:54 pm

At the moment, there are other issues that I am trying to resolve with the kernel. Due to the need to re-flash the NAND space containing the kernel, I'd rather hold off on that. I can however provide you with the requirements to do this, if you feel comfortable with building/flashing a kernel (or have a serial cable preferably for tftp booting)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: USBHID device Not Loaded for B01 Pogoplug

Postby tux » Tue Jul 26, 2011 4:33 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'A')t the moment, there are other issues that I am trying to resolve with the kernel. Due to the need to re-flash the NAND space containing the kernel, I'd rather hold off on that. I can however provide you with the requirements to do this, if you feel comfortable with building/flashing a kernel (or have a serial cable preferably for tftp booting)


Thanks WarheadsSE, I am still a newbie when it comes to compiling the kernel for the Pogo so I will wait. Really appreciate all the effort you put into maintaining Archlinux. So am happy to wait till you get around to it and in addition to the HID devices would be neat to get iptables into the kernel too :)
tux
 
Posts: 21
Joined: Wed Jun 08, 2011 9:56 am
Location: Oxford UK

Re: USBHID device Not Loaded for B01 Pogoplug

Postby BuffaloM » Tue Jan 10, 2012 3:47 am

For what it's worth, I found this message after having a similar issue with my weather station and thought I may be out of luck... I needed usbserial and cp210x for wview to work with my Vantage Pro2 station. However, I was able to compile the modules I needed using the kernel source that matched the version that was running on the plug and WarheadSE's PRO.config file (from http://ppl.ug/Ze91Jqp1MEg/ - thanks for posting that).

I needed to download gcc and make with pacman. Then had to tell make to use gcc and ld using "make CC=gcc LD=ld <target>" where target was menuconfig, scripts, modules etc. I then copied the usbserial.ko and cp210x.ko files to the correct spot in the /lib/modules directory.

I also was able to make the modules needed for an extra wireless dongle I had to get that working as well.

After that wview and radlib were cake to install. I do have to wait a few seconds before trying to start wview or it doesn't load well, but I took care of that by adding sleep before wview in /etc/rc.local. I also added lighttpd and php from pacman and now have a wireless weather server so I can move the console away from my computer and still have it report to the internet.

I hope this helps someone else.
BuffaloM
 
Posts: 17
Joined: Tue Jan 10, 2012 3:23 am

Re: USBHID device Not Loaded for B01 Pogoplug

Postby jasonlotp » Fri Jan 13, 2012 8:26 pm

$this->bbcode_second_pass_quote('BuffaloM', 'F')or what it's worth, I found this message after having a similar issue with my weather station and thought I may be out of luck... I needed usbserial and cp210x for wview to work with my Vantage Pro2 station. However, I was able to compile the modules I needed using the kernel source that matched the version that was running on the plug and WarheadSE's PRO.config file (from http://ppl.ug/Ze91Jqp1MEg/ - thanks for posting that).

I needed to download gcc and make with pacman. Then had to tell make to use gcc and ld using "make CC=gcc LD=ld <target>" where target was menuconfig, scripts, modules etc. I then copied the usbserial.ko and cp210x.ko files to the correct spot in the /lib/modules directory.

I also was able to make the modules needed for an extra wireless dongle I had to get that working as well.

After that wview and radlib were cake to install. I do have to wait a few seconds before trying to start wview or it doesn't load well, but I took care of that by adding sleep before wview in /etc/rc.local. I also added lighttpd and php from pacman and now have a wireless weather server so I can move the console away from my computer and still have it report to the internet.

I hope this helps someone else.

A few questions since I'm trying to do the same thing to use with a WS-2080 weather station.
Did you actually change your kernel or were you able to compile these and install them as separate packages?
If these are separate packages can you make them available?
Did you compile wview from source or were you able to use one of the distributions?
jasonlotp
 
Posts: 1
Joined: Fri Jan 13, 2012 8:22 pm
Top

Re: USBHID device Not Loaded for B01 Pogoplug

Postby BuffaloM » Mon Jan 16, 2012 2:46 am

$this->bbcode_second_pass_quote('jasonlotp', '
')Did you actually change your kernel or were you able to compile these and install them as separate packages?

I didn't replace the kernel, only built modules for it. I grabbed the source from https://pogoplug.com/opensource that matched what I was booting (from the output of uname -r) and used WarheadSE's PRO.config file as the .config file. I'm not sure if that necessary if you select the right architecture, but I didn't want to waste time finding out.

From memory (hopefully I remembered all of the steps - also make sure to grab gcc and make from pacman if you haven't already):
$this->bbcode_second_pass_code('', '
cd /usr/src
wget http://download.pogoplug.com/opensource/pro/pogopro-linux-2.6.31.6-r2.tar.bz2
tar -jxvf pogopro-linux-2.6.31.6-r2.tar.bz2
ln -s /usr/src/pogopro-linux-2.6.31.6-r2 /lib/modules/2.6.31.6_SMP_820/build
cd pogopro-linux-2.6.31.6-r2
[scp'd the PRO.config over]
mv PRO.config .config
make CC=gcc LD=ld menuconfig
[selected the drivers I wanted making sure they would build as modules (M) - I needed cp210x for the Davis adapter. You may need something else - check the output of lsusb and/or google]
make CC=gcc LD=ld scripts
make CC=gcc LD=ld modules
[make CC=gcc LD=ld modules install probably would have worked here, but I moved the files over because it made more modules than I wanted due to leaving most of the defaults in and I didn't want to overwrite anything.]
mv drivers/usb/serial/cp210x.ko /lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/serial/cp210x.ko
mv drivers/usb/serial/usbserial.ko /lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/serial/usbserial.ko
depmod -a
[good idea to make sure you didn't miss anything needed by checking with: modinfo cp210x |grep depends e.g., cp210x needs usbserial]
modprobe cp210x')

$this->bbcode_second_pass_quote('jasonlotp', '
')Did you compile wview from source or were you able to use one of the distributions?

radlib-2.11.3 and wview-5.19.0 both compiled from source without a problem. radlib's configure needed --enable-sqlite. Every time one of the configure scripts complained something was missing I went to pacman and installed the needed files - e.g., pacman -Sy sqlite3 etc depending on what it was. All of the files other than wview and radlib were already available in the repository.

Good luck!
BuffaloM
 
Posts: 17
Joined: Tue Jan 10, 2012 3:23 am
Top

Previous

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 52 guests