![]() ![]() |
Feb 16 2006, 02:30 AM
Post
#136
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(daniel3000 @ Feb 16 2006, 08:16 PM) QUOTE(ashikase @ Feb 16 2006, 04:00 AM) This might have been mentioned already, but the following link was posted on Mobile Daily News yesterday: http://www.piro.hopto.org/~piro/pukiwiki/p...%A2%B2%BD%5D%5D Basically, someone took apart a USB BT dongle and stuffed it into his C3000. - ashikase - anpachi, gifu, japan This looks very interesting and promising! However, I can only see the pictures and not read any Japanese! What would be of interest to me: * How to connect the BT module correctly to the USB port without making the USB port unusable for other devices? * Where to connect the switch? * Which kind of BT modules can be used (chipset...)? thanks daniel well, he said the usb cant be used while bluetooth is being used. i guess he plugged the bt into the usb port at the back you see a small opening beneath the usb port and there is a lot of wiring from the bt chip to that opening slot. but the blue light beneath the ok button is so cool |
|
|
|
Feb 16 2006, 04:46 AM
Post
#137
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
Umm, so he just plugged it into the USB OTG port?
What is that small thing he planted under OTG port connector? Is it a hardware switch? These pictures are really bad quality - it's hard to see anything -albertr |
|
|
|
Feb 16 2006, 03:06 PM
Post
#138
|
|
![]() Group: Admin Posts: 3,281 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
to me it looks like he just paralelled the bluetooth adaptor to the usb port, with a simple very-low-profile sliding switch to cut between the two. he had to cut two holes, one for the blue led, the other for the switch.
I'd say it's a lot better than nothing... but from what albertr has said, there's a spare usb host port in the 1000/3x00 which would be much better! |
|
|
|
Feb 16 2006, 07:20 PM
Post
#139
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
Yes, according to the documentation, there's one. I even can see it on the pictures here:
http://www.piro.hopto.org/~piro/pukiwiki/p...%A2%B2%BD%5D%5D I'll try to find some time to open up my C1K and solder flying leads to it. I think that the kernel needs to be modified to enable this port, too. The BTUART is a little more difficult. I don't know the exact location for its lines, but I have a good guess where they could be. This UART has four lines - transmit, receive and two lines which could be used for hardware flow control. In case of BCSP, hardware flow control is not used, so these two lines could be re-purposed as GPIO lines and could be used to control power on/off thru software, for instance. -albertr |
|
|
|
Feb 16 2006, 08:56 PM
Post
#140
|
|
|
Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 |
cant wait and see if the kernel needs recompiling, hopefully not, i have a bt dongle that is ultra tiny, from my belkin bt mouse purchase, and I will free up just enough room with the microdrive-->cf upgrade. I am rready to rock provided we can get say tetsus kernel recompiled or cacko with special kernel compiled.
|
|
|
|
Feb 18 2006, 11:26 PM
Post
#141
|
|
![]() Group: Members Posts: 1,565 Joined: 7-April 05 From: Sydney, Australia Member No.: 6,806 |
albertr: i am studying electrical egineering at the momont so if you need a hand just e-mail me, i am very intrested in the posability of another usb host port thot has been routed somewhere on board, i just hope this is HOST 2 and not HOST1 or 3 (the CPU has 3 USB HOST controllers on it, but only one meets the USB spec, the other two are missing the d- line as they are intended to be connected to on board devices)
|
|
|
|
Feb 19 2006, 08:56 AM
Post
#142
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
I might be wrong, but I thought that all usb hosts ports on PXA have both data signal lines? Sharp has traced data lines for port 1. It has differential signals, which I thik is a good thing, since doesn't require additional logic to connect it to usb device. Only data lines are traced, power control is not.
Just a quick status update: I've opened up my C1K today, and oh boy, these lines are tiny! It would take a really steady hand to solder flying leads to it. I'll try to do my best soldering and hopefully not to destroy the pcb, Then usb host driver needs to be modified to enable this port. -albertr |
|
|
|
Feb 19 2006, 10:50 AM
Post
#143
|
|
|
Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 |
QUOTE(albertr @ Feb 19 2006, 08:56 AM) I might be wrong, but I thought that all usb hosts ports on PXA have both data signal lines? Sharp has traced data lines for port 1. It has differential signals, which I thik is a good thing, since doesn't require additional logic to connect it to usb device. Only data lines are traced, power control is not. Just a quick status update: I've opened up my C1K today, and oh boy, these lines are tiny! It would take a really steady hand to solder flying leads to it. I'll try to do my best soldering and hopefully not to destroy the pcb, Then usb host driver needs to be modified to enable this port. -albertr /me waits patiently. also we could get a usb router chip and just run an internal usb router for both bt and a usb connection(no kernel mod needed), and yes found the schematics for it already. As for room switching to a cf type 1 vs type 2 micro-drive will free room for this(on a 3100 of course) |
|
|
|
Feb 19 2006, 09:32 PM
Post
#144
|
|
![]() Group: Members Posts: 1,565 Joined: 7-April 05 From: Sydney, Australia Member No.: 6,806 |
i may be wrong i shold break out the data sheet and double cheak this (give me a sec) Ok, it looks like both USB HOST 1 and 2 are differential but number 3 is not.
i am trying to find a usb hub small enogh to fit in my case however i think i should just build a new case bottom and have about 3 usb ports and another CF and SD slot ( albert: did you find port 1 or are you doing what you saw on the site (he uses port 2 which is multiplexed with the client controller) if so i NEED pics as i will solder as soon as they arrive (i have a soldering iorn for smt and small pitch work) |
|
|
|
Feb 19 2006, 10:49 PM
Post
#145
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
QUOTE(Da_Blitz @ Feb 20 2006, 12:32 AM) albert: did you find port 1 or are you doing what you saw on the site (he uses port 2 which is multiplexed with the client controller) if so i NEED pics as i will solder as soon as they arrive (i have a soldering iorn for smt and small pitch work) Soldering is done, but driver doesn't work yet (it crashes the Z every time I'm trying to initialize it). I'll take another look today and let you all know. Pictures and schemantics will be provided, of course, when it works. -albertr |
|
|
|
Feb 20 2006, 05:21 AM
Post
#146
|
|
|
Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 |
I will break out a descrete parts list for a usb hub sometime tonight, right now its work time.
|
|
|
|
Feb 21 2006, 06:09 AM
Post
#147
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
Just a quick status update: the driver works now, but it can't see the usb device connected to port 1. I'm positive that wiring is done correctly, so it must be something else I'm missing. I'll be busy with other projects in the next few days, so have to put this one on hold now...
-albertr |
|
|
|
Feb 21 2006, 05:22 PM
Post
#148
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
Umm, this is getting more and more interesting... Actually, I was testing with CSR bt04-ext bluetooth module only and it looks like it might have some problems with usb 1.1 ohci, but at least it seems that data lines are working, i.e.:
CODE Feb 21 20:12:12 c1000 user.debug kernel: hub.c: port 1, portstatus 100, change 1, 12 Mb/s Feb 21 20:12:12 c1000 user.debug kernel: hub.c: port 1 connection change Feb 21 20:12:12 c1000 user.debug kernel: hub.c: port 1, portstatus 100, change 1, 12 Mb/s Feb 21 20:12:12 c1000 user.debug kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s I'm no expert in usb protocol specs, so not sure why nothing happens after connection change. I'll try some other usb device and see if it would make any difference. -albertr |
|
|
|
Feb 21 2006, 06:15 PM
Post
#149
|
|
|
Group: Members Posts: 535 Joined: 7-March 04 Member No.: 2,195 |
IT WORKS WORKS WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
CODE Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1 connection change Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 1, portstatus 103, change 10, 12 Mb/s Feb 21 21:03:08 c1000 user.info kernel: hub.c: USB new device connect on bus1, assigned device number 4 Feb 21 21:03:08 c1000 user.debug kernel: usb.c: kmalloc IF c3b3cae0, numif 1 Feb 21 21:03:08 c1000 user.debug kernel: usb.c: new device strings: Mfr=0, Product=0, SerialNumber=1 Feb 21 21:03:08 c1000 user.debug kernel: usb.c: USB device number 4 default language ID 0x409 Feb 21 21:03:08 c1000 user.info kernel: SerialNumber: KJLee Feb 21 21:03:08 c1000 user.debug kernel: usb.c: unhandled interfaces on device Feb 21 21:03:08 c1000 user.warn kernel: usb.c: USB device 4 (vend/prod 0x967/0x204) is not claimed by any active driver. Feb 21 21:03:08 c1000 user.emerg kernel: Length = 18 Feb 21 21:03:08 c1000 user.emerg kernel: DescriptorType = 01 Feb 21 21:03:08 c1000 user.emerg kernel: USB version = 1.10 Feb 21 21:03:08 c1000 user.emerg kernel: Vendor:Product = 0967:0204 Feb 21 21:03:08 c1000 user.emerg kernel: MaxPacketSize0 = 8 Feb 21 21:03:08 c1000 user.emerg kernel: NumConfigurations = 1 Feb 21 21:03:08 c1000 user.emerg kernel: Device version = 1.32 Feb 21 21:03:08 c1000 user.emerg kernel: Device Class:SubClass:Protocol = 00:00:00 Feb 21 21:03:08 c1000 user.emerg kernel: Per-interface classes Feb 21 21:03:08 c1000 user.emerg kernel: Configuration: Feb 21 21:03:08 c1000 user.emerg kernel: bLength = 9 Feb 21 21:03:08 c1000 user.emerg kernel: bDescriptorType = 02 Feb 21 21:03:08 c1000 user.emerg kernel: wTotalLength = 0027 Feb 21 21:03:08 c1000 user.emerg kernel: bNumInterfaces = 01 Feb 21 21:03:08 c1000 user.emerg kernel: bConfigurationValue = 01 Feb 21 21:03:08 c1000 user.emerg kernel: iConfiguration = 00 Feb 21 21:03:08 c1000 user.emerg kernel: bmAttributes = 80 Feb 21 21:03:08 c1000 user.emerg kernel: MaxPower = 500mA Feb 21 21:03:08 c1000 user.emerg kernel: Feb 21 21:03:08 c1000 user.emerg kernel: Interface: 0 Feb 21 21:03:08 c1000 user.emerg kernel: Alternate Setting: 0 Feb 21 21:03:08 c1000 user.emerg kernel: bLength = 9 Feb 21 21:03:08 c1000 user.emerg kernel: bDescriptorType = 04 Feb 21 21:03:08 c1000 user.emerg kernel: bInterfaceNumber = 00 Feb 21 21:03:08 c1000 user.emerg kernel: bAlternateSetting = 00 Feb 21 21:03:08 c1000 user.emerg kernel: bNumEndpoints = 03 Feb 21 21:03:08 c1000 user.emerg kernel: bInterface Class:SubClass:Protocol = ff:ff:ff Feb 21 21:03:08 c1000 user.emerg kernel: iInterface = 00 Feb 21 21:03:08 c1000 user.emerg kernel: Endpoint: Feb 21 21:03:08 c1000 user.emerg kernel: bLength = 7 Feb 21 21:03:08 c1000 user.emerg kernel: bDescriptorType = 05 Feb 21 21:03:08 c1000 user.emerg kernel: bEndpointAddress = 81 (in) Feb 21 21:03:08 c1000 user.emerg kernel: bmAttributes = 02 (Bulk) Feb 21 21:03:08 c1000 user.emerg kernel: wMaxPacketSize = 0040 Feb 21 21:03:08 c1000 user.emerg kernel: bInterval = 00 Feb 21 21:03:08 c1000 user.emerg kernel: Endpoint: Feb 21 21:03:08 c1000 user.emerg kernel: bLength = 7 Feb 21 21:03:08 c1000 user.emerg kernel: bDescriptorType = 05 Feb 21 21:03:08 c1000 user.emerg kernel: bEndpointAddress = 02 (out) Feb 21 21:03:08 c1000 user.emerg kernel: bmAttributes = 02 (Bulk) Feb 21 21:03:08 c1000 user.emerg kernel: wMaxPacketSize = 0040 Feb 21 21:03:08 c1000 user.emerg kernel: bInterval = 00 Feb 21 21:03:08 c1000 user.emerg kernel: Endpoint: Feb 21 21:03:08 c1000 user.emerg kernel: bLength = 7 Feb 21 21:03:08 c1000 user.emerg kernel: bDescriptorType = 05 Feb 21 21:03:08 c1000 user.emerg kernel: bEndpointAddress = 83 (in) Feb 21 21:03:08 c1000 user.emerg kernel: bmAttributes = 03 (Interrupt) Feb 21 21:03:08 c1000 user.emerg kernel: wMaxPacketSize = 0008 Feb 21 21:03:08 c1000 user.emerg kernel: bInterval = 01 Feb 21 21:03:08 c1000 user.debug kernel: usb.c: kusbd: /sbin/hotplug add 4 Feb 21 21:03:08 c1000 user.debug kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s Feb 21 21:03:08 c1000 user.notice /sbin/hotplug: arguments (usb) env (ACTION=add DEBUG=kernel OLDPWD=/ HOME=/ DEVFS=/proc/bus/usb PATH=/bin:/sbin:/usr/sbin:/usr/bin TYPE=0/0/0 INTERFACE=255/255/255 PRODUCT=967/204/132 PWD=/etc/hotplug DEVICE=/proc/bus/usb/001/004) Feb 21 21:03:09 c1000 user.notice /sbin/hotplug: invoke /etc/hotplug/usb.agent () Feb 21 21:03:09 c1000 user.notice /etc/hotplug/usb.agent: ... no modules for USB product 967/204/132 Looks like CSR BC4-ext has a problem with OHCI, I'll try to contact CSR regarding possible firmware updates. Too bad, since the module is very small (could be nice fit for Z) and supports high transmittion speeds. I wired a Prism3-based 802.11b usb module and it ... WORKS WORKS WORKS WORKS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ok, I'll try to make some hi-res pictures and provide schemantics this weekend. -albertr |
|
|
|
Feb 21 2006, 06:23 PM
Post
#150
|
|
|
Group: Members Posts: 29 Joined: 23-April 05 Member No.: 6,972 |
QUOTE(albertr @ Feb 22 2006, 08:15 AM) I wired a Prism3-based 802.11b usb module and it ... WORKS WORKS WORKS WORKS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Man, you rule! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 12:53 AM |