Author Topic: Wi-spy And X/qt  (Read 40722 times)

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Wi-spy And X/qt
« on: June 17, 2006, 02:54:02 pm »
Hi there!

Anyone see this cool little thumb-drive sized spectrum analyzer?
http://www.thinkgeek.com/computing/accessories/80ce/

They even say that the friendly folks at Kismet have created X/Linux based software:
http://www.kismetwireless.net/wispy.shtml

Since it looks like gtk libraries are used, will this work on X/Qt? Is it possible, Meanie? It would make a really cool Wireless analyzing machine.

TIA

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wi-spy And X/qt
« Reply #1 on: June 18, 2006, 01:42:17 am »
Quote
Hi there!

Anyone see this cool little thumb-drive sized spectrum analyzer?
http://www.thinkgeek.com/computing/accessories/80ce/

They even say that the friendly folks at Kismet have created X/Linux based software:
http://www.kismetwireless.net/wispy.shtml

Since it looks like gtk libraries are used, will this work on X/Qt? Is it possible, Meanie? It would make a really cool Wireless analyzing machine.

TIA

Craig...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131522\"][{POST_SNAPBACK}][/a][/div]

don't have one of those but for those that have it, have fun!
this works for both, cmd (using ncurses) and X (using gtk)
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #2 on: June 18, 2006, 01:54:34 pm »
Quote
Quote
Hi there!

Anyone see this cool little thumb-drive sized spectrum analyzer?
http://www.thinkgeek.com/computing/accessories/80ce/

They even say that the friendly folks at Kismet have created X/Linux based software:
http://www.kismetwireless.net/wispy.shtml

Since it looks like gtk libraries are used, will this work on X/Qt? Is it possible, Meanie? It would make a really cool Wireless analyzing machine.

TIA

Craig...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131522\"][{POST_SNAPBACK}][/a][/div]

don't have one of those but for those that have it, have fun!
this works for both, cmd (using ncurses) and X (using gtk)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131602\"][{POST_SNAPBACK}][/a][/div]


Oh,  cvmiller asks for the software, and bam!  There it is.  I ask for it a month ago, and no replies....  J/K, thanks for compiling them!  It's a pretty cool little device, I use it at work.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #3 on: June 18, 2006, 03:35:32 pm »
Well I get a device not found when I try to run the wispy_gtk, or wispy_curses.  I can see the device in the devices list, but it has a yellow triangle beside it.  Dmesg gives me a not claimed by any active driver message.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #4 on: June 18, 2006, 07:39:22 pm »
Quote
don't have one of those but for those that have it, have fun!
this works for both, cmd (using ncurses) and X (using gtk)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131602\"][{POST_SNAPBACK}][/a][/div]

Thank you _very_ much, Meanie. Barry, I'd like to hear more about how you use this little guy, and do you have it running on a larger linux machine?

I am headed for Toy-Land (read: San Francisco Bay Area) in a week, this little device is definitely on my shopping list.

Thanks again!

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #5 on: June 18, 2006, 07:59:37 pm »
Quote
Well I get a device not found when I try to run the wispy_gtk, or wispy_curses.  I can see the device in the devices list, but it has a yellow triangle beside it.  Dmesg gives me a not claimed by any active driver message.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Looking over the kismetwireless page again, it says this app uses libusb. With the XQt cramfs mounted, and the standard Zaurus ROM, doing a search turns up no libusb, which must be why Barry is having problems.

