Regarding peekpoke, I found the source at
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/samples/peekpoke.c,
built peekpoke, moved it to /usr/sbin/ and then, ran usb_init from the
ts7xxx.subr shell (export model=2). However, there was still no response
to inserting or removing my usb memory stick on the usb port.
Don
On 2/2/2011 11:50 AM, Rekcut_Nod wrote:
>
> I am trying to get the USB ports working on the TS-7260 running a
> 2.6.21-ts kernel. Some reading on this list indicates that perhaps the
> ports are not powered on. This post
>
> http://tech.groups.yahoo.com/group/ts-7000/message/18106
>
> indicates a way to turn them on, but my response from peek8 0x12000000
> was 0x1, which is different from that of other people, so I'm wary of
> trying the poke8. I thought I would try ts7xxx.subr's usb_init, but it
> calls peekpoke, which I don't have. I downloaded and built
>
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/peekpoke.tar.gz
>
> but it does not make peekpoke, but only peek8, poke8, etc. Can someone
> tell me where to find peekpoke, or redirect me as to how to enable the
> USB ports in case I'm barking up the wrong tree? I have the following
> modules loaded:
>
> usbhid
> hid
> usb_storage
> scsi_mod
> usb_core
> ohci_hcd
>
> And the following entries in dmesg:
>
> ts7000:~# dmesg | grep usb
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> drivers/usb/core/inode.c: creating file 'devices'
> drivers/usb/core/inode.c: creating file '001'
> usb usb1: default language 0x0409
> usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb1: Product: EP93xx OHCI
> usb usb1: Manufacturer: Linux 2.6.21-ts ohci_hcd
> usb usb1: SerialNumber: ep93xx
> usb usb1: uevent
> usb usb1: usb_probe_device
> usb usb1: configuration #1 chosen from 1 choice
> usb usb1: adding 1-0:1.0 (config #1, interface 0)
> usb 1-0:1.0: uevent
> hub 1-0:1.0: usb_probe_interface
> hub 1-0:1.0: usb_probe_interface - got id
> hub 1-0:1.0: no power switching (usb 1.0)
> drivers/usb/core/inode.c: creating file '001'
> usbcore: registered new interface driver usb-storage
> usbcore: registered new interface driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
>
> Thank you,
> Don
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|