Re: Raspberry Pi Zero W almost useless

Ramiro Aceves <[email protected]>
Newsgroups gmane.os.netbsd.general,gmane.os.netbsd.ports.arm
Message-ID <CANfMP75sPOP-xcVnFGLU4-M089u-F+FYGYbrz9dU7Cy=swsmAA@mail.gmail.com>
Hello Lwazi,

Thanks for the tip. I know how to recompile a kernel but I doubt I
could do such modification in the source with chances of success
without knowing the internals of driver programming. ;-) Only know the
basics of C.

I have been watching /usr/src/dev/usb/usbdevs and it seems easy to
change. Then it says that usbdevs.h will be regenerated automatically.

I believe that  I have to add the following line with the RTL8188FTV
product ID (Realtek vendor ID  is ok in the usbdevs file):

product REALTEK RTL8188FTV 0xf179 Realtek RTL8188FTV

The problem is to change /usr/src/dev/usb/if_urtwn.c  without knowing
what I am exactly  doing  ;-)

Another thing I am thinking about is the firmware...

Too few chances of success, I think.


Thanks.
Ramiro

El mar, 6 feb 2024 a las 19:27, Lwazi Dube (<[email protected]>) escribió:
>
> On Mon, 5 Feb 2024 at 06:51, Ramiro Aceves <[email protected]> wrote:
>>
>>
>> Hello,
>> I bought two of other seller, rtl8188 but I think it is not supported.
>> I have two problems. As soon as I connect it the raspberry inmediatly
>> reboots. I think it has something to do with some inrush current. In
>> raspbian also it reboots inmediatley.
>>
>> Once the system reboots, it finds the dongle but cannot be configured:
>> Feb  4 21:58:55 netbsd-raspa /netbsd: [   1.7408840] ugen0 at uhub0 port 1
>> Feb  4 21:58:55 netbsd-raspa /netbsd: [   1.7408840] ugen0: Realtek
>> (0x0bda) 802.11n (0xf179), rev 2.00/0.00, addr 2
>> Feb  4 21:58:55 netbsd-raspa /netbsd: [   1.7408840] uhub0:
>> autoconfiguration error: illegal enable change, port 1
>> Feb  4 21:58:55 netbsd-raspa /netbsd: [   1.7408840] swwdog0: software
>> watchdog initialized
>> Feb  4 21:58:55 netbsd-raspa /netbsd: [   1.7609300] WARNING: 1 error
>> while detecting hardware; check system log.
>>
>> I have googled and perhaps it is rtl8188FTV, I think it is not
>> supported by the driver.
>>
> The RTL8188FTV product id seems to be missing in usbdevs and if_urtwn.c. You need to add the id and rebuild the kernel before you test.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.