There is a rather lengthy discussion about libusb (and other things) at:
[a href=\"https://www.oesf.org/forums/lofiversion/index.php?t3953.html]https://www.oesf.org/forums/lofiversion/index.php?t3953.html[/url]

Not sure where the "right" libusb is, tho.

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #6 on: June 18, 2006, 08:36:19 pm »
I've used it on linux, mac, and windows.  I use a mac more often than anything else.  The mac software is nicer to look at though.  If you go to my website under the computer stuff there is a movies section that has a recording of my microwave running.  It's real handy to use to see what is causing wifi drop outs.  I used the libusb that's with the software, didn't know if it had the proper driver patches or not.  I know there was a guy that had it working over at the kismet wireless site, but I haven't been able to get ahold of him.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wi-spy And X/qt
« Reply #7 on: June 18, 2006, 09:19:53 pm »
Quote
I've used it on linux, mac, and windows.  I use a mac more often than anything else.  The mac software is nicer to look at though.  If you go to my website under the computer stuff there is a movies section that has a recording of my microwave running.  It's real handy to use to see what is causing wifi drop outs.  I used the libusb that's with the software, didn't know if it had the proper driver patches or not.  I know there was a guy that had it working over at the kismet wireless site, but I haven't been able to get ahold of him.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131742\"][{POST_SNAPBACK}][/a][/div]

since I don't have this lil gadget, i can't really test it. i just added the libusb ipk from the cacko feed cause it let me compile the thing. however, that libusb package is not the latest and you might need to install a newer one. you probably also need a kernel module for that lil gadget and before you ask, my system is not setup to compile any kernel module except for the c3x00 since I do native compiles on the Z.

btw, cvmiller was just lucky I was looking at the wispy stuff when I saw his posting so he was lucky and had good timing
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #8 on: June 18, 2006, 09:54:39 pm »
Quote
since I don't have this lil gadget, i can't really test it. i just added the libusb ipk from the cacko feed cause it let me compile the thing. however, that libusb package is not the latest and you might need to install a newer one. you probably also need a kernel module for that lil gadget and before you ask, my system is not setup to compile any kernel module except for the c3x00 since I do native compiles on the Z.

btw, cvmiller was just lucky I was looking at the wispy stuff when I saw his posting so he was lucky and had good timing
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131746\"][{POST_SNAPBACK}][/a][/div]

And lucky I feel! Thanks. Can you point me to the cacko feed with a URL. I'll definitely give this a try once I get my hands on the little device.

Thanks again, Meanie.

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #9 on: June 18, 2006, 09:57:43 pm »
Quote
I've used it on linux, mac, and windows.  I use a mac more often than anything else.  The mac software is nicer to look at though.  If you go to my website under the computer stuff there is a movies section that has a recording of my microwave running.  It's real handy to use to see what is causing wifi drop outs.  I used the libusb that's with the software, didn't know if it had the proper driver patches or not.  I know there was a guy that had it working over at the kismet wireless site, but I haven't been able to get ahold of him.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131742\"][{POST_SNAPBACK}][/a][/div]

The kismet wireless site _says_ it is a userland tool, which I imply does not require any kernel modules (I hope). I have a few linuxppc machines here I can try it on (once I get one) as well as the Zaurus with the cacko libusb.

Barry, any chance you can tell us which version of libusb you are running on linux (with either synptic or rpm, depending on your flavor of linux)?

Thanks,

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #10 on: June 19, 2006, 12:32:30 am »
Quote
Quote
I've used it on linux, mac, and windows.  I use a mac more often than anything else.  The mac software is nicer to look at though.  If you go to my website under the computer stuff there is a movies section that has a recording of my microwave running.  It's real handy to use to see what is causing wifi drop outs.  I used the libusb that's with the software, didn't know if it had the proper driver patches or not.  I know there was a guy that had it working over at the kismet wireless site, but I haven't been able to get ahold of him.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131742\"][{POST_SNAPBACK}][/a][/div]

The kismet wireless site _says_ it is a userland tool, which I imply does not require any kernel modules (I hope). I have a few linuxppc machines here I can try it on (once I get one) as well as the Zaurus with the cacko libusb.

Barry, any chance you can tell us which version of libusb you are running on linux (with either synptic or rpm, depending on your flavor of linux)?

Thanks,

Craig...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131752\"][{POST_SNAPBACK}][/a][/div]
Slackware 10.2 libusb-0.1.8

The wispy src has wispy_libusb.c file if that helps anything.
« Last Edit: June 19, 2006, 01:07:49 am by BarryW »
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Wi-spy And X/qt
« Reply #11 on: June 19, 2006, 01:35:28 am »
Quote
Quote
Quote
I've used it on linux, mac, and windows.  I use a mac more often than anything else.  The mac software is nicer to look at though.  If you go to my website under the computer stuff there is a movies section that has a recording of my microwave running.  It's real handy to use to see what is causing wifi drop outs.  I used the libusb that's with the software, didn't know if it had the proper driver patches or not.  I know there was a guy that had it working over at the kismet wireless site, but I haven't been able to get ahold of him.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131742\"][{POST_SNAPBACK}][/a][/div]

The kismet wireless site _says_ it is a userland tool, which I imply does not require any kernel modules (I hope). I have a few linuxppc machines here I can try it on (once I get one) as well as the Zaurus with the cacko libusb.

Barry, any chance you can tell us which version of libusb you are running on linux (with either synptic or rpm, depending on your flavor of linux)?

Thanks,

Craig...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131752\"][{POST_SNAPBACK}][/a][/div]
Slackware 10.2 libusb-0.1.8

The wispy src has wispy_libusb.c file if that helps anything.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131774\"][{POST_SNAPBACK}][/a][/div]

that's the code that calls functionality dynamically in libusb. libusb is not statically linked in but loaded at runtime so you can easily upgrade your libusb library independantly.
libusb then probably accesses the usb subsystem via usermode which means there needs to be a kernel mode driver somewhere which accesses the device.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #12 on: June 19, 2006, 01:59:37 am »
Beats me.  I'm not a programmer.  I mostly just break stuff.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #13 on: June 21, 2006, 09:39:12 pm »
Quote
Beats me.  I'm not a programmer.  I mostly just break stuff.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131780\"][{POST_SNAPBACK}][/a][/div]

Color me dumb. I have been looking around trying to find libusb, only to see (tonight) that Meanie included it in his zip file.

Barry, you did install libusb as well as the wispy-tools, right? Can you give us the last 10 lines (or so) of your dmesg command output right after inserting the wispy.

thanks,

Craig...
« Last Edit: June 21, 2006, 10:00:25 pm by cvmiller »
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Wi-spy And X/qt
« Reply #14 on: June 21, 2006, 10:02:20 pm »
This gives me a:
wispy_gtk: error while loading shared libraries:  libusb-0.1.4: cannot load shared object file: No such file or directory


Same for curses.  Both with root and the normal zaurus user.
« Last Edit: June 21, 2006, 10:04:52 pm by BarryW »
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.