Re: Rasberry Pi 4 has no USB

2021-03-20 Thread Carl Johnson
Carl Johnson  writes:

> Emmanuel Vadot  writes:
>
>> On Sun, 28 Feb 2021 09:26:23 -0800
>> Carl Johnson  wrote:
>>
>>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>>> all. That means that I can't use a keyboard or mouse, but I can use a
>>> serial console and ethernet.  I can plug any USB device into any port,
>>> but there is nothing logged in /var/messages.  Running usbconfig as root
>>> just reports 'No device match or lack of permissions'.  Running
>>> 'dmesg | grep -i usb' reports only the following lines:
>>> 
>>>   usb_nop_xceiv0:  on ofwbus0
>>>   bcm_xhci0:  irq 81 at 
>>> device 0.0 on pci2
>>>   usb_needs_explore_all: no devclass
>>>   
>>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>>> tested this with Linux and everything worked properly.  This is a new
>>> computer that I bought only a couple of weeks ago.  Does anybody have
>>> any ideas on what this might be, or what I could do to try to figure it
>>> out?
>>> 
>>> Thanks in advance for any ideas.
>>> -- 
>>> Carl Johnsonca...@peak.org
>>
>>  Hello,
>>
>>  This is known, see
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25
>>
>>  I wanted to wait that a tag was created on the rpi-firmware github
>> repo but it seems that they don't want to so I'll update the port next
>> week so RC1 will have the updated firmware.
>>
>>  Cheers,
>
> Thank you very much for that!  I will test that as soon as it comes
> out.

Just for the record, RC3 now works properly.  Thanks to everyone for
getting this fix in before the release.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Peter Cornelius  writes:

> [Retransmssion, stupid HTML mails]
>
> G'day, Carl,
>  
> On 2/28/21 11:26 AM, Carl Johnson wrote:
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all.  [...]
>  
> I second the suggestion to do a brief trial with Raspbian or so.  I
> currently run mine under -current as below, but can confirm that I
> have been able to run it since 13 with USB keyboard and mouse. I
> currenly am logged in via the net, so without further USB devices, at
> least the hubs should be present:

I had tested it with Raspbian, and everything worked properly.

