Tiny Core Base > Raspberry Pi

USB gadget kernel module with RPi zero

<< < (15/18) > >>

Rich:
Hi creitzel

--- Quote from: creitzel on October 04, 2022, 12:47:02 AM --- ... It is also connecting via wifi on my lan's subnet, ...
--- End quote ---
Is the other machine also connected to the same wifi router?

creitzel:
Yes, my win10 box is connected via ethernet cable to the router, and my linux laptop is connected via wifi to the same router.  I don't know if the problem is being caused by that though, I've had the win10 box connected to the network (via the same router) both through ethernet cable, and a wifi dongle at the same time before, and it just gets 2 different ip addresses, one for the cable, and one for the wifi connection.

The interesting thing I noticed last night, when I tried using the pi plugged in to usb on my linux laptop, is it doesn't seem to show up at all when I try doing a "lsusb" at the command prompt.  This makes me think that something must be missing in the pi's configuration.  Every other network/usb type device I've ever used would at least show up in that list, whether I was having issues with it's configuration or not.  This is consistent with how it is behaving on the win10 box too, the usb device doesn't show up in device manager at all.

creitzel:
You know what?  I just thought of something.  I just grabbed a random cable out of my box o' cables when I started playing around with the pi this time.  I bet it's a charging only cable, which would totally explain why the host computers aren't seeing any device when I plug it in.  I'll check this first thing when I get home this evening, after work.

creitzel:
Ok, so I did in fact have just a charging cable, and not a data cable.  That was why it wasn't showing up in Windows at all.  I've now switched to a data cable, and now I've got to figure out how to get windows to use it's internal RDNIS driver for the pi.  It currently sees it as an unknown usb device.

Thanks again for all your help Rich. 

creitzel:
Ok, so does anyone have any idea where the device descriptor for g_ether is on the pi 0? 

Now that I have a data cable, when I plug it into a Win10 box, it reports it as an undknown usb device, specifically stating that it couldn't get a device descriptor.  When I plug it into my ubuntu laptop, it gets reported as a usb hub.  This is definitely pointing towards the pi 0 misreporting it's device descriptor to the hosts.

Again, any help would be appreciated.   :)

Thanks in advance,

Chris

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version