On Sun, 19 May 2002, Hactar wrote:

| On Sat, 18 May 2002, Randy.Dunlap wrote:
|
| > What kind of PDA do you have?
|
| Sharp SL-5500 aka "Zaurus".  It's new, so there may not be a specific
| driver for it yet.  But other people have had success under Linux with
| this device (there's even a step-by-step guide to get Ethernet over USB),
| so I know it's possible.
|
| > There are several howto's for USB PDAs.  Have you tried any of them?

oops, I haven't seen howto's for the Zaurus.

| > | I changed "USB Support" -> "Support for USB" to being compiled in, not a
| > | module.  It worked!  Now I have to convince the initscripts to mount
| > | /proc/bus/usb at startup.  Should be a simple matter of listing it in
| > | /etc/fstab, but I'll see...
|
| Well shoot, it used to work.  Now /proc/bus/usb is there, so usbdevfs can
| be mounted, and /proc/bus/usb/{devices,drivers} exist, but
| attaching/detaching a USB device doesn't get noted in /var/log/messages.
| I had the Ethernet-over-USB patch working, too; I loaded a web page from
| my desktop on the PDA's browser.
|
| <fiddles with kernel configuration>
|
| Shoot again.  I reconfigured USB support as a module, and it acts the same
| as just above -- /proc/bus/usb appears on cue, but nothing happens on
| connect/disconnect.
|
| > at least you have the /proc filesystem enabled.
|
| It contains some very useful stuff.

and it's required for /proc/bus/usb :) (in 2.4)

| > | But none of the devices listed in devices.txt seem relevant (I'm trying to
| > | access a PDA).  Do I need to create some device file?
| >
| > USB serial devices use /dev/usb/ttyUSBn (where n is a number).
|
| I did an strace on qtopiadesktop (the desktop <-> PDA sync program), and
| while I didn't see references to any /dev/*/ttyUSB*, or system(), I did
| see these:
|
| getpeername(6, 0xbffff650, [16])        = -1 ENOTCONN (Transport endpoint is not 
|connected)
| getpeername(7, 0xbffff444, [16])        = -1 ENOTCONN (Transport endpoint is not 
|connected)

| (They weren't all together in time, but the 'grep' makes them appear that
| way.)  That looks as if it's tring to do some sort of PPP.  But, as Troll
| didn't supply source, only binaries, I'll never know.
|
| I also ran 'strings' on the binary, and there's an error message about
| being unable to run pppd.  But nothing (no missing modules, whatever)
| shows up in the log when I run qtopiadesktop.
|
| Maybe pppd only applies when trying to connect over a serial interface.
|
| > Have you read any of the Linux USB Guide at
| >   http://www.linux-usb.org/USB-guide/book1.html ?
|
| I've read what I think are the relevant sections -- the first two parts
| of section I.2.
|
| > Serial devices are at
| >   http://www.linux-usb.org/USB-guide/x356.html,
|
| I've been to that page, and the /dev/ttyUSB{0,1,...,15,16} were already
| there (and correct).  If the app were accessing those files without a
| corresponding module existing, I would have seen some message (either on
| stdout or in /var/log/messages) about char-major-188.
|
| > If you want me to look at it more, please send me your
| > linux/.config file and I'll try it out.
|
| Sent, off-list.  Thanks for looking it over.

and I did look it over, even built a kernel with it
plus/minus a few of my system's requirements:
. changed processor to P4
. removed APM
. added ext3 support
. added PIIX4 IDE support

loaded usbcore and usb-uhci and mounted /proc/bus/usb and
all was there as it should be.

I don't know what else to do.  Sorry about that.
Good luck.  Maybe someone else will have some ideas.

-- 
~Randy


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to