> [root@rpi4 ~]# usbconfig  
> ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
> pwr=SAVE (0mA)
> ugen0.2:  at usbus0, cfg=0 md=HOST spd=HIGH 
> (480Mbps) pwr=SAVE (100mA)
>  
> [root@rpi4 ~]# uname -a
> FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31
> UTC 2021 root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC 
> arm64
>  
> I can share a 14.0 image I used to initially boot if you have
> somewhere to push it
> (FreeBSD-aarch64-14.0-GENERIC-a63eae65ff8-RaspberryPi4.img, seven and
> a half gig, roughly; an xz. I'd expect at around two).
>  
> I did, though, have to do a couple of tries with Raspbian initially to put a 
> recent firmware onto my RPI4B8GB.
>  
> HOWEVER.
>  
> I also have an odd observation which is that there is NO OTHER USB
> device BUT the above and my mouse/keyboard. This is quite odd since I
> do have more devices connected (most notably a umass
> JMicron-JMS561-based device [1]) and naively hoped that also on arm,
> USB devices would at least show up as ugen-something. Well, at least
> keyboard and mouse did work, did they not?
>  
> I did boot with rasbian, all comes to life instantly and
> beautifully. I even was able to update some firmware on the
> JMS-thingo, see the disks, all blinkenlights there. Back to FreeBSD --
> again, silence. I now really am scratching my head and also have run
> out of ideas... though kind of luxury, compared to you, I guess.
>  
> Any help appreciated, and Carl, as written, if you want my image, where 
> should I put it?
>  
> Cheers,
>  
> Peter.
>  
> [1] https://www.jmicron.com/file/download/1033/JMS561_Product+Brief.pdf

There is another response that states this is a known problem that will
be fixed in -RC1, so I will wait to test that one.  Maybe your problem
will be fixed with that one also.  Meanwhile, I will just go back to
Raspbian until -RC1 comes out.

Thanks for your information.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Emmanuel Vadot  writes:

> On Sun, 28 Feb 2021 09:26:23 -0800
> Carl Johnson  wrote:
>
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all. That means that I can't use a keyboard or mouse, but I can use a
>> serial console and ethernet.  I can plug any USB device into any port,
>> but there is nothing logged in /var/messages.  Running usbconfig as root
>> just reports 'No device match or lack of permissions'.  Running
>> 'dmesg | grep -i usb' reports only the following lines:
>> 
>>   usb_nop_xceiv0:  on ofwbus0
>>   bcm_xhci0:  irq 81 at 
>> device 0.0 on pci2
>>   usb_needs_explore_all: no devclass
>>   
>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>> tested this with Linux and everything worked properly.  This is a new
>> computer that I bought only a couple of weeks ago.  Does anybody have
>> any ideas on what this might be, or what I could do to try to figure it
>> out?
>> 
>> Thanks in advance for any ideas.
>> -- 
>> Carl Johnson ca...@peak.org
>> 
>> ___
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
>  Hello,
>
>  This is known, see
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25
>
>  I wanted to wait that a tag was created on the rpi-firmware github
> repo but it seems that they don't want to so I'll update the port next
> week so RC1 will have the updated firmware.
>
>  Cheers,

Thank you very much for that!  I will test that as soon as it comes
out.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Emmanuel Vadot
On Sun, 28 Feb 2021 09:26:23 -0800
Carl Johnson  wrote:

> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
> all. That means that I can't use a keyboard or mouse, but I can use a
> serial console and ethernet.  I can plug any USB device into any port,
> but there is nothing logged in /var/messages.  Running usbconfig as root
> just reports 'No device match or lack of permissions'.  Running
> 'dmesg | grep -i usb' reports only the following lines:
> 
>   usb_nop_xceiv0:  on ofwbus0
>   bcm_xhci0:  irq 81 at 
> device 0.0 on pci2
>   usb_needs_explore_all: no devclass
>   
> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
> tested this with Linux and everything worked properly.  This is a new
> computer that I bought only a couple of weeks ago.  Does anybody have
> any ideas on what this might be, or what I could do to try to figure it
> out?
> 
> Thanks in advance for any ideas.
> -- 
> Carl Johnson  ca...@peak.org
> 
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

 Hello,

 This is known, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25

 I wanted to wait that a tag was created on the rpi-firmware github
repo but it seems that they don't want to so I'll update the port next
week so RC1 will have the updated firmware.

 Cheers,

-- 
Emmanuel Vadot  
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Tim Daneliuk  writes:

> On 2/28/21 11:26 AM, Carl Johnson wrote:
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all. That means that I can't use a keyboard or mouse, but I can use a
>> serial console and ethernet.  I can plug any USB device into any port,
>> but there is nothing logged in /var/messages.  Running usbconfig as root
>> just reports 'No device match or lack of permissions'.  Running
>> 'dmesg | grep -i usb' reports only the following lines:
>> 
>>   usb_nop_xceiv0:  on ofwbus0
>>   bcm_xhci0:  irq 81 at 
>> device 0.0 on pci2
>>   usb_needs_explore_all: no devclass
>>   
>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>> tested this with Linux and everything worked properly.  This is a new
>> computer that I bought only a couple of weeks ago.  Does anybody have
>> any ideas on what this might be, or what I could do to try to figure it
>> out?
>> 
>> Thanks in advance for any ideas.
>> 
>
>
> Not to belabour the obvious, but have you booted the machine with Linux
> to see if USB works there?  (Just to avoid the possibility that you
> have bad hardware.)

I did verify that it works on Linux and everything worked properly
there.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Mehmet Erol Sanliturk  writes:

> On Sun, Feb 28, 2021 at 8:26 PM Carl Johnson  wrote:
>
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all. That means that I can't use a keyboard or mouse, but I can use a
>> serial console and ethernet.  I can plug any USB device into any port,
>> but there is nothing logged in /var/messages.  Running usbconfig as root
>> just reports 'No device match or lack of permissions'.  Running
>> 'dmesg | grep -i usb' reports only the following lines:
>>
>>   usb_nop_xceiv0:  on ofwbus0
>>   bcm_xhci0:  irq 81 at
>> device 0.0 on pci2
>>   usb_needs_explore_all: no devclass
>>
>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>> tested this with Linux and everything worked properly.  This is a new
>> computer that I bought only a couple of weeks ago.  Does anybody have
>> any ideas on what this might be, or what I could do to try to figure it
>> out?
>>
>> Thanks in advance for any ideas.
>> --
>> Carl Johnsonca...@peak.org
>>
>> ___
>>
>
>
>
> You did not mention which FreeBSD  you are using  ( please use "uname -a" )
> .
>
> Personally , I do not know  anything about Raspberry Pi with FreeBSD , but
> , without knowing which FreeBSD you are using ,
> it is very likely that no one will be able to give you any information .

You are right that I forgot to mention that.  In this case this is the
binary 13.0-BETA4 image that I downloaded directly from the FreeBSD
website, and verified the checksum.  The output of uname -a is:

FreeBSD basil 13.0-BETA4 FreeBSD 13.0-BETA4 #0 releng/13.0-n244592-e32bc253629: 
Fri Feb 26 08:02:53 UTC 2021 
r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm64

Thanks for reminding me.
-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Peter Cornelius
[Retransmssion, stupid HTML mails]

G'day, Carl,
 
On 2/28/21 11:26 AM, Carl Johnson wrote:
> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
> all.  [...]
 
I second the suggestion to do a brief trial with Raspbian or so.  I currently 
run mine under -current as below, but can confirm that I have been able to run 
it since 13 with USB keyboard and mouse. I currenly am logged in via the net, 
so without further USB devices, at least the hubs should be present:
 
[root@rpi4 ~]# usbconfig  
ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=SAVE (0mA)
ugen0.2:  at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE (100mA)
 
[root@rpi4 ~]# uname -a
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31 UTC 2021 
    root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm64
 
I can share a 14.0 image I used to initially boot if you have somewhere to push 
it (FreeBSD-aarch64-14.0-GENERIC-a63eae65ff8-RaspberryPi4.img, seven and a half 
gig, roughly; an xz. I'd expect at around two).
 
I did, though, have to do a couple of tries with Raspbian initially to put a 
recent firmware onto my RPI4B8GB.
 
HOWEVER.
 
I also have an odd observation which is that there is NO OTHER USB device BUT 
the above and my mouse/keyboard. This is quite odd since I do have more devices 
connected (most notably a umass JMicron-JMS561-based device [1]) and naively 
hoped that also on arm, USB devices would at least show up as ugen-something. 
Well, at least keyboard and mouse did work, did they not?
 
I did boot with rasbian, all comes to life instantly and beautifully. I even 
was able to update some firmware on the JMS-thingo, see the disks, all 
blinkenlights there. Back to FreeBSD -- again, silence. I now really am 
scratching my head and also have run out of ideas... though kind of luxury, 
compared to you, I guess.
 
Any help appreciated, and Carl, as written, if you want my image, where should 
I put it?
 
Cheers,
 
Peter.
 
[1] https://www.jmicron.com/file/download/1033/JMS561_Product+Brief.pdf
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Mehmet Erol Sanliturk
On Sun, Feb 28, 2021 at 8:26 PM Carl Johnson  wrote:

> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
> all. That means that I can't use a keyboard or mouse, but I can use a
> serial console and ethernet.  I can plug any USB device into any port,
> but there is nothing logged in /var/messages.  Running usbconfig as root
> just reports 'No device match or lack of permissions'.  Running
> 'dmesg | grep -i usb' reports only the following lines:
>
>   usb_nop_xceiv0:  on ofwbus0
>   bcm_xhci0:  irq 81 at
> device 0.0 on pci2
>   usb_needs_explore_all: no devclass
>
> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
> tested this with Linux and everything worked properly.  This is a new
> computer that I bought only a couple of weeks ago.  Does anybody have
> any ideas on what this might be, or what I could do to try to figure it
> out?
>
> Thanks in advance for any ideas.
> --
> Carl Johnsonca...@peak.org
>
> ___
>



You did not mention which FreeBSD  you are using  ( please use "uname -a" )
.

Personally , I do not know  anything about Raspberry Pi with FreeBSD , but
, without knowing which FreeBSD you are using ,
it is very likely that no one will be able to give you any information .


Mehmet Erol Sanliturk
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Peter Cornelius


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Tim Daneliuk
On 2/28/21 11:26 AM, Carl Johnson wrote:
> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
> all. That means that I can't use a keyboard or mouse, but I can use a
> serial console and ethernet.  I can plug any USB device into any port,
> but there is nothing logged in /var/messages.  Running usbconfig as root
> just reports 'No device match or lack of permissions'.  Running
> 'dmesg | grep -i usb' reports only the following lines:
> 
>   usb_nop_xceiv0:  on ofwbus0
>   bcm_xhci0:  irq 81 at 
> device 0.0 on pci2
>   usb_needs_explore_all: no devclass
>   
> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
> tested this with Linux and everything worked properly.  This is a new
> computer that I bought only a couple of weeks ago.  Does anybody have
> any ideas on what this might be, or what I could do to try to figure it
> out?
> 
> Thanks in advance for any ideas.
> 


Not to belabour the obvious, but have you booted the machine with Linux
to see if USB works there?  (Just to avoid the possibility that you
have bad hardware.)
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"